diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-08-18 00:51:20 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-08-18 00:51:20 -0400 |
commit | 66c7f1fb9620b083dc6acc60c5df64113ab4893f (patch) | |
tree | 5e20e8fca89f7be9a46f010b116c16845db32106 /README.md | |
parent | 87f23b86473eaba24503550584c5ea100b98fc5b (diff) |
Add //hollowcylinder and //cylinder commands, add worldedit.hollow_cylinder and worldedit.cylinder API functions, document both, use better node validity check.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 28 insertions, 0 deletions
@@ -83,6 +83,22 @@ Replace all instances of <search node> with <place node> in the current WorldEdi //replace dirt flowers:flower_waterlily //replace flowers:flower_rose flowers:flower_tulip +### //hollowcylinder x/y/z <length> <radius> <node> + +Add hollow cylinder at WorldEdit position 1 along the x/y/z axis with length <length> and radius <radius>, composed of <node>. + + //hollowcylinder x +5 8 dirt + //hollowcylinder y 28 10 default:glass + //hollowcylinder z -12 3 mesecons:mesecon + +### //cylinder x/y/z <length> <radius> <node> + +Add cylinder at WorldEdit position 1 along the x/y/z axis with length <length> and radius <radius>, composed of <node>. + + //cylinder x +5 8 dirt + //cylinder y 28 10 default:glass + //cylinder z -12 3 mesecons:mesecon + ### //copy x/y/z <amount> Copy the current WorldEdit region along the x/y/z axis by <amount> 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. |