diff options
author | Anthony Zhang <azhang9@gmail.com> | 2013-01-12 16:46:40 -0500 |
---|---|---|
committer | Anthony Zhang <azhang9@gmail.com> | 2013-01-12 16:46:40 -0500 |
commit | c27ab877f1bc8afde76f9cfe11c7880cec9bdda2 (patch) | |
tree | 3a1206813ee47c1fdca03f962d7872952f5f53e2 /WorldEdit API.md | |
parent | 7cb2df24b8c8d9055adbff0825f27138f22a598a (diff) |
New command: //orient, that rotates oriented nodes such as furnaces around the Y-axis by a specified angle.
Diffstat (limited to 'WorldEdit API.md')
-rw-r--r-- | WorldEdit API.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/WorldEdit API.md b/WorldEdit API.md index be2270d..a0a1a60 100644 --- a/WorldEdit API.md +++ b/WorldEdit API.md @@ -56,6 +56,12 @@ Rotates a region defined by the positions `pos1` and `pos2` by `angle` degrees c Returns the number of nodes rotated, the new position 1, and the new position 2.
+### count = worldedit.orient(pos1, pos2, angle)
+
+Rotates all oriented nodes in a region defined by the positions `pos1` and `pos2` by `angle` degrees clockwise (90 degree increment) around the Y axis.
+
+Returns the number of nodes oriented.
+
### count = worldedit.fixlight(pos1, pos2)
Fixes the lighting in a region defined by positions `pos1` and `pos2`.
|