public static enum BlockIgniteEvent.IgniteCause extends Enum<BlockIgniteEvent.IgniteCause>
列挙型定数と説明 |
---|
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.
|
修飾子とタイプ | メソッドと説明 |
---|---|
static BlockIgniteEvent.IgniteCause |
valueOf(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(String name)
name
- 返される列挙型定数の名前。IllegalArgumentException
- この列挙型に、指定した名前の定数がない場合NullPointerException
- 引数がnullの場合Copyright © 2016. All rights reserved.