程序包 | 说明 |
---|---|
org.bukkit.entity |
为在
世界 内存在的非三维像素单位(实体)提供的接口,包含玩家、怪物、抛射物等. |
org.bukkit.event.entity |
限定符和类型 | 方法和说明 |
---|---|
EnderDragon.Phase |
EnderDragon.getPhase()
Gets the current phase that the dragon is performing.
|
static EnderDragon.Phase |
EnderDragon.Phase.valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static EnderDragon.Phase[] |
EnderDragon.Phase.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
限定符和类型 | 方法和说明 |
---|---|
void |
EnderDragon.setPhase(EnderDragon.Phase phase)
Sets the next phase for the dragon to perform.
|
限定符和类型 | 方法和说明 |
---|---|
EnderDragon.Phase |
EnderDragonChangePhaseEvent.getCurrentPhase()
Gets the current phase that the dragon is in.
|
EnderDragon.Phase |
EnderDragonChangePhaseEvent.getNewPhase()
Gets the new phase that the dragon will switch to.
|
限定符和类型 | 方法和说明 |
---|---|
void |
EnderDragonChangePhaseEvent.setNewPhase(EnderDragon.Phase newPhase)
Sets the new phase for the ender dragon.
|
构造器和说明 |
---|
EnderDragonChangePhaseEvent(EnderDragon enderDragon,
EnderDragon.Phase currentPhase,
EnderDragon.Phase newPhase) |