Package net.minecraft.network.message
Enum Class ChatVisibility
- All Implemented Interfaces:
Serializable
,Comparable<ChatVisibility>
,Constable
,TranslatableOption
- Mappings:
Namespace Name official cbs
intermediary net/minecraft/class_1659
named net/minecraft/network/message/ChatVisibility
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final IntFunction<ChatVisibility>
private final int
private final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ChatVisibility
byId
(int id) int
getId()
static ChatVisibility
Returns 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, valueOf
Methods inherited from interface net.minecraft.util.TranslatableOption
getText
-
Enum Constant Details
-
FULL
- Mappings:
Namespace Name Mixin selector official a
Lcbs;a:Lcbs;
intermediary field_7538
Lnet/minecraft/class_1659;field_7538:Lnet/minecraft/class_1659;
named FULL
Lnet/minecraft/network/message/ChatVisibility;FULL:Lnet/minecraft/network/message/ChatVisibility;
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official b
Lcbs;b:Lcbs;
intermediary field_7539
Lnet/minecraft/class_1659;field_7539:Lnet/minecraft/class_1659;
named SYSTEM
Lnet/minecraft/network/message/ChatVisibility;SYSTEM:Lnet/minecraft/network/message/ChatVisibility;
-
HIDDEN
- Mappings:
Namespace Name Mixin selector official c
Lcbs;c:Lcbs;
intermediary field_7536
Lnet/minecraft/class_1659;field_7536:Lnet/minecraft/class_1659;
named HIDDEN
Lnet/minecraft/network/message/ChatVisibility;HIDDEN:Lnet/minecraft/network/message/ChatVisibility;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector official d
Lcbs;d:Ljava/util/function/IntFunction;
intermediary field_7534
Lnet/minecraft/class_1659;field_7534:Ljava/util/function/IntFunction;
named BY_ID
Lnet/minecraft/network/message/ChatVisibility;BY_ID:Ljava/util/function/IntFunction;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official e
Lcbs;e:I
intermediary field_7535
Lnet/minecraft/class_1659;field_7535:I
named id
Lnet/minecraft/network/message/ChatVisibility;id:I
-
translationKey
- Mappings:
Namespace Name Mixin selector official f
Lcbs;f:Ljava/lang/String;
intermediary field_7540
Lnet/minecraft/class_1659;field_7540:Ljava/lang/String;
named translationKey
Lnet/minecraft/network/message/ChatVisibility;translationKey:Ljava/lang/String;
-
-
Constructor Details
-
ChatVisibility
- Mappings:
Namespace Name Mixin selector official <init>
Lcbs;<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/network/message/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:
getId
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector official a
Lary;a()I
intermediary method_7362
Lnet/minecraft/class_7291;method_7362()I
named getId
Lnet/minecraft/util/TranslatableOption;getId()I
-
getTranslationKey
- Specified by:
getTranslationKey
in interfaceTranslatableOption
- Mappings:
Namespace Name Mixin selector official b
Lary;b()Ljava/lang/String;
intermediary method_7359
Lnet/minecraft/class_7291;method_7359()Ljava/lang/String;
named getTranslationKey
Lnet/minecraft/util/TranslatableOption;getTranslationKey()Ljava/lang/String;
-
byId
- Mappings:
Namespace Name Mixin selector official a
Lcbs;a(I)Lcbs;
intermediary method_7360
Lnet/minecraft/class_1659;method_7360(I)Lnet/minecraft/class_1659;
named byId
Lnet/minecraft/network/message/ChatVisibility;byId(I)Lnet/minecraft/network/message/ChatVisibility;
-