public static enum AdvancedPlayerMoveEvent.MovementType extends java.lang.Enum<AdvancedPlayerMoveEvent.MovementType>
| Enum Constant and Description |
|---|
BOTH
The player has changed both their position (X, Y, or Z) and their rotation (yaw or pitch)
|
ROTATION
The player has changed their rotation (yaw or pitch)
|
TRANSLATION
The player has changed their position (X, Y, or Z)
|
| Modifier and Type | Method and Description |
|---|---|
static AdvancedPlayerMoveEvent.MovementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AdvancedPlayerMoveEvent.MovementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdvancedPlayerMoveEvent.MovementType TRANSLATION
public static final AdvancedPlayerMoveEvent.MovementType ROTATION
public static final AdvancedPlayerMoveEvent.MovementType BOTH
public static AdvancedPlayerMoveEvent.MovementType[] values()
for (AdvancedPlayerMoveEvent.MovementType c : AdvancedPlayerMoveEvent.MovementType.values()) System.out.println(c);
public static AdvancedPlayerMoveEvent.MovementType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null