Package net.minecraft.entity.player
Enum PlayerEntity.ChatVisibilityType
java.lang.Object
java.lang.Enum<PlayerEntity.ChatVisibilityType>
net.minecraft.entity.player.PlayerEntity.ChatVisibilityType
- All Implemented Interfaces:
Serializable,Comparable<PlayerEntity.ChatVisibilityType>,java.lang.constant.Constable
- Enclosing class:
- PlayerEntity
public static enum PlayerEntity.ChatVisibilityType extends Enum<PlayerEntity.ChatVisibilityType>
- Mappings:
Namespace Name official wn$bintermediary net/minecraft/class_1963$class_1965named net/minecraft/entity/player/PlayerEntity$ChatVisibilityType
-
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 Stringnameprivate static PlayerEntity.ChatVisibilityType[]TYPES -
Constructor Summary
Constructors Modifier Constructor Description privateChatVisibilityType(int id, String name) -
Method Summary
Modifier and Type Method Description static PlayerEntity.ChatVisibilityTypegetById(int id)intgetId()StringgetName()static PlayerEntity.ChatVisibilityTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PlayerEntity.ChatVisibilityType[]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 aLwn$b;a:Lwn$b;intermediary field_8367Lnet/minecraft/class_1963$class_1965;field_8367:Lnet/minecraft/class_1963$class_1965;named FULLLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;FULL:Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official bLwn$b;b:Lwn$b;intermediary field_8368Lnet/minecraft/class_1963$class_1965;field_8368:Lnet/minecraft/class_1963$class_1965;named SYSTEMLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;SYSTEM:Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
HIDDEN
- Mappings:
Namespace Name Mixin selector official cLwn$b;c:Lwn$b;intermediary field_8369Lnet/minecraft/class_1963$class_1965;field_8369:Lnet/minecraft/class_1963$class_1965;named HIDDENLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;HIDDEN:Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official dLwn$b;d:[Lwn$b;intermediary field_8370Lnet/minecraft/class_1963$class_1965;field_8370:[Lnet/minecraft/class_1963$class_1965;named TYPESLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;TYPES:[Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLwn$b;e:Iintermediary field_8371Lnet/minecraft/class_1963$class_1965;field_8371:Inamed idLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official fLwn$b;f:Ljava/lang/String;intermediary field_8372Lnet/minecraft/class_1963$class_1965;field_8372:Ljava/lang/String;named nameLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;name:Ljava/lang/String;
-
-
Constructor Details
-
ChatVisibilityType
- Mappings:
Namespace Name Mixin selector official <init>Lwn$b;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_1963$class_1965;<init>(Ljava/lang/String;IILjava/lang/String;)Vnamed <init>Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;<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 aLwn$b;a()Iintermediary method_8052Lnet/minecraft/class_1963$class_1965;method_8052()Inamed getIdLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;getId()I
-
getById
- Mappings:
Namespace Name Mixin selector official aLwn$b;a(I)Lwn$b;intermediary method_8053Lnet/minecraft/class_1963$class_1965;method_8053(I)Lnet/minecraft/class_1963$class_1965;named getByIdLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;getById(I)Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
getName
- Mappings:
Namespace Name Mixin selector official bLwn$b;b()Ljava/lang/String;intermediary method_8054Lnet/minecraft/class_1963$class_1965;method_8054()Ljava/lang/String;named getNameLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;getName()Ljava/lang/String;
-