枚举的使用
org.bukkit.boss.DragonBattle.RespawnPhase
- 
org.bukkit.boss中DragonBattle.RespawnPhase的使用修饰符和类型方法说明DragonBattle.getRespawnPhase()Get this battle's current respawn phase.static DragonBattle.RespawnPhase返回带有指定名称的该类型的枚举常量。static DragonBattle.RespawnPhase[]DragonBattle.RespawnPhase.values()按照声明该枚举类型的常量的顺序, 返回一个包含这些常量的数组。参数类型为DragonBattle.RespawnPhase的org.bukkit.boss中的方法修饰符和类型方法说明booleanDragonBattle.setRespawnPhase(@NotNull DragonBattle.RespawnPhase phase) Set the dragon's respawn phase.