]> git.lizzy.rs Git - worldedit.git/blobdiff - WorldEdit API.md
Improve node inspector to show player axis, replace //scale with //stretch, which...
[worldedit.git] / WorldEdit API.md
index 4169cbe5d91e745b31e64d15aa454c34297e6aa0..c05958e84ac6df76c0572ebb7c0469344d6cb751 100644 (file)
@@ -57,11 +57,11 @@ Duplicates the region defined by positions `pos1` and `pos2` along the `axis` ax
 \r
 Returns the number of nodes stacked.\r
 \r
-### count, newpos1, newpos2 = worldedit.scale(pos1, pos2, factor)\r
+### count, newpos1, newpos2 = worldedit.stretch(pos1, pos2, stretchx, stretchy, stretchz)\r
 \r
-Scales the region defined by positions `pos1` and `pos2` by an factor of positive integer `factor` with `pos1` as the origin.\r
+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.\r
 \r
-Returns the number of nodes scaled, the new scaled position 1, and the new scaled position 2.\r
+Returns the number of nodes stretched, the new scaled position 1, and the new scaled position 2.\r
 \r
 ### count, newpos1, newpos2 = worldedit.transpose(pos1, pos2, axis1, axis2)\r
 \r