forked from mtcontrib/Minetest-WorldEdit
Fix worldedit.spiral and the correspondign chat command, //spiral.
This commit is contained in:
committed by
Anthony Zhang
parent
382c57d008
commit
a82ab9176f
13
README.md
13
README.md
@ -133,6 +133,13 @@ Add pyramid at WorldEdit position 1 with height <height>, composed of <node>.
|
||||
//pyramid 5 default:glass
|
||||
//pyramid 2 stone
|
||||
|
||||
### //spiral <width> <height> <spacer> <node>
|
||||
|
||||
Add spiral at WorldEdit position 1 with width <width>, height <height>, space between walls <spacer>, composed of <node>.
|
||||
|
||||
//spiral 20 5 3 dirt
|
||||
//spiral 5 2 1 default:glass
|
||||
//spiral 7 1 5 stone
|
||||
|
||||
### //copy x/y/z/? <amount>
|
||||
|
||||
@ -274,6 +281,12 @@ Adds a pyramid at `pos` with height `height`.
|
||||
|
||||
Returns the number of nodes added.
|
||||
|
||||
### worldedit.spiral(pos, width, height, spacer, nodename)
|
||||
|
||||
Adds a spiral at `pos` with width `width`, height `height`, space between walls `spacer`, composed of `nodename`.
|
||||
|
||||
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.
|
||||
|
Reference in New Issue
Block a user