]> git.lizzy.rs Git - worldedit.git/commitdiff
Update API docs
authorsfan5 <sfan5@live.de>
Sun, 8 Sep 2019 19:51:53 +0000 (21:51 +0200)
committersfan5 <sfan5@live.de>
Sun, 8 Sep 2019 20:14:07 +0000 (22:14 +0200)
WorldEdit API.md

index 9bcb4e88336e5c1ad8af904fe53ea0d0b80f46f0..09106e55fd55156c1156891a3bada819a6f9892d 100644 (file)
@@ -24,6 +24,7 @@ Contained in manipulations.lua, this module allows several node operations to be
 ### count = worldedit.set(pos1, pos2, node_name)\r
 \r
 Sets a region defined by positions `pos1` and `pos2` to `node_name`. To clear a region, use "air" as the value of `node_name`.\r
+If `node_name` is a list of nodes, each set node is randomly picked from it.\r
 \r
 Returns the number of nodes set.\r
 \r
@@ -54,6 +55,7 @@ Returns the number of nodes copied.
 ### count = worldedit.copy2(pos1, pos2, off)\r
 \r
 Copies the region defined by positions `pos1` and `pos2` by the offset vector `off`.\r
+Note that the offset needs to be big enough that there is no overlap.\r
 \r
 Returns the number of nodes copied.\r
 \r