Enum Class VariantSettings.Rotation

java.lang.Object
java.lang.Enum<VariantSettings.Rotation>
net.minecraft.data.client.VariantSettings.Rotation
All Implemented Interfaces:
Serializable, Comparable<VariantSettings.Rotation>, Constable
Enclosing class:
VariantSettings

public static enum VariantSettings.Rotation extends Enum<VariantSettings.Rotation>
Mappings:
Namespace Name
named net/minecraft/data/client/VariantSettings$Rotation
intermediary net/minecraft/class_4936$class_4937
official ob$a
  • Enum Constant Details

    • R0

      public static final VariantSettings.Rotation R0
      Mappings:
      Namespace Name Mixin selector
      named R0 Lnet/minecraft/data/client/VariantSettings$Rotation;R0:Lnet/minecraft/data/client/VariantSettings$Rotation;
      intermediary field_22890 Lnet/minecraft/class_4936$class_4937;field_22890:Lnet/minecraft/class_4936$class_4937;
      official a Lob$a;a:Lob$a;
    • R90

      public static final VariantSettings.Rotation R90
      Mappings:
      Namespace Name Mixin selector
      named R90 Lnet/minecraft/data/client/VariantSettings$Rotation;R90:Lnet/minecraft/data/client/VariantSettings$Rotation;
      intermediary field_22891 Lnet/minecraft/class_4936$class_4937;field_22891:Lnet/minecraft/class_4936$class_4937;
      official b Lob$a;b:Lob$a;
    • R180

      public static final VariantSettings.Rotation R180
      Mappings:
      Namespace Name Mixin selector
      named R180 Lnet/minecraft/data/client/VariantSettings$Rotation;R180:Lnet/minecraft/data/client/VariantSettings$Rotation;
      intermediary field_22892 Lnet/minecraft/class_4936$class_4937;field_22892:Lnet/minecraft/class_4936$class_4937;
      official c Lob$a;c:Lob$a;
    • R270

      public static final VariantSettings.Rotation R270
      Mappings:
      Namespace Name Mixin selector
      named R270 Lnet/minecraft/data/client/VariantSettings$Rotation;R270:Lnet/minecraft/data/client/VariantSettings$Rotation;
      intermediary field_22893 Lnet/minecraft/class_4936$class_4937;field_22893:Lnet/minecraft/class_4936$class_4937;
      official d Lob$a;d:Lob$a;
  • Field Details

    • degrees

      final int degrees
      Mappings:
      Namespace Name Mixin selector
      named degrees Lnet/minecraft/data/client/VariantSettings$Rotation;degrees:I
      intermediary field_22894 Lnet/minecraft/class_4936$class_4937;field_22894:I
      official e Lob$a;e:I
  • Constructor Details

    • Rotation

      private Rotation(int degrees)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/client/VariantSettings$Rotation;<init>(Ljava/lang/String;II)V
      intermediary <init> Lnet/minecraft/class_4936$class_4937;<init>(Ljava/lang/String;II)V
      official <init> Lob$a;<init>(Ljava/lang/String;II)V
  • Method Details

    • values

      public static VariantSettings.Rotation[] 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

      public static VariantSettings.Rotation valueOf(String name)
      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 name
      NullPointerException - if the argument is null