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

//subdivide #20

Closed sbrl closed 4 years ago

sbrl commented 4 years ago

Sometimes, we want to run a single command on a truly vast area. Usually, this results in running out of memory.

If we could implement a //subdivide <size_x> <size_y> <size_z> <command> command, it would really help.

Perhaps we could even implement an ETA calculator that tracks how long each chunk is taking, and includes an ETA in the progress update:

WorldEdit -!- Subdivide [<command_name]: 45 / 226 chunks complete (~19.91%), ETA: 5.11mins

If in the syntax we strip the double forward slashes from the beginning // of the command we're going to execute, then it would even be compatible with //multi! Though we'll have to make that clear in the help.

This command will only be useful for commands where context doesn't matter as much, but still it should come in real handy.

sbrl commented 4 years ago

Done :D