From 66c7f1fb9620b083dc6acc60c5df64113ab4893f Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Sat, 18 Aug 2012 00:51:20 -0400 Subject: Add //hollowcylinder and //cylinder commands, add worldedit.hollow_cylinder and worldedit.cylinder API functions, document both, use better node validity check. --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 99b06ff..cc40630 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,22 @@ Replace all instances of with in the current WorldEdi //replace dirt flowers:flower_waterlily //replace flowers:flower_rose flowers:flower_tulip +### //hollowcylinder x/y/z + +Add hollow cylinder at WorldEdit position 1 along the x/y/z axis with length and radius , composed of . + + //hollowcylinder x +5 8 dirt + //hollowcylinder y 28 10 default:glass + //hollowcylinder z -12 3 mesecons:mesecon + +### //cylinder x/y/z + +Add cylinder at WorldEdit position 1 along the x/y/z axis with length and radius , composed of . + + //cylinder x +5 8 dirt + //cylinder y 28 10 default:glass + //cylinder z -12 3 mesecons:mesecon + ### //copy x/y/z Copy the current WorldEdit region along the x/y/z axis by nodes. @@ -173,6 +189,18 @@ Replaces all instances of `searchnode` with `replacenode` in a region defined by Returns the number of nodes replaced. +### worldedit.hollow_cylinder(pos, axis, length, radius, nodename) + +Adds a hollow cylinder at `pos` along the `axis` axis ("x" or "y" or "z") with length `length` and radius `radius`. + +Returns the number of nodes added. + +### worldedit.cylinder(pos, axis, length, radius, nodename) + +Adds a cylinder at `pos` along the `axis` axis ("x" or "y" or "z") with length `length` and radius `radius`. + +Returns the number of nodes added. + ### worldedit.copy(pos1, pos2, axis, amount) Copies the region defined by positions `pos1` and `pos2` along the `axis` axis ("x" or "y" or "z") by `amount` nodes. -- cgit v1.2.3