1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2025-07-01 07:30:39 +02:00

New command: //orient, that rotates oriented nodes such as furnaces around the Y-axis by a specified angle.

This commit is contained in:
Anthony Zhang
2013-01-12 16:46:40 -05:00
parent 7cb2df24b8
commit c27ab877f1
4 changed files with 100 additions and 2 deletions

View File

@ -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`.