classpublicPriority 3
Rotate
com.hypixel.hytale.builtin.buildertools.tooloperations.transform.Rotate
implements Transform
4
Methods
4
Public Methods
2
Fields
2
Constructors
Constants
TransformFACING_EAST= Z_90
TransformFACING_NORTH= X_90
TransformFACING_SOUTH= X_90.then(Y_180)
TransformFACING_WEST= Z_90.then(Y_180)
TransformX_180= new Rotate(Axis.X, 180)
TransformX_270= new Rotate(Axis.X, 270)
TransformX_90= new Rotate(Axis.X, 90)
TransformY_180= new Rotate(Axis.Y, 180)
TransformY_270= new Rotate(Axis.Y, 270)
TransformY_90= new Rotate(Axis.Y, 90)
TransformZ_180= new Rotate(Axis.Z, 180)
TransformZ_270= new Rotate(Axis.Z, 270)
TransformZ_90= new Rotate(Axis.Z, 90)
Constructors
public
Rotate(Axis axis)public
Rotate(Axis axis, int angle)Methods
Public Methods (4)
public
void apply(Vector3i vector3i)@Override
publicstatic
Transform forAxisAndAngle(BrushAxis axis, Rotation angle)publicstatic
Transform forDirection(Vector3i direction, Rotation angle)public
String toString()@Nonnull@Override
Fields
Private/Package Fields (2)
private
Axis axisprivate
int rotations