Package net.minecraft.client.option
Enum Class ChatVisibility
- All Implemented Interfaces:
Serializable,Comparable<ChatVisibility>,Constable,TranslatableOption
- Mappings:
Namespace Name official buaintermediary net/minecraft/class_1659named net/minecraft/client/option/ChatVisibility
-
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 ChatVisibility[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChatVisibilitybyId(int id) intgetId()static ChatVisibilityReturns the enum constant of this class with the specified name.static ChatVisibility[]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
-
FULL
- Mappings:
Namespace Name Mixin selector official aLbua;a:Lbua;intermediary field_7538Lnet/minecraft/class_1659;field_7538:Lnet/minecraft/class_1659;named FULLLnet/minecraft/client/option/ChatVisibility;FULL:Lnet/minecraft/client/option/ChatVisibility;
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official bLbua;b:Lbua;intermediary field_7539Lnet/minecraft/class_1659;field_7539:Lnet/minecraft/class_1659;named SYSTEMLnet/minecraft/client/option/ChatVisibility;SYSTEM:Lnet/minecraft/client/option/ChatVisibility;
-
HIDDEN
- Mappings:
Namespace Name Mixin selector official cLbua;c:Lbua;intermediary field_7536Lnet/minecraft/class_1659;field_7536:Lnet/minecraft/class_1659;named HIDDENLnet/minecraft/client/option/ChatVisibility;HIDDEN:Lnet/minecraft/client/option/ChatVisibility;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official dLbua;d:[Lbua;intermediary field_7534Lnet/minecraft/class_1659;field_7534:[Lnet/minecraft/class_1659;named VALUESLnet/minecraft/client/option/ChatVisibility;VALUES:[Lnet/minecraft/client/option/ChatVisibility;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLbua;e:Iintermediary field_7535Lnet/minecraft/class_1659;field_7535:Inamed idLnet/minecraft/client/option/ChatVisibility;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official fLbua;f:Ljava/lang/String;intermediary field_7540Lnet/minecraft/class_1659;field_7540:Ljava/lang/String;named translationKeyLnet/minecraft/client/option/ChatVisibility;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
ChatVisibility
- Mappings:
Namespace Name Mixin selector official <init>Lbua;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1659;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/client/option/ChatVisibility;<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:
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
-
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;
-
byId
- Mappings:
Namespace Name Mixin selector official aLbua;a(I)Lbua;intermediary method_7360Lnet/minecraft/class_1659;method_7360(I)Lnet/minecraft/class_1659;named byIdLnet/minecraft/client/option/ChatVisibility;byId(I)Lnet/minecraft/client/option/ChatVisibility;
-