1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-13 05:10:27 +02:00

Replace //homogenize with //replaceinverse (//homogenize x is equivalent to //replaceinverse air x), add documentation for it.

This commit is contained in:
Anthony Zhang
2013-01-12 18:29:57 -05:00
parent e2f1c4ef17
commit 7cf84045d4
4 changed files with 64 additions and 9 deletions

View File

@ -51,13 +51,22 @@ Set the current WorldEdit region to <node>.
### //replace <search node> <replace node>
Replace all instances of <search node> with <place node> in the current WorldEdit region.
Replace all instances of <search node> with <replace node> in the current WorldEdit region.
//replace cobble stone
//replace default:steelblock glass
//replace dirt flowers:flower_waterlily
//replace flowers:flower_rose flowers:flower_tulip
### //replaceinverse <search node> <replace node>
Replace all nodes other than <search node> with <replace node> in the current WorldEdit region.
//replaceinverse air stone
//replaceinverse water_source default:dirt
//replaceinverse mesecons:mesecon air
//replaceinverse default:steelblock default:glass
### //hollowsphere <radius> <node>
Add hollow sphere at WorldEdit position 1 with radius <radius>, composed of <node>.