summaryrefslogtreecommitdiff
path: root/WorldEdit API.md
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2016-01-05 13:57:48 +0100
committersfan5 <sfan5@live.de>2016-01-05 13:57:48 +0100
commite0a26617002564db0c3d06f4f9e6d509b55b106c (patch)
treeb2fe7c34b8eb0bc9d2244bfa355b124478800894 /WorldEdit API.md
parent7a19c5303bc5f39f4321143862d0f3ea244c323c (diff)
Fix //stack2 not working (closes #94)
Diffstat (limited to 'WorldEdit API.md')
-rw-r--r--WorldEdit API.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/WorldEdit API.md b/WorldEdit API.md
index f50b506..7b99c8b 100644
--- a/WorldEdit API.md
+++ b/WorldEdit API.md
@@ -45,6 +45,12 @@ Copies the region defined by positions `pos1` and `pos2` along the `axis` axis (
Returns the number of nodes copied.
+### count = worldedit.copy2(pos1, pos2, off)
+
+Copies the region defined by positions `pos1` and `pos2` by the offset vector `off`.
+
+Returns the number of nodes copied.
+
### count = worldedit.move(pos1, pos2, axis, amount)
Moves the region defined by positions `pos1` and `pos2` along the `axis` axis ("x" or "y" or "z") by `amount` nodes.