]> git.lizzy.rs Git - worldedit.git/commitdiff
Add a few notes on air.
authorAnthony Zhang <azhang9@gmail.com>
Mon, 22 Jul 2013 15:04:03 +0000 (11:04 -0400)
committerAnthony Zhang <azhang9@gmail.com>
Mon, 22 Jul 2013 15:04:03 +0000 (11:04 -0400)
Chat Commands.md
README.md

index 08adbafc07e4345c419437f6c9cb6386c002cc59..e44f2425e38b192ee4fe44833a8de1dc2e4f8b51 100644 (file)
@@ -66,6 +66,7 @@ Display the volume of the current WorldEdit region.
 \r
 Set the current WorldEdit region to <node>.\r
 \r
+    //set air\r
     //set cactus\r
     //set Bronze Block\r
     //set mesecons:wire_00000000_off\r
@@ -74,7 +75,7 @@ Set the current WorldEdit region to <node>.
 \r
 Replace all instances of <search node> with <replace node> in the current WorldEdit region.\r
 \r
-    //replace Cobblestone cactus\r
+    //replace Cobblestone air\r
     //replace lightstone_blue glass\r
     //replace dirt Bronze Block\r
     //replace mesecons:wire_00000000_off flowers:flower_tulip\r
@@ -83,7 +84,7 @@ Replace all instances of <search node> with <replace node> in the current WorldE
 \r
 Replace all nodes other than <search node> with <replace node> in the current WorldEdit region.\r
 \r
-    //replaceinverse Cobblestone cactus\r
+    //replaceinverse Cobblestone air\r
     //replaceinverse flowers:flower_waterlily glass\r
     //replaceinverse dirt Bronze Block\r
     //replaceinverse mesecons:wire_00000000_off flowers:flower_tulip\r
index 764806ea78486b4c208ee4bacbd9f9417df1f1c7..ee1646cdb249e3b9ea03e82c68af4fbe80fb0daf 100644 (file)
--- a/README.md
+++ b/README.md
@@ -48,6 +48,8 @@ Second, by name - the node name that is defined by code, but without the mod nam
 
 Finally, by full name - the unambiguous identifier of the node, prefixes and all. This is case sensitive and includes values such as "default:stone" and "mesecons:wire_00000000_off".
 
+The node name "air" can be used anywhere a normal node name can, and acts as a blank node. This is useful for clearing or removing nodes. For example, `//set air` would remove all the nodes in the current WorldEdit region. Similarly, `//sphere 10 air`, when WorldEdit position 1 underground, would dig a large sphere out of the ground.
+
 Regions
 -------
 Most WorldEdit commands operate on regions. Regions are a set of two positions that define a 3D cube. They are local to each player and chat commands affect only the region for the player giving the commands.