diff options
author | sfan5 <sfan5@live.de> | 2017-08-31 19:07:51 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2017-08-31 19:08:10 +0200 |
commit | 870873ad151defd9ed59ddf5e4937a58166704d8 (patch) | |
tree | bdcd6dfd53496a4812528181546cce2b819b0a0f /WorldEdit API.md | |
parent | e356f4521c9e4e10ae2ad6a1f8a64543573def2d (diff) |
Add //hollowcube and //cube
closes #143
Diffstat (limited to 'WorldEdit API.md')
-rw-r--r-- | WorldEdit API.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WorldEdit API.md b/WorldEdit API.md index 8488305..1106fc7 100644 --- a/WorldEdit API.md +++ b/WorldEdit API.md @@ -115,6 +115,12 @@ Primitives ----------
Contained in primitives.lua, this module allows the creation of several geometric primitives.
+### count = worldedit.cube(pos, width, height, length, node_name, hollow)
+
+Adds a cube with its ground level centered at `pos`, the dimensions `width` x `height` x `length`, composed of `node_name`.
+
+Returns the number of nodes added.
+
### count = worldedit.sphere(pos, radius, node_name, hollow)
Adds a sphere centered at `pos` with radius `radius`, composed of `node_name`.
|