Enum Class Arm

java.lang.Object
java.lang.Enum<Arm>
net.minecraft.util.Arm
All Implemented Interfaces:
Serializable, Comparable<Arm>, Constable

public enum Arm extends Enum<Arm>
Mappings:
Namespace Name
official axc
intermediary net/minecraft/class_1306
named net/minecraft/util/Arm
  • Enum Constant Details

    • LEFT

      public static final Arm LEFT
      Mappings:
      Namespace Name Mixin selector
      official a Laxc;a:Laxc;
      intermediary field_6182 Lnet/minecraft/class_1306;field_6182:Lnet/minecraft/class_1306;
      named LEFT Lnet/minecraft/util/Arm;LEFT:Lnet/minecraft/util/Arm;
  • Field Details

    • optionName

      private final Text optionName
      Mappings:
      Namespace Name Mixin selector
      official c Laxc;c:Lpz;
      intermediary field_6181 Lnet/minecraft/class_1306;field_6181:Lnet/minecraft/class_2561;
      named optionName Lnet/minecraft/util/Arm;optionName:Lnet/minecraft/text/Text;
  • Constructor Details

    • Arm

      private Arm(Text optionName)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laxc;<init>(Ljava/lang/String;ILpz;)V
      intermediary <init> Lnet/minecraft/class_1306;<init>(Ljava/lang/String;ILnet/minecraft/class_2561;)V
      named <init> Lnet/minecraft/util/Arm;<init>(Ljava/lang/String;ILnet/minecraft/text/Text;)V
  • Method Details

    • values

      public static Arm[] 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 Arm 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
    • getOpposite

      public Arm getOpposite()
      Mappings:
      Namespace Name Mixin selector
      official a Laxc;a()Laxc;
      intermediary method_5928 Lnet/minecraft/class_1306;method_5928()Lnet/minecraft/class_1306;
      named getOpposite Lnet/minecraft/util/Arm;getOpposite()Lnet/minecraft/util/Arm;
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Arm>
    • getOptionName

      public Text getOptionName()
      Mappings:
      Namespace Name Mixin selector
      official b Laxc;b()Lpz;
      intermediary method_27301 Lnet/minecraft/class_1306;method_27301()Lnet/minecraft/class_2561;
      named getOptionName Lnet/minecraft/util/Arm;getOptionName()Lnet/minecraft/text/Text;