接口 EnderDragon

所有超级接口:
Attributable, CommandSender, ComplexLivingEntity, Damageable, Entity, LivingEntity, Metadatable, Nameable, Permissible, ProjectileSource, ServerOperator

public interface EnderDragon extends ComplexLivingEntity
Represents an Ender Dragon
  • 方法详细资料

    • getPhase

      EnderDragon.Phase getPhase()
      Gets the current phase that the dragon is performing.
      返回:
      the current phase
    • setPhase

      void setPhase(EnderDragon.Phase phase)
      Sets the next phase for the dragon to perform.
      参数:
      phase - the next phase