summaryrefslogtreecommitdiff
path: root/WorldEdit API.md
diff options
context:
space:
mode:
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 d1cd7d0..5867dfc 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.