public abstract class Phase extends java.lang.Object implements IPhase
Modifier and Type | Field and Description |
---|---|
protected EnderDragonEntity |
dragon |
Constructor and Description |
---|
Phase(EnderDragonEntity dragonIn) |
Modifier and Type | Method and Description |
---|---|
void |
clientTick() |
float |
func_221113_a(DamageSource p_221113_1_,
float p_221113_2_) |
boolean |
getIsStationary() |
float |
getMaxRiseOrFall() |
Vec3d |
getTargetLocation() |
float |
getYawFactor() |
void |
initPhase() |
void |
onCrystalDestroyed(EnderCrystalEntity crystal,
BlockPos pos,
DamageSource dmgSrc,
PlayerEntity plyr) |
void |
removeAreaEffect() |
void |
serverTick() |
protected final EnderDragonEntity dragon
public Phase(EnderDragonEntity dragonIn)
public boolean getIsStationary()
getIsStationary
in interface IPhase
public void clientTick()
clientTick
in interface IPhase
public void serverTick()
serverTick
in interface IPhase
public void onCrystalDestroyed(EnderCrystalEntity crystal, BlockPos pos, DamageSource dmgSrc, @Nullable PlayerEntity 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 func_221113_a(DamageSource p_221113_1_, float p_221113_2_)
func_221113_a
in interface IPhase
public float getYawFactor()
getYawFactor
in interface IPhase