From c27ab877f1bc8afde76f9cfe11c7880cec9bdda2 Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Sat, 12 Jan 2013 16:46:40 -0500 Subject: New command: //orient, that rotates oriented nodes such as furnaces around the Y-axis by a specified angle. --- WorldEdit API.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'WorldEdit API.md') 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`. -- cgit v1.2.3