Package net.minecraft.data.client
Enum Class VariantSettings.Rotation
- All Implemented Interfaces:
Serializable
,Comparable<VariantSettings.Rotation>
,Constable
- Enclosing class:
VariantSettings
- Mappings:
Namespace Name official la$a
intermediary net/minecraft/class_4936$class_4937
named net/minecraft/data/client/VariantSettings$Rotation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic VariantSettings.Rotation
Returns the enum constant of this class with the specified name.static VariantSettings.Rotation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
R0
- Mappings:
Namespace Name Mixin selector official a
Lla$a;a:Lla$a;
intermediary field_22890
Lnet/minecraft/class_4936$class_4937;field_22890:Lnet/minecraft/class_4936$class_4937;
named R0
Lnet/minecraft/data/client/VariantSettings$Rotation;R0:Lnet/minecraft/data/client/VariantSettings$Rotation;
-
R90
- Mappings:
Namespace Name Mixin selector official b
Lla$a;b:Lla$a;
intermediary field_22891
Lnet/minecraft/class_4936$class_4937;field_22891:Lnet/minecraft/class_4936$class_4937;
named R90
Lnet/minecraft/data/client/VariantSettings$Rotation;R90:Lnet/minecraft/data/client/VariantSettings$Rotation;
-
R180
- Mappings:
Namespace Name Mixin selector official c
Lla$a;c:Lla$a;
intermediary field_22892
Lnet/minecraft/class_4936$class_4937;field_22892:Lnet/minecraft/class_4936$class_4937;
named R180
Lnet/minecraft/data/client/VariantSettings$Rotation;R180:Lnet/minecraft/data/client/VariantSettings$Rotation;
-
R270
- Mappings:
Namespace Name Mixin selector official d
Lla$a;d:Lla$a;
intermediary field_22893
Lnet/minecraft/class_4936$class_4937;field_22893:Lnet/minecraft/class_4936$class_4937;
named R270
Lnet/minecraft/data/client/VariantSettings$Rotation;R270:Lnet/minecraft/data/client/VariantSettings$Rotation;
-
-
Field Details
-
degrees
final int degrees- Mappings:
Namespace Name Mixin selector official e
Lla$a;e:I
intermediary field_22894
Lnet/minecraft/class_4936$class_4937;field_22894:I
named degrees
Lnet/minecraft/data/client/VariantSettings$Rotation;degrees:I
-
-
Constructor Details
-
Rotation
private Rotation(int degrees) - Mappings:
Namespace Name Mixin selector official <init>
Lla$a;<init>(Ljava/lang/String;II)V
intermediary <init>
Lnet/minecraft/class_4936$class_4937;<init>(Ljava/lang/String;II)V
named <init>
Lnet/minecraft/data/client/VariantSettings$Rotation;<init>(Ljava/lang/String;II)V
-
-
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
-