Package net.minecraft.client.option
Enum Class AoMode
- All Implemented Interfaces:
Serializable
,Comparable<AoMode>
,Constable
,TranslatableOption
- Mappings:
Namespace Name official efd
intermediary net/minecraft/class_4060
named net/minecraft/client/option/AoMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
OFF
- Mappings:
Namespace Name Mixin selector official a
Lefd;a:Lefd;
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
- Mappings:
Namespace Name Mixin selector official b
Lefd;b:Lefd;
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
- Mappings:
Namespace Name Mixin selector official c
Lefd;c:Lefd;
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
- Mappings:
Namespace Name Mixin selector official d
Lefd;d:[Lefd;
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
Lefd;e:I
intermediary field_18148
Lnet/minecraft/class_4060;field_18148:I
named id
Lnet/minecraft/client/option/AoMode;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official f
Lefd;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
- Mappings:
Namespace Name Mixin selector official <init>
Lefd;<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
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
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 nameNullPointerException
- if the argument is null
-
getId
public int getId()- Specified by:
getId
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector official a
Lamk;a()I
intermediary method_7362
Lnet/minecraft/class_7291;method_7362()I
named getId
Lnet/minecraft/util/TranslatableOption;getId()I
-
getTranslationKey
- Specified by:
getTranslationKey
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector official b
Lamk;b()Ljava/lang/String;
intermediary method_7359
Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector official a
Lefd;a(I)Lefd;
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;
-