diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-07-29 12:43:24 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-07-29 12:43:24 -0400 |
commit | 49b683f27f54bcdc636c018c7e6c1c4b4462b0bf (patch) | |
tree | 891946aaa138d495a2089efcb3254ad5444e6db5 /WorldEdit API.md | |
parent | c1f3cfc1e43668d07e95271febc261c82478f7aa (diff) |
Support negative values to make upside-down domes and pyramids (slight changes to worldedit.pyramid interface for coming changes). Add experimental //clearobjects, make node inspector work per-player.
Diffstat (limited to 'WorldEdit API.md')
-rw-r--r-- | WorldEdit API.md | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/WorldEdit API.md b/WorldEdit API.md index 1006932..5d7e6d9 100644 --- a/WorldEdit API.md +++ b/WorldEdit API.md @@ -82,6 +82,12 @@ Fixes the lighting in a region defined by positions `pos1` and `pos2`. Returns the number of nodes updated.
+### count = worldedit.clearobjects(pos1, pos2)
+
+Clears all objects in a region defined by the positions `pos1` and `pos2`.
+
+Returns the number of objects cleared.
+
Primitives
----------
Contained in primitives.lua, this module allows the creation of several geometric primitives.
@@ -122,9 +128,9 @@ Adds a cylinder at `pos` along the `axis` axis ("x" or "y" or "z") with length ` Returns the number of nodes added.
-### count = worldedit.pyramid(pos, height, nodename)
+### count = worldedit.pyramid(pos, axis, height, nodename)
-Adds a pyramid centered at `pos` with height `height`.
+Adds a pyramid centered at `pos` along the `axis` axis ("x" or "y" or "z") with height `height`.
Returns the number of nodes added.
|