public static enum EnderDragon.Phase extends Enum<EnderDragon.Phase>
| Enum Constant and Description | 
|---|
| BREATH_ATTACKThe dragon will attack with dragon breath at its current location. | 
| CHARGE_PLAYERThe dragon will charge a player. | 
| CIRCLINGThe dragon will circle outside the ring of pillars if ender
 crystals remain or inside the ring if not. | 
| DYINGThe dragon will fly to the vicinity of the portal and die. | 
| FLY_TO_PORTALThe dragon will fly towards the empty portal (approaching
 from the other side, if applicable). | 
| HOVERThe dragon will hover at its current location, not performing any actions. | 
| LAND_ON_PORTALThe dragon will land on on the portal. | 
| LEAVE_PORTALThe dragon will leave the portal. | 
| ROAR_BEFORE_ATTACKThe dragon will roar before performing a breath attack. | 
| SEARCH_FOR_BREATH_ATTACK_TARGETThe dragon will search for a player to attack with dragon breath. | 
| STRAFINGThe dragon will fly towards a targetted player and shoot a
 fireball when within 64 blocks. | 
| Modifier and Type | Method and Description | 
|---|---|
| static EnderDragon.Phase | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static EnderDragon.Phase[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final EnderDragon.Phase CIRCLING
public static final EnderDragon.Phase STRAFING
public static final EnderDragon.Phase FLY_TO_PORTAL
public static final EnderDragon.Phase LAND_ON_PORTAL
public static final EnderDragon.Phase LEAVE_PORTAL
public static final EnderDragon.Phase BREATH_ATTACK
public static final EnderDragon.Phase SEARCH_FOR_BREATH_ATTACK_TARGET
public static final EnderDragon.Phase ROAR_BEFORE_ATTACK
public static final EnderDragon.Phase CHARGE_PLAYER
public static final EnderDragon.Phase DYING
public static final EnderDragon.Phase HOVER
public static EnderDragon.Phase[] values()
for (EnderDragon.Phase c : EnderDragon.Phase.values()) System.out.println(c);
public static EnderDragon.Phase valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2017. All rights reserved.