Package net.minecraft.entity.player
Enum Class PlayerEntity.ChatVisibilityType
java.lang.Object
java.lang.Enum<PlayerEntity.ChatVisibilityType>
net.minecraft.entity.player.PlayerEntity.ChatVisibilityType
- All Implemented Interfaces:
Serializable,Comparable<PlayerEntity.ChatVisibilityType>,Constable
- Enclosing class:
- PlayerEntity
- Mappings:
Namespace Name official aed$bintermediary net/minecraft/class_988$class_2157named 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
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate final Stringprivate static final PlayerEntity.ChatVisibilityType[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetById(int id) intgetId()getName()Returns the enum constant of this class with the specified name.static PlayerEntity.ChatVisibilityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FULL
- Mappings:
Namespace Name Mixin selector official aLaed$b;a:Laed$b;intermediary field_9134Lnet/minecraft/class_988$class_2157;field_9134:Lnet/minecraft/class_988$class_2157;named FULLLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;FULL:Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
SYSTEM
- Mappings:
Namespace Name Mixin selector official bLaed$b;b:Laed$b;intermediary field_9135Lnet/minecraft/class_988$class_2157;field_9135:Lnet/minecraft/class_988$class_2157;named SYSTEMLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;SYSTEM:Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
HIDDEN
- Mappings:
Namespace Name Mixin selector official cLaed$b;c:Laed$b;intermediary field_9136Lnet/minecraft/class_988$class_2157;field_9136:Lnet/minecraft/class_988$class_2157;named HIDDENLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;HIDDEN:Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
-
Field Details
-
TYPES
- Mappings:
Namespace Name Mixin selector official dLaed$b;d:[Laed$b;intermediary field_9137Lnet/minecraft/class_988$class_2157;field_9137:[Lnet/minecraft/class_988$class_2157;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 eLaed$b;e:Iintermediary field_9138Lnet/minecraft/class_988$class_2157;field_9138:Inamed idLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;id:I
-
name
- Mappings:
Namespace Name Mixin selector official fLaed$b;f:Ljava/lang/String;intermediary field_9139Lnet/minecraft/class_988$class_2157;field_9139:Ljava/lang/String;named nameLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;name:Ljava/lang/String;
-
-
Constructor Details
-
ChatVisibilityType
- Mappings:
Namespace Name Mixin selector official <init>Laed$b;<init>(Ljava/lang/String;IILjava/lang/String;)Vintermediary <init>Lnet/minecraft/class_988$class_2157;<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 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
- Mappings:
Namespace Name Mixin selector official aLaed$b;a()Iintermediary method_8430Lnet/minecraft/class_988$class_2157;method_8430()Inamed getIdLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;getId()I
-
getById
- Mappings:
Namespace Name Mixin selector official aLaed$b;a(I)Laed$b;intermediary method_8431Lnet/minecraft/class_988$class_2157;method_8431(I)Lnet/minecraft/class_988$class_2157;named getByIdLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;getById(I)Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
getName
- Mappings:
Namespace Name Mixin selector official bLaed$b;b()Ljava/lang/String;intermediary method_8432Lnet/minecraft/class_988$class_2157;method_8432()Ljava/lang/String;named getNameLnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;getName()Ljava/lang/String;
-