public static enum BlockIgniteEvent.BlockIgniteCause extends Enum<BlockIgniteEvent.BlockIgniteCause>
| Enum Constant and Description |
|---|
EXPLOSION |
FIREBALL |
FLINT_AND_STEEL |
LAVA |
LIGHTNING |
SPREAD |
| Modifier and Type | Method and Description |
|---|---|
static BlockIgniteEvent.BlockIgniteCause |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockIgniteEvent.BlockIgniteCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockIgniteEvent.BlockIgniteCause EXPLOSION
public static final BlockIgniteEvent.BlockIgniteCause FIREBALL
public static final BlockIgniteEvent.BlockIgniteCause FLINT_AND_STEEL
public static final BlockIgniteEvent.BlockIgniteCause LAVA
public static final BlockIgniteEvent.BlockIgniteCause LIGHTNING
public static final BlockIgniteEvent.BlockIgniteCause SPREAD
public static BlockIgniteEvent.BlockIgniteCause[] values()
for (BlockIgniteEvent.BlockIgniteCause c : BlockIgniteEvent.BlockIgniteCause.values()) System.out.println(c);
public static BlockIgniteEvent.BlockIgniteCause 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 © 2020. All rights reserved.