public abstract class PhaseBase extends java.lang.Object implements IPhase
Modifier and Type | Field and Description |
---|---|
protected EntityDragon |
dragon |
Constructor and Description |
---|
PhaseBase(EntityDragon dragonIn) |
Modifier and Type | Method and Description |
---|---|
void |
doClientRenderEffects() |
void |
doLocalUpdate() |
float |
getAdjustedDamage(EntityDragonPart pt,
DamageSource src,
float damage) |
boolean |
getIsStationary() |
float |
getMaxRiseOrFall() |
Vec3d |
getTargetLocation() |
float |
getYawFactor() |
void |
initPhase() |
void |
onCrystalDestroyed(EntityEnderCrystal crystal,
BlockPos pos,
DamageSource dmgSrc,
EntityPlayer plyr) |
void |
removeAreaEffect() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPhaseList
protected final EntityDragon dragon
public PhaseBase(EntityDragon dragonIn)
public boolean getIsStationary()
getIsStationary
in interface IPhase
public void doClientRenderEffects()
doClientRenderEffects
in interface IPhase
public void doLocalUpdate()
doLocalUpdate
in interface IPhase
public void onCrystalDestroyed(EntityEnderCrystal crystal, BlockPos pos, DamageSource dmgSrc, @Nullable EntityPlayer plyr)
onCrystalDestroyed
in interface IPhase
public void removeAreaEffect()
removeAreaEffect
in interface IPhase
public float getMaxRiseOrFall()
getMaxRiseOrFall
in interface IPhase
@Nullable public Vec3d getTargetLocation()
getTargetLocation
in interface IPhase
public float getAdjustedDamage(EntityDragonPart pt, DamageSource src, float damage)
getAdjustedDamage
in interface IPhase
public float getYawFactor()
getYawFactor
in interface IPhase