Package net.minecraft.client.option
Enum Class ChatPreviewMode
- All Implemented Interfaces:
Serializable,Comparable<ChatPreviewMode>,Constable,TranslatableOption
@Environment(CLIENT)
public enum ChatPreviewMode
extends Enum<ChatPreviewMode>
implements TranslatableOption
- Mappings:
Namespace Name official evgintermediary net/minecraft/class_7628named net/minecraft/client/option/ChatPreviewMode
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final Stringprivate static final ChatPreviewMode[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatPreviewModebyId(int id) intgetId()static ChatPreviewModeReturns the enum constant of this class with the specified name.static ChatPreviewMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
OFF
- Mappings:
Namespace Name Mixin selector official aLevg;a:Levg;intermediary field_39873Lnet/minecraft/class_7628;field_39873:Lnet/minecraft/class_7628;named OFFLnet/minecraft/client/option/ChatPreviewMode;OFF:Lnet/minecraft/client/option/ChatPreviewMode;
-
LIVE
- Mappings:
Namespace Name Mixin selector official bLevg;b:Levg;intermediary field_39874Lnet/minecraft/class_7628;field_39874:Lnet/minecraft/class_7628;named LIVELnet/minecraft/client/option/ChatPreviewMode;LIVE:Lnet/minecraft/client/option/ChatPreviewMode;
-
CONFIRM
- Mappings:
Namespace Name Mixin selector official cLevg;c:Levg;intermediary field_39875Lnet/minecraft/class_7628;field_39875:Lnet/minecraft/class_7628;named CONFIRMLnet/minecraft/client/option/ChatPreviewMode;CONFIRM:Lnet/minecraft/client/option/ChatPreviewMode;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official dLevg;d:[Levg;intermediary field_39876Lnet/minecraft/class_7628;field_39876:[Lnet/minecraft/class_7628;named VALUESLnet/minecraft/client/option/ChatPreviewMode;VALUES:[Lnet/minecraft/client/option/ChatPreviewMode;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLevg;e:Iintermediary field_39877Lnet/minecraft/class_7628;field_39877:Inamed idLnet/minecraft/client/option/ChatPreviewMode;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official fLevg;f:Ljava/lang/String;intermediary field_39878Lnet/minecraft/class_7628;field_39878:Ljava/lang/String;named translationKeyLnet/minecraft/client/option/ChatPreviewMode;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
ChatPreviewMode
- Mappings:
Namespace Name Mixin selector official <init>Levg;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_7628;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/option/ChatPreviewMode;<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
-
getTranslationKey
- Specified by:
getTranslationKeyin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector official bLamk;b()Ljava/lang/String;intermediary method_7359Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;named getTranslationKeyLnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
-
getId
public int getId()- Specified by:
getIdin interfaceTranslatableOption- Mappings:
Namespace Name Mixin selector official aLamk;a()Iintermediary method_7362Lnet/minecraft/class_7291;method_7362()Inamed getIdLnet/minecraft/util/TranslatableOption;getId()I
-
byId
- Mappings:
Namespace Name Mixin selector official aLevg;a(I)Levg;intermediary method_44952Lnet/minecraft/class_7628;method_44952(I)Lnet/minecraft/class_7628;named byIdLnet/minecraft/client/option/ChatPreviewMode;byId(I)Lnet/minecraft/client/option/ChatPreviewMode;
-