diff options
author | Uberi <azhang9@gmail.com> | 2014-07-06 19:59:56 -0400 |
---|---|---|
committer | Uberi <azhang9@gmail.com> | 2014-07-06 19:59:56 -0400 |
commit | 9616c7d9445e05495b0d828a953e8460aec72cae (patch) | |
tree | 8b219692e94bbecf6fe39882e1de1caaf31cad33 /WorldEdit API.md | |
parent | 175ac211ca06af7eec9dfbc62e11e1d6eb448c03 (diff) |
Update `stack2` API documentation.
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 c05958e..8f4b7d2 100644 --- a/WorldEdit API.md +++ b/WorldEdit API.md @@ -57,6 +57,12 @@ Duplicates the region defined by positions `pos1` and `pos2` along the `axis` ax Returns the number of nodes stacked.
+### count = worldedit.stack2(pos1, pos2, direction, amount)
+
+Duplicates the region defined by positions `pos1` and `pos2` `amount` times with offset vector `direction`.
+
+Returns the number of nodes stacked.
+
### count, newpos1, newpos2 = worldedit.stretch(pos1, pos2, stretchx, stretchy, stretchz)
Stretches the region defined by positions `pos1` and `pos2` by an factor of positive integers `stretchx`, `stretchy`. and `stretchz` along the X, Y, and Z axes, respectively, with `pos1` as the origin.
|