public interface IPhase
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 |
getAdjustedDamage(EntityDragonPart pt,
DamageSource src,
float damage)
Normally, just returns damage.
|
boolean |
getIsStationary() |
float |
getMaxRiseOrFall()
Returns the maximum amount dragon may rise or fall during this phase
|
PhaseList<? extends IPhase> |
getPhaseList() |
Vec3d |
getTargetLocation()
Returns the location the dragon is flying toward
|
float |
getYawFactor() |
void |
initPhase()
Called when this phase is set to active
|
void |
onCrystalDestroyed(EntityEnderCrystal crystal,
BlockPos pos,
DamageSource dmgSrc,
EntityPlayer plyr) |
void |
removeAreaEffect() |
boolean getIsStationary()
void doClientRenderEffects()
void doLocalUpdate()
void onCrystalDestroyed(EntityEnderCrystal crystal, BlockPos pos, DamageSource dmgSrc, EntityPlayer plyr)
void initPhase()
void removeAreaEffect()
float getMaxRiseOrFall()
float getYawFactor()
Vec3d getTargetLocation()
float getAdjustedDamage(EntityDragonPart pt, DamageSource src, float damage)