|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BlockIgniteEvent.IgniteCause>
org.bukkit.event.block.BlockIgniteEvent.IgniteCause
public static enum BlockIgniteEvent.IgniteCause
An enum to specify the cause of the ignite
| Enum Constant Summary | |
|---|---|
ENDER_CRYSTAL
Block ignition caused by an Ender Crystal. |
|
EXPLOSION
Block ignition caused by explosion. |
|
FIREBALL
Block ignition caused by an entity using a fireball. |
|
FLINT_AND_STEEL
Block ignition caused by a player or dispenser using flint-and-steel. |
|
LAVA
Block ignition caused by lava. |
|
LIGHTNING
Block ignition caused by lightning. |
|
SPREAD
Block ignition caused by dynamic spreading of fire. |
|
| Method Summary | |
|---|---|
static BlockIgniteEvent.IgniteCause |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BlockIgniteEvent.IgniteCause[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BlockIgniteEvent.IgniteCause LAVA
public static final BlockIgniteEvent.IgniteCause FLINT_AND_STEEL
public static final BlockIgniteEvent.IgniteCause SPREAD
public static final BlockIgniteEvent.IgniteCause LIGHTNING
public static final BlockIgniteEvent.IgniteCause FIREBALL
public static final BlockIgniteEvent.IgniteCause ENDER_CRYSTAL
public static final BlockIgniteEvent.IgniteCause EXPLOSION
| Method Detail |
|---|
public static final BlockIgniteEvent.IgniteCause[] values()
for(BlockIgniteEvent.IgniteCause c : BlockIgniteEvent.IgniteCause.values())
System.out.println(c);
public static BlockIgniteEvent.IgniteCause valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||