Package org.bukkit.event.block
Enum BlockIgniteEvent.IgniteCause
- All Implemented Interfaces:
- Serializable,- Comparable<BlockIgniteEvent.IgniteCause>,- java.lang.constant.Constable
- Enclosing class:
- BlockIgniteEvent
An enum to specify the cause of the ignite
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionBlock ignition caused by a flaming arrow.Block ignition caused by an Ender Crystal.Block ignition caused by explosion.Block ignition caused by an entity using a fireball.Block ignition caused by a player or dispenser using flint-and-steel.Block ignition caused by lava.Block ignition caused by lightning.Block ignition caused by dynamic spreading of fire.
- 
Method SummaryModifier and TypeMethodDescriptionstatic BlockIgniteEvent.IgniteCauseReturns 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.
- 
Enum Constant Details- 
LAVABlock ignition caused by lava.
- 
FLINT_AND_STEELBlock ignition caused by a player or dispenser using flint-and-steel.
- 
SPREADBlock ignition caused by dynamic spreading of fire.
- 
LIGHTNINGBlock ignition caused by lightning.
- 
FIREBALLBlock ignition caused by an entity using a fireball.
- 
ENDER_CRYSTALBlock ignition caused by an Ender Crystal.
- 
EXPLOSIONBlock ignition caused by explosion.
- 
ARROWBlock ignition caused by a flaming arrow.
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
 
- 
valueOfReturns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-