Package net.minecraft.client.option
Enum NarratorMode
- All Implemented Interfaces:
Serializable,Comparable<NarratorMode>,java.lang.constant.Constable
@Environment(CLIENT) public enum NarratorMode extends Enum<NarratorMode>
- Mappings:
Namespace Name official dqmintermediary net/minecraft/class_4065named net/minecraft/client/option/NarratorMode
-
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 Textnameprivate static NarratorMode[]VALUES -
Constructor Summary
Constructors Modifier Constructor Description privateNarratorMode(int id, String name) -
Method Summary
Modifier and Type Method Description static NarratorModebyId(int id)intgetId()TextgetName()static NarratorModevalueOf(String name)Returns the enum constant of this type with the specified name.static NarratorMode[]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 aLdqm;a:Ldqm;intermediary field_18176Lnet/minecraft/class_4065;field_18176:Lnet/minecraft/class_4065;named OFFLnet/minecraft/client/option/NarratorMode;OFF:Lnet/minecraft/client/option/NarratorMode;
-
ALL
- Mappings:
Namespace Name Mixin selector official bLdqm;b:Ldqm;intermediary field_18177Lnet/minecraft/class_4065;field_18177:Lnet/minecraft/class_4065;named ALLLnet/minecraft/client/option/NarratorMode;ALL:Lnet/minecraft/client/option/NarratorMode;
-
CHAT
- Mappings:
Namespace Name Mixin selector official cLdqm;c:Ldqm;intermediary field_18178Lnet/minecraft/class_4065;field_18178:Lnet/minecraft/class_4065;named CHATLnet/minecraft/client/option/NarratorMode;CHAT:Lnet/minecraft/client/option/NarratorMode;
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official dLdqm;d:Ldqm;intermediary field_18179Lnet/minecraft/class_4065;field_18179:Lnet/minecraft/class_4065;named SYSTEMLnet/minecraft/client/option/NarratorMode;SYSTEM:Lnet/minecraft/client/option/NarratorMode;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official eLdqm;e:[Ldqm;intermediary field_18180Lnet/minecraft/class_4065;field_18180:[Lnet/minecraft/class_4065;named VALUESLnet/minecraft/client/option/NarratorMode;VALUES:[Lnet/minecraft/client/option/NarratorMode;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official fLdqm;f:Iintermediary field_18181Lnet/minecraft/class_4065;field_18181:Inamed idLnet/minecraft/client/option/NarratorMode;id:I
-
name
- Mappings:
Namespace Name Mixin selector official gLdqm;g:Loi;intermediary field_24212Lnet/minecraft/class_4065;field_24212:Lnet/minecraft/class_2561;named nameLnet/minecraft/client/option/NarratorMode;name:Lnet/minecraft/text/Text;
-
-
Constructor Details
-
NarratorMode
- Mappings:
Namespace Name Mixin selector official <init>Ldqm;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_4065;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/option/NarratorMode;<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 aLdqm;a()Iintermediary method_18509Lnet/minecraft/class_4065;method_18509()Inamed getIdLnet/minecraft/client/option/NarratorMode;getId()I
-
getName
- Mappings:
Namespace Name Mixin selector official bLdqm;b()Loi;intermediary method_18511Lnet/minecraft/class_4065;method_18511()Lnet/minecraft/class_2561;named getNameLnet/minecraft/client/option/NarratorMode;getName()Lnet/minecraft/text/Text;
-
byId
- Mappings:
Namespace Name Mixin selector official aLdqm;a(I)Ldqm;intermediary method_18510Lnet/minecraft/class_4065;method_18510(I)Lnet/minecraft/class_4065;named byIdLnet/minecraft/client/option/NarratorMode;byId(I)Lnet/minecraft/client/option/NarratorMode;
-