public static enum BlockIgniteEvent.IgniteCause extends Enum<BlockIgniteEvent.IgniteCause>
| Enum Constant and Description | 
|---|
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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 are declared. 
 | 
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
public static 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 nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.