sbrl / Minetest-WorldEditAdditions

Extra tools and commands to extend WorldEdit for Minetest
https://worldeditadditions.mooncarrot.space/
Mozilla Public License 2.0
16 stars 3 forks source link

Add allocate, set, load workflow to cookbook #65

Closed VorTechnix closed 3 years ago

VorTechnix commented 3 years ago

@Uberi added //allocate to Worldedit to help with the issue that //load doesn't restore the air nodes in a saved build. However it's not immediately apparent what it's for if you read his documentation so I purpose adding //multi //allocate <file> //set air //load <file> to our cookbook.

sbrl commented 3 years ago

Sounds good! Want to open a PR?

VorTechnix commented 3 years ago

Want to open a PR?

Not really. Can't we just hammer out the details here and dump straight into main? It's not that big of an addition.

sbrl commented 3 years ago

Sure thing, go ahead @VorTechnix

Sorry that's a habit from replying to issues in tldr-pages/tldr haha

VorTechnix commented 3 years ago

How's this for the entry:

Preserve Air During Schematic Load

//load only writes non-air blocks in a saved WorldEdit schematic. To get around this the //allocate command was created so that users could set the target area to air before the new nodes were written. The following command applies this work flow (replace <file> with the name of your schematic before using the command):

//multi //allocate <file> //set air //load <file>
sbrl commented 3 years ago

Sounds great! Feel free to add that to the cookbook. Then I'll update the website :-)

VorTechnix commented 3 years ago

19404484a067ed394f38d0f09915316872db3bc9