Enum Class PlayerListS2CPacket.Action
java.lang.Object
java.lang.Enum<PlayerListS2CPacket.Action>
net.minecraft.network.packet.s2c.play.PlayerListS2CPacket.Action
- All Implemented Interfaces:
Serializable,Comparable<PlayerListS2CPacket.Action>,Constable
- Enclosing class:
PlayerListS2CPacket
- Mappings:
Namespace Name official us$aintermediary net/minecraft/class_2703$class_5893named net/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract PlayerListS2CPacket.Entryread(PacketByteBuf buf) static PlayerListS2CPacket.ActionReturns the enum constant of this class with the specified name.static PlayerListS2CPacket.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.protected abstract voidwrite(PacketByteBuf buf, PlayerListS2CPacket.Entry entry)
-
Enum Constant Details
-
ADD_PLAYER
- Mappings:
Namespace Name Mixin selector official aLus$a;a:Lus$a;intermediary field_29136Lnet/minecraft/class_2703$class_5893;field_29136:Lnet/minecraft/class_2703$class_5893;named ADD_PLAYERLnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;ADD_PLAYER:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
-
UPDATE_GAME_MODE
- Mappings:
Namespace Name Mixin selector official bLus$a;b:Lus$a;intermediary field_29137Lnet/minecraft/class_2703$class_5893;field_29137:Lnet/minecraft/class_2703$class_5893;named UPDATE_GAME_MODELnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;UPDATE_GAME_MODE:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
-
UPDATE_LATENCY
- Mappings:
Namespace Name Mixin selector official cLus$a;c:Lus$a;intermediary field_29138Lnet/minecraft/class_2703$class_5893;field_29138:Lnet/minecraft/class_2703$class_5893;named UPDATE_LATENCYLnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;UPDATE_LATENCY:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
-
UPDATE_DISPLAY_NAME
- Mappings:
Namespace Name Mixin selector official dLus$a;d:Lus$a;intermediary field_29139Lnet/minecraft/class_2703$class_5893;field_29139:Lnet/minecraft/class_2703$class_5893;named UPDATE_DISPLAY_NAMELnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;UPDATE_DISPLAY_NAME:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
-
REMOVE_PLAYER
- Mappings:
Namespace Name Mixin selector official eLus$a;e:Lus$a;intermediary field_29140Lnet/minecraft/class_2703$class_5893;field_29140:Lnet/minecraft/class_2703$class_5893;named REMOVE_PLAYERLnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;REMOVE_PLAYER:Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;
-
-
Constructor Details
-
Action
private Action()
-
-
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
-
read
- Mappings:
Namespace Name Mixin selector official aLus$a;a(Lqx;)Lus$b;intermediary method_34150Lnet/minecraft/class_2703$class_5893;method_34150(Lnet/minecraft/class_2540;)Lnet/minecraft/class_2703$class_2705;named readLnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;read(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;
-
write
- Mappings:
Namespace Name Mixin selector official aLus$a;a(Lqx;Lus$b;)Vintermediary method_34151Lnet/minecraft/class_2703$class_5893;method_34151(Lnet/minecraft/class_2540;Lnet/minecraft/class_2703$class_2705;)Vnamed writeLnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Action;write(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/network/packet/s2c/play/PlayerListS2CPacket$Entry;)V
-