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 aog$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 static final PlayerEntity.ChatVisibilityType[]private final intprivate final String -
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 aLaog$b;a:Laog$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 bLaog$b;b:Laog$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 cLaog$b;c:Laog$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
-
field_17093
- Mappings:
Namespace Name Mixin selector official dLaog$b;d:[Laog$b;intermediary field_17093Lnet/minecraft/class_988$class_2157;field_17093:[Lnet/minecraft/class_988$class_2157;named field_17093Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;field_17093:[Lnet/minecraft/entity/player/PlayerEntity$ChatVisibilityType;
-
id
private final int id- Mappings:
Namespace Name Mixin selector official eLaog$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 fLaog$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>Laog$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
public int getId()- Mappings:
Namespace Name Mixin selector official aLaog$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 aLaog$b;a(I)Laog$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 bLaog$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;
-