Package org.bukkit.event.block
Enum Class BlockIgniteEvent.IgniteCause
- All Implemented Interfaces:
Serializable
,Comparable<BlockIgniteEvent.IgniteCause>
,Constable
- Enclosing class:
BlockIgniteEvent
An enum to specify the cause of the ignite
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum 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 Summary
Modifier and TypeMethodDescriptionstatic BlockIgniteEvent.IgniteCause
Returns the enum constant of this class with the specified name.static BlockIgniteEvent.IgniteCause[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LAVA
Block ignition caused by lava. -
FLINT_AND_STEEL
Block ignition caused by a player or dispenser using flint-and-steel. -
SPREAD
Block ignition caused by dynamic spreading of fire. -
LIGHTNING
Block ignition caused by lightning. -
FIREBALL
Block ignition caused by an entity using a fireball. -
ENDER_CRYSTAL
Block ignition caused by an Ender Crystal. -
EXPLOSION
Block ignition caused by explosion. -
ARROW
Block ignition caused by a flaming arrow.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-