Package net.minecraft.client.option
Enum ChatVisibility
- All Implemented Interfaces:
Serializable
,Comparable<ChatVisibility>
,java.lang.constant.Constable
public enum ChatVisibility extends Enum<ChatVisibility>
- Mappings:
Namespace Name official bhj
intermediary net/minecraft/class_1659
named 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
-
Field Summary
Fields Modifier and Type Field Description private int
id
private String
translationKey
private static ChatVisibility[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
ChatVisibility(int id, String translationKey)
-
Method Summary
Modifier and Type Method Description static ChatVisibility
byId(int id)
int
getId()
String
getTranslationKey()
static ChatVisibility
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChatVisibility[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FULL
- Mappings:
Namespace Name Mixin selector official a
Lbhj;a:Lbhj;
intermediary field_7538
Lnet/minecraft/class_1659;field_7538:Lnet/minecraft/class_1659;
named FULL
Lnet/minecraft/client/option/ChatVisibility;FULL:Lnet/minecraft/client/option/ChatVisibility;
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official b
Lbhj;b:Lbhj;
intermediary field_7539
Lnet/minecraft/class_1659;field_7539:Lnet/minecraft/class_1659;
named SYSTEM
Lnet/minecraft/client/option/ChatVisibility;SYSTEM:Lnet/minecraft/client/option/ChatVisibility;
-
HIDDEN
- Mappings:
Namespace Name Mixin selector official c
Lbhj;c:Lbhj;
intermediary field_7536
Lnet/minecraft/class_1659;field_7536:Lnet/minecraft/class_1659;
named HIDDEN
Lnet/minecraft/client/option/ChatVisibility;HIDDEN:Lnet/minecraft/client/option/ChatVisibility;
-
-
Field Details
-
VALUES
- Mappings:
Namespace Name Mixin selector official d
Lbhj;d:[Lbhj;
intermediary field_7534
Lnet/minecraft/class_1659;field_7534:[Lnet/minecraft/class_1659;
named VALUES
Lnet/minecraft/client/option/ChatVisibility;VALUES:[Lnet/minecraft/client/option/ChatVisibility;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official e
Lbhj;e:I
intermediary field_7535
Lnet/minecraft/class_1659;field_7535:I
named id
Lnet/minecraft/client/option/ChatVisibility;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official f
Lbhj;f:Ljava/lang/String;
intermediary field_7540
Lnet/minecraft/class_1659;field_7540:Ljava/lang/String;
named translationKey
Lnet/minecraft/client/option/ChatVisibility;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
ChatVisibility
- Mappings:
Namespace Name Mixin selector official <init>
Lbhj;<init>(Ljava/lang/String;IILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_1659;<init>(Ljava/lang/String;IILjava/lang/String;)V
named <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 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 a
Lbhj;a()I
intermediary method_7362
Lnet/minecraft/class_1659;method_7362()I
named getId
Lnet/minecraft/client/option/ChatVisibility;getId()I
-
getTranslationKey
- Mappings:
Namespace Name Mixin selector official b
Lbhj;b()Ljava/lang/String;
intermediary method_7359
Lnet/minecraft/class_1659;method_7359()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/client/option/ChatVisibility;getTranslationKey()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector official a
Lbhj;a(I)Lbhj;
intermediary method_7360
Lnet/minecraft/class_1659;method_7360(I)Lnet/minecraft/class_1659;
named byId
Lnet/minecraft/client/option/ChatVisibility;byId(I)Lnet/minecraft/client/option/ChatVisibility;
-