public static enum BlockIgniteEvent.Cause extends Enum<BlockIgniteEvent.Cause>
| Enum Constant and Description |
|---|
FIRE_SPREAD |
FIREBALL |
LAVA |
LIGHTENING |
PLAYER |
| Modifier and Type | Method and Description |
|---|---|
static BlockIgniteEvent.Cause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockIgniteEvent.Cause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockIgniteEvent.Cause FIRE_SPREAD
public static final BlockIgniteEvent.Cause PLAYER
public static final BlockIgniteEvent.Cause LIGHTENING
public static final BlockIgniteEvent.Cause LAVA
public static final BlockIgniteEvent.Cause FIREBALL
public static BlockIgniteEvent.Cause[] values()
for (BlockIgniteEvent.Cause c : BlockIgniteEvent.Cause.values()) System.out.println(c);
public static BlockIgniteEvent.Cause 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 © 2016. All rights reserved.