Enum 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>,java.lang.constant.Constable
- Enclosing class:
- PlayerListS2CPacket
public static enum PlayerListS2CPacket.Action extends Enum<PlayerListS2CPacket.Action>
- Mappings:
Namespace Name official gz$aintermediary net/minecraft/class_1512$class_1513named 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 Constants Enum Constant Description ADD_PLAYERREMOVE_PLAYERUPDATE_DISPLAY_NAMEUPDATE_GAME_MODEUPDATE_LATENCY -
Constructor Summary
Constructors Modifier Constructor Description privateAction() -
Method Summary
Modifier and Type Method Description static PlayerListS2CPacket.ActionvalueOf(String name)Returns the enum constant of this type with the specified name.static PlayerListS2CPacket.Action[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ADD_PLAYER
- Mappings:
Namespace Name Mixin selector official aLgz$a;a:Lgz$a;intermediary field_6252Lnet/minecraft/class_1512$class_1513;field_6252:Lnet/minecraft/class_1512$class_1513;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 bLgz$a;b:Lgz$a;intermediary field_6253Lnet/minecraft/class_1512$class_1513;field_6253:Lnet/minecraft/class_1512$class_1513;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 cLgz$a;c:Lgz$a;intermediary field_6254Lnet/minecraft/class_1512$class_1513;field_6254:Lnet/minecraft/class_1512$class_1513;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 dLgz$a;d:Lgz$a;intermediary field_6255Lnet/minecraft/class_1512$class_1513;field_6255:Lnet/minecraft/class_1512$class_1513;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 eLgz$a;e:Lgz$a;intermediary field_6256Lnet/minecraft/class_1512$class_1513;field_6256:Lnet/minecraft/class_1512$class_1513;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 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
-