Enum Class BlockModelRotation
- All Implemented Interfaces:
Serializable
,Comparable<BlockModelRotation>
,Constable
,ModelState
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final record
Nested 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 Transformation
private final BlockModelRotation.WithUvLock
private final Quadrant
private static final BlockModelRotation[][]
private final Quadrant
Fields inherited from interface net.minecraft.client.resources.model.ModelState
NO_TRANSFORM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockModelRotation
static BlockModelRotation
Returns 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, valueOf
Methods inherited from interface net.minecraft.client.resources.model.ModelState
faceTransformation, inverseFaceTransformation
-
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:
transformation
in interfaceModelState
-
by
-
actualRotation
-
withUvLock
-