diff options
author | Anthony Zhang <azhang9@gmail.com> | 2012-07-22 18:12:29 -0400 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2012-07-22 18:12:29 -0400 |
commit | 8cd32bcc59766f6c2aba77da7f64ea9882e97813 (patch) | |
tree | 2c6384069c372458e90188cf4fd84a45adb963db /README.md | |
parent | a4a361317075c7cdf1d9f92131ad4d9d03221c41 (diff) |
Add the //transpose, //flip, and //rotate commands as well as their documentation and related WorldEdit API functions. Fix chat parameter handling using pattern anchors.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 44 |
1 files changed, 43 insertions, 1 deletions
@@ -107,6 +107,30 @@ Stack the current WorldEdit region along the x/y/z axis <count> times. //stack y -1 //stack z +5 +### //transpose x/y/z x/y/z + +Transpose the current WorldEdit region along the x/y/z and x/y/z axes. + + //transpose x y + //transpose x z + //transpose y z + +### //flip x/y/z + +Flip the current WorldEdit region along the x/y/z axis. + + //flip x + //flip y + //flip z + +### //rotate + +Rotate the current WorldEdit region around the y axis by angle <angle> (90 degree increment). + + //rotate 90 + //rotate 180 + //rotate 270 + ### //dig Dig the current WorldEdit region. @@ -163,10 +187,28 @@ Returns the number of nodes moved. ### worldedit.stack(pos1, pos2, axis, count) -duplicates the region defined by positions `pos1` and `pos2` along the `axis` axis ("x" or "y" or "z") `count` times. +Duplicates the region defined by positions `pos1` and `pos2` along the `axis` axis ("x" or "y" or "z") `count` times. Returns the number of nodes stacked. +### worldedit.transpose(pos1, pos2, axis1, axis2) + +Transposes a region defined by the positions `pos1` and `pos2` between the `axis1` and `axis2` axes ("x" or "y" or "z"). + +Returns the number of nodes transposed. + +### worldedit.flip(pos1, pos2, axis) + +Flips a region defined by the positions `pos1` and `pos2` along the `axis` axis ("x" or "y" or "z"). + +Returns the number of nodes flipped. + +### worldedit.rotate(pos1, pos2, angle) + +Rotates a region defined by the positions `pos1` and `pos2` by `angle` degrees clockwise around the y axis (supporting 90 degree increments only). + +Returns the number of nodes rotated. + ### worldedit.dig(pos1, pos2) Digs a region defined by positions `pos1` and `pos2`. |