Enum Class BlockModelRotation
- All Implemented Interfaces:
Serializable,Comparable<BlockModelRotation>,Constable,ModelState,ModelStateExtension
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final OctahedralGroup(package private) final Transformationprivate final BlockModelRotation.WithUvLockprivate final Quadrantprivate static final BlockModelRotation[][]private final QuadrantFields inherited from interface net.minecraft.client.resources.model.ModelState
NO_TRANSFORM -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateBlockModelRotation(Quadrant pXRotation, Quadrant pYRotation) -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockModelRotationstatic BlockModelRotationReturns the enum constant of this class with the specified name.static BlockModelRotation[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.client.resources.model.ModelState
faceTransformation, inverseFaceTransformationMethods inherited from interface net.neoforged.neoforge.client.extensions.ModelStateExtension
mayApplyArbitraryRotation
-
Enum Constant Details
-
X0_Y0
-
X0_Y90
-
X0_Y180
-
X0_Y270
-
X90_Y0
-
X90_Y90
-
X90_Y180
-
X90_Y270
-
X180_Y0
-
X180_Y90
-
X180_Y180
-
X180_Y270
-
X270_Y0
-
X270_Y90
-
X270_Y180
-
X270_Y270
-
-
Field Details
-
XY_TABLE
-
xRotation
-
yRotation
-
transformation
-
actualRotation
-
faceMapping
-
inverseFaceMapping
-
withUvLock
-
-
Constructor Details
-
BlockModelRotation
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
transformation
- Specified by:
transformationin interfaceModelState
-
by
-
actualRotation
-
withUvLock
-