From 674d6473e4b13676aa6bc9e45a4113e3bca89078 Mon Sep 17 00:00:00 2001 From: Uberi Date: Fri, 20 Dec 2013 18:41:13 -0500 Subject: Improve node inspector to show player axis, replace //scale with //stretch, which supports per-axis stretching (full backwards compatibility retained), and secure schematic file loading functions. --- WorldEdit API.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'WorldEdit API.md') diff --git a/WorldEdit API.md b/WorldEdit API.md index 4169cbe..c05958e 100644 --- a/WorldEdit API.md +++ b/WorldEdit API.md @@ -57,11 +57,11 @@ Duplicates the region defined by positions `pos1` and `pos2` along the `axis` ax Returns the number of nodes stacked. -### count, newpos1, newpos2 = worldedit.scale(pos1, pos2, factor) +### count, newpos1, newpos2 = worldedit.stretch(pos1, pos2, stretchx, stretchy, stretchz) -Scales the region defined by positions `pos1` and `pos2` by an factor of positive integer `factor` with `pos1` as the origin. +Stretches the region defined by positions `pos1` and `pos2` by an factor of positive integers `stretchx`, `stretchy`. and `stretchz` along the X, Y, and Z axes, respectively, with `pos1` as the origin. -Returns the number of nodes scaled, the new scaled position 1, and the new scaled position 2. +Returns the number of nodes stretched, the new scaled position 1, and the new scaled position 2. ### count, newpos1, newpos2 = worldedit.transpose(pos1, pos2, axis1, axis2) -- cgit v1.2.3