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