1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-03 00:20:39 +02:00

Implement //cubeapply

This commit is contained in:
sfan5
2020-04-06 23:32:11 +02:00
parent 5e8bfd5166
commit 963a9f6b96
2 changed files with 55 additions and 0 deletions

View File

@ -476,3 +476,12 @@ Note that this functionality requires the `worldedit_brush` mod enabled.
//brush cube 8 8 8 Cobblestone
//brush spr 12 glass
//brush none
### `//cubeapply <size> <command> [parameters]`
Selects a cube with side length of `<size>` around the WorldEdit position 1 and runs the given `<command>` on the newly selected region.
This is mostly useful for brushes since it allows commands such as `//replace` to be ran, but it can also be used standalone.
//cubeapply 10 replaceinverse air default:water_source
//brush cubeapply 15 drain
//brush cubeapply 1 deleteblocks