public static enum ItemUseOnEntityTransaction.Action extends Enum<ItemUseOnEntityTransaction.Action>
| Enum Constant and Description |
|---|
ATTACK |
INTERACT |
ITEM_INTERACT |
| Modifier and Type | Method and Description |
|---|---|
static ItemUseOnEntityTransaction.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ItemUseOnEntityTransaction.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemUseOnEntityTransaction.Action INTERACT
public static final ItemUseOnEntityTransaction.Action ATTACK
public static final ItemUseOnEntityTransaction.Action ITEM_INTERACT
public static ItemUseOnEntityTransaction.Action[] values()
for (ItemUseOnEntityTransaction.Action c : ItemUseOnEntityTransaction.Action.values()) System.out.println(c);
public static ItemUseOnEntityTransaction.Action 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 © 2017–2018 NukkitX. All rights reserved.