public static enum ItemUseTransaction.TriggerType extends java.lang.Enum<ItemUseTransaction.TriggerType>
| Enum Constant and Description |
|---|
PLAYER_INPUT |
SIMULATION_TICK |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ItemUseTransaction.TriggerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemUseTransaction.TriggerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ItemUseTransaction.TriggerType UNKNOWN
public static final ItemUseTransaction.TriggerType PLAYER_INPUT
public static final ItemUseTransaction.TriggerType SIMULATION_TICK
public static ItemUseTransaction.TriggerType[] values()
for (ItemUseTransaction.TriggerType c : ItemUseTransaction.TriggerType.values()) System.out.println(c);
public static ItemUseTransaction.TriggerType 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