public enum ModelRotation extends java.lang.Enum<ModelRotation>
| Enum Constant and Description | 
|---|
| X0_Y0 | 
| X0_Y180 | 
| X0_Y270 | 
| X0_Y90 | 
| X180_Y0 | 
| X180_Y180 | 
| X180_Y270 | 
| X180_Y90 | 
| X270_Y0 | 
| X270_Y180 | 
| X270_Y270 | 
| X270_Y90 | 
| X90_Y0 | 
| X90_Y180 | 
| X90_Y270 | 
| X90_Y90 | 
| Modifier and Type | Field and Description | 
|---|---|
| private int | combinedXY | 
| private static java.util.Map<java.lang.Integer,ModelRotation> | mapRotations | 
| private org.lwjgl.util.vector.Matrix4f | matrix4d | 
| private int | quartersX | 
| private int | quartersY | 
| Modifier and Type | Method and Description | 
|---|---|
| private static int | combineXY(int p_177521_0_,
         int p_177521_1_) | 
| org.lwjgl.util.vector.Matrix4f | getMatrix4d() | 
| static ModelRotation | getModelRotation(int p_177524_0_,
                int p_177524_1_) | 
| EnumFacing | rotateFace(EnumFacing p_177523_1_) | 
| int | rotateVertex(EnumFacing facing,
            int vertexIndex) | 
| static ModelRotation | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static ModelRotation[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ModelRotation X0_Y0
public static final ModelRotation X0_Y90
public static final ModelRotation X0_Y180
public static final ModelRotation X0_Y270
public static final ModelRotation X90_Y0
public static final ModelRotation X90_Y90
public static final ModelRotation X90_Y180
public static final ModelRotation X90_Y270
public static final ModelRotation X180_Y0
public static final ModelRotation X180_Y90
public static final ModelRotation X180_Y180
public static final ModelRotation X180_Y270
public static final ModelRotation X270_Y0
public static final ModelRotation X270_Y90
public static final ModelRotation X270_Y180
public static final ModelRotation X270_Y270
private static final java.util.Map<java.lang.Integer,ModelRotation> mapRotations
private final int combinedXY
private final org.lwjgl.util.vector.Matrix4f matrix4d
private final int quartersX
private final int quartersY
public static ModelRotation[] values()
for (ModelRotation c : ModelRotation.values()) System.out.println(c);
public static ModelRotation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullprivate static int combineXY(int p_177521_0_,
                             int p_177521_1_)
public org.lwjgl.util.vector.Matrix4f getMatrix4d()
public EnumFacing rotateFace(EnumFacing p_177523_1_)
public int rotateVertex(EnumFacing facing, int vertexIndex)
public static ModelRotation getModelRotation(int p_177524_0_, int p_177524_1_)