diff options
author | Uberi <azhang9@gmail.com> | 2013-12-20 18:41:13 -0500 |
---|---|---|
committer | Uberi <azhang9@gmail.com> | 2013-12-20 18:41:13 -0500 |
commit | 674d6473e4b13676aa6bc9e45a4113e3bca89078 (patch) | |
tree | 962d01b41a1d36276f5ccfd664ebbbb8416f5830 /WorldEdit API.md | |
parent | 3767ea84d26a707f4688426b238a9709542d9534 (diff) |
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.
Diffstat (limited to 'WorldEdit API.md')
-rw-r--r-- | WorldEdit API.md | 6 |
1 files changed, 3 insertions, 3 deletions
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)
|