public static enum BlockInteractEvent.Type extends java.lang.Enum<BlockInteractEvent.Type>
Enum Constant and Description |
---|
START_BREAK
We're starting to break the target block.
|
USE
We're right clicking on the target block.
|
Modifier and Type | Method and Description |
---|---|
static BlockInteractEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BlockInteractEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockInteractEvent.Type START_BREAK
public static final BlockInteractEvent.Type USE
public static BlockInteractEvent.Type[] values()
for (BlockInteractEvent.Type c : BlockInteractEvent.Type.values()) System.out.println(c);
public static BlockInteractEvent.Type 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