diff options
author | Wuzzy <wuzzy2@mail.ru> | 2017-09-05 14:40:46 +0200 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2017-09-05 14:40:46 +0200 |
commit | 3c61759bae15d8bedc9c54b4e3903479a5f4cf08 (patch) | |
tree | 39927d87549c4ba02801e8f2e18576c4c8852edb /WorldEdit API.md | |
parent | 2f4eb19a3afa73b95fd5ce50011c3292dec8bbc2 (diff) |
Allow to bulk-set param2 of regions (#144)
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 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`.
|