public static enum BlockIgniteEvent.IgniteCause extends Enum<BlockIgniteEvent.IgniteCause>
| Enum Constant and Description | 
|---|
| ENDER_CRYSTALBlock ignition caused by an Ender Crystal. | 
| EXPLOSIONBlock ignition caused by explosion. | 
| FIREBALLBlock ignition caused by an entity using a fireball. | 
| FLINT_AND_STEELBlock ignition caused by a player or dispenser using flint-and-steel. | 
| LAVABlock ignition caused by lava. | 
| LIGHTNINGBlock ignition caused by lightning. | 
| SPREADBlock 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 © 2016. All rights reserved.