Package net.minecraft.data.client.model
Enum VariantSettings.Rotation
- All Implemented Interfaces:
Serializable,Comparable<VariantSettings.Rotation>,java.lang.constant.Constable
- Enclosing class:
- VariantSettings
- Mappings:
Namespace Name official je$aintermediary net/minecraft/class_4936$class_4937named net/minecraft/data/client/model/VariantSettings$Rotation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic VariantSettings.RotationReturns the enum constant of this type with the specified name.static VariantSettings.Rotation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
R0
- Mappings:
Namespace Name Mixin selector official aLje$a;a:Lje$a;intermediary field_22890Lnet/minecraft/class_4936$class_4937;field_22890:Lnet/minecraft/class_4936$class_4937;named R0Lnet/minecraft/data/client/model/VariantSettings$Rotation;R0:Lnet/minecraft/data/client/model/VariantSettings$Rotation;
-
R90
- Mappings:
Namespace Name Mixin selector official bLje$a;b:Lje$a;intermediary field_22891Lnet/minecraft/class_4936$class_4937;field_22891:Lnet/minecraft/class_4936$class_4937;named R90Lnet/minecraft/data/client/model/VariantSettings$Rotation;R90:Lnet/minecraft/data/client/model/VariantSettings$Rotation;
-
R180
- Mappings:
Namespace Name Mixin selector official cLje$a;c:Lje$a;intermediary field_22892Lnet/minecraft/class_4936$class_4937;field_22892:Lnet/minecraft/class_4936$class_4937;named R180Lnet/minecraft/data/client/model/VariantSettings$Rotation;R180:Lnet/minecraft/data/client/model/VariantSettings$Rotation;
-
R270
- Mappings:
Namespace Name Mixin selector official dLje$a;d:Lje$a;intermediary field_22893Lnet/minecraft/class_4936$class_4937;field_22893:Lnet/minecraft/class_4936$class_4937;named R270Lnet/minecraft/data/client/model/VariantSettings$Rotation;R270:Lnet/minecraft/data/client/model/VariantSettings$Rotation;
-
-
Field Details
-
degrees
private final int degrees- Mappings:
Namespace Name Mixin selector official eLje$a;e:Iintermediary field_22894Lnet/minecraft/class_4936$class_4937;field_22894:Inamed degreesLnet/minecraft/data/client/model/VariantSettings$Rotation;degrees:I
-
-
Constructor Details
-
Rotation
private Rotation(int degrees)- Mappings:
Namespace Name Mixin selector official <init>Lje$a;<init>(Ljava/lang/String;II)Vintermediary <init>Lnet/minecraft/class_4936$class_4937;<init>(Ljava/lang/String;II)Vnamed <init>Lnet/minecraft/data/client/model/VariantSettings$Rotation;<init>(Ljava/lang/String;II)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-