Enum Class WrapperPlayServerPlayerInfoUpdate.Action
java.lang.Object
java.lang.Enum<WrapperPlayServerPlayerInfoUpdate.Action>
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerPlayerInfoUpdate.Action
- All Implemented Interfaces:
Serializable
,Comparable<WrapperPlayServerPlayerInfoUpdate.Action>
,Constable
- Enclosing class:
WrapperPlayServerPlayerInfoUpdate
public static enum WrapperPlayServerPlayerInfoUpdate.Action
extends Enum<WrapperPlayServerPlayerInfoUpdate.Action>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionUpdates whether the outer skin layer (hat) of the player will be shown in tablist.
Added with 1.21.4Updates the order in which the player is listed in the tablist.
Added with 1.21.2 -
Field Summary
-
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
-
UPDATE_LIST_ORDER
Updates the order in which the player is listed in the tablist.
Added with 1.21.2 -
UPDATE_HAT
Updates whether the outer skin layer (hat) of the player will be shown in tablist.
Added with 1.21.4
-
-
Field Details
-
VALUES
-
-
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
-