From de566d2e3e81bf98691c9461304e77b21a691079 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Sun, 8 Sep 2019 21:51:53 +0200 Subject: [PATCH] Update API docs --- WorldEdit API.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/WorldEdit API.md b/WorldEdit API.md index 9bcb4e8..09106e5 100644 --- a/WorldEdit API.md +++ b/WorldEdit API.md @@ -24,6 +24,7 @@ Contained in manipulations.lua, this module allows several node operations to be ### count = worldedit.set(pos1, pos2, node_name) Sets a region defined by positions `pos1` and `pos2` to `node_name`. To clear a region, use "air" as the value of `node_name`. +If `node_name` is a list of nodes, each set node is randomly picked from it. Returns the number of nodes set. @@ -54,6 +55,7 @@ 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`. +Note that the offset needs to be big enough that there is no overlap. Returns the number of nodes copied.