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 1106fc7..8cee31b 100644
--- a/WorldEdit API.md
+++ b/WorldEdit API.md
@@ -27,6 +27,12 @@ Sets a region defined by positions `pos1` and `pos2` to `node_name`. To clear a
Returns the number of nodes set.
+### `count = worldedit.set_param2(pos1, pos2, param2)`
+
+Sets the param2 values of all nodes in a region defined by positions `pos1` and `pos2` to `param2`.
+
+Returns the number of nodes set.
+
### count = worldedit.replace(pos1, pos2, searchnode, replacenode)
Replaces all instances of `searchnode` with `replacenode` in a region defined by positions `pos1` and `pos2`.