Uses of Enum
org.bukkit.entity.EnderDragon.Phase
Package
Description
Interfaces for non-voxel objects that can exist in a
world
, including all players, monsters, projectiles, etc.-
Uses of EnderDragon.Phase in org.bukkit.entity
Modifier and TypeMethodDescriptionEnderDragon.getPhase()
Gets the current phase that the dragon is performing.static EnderDragon.Phase
Returns the enum constant of this type with the specified name.static EnderDragon.Phase[]
EnderDragon.Phase.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionvoid
EnderDragon.setPhase(EnderDragon.Phase phase)
Sets the next phase for the dragon to perform. -
Uses of EnderDragon.Phase in org.bukkit.event.entity
Modifier and TypeMethodDescriptionEnderDragonChangePhaseEvent.getCurrentPhase()
Gets the current phase that the dragon is in.EnderDragonChangePhaseEvent.getNewPhase()
Gets the new phase that the dragon will switch to.Modifier and TypeMethodDescriptionvoid
EnderDragonChangePhaseEvent.setNewPhase(EnderDragon.Phase newPhase)
Sets the new phase for the ender dragon.ModifierConstructorDescriptionEnderDragonChangePhaseEvent(EnderDragon enderDragon, EnderDragon.Phase currentPhase, EnderDragon.Phase newPhase)