Package net.minecraft.client.option
Enum AoMode
- All Implemented Interfaces:
Serializable,Comparable<AoMode>,java.lang.constant.Constable
@Environment(CLIENT) public enum AoMode extends Enum<AoMode>
- Mappings:
Namespace Name official drnintermediary net/minecraft/class_4060named 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
Fields Modifier and Type Field Description private intidprivate StringtranslationKeyprivate static AoMode[]VALUES -
Constructor Summary
-
Method Summary
Modifier and Type Method Description static AoModebyId(int id)intgetId()StringgetTranslationKey()static AoModevalueOf(String name)Returns the enum constant of this type with the specified name.static AoMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OFF
- Mappings:
Namespace Name Mixin selector official aLdrn;a:Ldrn;intermediary field_18144Lnet/minecraft/class_4060;field_18144:Lnet/minecraft/class_4060;named OFFLnet/minecraft/client/option/AoMode;OFF:Lnet/minecraft/client/option/AoMode;
-
MIN
- Mappings:
Namespace Name Mixin selector official bLdrn;b:Ldrn;intermediary field_18145Lnet/minecraft/class_4060;field_18145:Lnet/minecraft/class_4060;named MINLnet/minecraft/client/option/AoMode;MIN:Lnet/minecraft/client/option/AoMode;
-
MAX
- Mappings:
Namespace Name Mixin selector official cLdrn;c:Ldrn;intermediary field_18146Lnet/minecraft/class_4060;field_18146:Lnet/minecraft/class_4060;named MAXLnet/minecraft/client/option/AoMode;MAX:Lnet/minecraft/client/option/AoMode;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official dLdrn;d:[Ldrn;intermediary field_18147Lnet/minecraft/class_4060;field_18147:[Lnet/minecraft/class_4060;named VALUESLnet/minecraft/client/option/AoMode;VALUES:[Lnet/minecraft/client/option/AoMode;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLdrn;e:Iintermediary field_18148Lnet/minecraft/class_4060;field_18148:Inamed idLnet/minecraft/client/option/AoMode;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official fLdrn;f:Ljava/lang/String;intermediary field_18149Lnet/minecraft/class_4060;field_18149:Ljava/lang/String;named translationKeyLnet/minecraft/client/option/AoMode;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
AoMode
- Mappings:
Namespace Name Mixin selector official <init>Ldrn;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4060;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <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 type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException- if the argument is null
-
getId
public int getId()- Mappings:
Namespace Name Mixin selector official aLdrn;a()Iintermediary method_18483Lnet/minecraft/class_4060;method_18483()Inamed getIdLnet/minecraft/client/option/AoMode;getId()I
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official bLdrn;b()Ljava/lang/String;intermediary method_18485Lnet/minecraft/class_4060;method_18485()Ljava/lang/String;named getTranslationKeyLnet/minecraft/client/option/AoMode;getTranslationKey()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector official aLdrn;a(I)Ldrn;intermediary method_18484Lnet/minecraft/class_4060;method_18484(I)Lnet/minecraft/class_4060;named byIdLnet/minecraft/client/option/AoMode;byId(I)Lnet/minecraft/client/option/AoMode;
-