Enum Class ClientboundPlayerInfoUpdatePacket.Action
java.lang.Object
java.lang.Enum<ClientboundPlayerInfoUpdatePacket.Action>
net.minecraft.network.protocol.game.ClientboundPlayerInfoUpdatePacket.Action
- All Implemented Interfaces:
Serializable
,Comparable<ClientboundPlayerInfoUpdatePacket.Action>
,Constable
- Enclosing class:
ClientboundPlayerInfoUpdatePacket
public static enum ClientboundPlayerInfoUpdatePacket.Action
extends Enum<ClientboundPlayerInfoUpdatePacket.Action>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescription -
Field Summary
Modifier and TypeFieldDescription(package private) final ClientboundPlayerInfoUpdatePacket.Action.Reader
(package private) final ClientboundPlayerInfoUpdatePacket.Action.Writer
-
Constructor Summary
ModifierConstructorDescriptionprivate
Action
(ClientboundPlayerInfoUpdatePacket.Action.Reader p_249392_, ClientboundPlayerInfoUpdatePacket.Action.Writer p_250487_) -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD_PLAYER
-
INITIALIZE_CHAT
-
UPDATE_GAME_MODE
-
UPDATE_LISTED
-
UPDATE_LATENCY
-
UPDATE_DISPLAY_NAME
-
-
Field Details
-
reader
-
writer
-
-
Constructor Details
-
Action
private Action(ClientboundPlayerInfoUpdatePacket.Action.Reader p_249392_, ClientboundPlayerInfoUpdatePacket.Action.Writer p_250487_)
-
-
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
-