| Package | Description |
|---|---|
| org.bukkit.entity |
Interfaces for non-voxel objects that can exist in a
world, including all players, monsters, projectiles, etc. |
| org.bukkit.event.entity |
| Modifier and Type | Method | Description |
|---|---|---|
EnderDragon.Phase |
EnderDragon.getPhase() |
Gets the current phase that the dragon is performing.
|
static EnderDragon.Phase |
EnderDragon.Phase.valueOf(String name) |
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 Type | Method | Description |
|---|---|---|
void |
EnderDragon.setPhase(EnderDragon.Phase phase) |
Sets the next phase for the dragon to perform.
|
| Modifier and Type | Method | Description |
|---|---|---|
EnderDragon.Phase |
EnderDragonChangePhaseEvent.getCurrentPhase() |
Gets the current phase that the dragon is in.
|
EnderDragon.Phase |
EnderDragonChangePhaseEvent.getNewPhase() |
Gets the new phase that the dragon will switch to.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
EnderDragonChangePhaseEvent.setNewPhase(EnderDragon.Phase newPhase) |
Sets the new phase for the ender dragon.
|
| Constructor | Description |
|---|---|
EnderDragonChangePhaseEvent(EnderDragon enderDragon,
EnderDragon.Phase currentPhase,
EnderDragon.Phase newPhase) |
Copyright © 2019. All rights reserved.