Uses of Enum Class
org.bukkit.entity.EnderDragon.Phase
Packages that use 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
Methods in org.bukkit.entity that return EnderDragon.PhaseModifier and TypeMethodDescriptionEnderDragon.getPhase()
Gets the current phase that the dragon is performing.static EnderDragon.Phase
Returns the enum constant of this class with the specified name.static EnderDragon.Phase[]
EnderDragon.Phase.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.bukkit.entity with parameters of type EnderDragon.PhaseModifier and TypeMethodDescriptionvoid
EnderDragon.setPhase
(@NotNull EnderDragon.Phase phase) Sets the next phase for the dragon to perform. -
Uses of EnderDragon.Phase in org.bukkit.event.entity
Methods in org.bukkit.event.entity that return EnderDragon.PhaseModifier and TypeMethodDescriptionEnderDragonChangePhaseEvent.getCurrentPhase()
Gets the current phase that the dragon is in.EnderDragonChangePhaseEvent.getNewPhase()
Gets the new phase that the dragon will switch to.Methods in org.bukkit.event.entity with parameters of type EnderDragon.PhaseModifier and TypeMethodDescriptionvoid
EnderDragonChangePhaseEvent.setNewPhase
(EnderDragon.Phase newPhase) Sets the new phase for the ender dragon.Constructors in org.bukkit.event.entity with parameters of type EnderDragon.PhaseModifierConstructorDescriptionEnderDragonChangePhaseEvent
(@NotNull EnderDragon enderDragon, EnderDragon.Phase currentPhase, EnderDragon.Phase newPhase)