From 49b683f27f54bcdc636c018c7e6c1c4b4462b0bf Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Mon, 29 Jul 2013 12:43:24 -0400 Subject: 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. --- WorldEdit API.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'WorldEdit API.md') 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. -- cgit v1.2.3