diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-09-25 18:42:10 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-09-25 18:42:10 -0400 |
commit | def676cd2d12e16a3fc7e2a1995166dd65d5a1a3 (patch) | |
tree | c114b2f9dd7d3f1c5f9d08816c24e8083a486d33 /README.md | |
parent | d89fded397184bebe333ceec0f6f48bb7c55378b (diff) |
Add worldedit.hollow_sphere, worldedit.sphere, //hollowsphere, and //sphere, improve cylinder docs slightly.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 34 |
1 files changed, 31 insertions, 3 deletions
@@ -91,6 +91,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 +### //hollowsphere <radius> <node> + +Add hollow sphere at WorldEdit position 1 with radius <radius>, composed of <node>. + + //hollowsphere 5 dirt + //hollowsphere 12 default:glass + //hollowsphere 17 mesecons:mesecon + +### //sphere <radius> <node> + +Add sphere at WorldEdit position 1 with radius <radius>, composed of <node>. + + //sphere 5 dirt + //sphere 12 default:glass + //sphere 17 mesecons:mesecon + ### //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>. @@ -228,15 +244,27 @@ Replaces all instances of `searchnode` with `replacenode` in a region defined by Returns the number of nodes replaced. +### worldedit.hollow_sphere = function(pos, radius, nodename) + +Adds a hollow sphere at `pos` with radius `radius`, composed of `nodename`. + +Returns the number of nodes added. + +### worldedit.sphere = function(pos, radius, nodename) + +Adds a sphere at `pos` with radius `radius`, composed of `nodename`. + +Returns the number of nodes added. + ### 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`. +Adds a hollow cylinder at `pos` along the `axis` axis ("x" or "y" or "z") with length `length` and radius `radius`, composed of `nodename`. 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`. +Adds a cylinder at `pos` along the `axis` axis ("x" or "y" or "z") with length `length` and radius `radius`, composed of `nodename`. Returns the number of nodes added. @@ -322,7 +350,7 @@ Returns the number of nodes loaded License ------- -Copyright 2012 sfan5, Anthony Zhang (Temperest), and Brett O'Donnell (cornernote). +Copyright 2012 sfan5 and Anthony Zhang (Temperest) This mod is licensed under the [GNU Affero General Public License](http://www.gnu.org/licenses/agpl-3.0.html). |