From dfcf02bbc204a7c7066234ed0d447c3faf036fc9 Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Mon, 22 Jul 2013 11:04:03 -0400 Subject: [PATCH] Add a few notes on air. --- Chat Commands.md | 5 +++-- README.md | 2 ++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Chat Commands.md b/Chat Commands.md index 08adbaf..e44f242 100644 --- a/Chat Commands.md +++ b/Chat Commands.md @@ -66,6 +66,7 @@ Display the volume of the current WorldEdit region. Set the current WorldEdit region to . + //set air //set cactus //set Bronze Block //set mesecons:wire_00000000_off @@ -74,7 +75,7 @@ Set the current WorldEdit region to . Replace all instances of with in the current WorldEdit region. - //replace Cobblestone cactus + //replace Cobblestone air //replace lightstone_blue glass //replace dirt Bronze Block //replace mesecons:wire_00000000_off flowers:flower_tulip @@ -83,7 +84,7 @@ Replace all instances of with in the current WorldE Replace all nodes other than with in the current WorldEdit region. - //replaceinverse Cobblestone cactus + //replaceinverse Cobblestone air //replaceinverse flowers:flower_waterlily glass //replaceinverse dirt Bronze Block //replaceinverse mesecons:wire_00000000_off flowers:flower_tulip diff --git a/README.md b/README.md index 764806e..ee1646c 100644 --- 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.