java.io.Serializable
, java.lang.Comparable<BlockIgniteEvent.IgniteCause>
public static enum BlockIgniteEvent.IgniteCause extends java.lang.Enum<BlockIgniteEvent.IgniteCause>
Enum Constant | 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 | Description |
---|---|---|
static BlockIgniteEvent.IgniteCause |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2018. All rights reserved.