Enum Class AoMode

java.lang.Object
java.lang.Enum<AoMode>
net.minecraft.client.option.AoMode
All Implemented Interfaces:
Serializable, Comparable<AoMode>, Constable

@Environment(CLIENT) public enum AoMode extends Enum<AoMode>
Mappings:
Namespace Name
official dww
intermediary net/minecraft/class_4060
named net/minecraft/client/option/AoMode
  • Enum Constant Details

    • OFF

      public static final AoMode OFF
      Mappings:
      Namespace Name Mixin selector
      official a Ldww;a:Ldww;
      intermediary field_18144 Lnet/minecraft/class_4060;field_18144:Lnet/minecraft/class_4060;
      named OFF Lnet/minecraft/client/option/AoMode;OFF:Lnet/minecraft/client/option/AoMode;
    • MIN

      public static final AoMode MIN
      Mappings:
      Namespace Name Mixin selector
      official b Ldww;b:Ldww;
      intermediary field_18145 Lnet/minecraft/class_4060;field_18145:Lnet/minecraft/class_4060;
      named MIN Lnet/minecraft/client/option/AoMode;MIN:Lnet/minecraft/client/option/AoMode;
    • MAX

      public static final AoMode MAX
      Mappings:
      Namespace Name Mixin selector
      official c Ldww;c:Ldww;
      intermediary field_18146 Lnet/minecraft/class_4060;field_18146:Lnet/minecraft/class_4060;
      named MAX Lnet/minecraft/client/option/AoMode;MAX:Lnet/minecraft/client/option/AoMode;
  • Field Details

    • VALUES

      private static final AoMode[] VALUES
      Mappings:
      Namespace Name Mixin selector
      official d Ldww;d:[Ldww;
      intermediary field_18147 Lnet/minecraft/class_4060;field_18147:[Lnet/minecraft/class_4060;
      named VALUES Lnet/minecraft/client/option/AoMode;VALUES:[Lnet/minecraft/client/option/AoMode;
    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official e Ldww;e:I
      intermediary field_18148 Lnet/minecraft/class_4060;field_18148:I
      named id Lnet/minecraft/client/option/AoMode;id:I
    • translationKey

      private final String translationKey
      Mappings:
      Namespace Name Mixin selector
      official f Ldww;f:Ljava/lang/String;
      intermediary field_18149 Lnet/minecraft/class_4060;field_18149:Ljava/lang/String;
      named translationKey Lnet/minecraft/client/option/AoMode;translationKey:Ljava/lang/String;
  • Constructor Details

    • AoMode

      private AoMode(int id, String translationKey)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldww;<init>(Ljava/lang/String;IILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_4060;<init>(Ljava/lang/String;IILjava/lang/String;)V
      named <init> Lnet/minecraft/client/option/AoMode;<init>(Ljava/lang/String;IILjava/lang/String;)V
  • Method Details

    • values

      public static AoMode[] 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 AoMode 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
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Ldww;a()I
      intermediary method_18483 Lnet/minecraft/class_4060;method_18483()I
      named getId Lnet/minecraft/client/option/AoMode;getId()I
    • getTranslationKey

      public String getTranslationKey()
      Mappings:
      Namespace Name Mixin selector
      official b Ldww;b()Ljava/lang/String;
      intermediary method_18485 Lnet/minecraft/class_4060;method_18485()Ljava/lang/String;
      named getTranslationKey Lnet/minecraft/client/option/AoMode;getTranslationKey()Ljava/lang/String;
    • byId

      public static AoMode byId(int id)
      Mappings:
      Namespace Name Mixin selector
      official a Ldww;a(I)Ldww;
      intermediary method_18484 Lnet/minecraft/class_4060;method_18484(I)Lnet/minecraft/class_4060;
      named byId Lnet/minecraft/client/option/AoMode;byId(I)Lnet/minecraft/client/option/AoMode;