程序包 org.bukkit.boss

枚举 DragonBattle.RespawnPhase

java.lang.Object
java.lang.Enum<DragonBattle.RespawnPhase>
org.bukkit.boss.DragonBattle.RespawnPhase
所有已实现的接口:
Serializable, Comparable<DragonBattle.RespawnPhase>, Constable
封闭接口:
DragonBattle

public static enum DragonBattle.RespawnPhase extends Enum<DragonBattle.RespawnPhase>
Represents a phase in the dragon respawn process.
  • 枚举常量详细资料

    • START

      public static final DragonBattle.RespawnPhase START
      The crystal beams are directed upwards into the sky.
    • PREPARING_TO_SUMMON_PILLARS

      public static final DragonBattle.RespawnPhase PREPARING_TO_SUMMON_PILLARS
      The crystal beams remain directed upwards.
    • SUMMONING_PILLARS

      public static final DragonBattle.RespawnPhase SUMMONING_PILLARS
      The crystal beams are directed from pillar to pillar, regenerating their crystals if necessary.
    • SUMMONING_DRAGON

      public static final DragonBattle.RespawnPhase SUMMONING_DRAGON
      All crystals (including those from the pillars) are aimed towards the sky. Shortly thereafter summoning the dragon and destroying the crystals used to initiate the dragon's respawn.
    • END

      public static final DragonBattle.RespawnPhase END
      The end of the respawn sequence. The dragon is actually summoned.
    • NONE

      public static final DragonBattle.RespawnPhase NONE
      No respawn is in progress.
  • 方法详细资料

    • values

      public static DragonBattle.RespawnPhase[] values()
      按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。
      返回:
      按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
    • valueOf

      public static DragonBattle.RespawnPhase valueOf(String name)
      返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
      NullPointerException - 如果参数为空值