Enum Class WrapperPlayClientEntityAction.Action
java.lang.Object
java.lang.Enum<WrapperPlayClientEntityAction.Action>
com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientEntityAction.Action
- All Implemented Interfaces:
Serializable
,Comparable<WrapperPlayClientEntityAction.Action>
,Constable
- Enclosing class:
WrapperPlayClientEntityAction
public static enum WrapperPlayClientEntityAction.Action
extends Enum<WrapperPlayClientEntityAction.Action>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdded with 1.9Removed with 1.21.6Added with 1.9Removed with 1.21.6 -
Method Summary
Modifier and TypeMethodDescriptiongetById
(ServerVersion version, int id) abstract int
getId
(ServerVersion version) Returns the enum constant of this class with the specified name.static WrapperPlayClientEntityAction.Action[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_SNEAKING
Removed with 1.21.6 -
STOP_SNEAKING
Removed with 1.21.6 -
LEAVE_BED
-
START_SPRINTING
-
STOP_SPRINTING
-
START_JUMPING_WITH_HORSE
-
STOP_JUMPING_WITH_HORSE
Added with 1.9 -
OPEN_HORSE_INVENTORY
-
START_FLYING_WITH_ELYTRA
Added with 1.9
-
-
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
-
getById
-