]> git.lizzy.rs Git - worldedit.git/blobdiff - WorldEdit API.md
Add `//scale <factor>` command (suggested by Jordach), fix transposition description...
[worldedit.git] / WorldEdit API.md
index 6008a9fb54431629b88709c99ca3af921accdfd2..c994bf7bc965f6562998526b142d8b92a309640c 100644 (file)
@@ -46,11 +46,17 @@ 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
+\r
+Scales the region defined by positions `pos1` and `pos2` by an factor of positive integer `factor` 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
+\r
 ### count, newpos1, newpos2 = worldedit.transpose(pos1, pos2, axis1, axis2)\r
 \r
 Transposes a region defined by the positions `pos1` and `pos2` between the `axis1` and `axis2` axes ("x" or "y" or "z").\r
 \r
-Returns the number of nodes transposed, the new position 1, and the new position 2.\r
+Returns the number of nodes transposed, the new transposed position 1, and the new transposed position 2.\r
 \r
 ### count = worldedit.flip(pos1, pos2, axis)\r
 \r