Constructor and Description |
---|
PhaseDying(EntityDragon dragonIn) |
Modifier and Type | Method and Description |
---|---|
void |
doClientRenderEffects()
Generates particle effects appropriate to the phase (or sometimes sounds).
|
void |
doLocalUpdate()
Gives the phase a chance to update its status.
|
float |
getMaxRiseOrFall()
Returns the maximum amount dragon may rise or fall during this phase
|
PhaseList<PhaseDying> |
getPhaseList() |
Vec3d |
getTargetLocation()
Returns the location the dragon is flying toward
|
void |
initPhase()
Called when this phase is set to active
|
getAdjustedDamage, getIsStationary, getYawFactor, onCrystalDestroyed, removeAreaEffect
public PhaseDying(EntityDragon dragonIn)
public void doClientRenderEffects()
doClientRenderEffects
in interface IPhase
doClientRenderEffects
in class PhaseBase
public void doLocalUpdate()
doLocalUpdate
in interface IPhase
doLocalUpdate
in class PhaseBase
public void initPhase()
public float getMaxRiseOrFall()
getMaxRiseOrFall
in interface IPhase
getMaxRiseOrFall
in class PhaseBase
public Vec3d getTargetLocation()
getTargetLocation
in interface IPhase
getTargetLocation
in class PhaseBase
public PhaseList<PhaseDying> getPhaseList()