public enum PlayerActionType extends Enum<PlayerActionType>
| Modifier and Type | Method and Description |
|---|---|
static PlayerActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlayerActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlayerActionType START_BREAK
public static final PlayerActionType ABORT_BREAK
public static final PlayerActionType STOP_BREAK
public static final PlayerActionType GET_UPDATED_BLOCK
public static final PlayerActionType DROP_ITEM
public static final PlayerActionType START_SLEEP
public static final PlayerActionType STOP_SLEEP
public static final PlayerActionType RESPAWN
public static final PlayerActionType JUMP
public static final PlayerActionType START_SPRINT
public static final PlayerActionType STOP_SPRINT
public static final PlayerActionType START_SNEAK
public static final PlayerActionType STOP_SNEAK
public static final PlayerActionType DIMENSION_CHANGE_REQUEST_OR_CREATIVE_DESTROY_BLOCK
public static final PlayerActionType DIMENSION_CHANGE_SUCCESS
public static final PlayerActionType START_GLIDE
public static final PlayerActionType STOP_GLIDE
public static final PlayerActionType BUILD_DENIED
public static final PlayerActionType CONTINUE_BREAK
public static final PlayerActionType CHANGE_SKIN
public static final PlayerActionType SET_ENCHANTMENT_SEED
public static final PlayerActionType START_SWIMMING
public static final PlayerActionType STOP_SWIMMING
public static final PlayerActionType START_SPIN_ATTACK
public static final PlayerActionType STOP_SPIN_ATTACK
public static final PlayerActionType BLOCK_INTERACT
public static final PlayerActionType BLOCK_PREDICT_DESTROY
public static final PlayerActionType BLOCK_CONTINUE_DESTROY
public static PlayerActionType[] values()
for (PlayerActionType c : PlayerActionType.values()) System.out.println(c);
public static PlayerActionType 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 © 2018–2022 NukkitX. All rights reserved.