Package com.comphenix.protocol.wrappers
Enum Class EnumWrappers.PlayerAction
- All Implemented Interfaces:
EnumWrappers.AliasedEnum,Serializable,Comparable<EnumWrappers.PlayerAction>,Constable
- Enclosing class:
EnumWrappers
public static enum EnumWrappers.PlayerAction
extends Enum<EnumWrappers.PlayerAction>
implements EnumWrappers.AliasedEnum
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Removed in 1.21.6Deprecated.Removed in 1.21.6 -
Method Summary
Modifier and TypeMethodDescriptionString[]static EnumWrappers.PlayerActionReturns the enum constant of this class with the specified name.static EnumWrappers.PlayerAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START_SNEAKING
Deprecated.Removed in 1.21.6 -
STOP_SNEAKING
Deprecated.Removed in 1.21.6 -
STOP_SLEEPING
-
START_SPRINTING
-
STOP_SPRINTING
-
START_RIDING_JUMP
-
STOP_RIDING_JUMP
-
OPEN_INVENTORY
-
START_FALL_FLYING
-
-
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
-
getAliases
- Specified by:
getAliasesin interfaceEnumWrappers.AliasedEnum
-