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