public static enum BlockIgniteEvent.IgniteCause extends java.lang.Enum<BlockIgniteEvent.IgniteCause>
枚举常量和说明 |
---|
ENDER_CRYSTAL
方块被末影水晶点燃
|
EXPLOSION
方块被爆炸点燃
|
FIREBALL
方块被火球点燃
|
FLINT_AND_STEEL
方块被发射器/玩家使用打火石点燃
|
LAVA
方块被岩浆点燃
|
LIGHTNING
方块被闪电点燃
|
SPREAD
方块被蔓延的点燃
|
限定符和类型 | 方法和说明 |
---|---|
static BlockIgniteEvent.IgniteCause |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static BlockIgniteEvent.IgniteCause[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
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
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值