public enum PlayerState extends Enum<PlayerState>
| Enum Constant and Description |
|---|
LEAVE_BED |
OPEN_HORSE_INVENTORY |
START_ELYTRA_FLYING |
START_HORSE_JUMP |
START_SNEAKING |
START_SPRINTING |
STOP_HORSE_JUMP |
STOP_SNEAKING |
STOP_SPRINTING |
| Modifier and Type | Method and Description |
|---|---|
static PlayerState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerState START_SNEAKING
public static final PlayerState STOP_SNEAKING
public static final PlayerState LEAVE_BED
public static final PlayerState START_SPRINTING
public static final PlayerState STOP_SPRINTING
public static final PlayerState START_HORSE_JUMP
public static final PlayerState STOP_HORSE_JUMP
public static final PlayerState OPEN_HORSE_INVENTORY
public static final PlayerState START_ELYTRA_FLYING
public static PlayerState[] values()
for (PlayerState c : PlayerState.values()) System.out.println(c);
public static PlayerState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2020. All rights reserved.