Enum Arm

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

public enum Arm
extends Enum<Arm>
Mappings:
Namespace Name
official are
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 Lare;a:Lare;
      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 Lare;c:Loi;
      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> Lare;<init>(Ljava/lang/String;ILoi;)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 type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Arm valueOf​(String name)
      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 name
      NullPointerException - if the argument is null
    • getOpposite

      @Environment(CLIENT) public Arm getOpposite()
      Mappings:
      Namespace Name Mixin selector
      official a Lare;a()Lare;
      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>
      Mappings:
      Namespace Name Mixin selector
      official toString Lare;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_1306;toString()Ljava/lang/String;
      named toString Lnet/minecraft/util/Arm;toString()Ljava/lang/String;
    • getOptionName

      @Environment(CLIENT) public Text getOptionName()
      Mappings:
      Namespace Name Mixin selector
      official b Lare;b()Loi;
      intermediary method_27301 Lnet/minecraft/class_1306;method_27301()Lnet/minecraft/class_2561;
      named getOptionName Lnet/minecraft/util/Arm;getOptionName()Lnet/minecraft/text/Text;