Enum Class HandOption

java.lang.Object
java.lang.Enum<HandOption>
net.minecraft.client.gui.screen.options.HandOption
All Implemented Interfaces:
Serializable, Comparable<HandOption>, Constable

public enum HandOption extends Enum<HandOption>
Mappings:
Namespace Name
official rz
intermediary net/minecraft/class_2970
named net/minecraft/client/gui/screen/options/HandOption
  • Enum Constant Details

    • LEFT

      public static final HandOption LEFT
      Mappings:
      Namespace Name Mixin selector
      official a Lrz;a:Lrz;
      intermediary field_14538 Lnet/minecraft/class_2970;field_14538:Lnet/minecraft/class_2970;
      named LEFT Lnet/minecraft/client/gui/screen/options/HandOption;LEFT:Lnet/minecraft/client/gui/screen/options/HandOption;
  • Field Details

    • translation

      private final Text translation
      Mappings:
      Namespace Name Mixin selector
      official c Lrz;c:Lew;
      intermediary field_14540 Lnet/minecraft/class_2970;field_14540:Lnet/minecraft/class_1982;
      named translation Lnet/minecraft/client/gui/screen/options/HandOption;translation:Lnet/minecraft/text/Text;
  • Constructor Details

    • HandOption

      private HandOption(Text translation)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lrz;<init>(Ljava/lang/String;ILew;)V
      intermediary <init> Lnet/minecraft/class_2970;<init>(Ljava/lang/String;ILnet/minecraft/class_1982;)V
      named <init> Lnet/minecraft/client/gui/screen/options/HandOption;<init>(Ljava/lang/String;ILnet/minecraft/text/Text;)V
  • Method Details

    • values

      public static HandOption[] 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 HandOption 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
    • method_13037

      @Environment(CLIENT) public HandOption method_13037()
      Mappings:
      Namespace Name Mixin selector
      official a Lrz;a()Lrz;
      intermediary method_13037 Lnet/minecraft/class_2970;method_13037()Lnet/minecraft/class_2970;
      named method_13037 Lnet/minecraft/client/gui/screen/options/HandOption;method_13037()Lnet/minecraft/client/gui/screen/options/HandOption;
    • toString

      public String toString()
      Overrides:
      toString in class Enum<HandOption>
      Mappings:
      Namespace Name Mixin selector
      official toString Lrz;toString()Ljava/lang/String;
      intermediary toString Lnet/minecraft/class_2970;toString()Ljava/lang/String;
      named toString Lnet/minecraft/client/gui/screen/options/HandOption;toString()Ljava/lang/String;