public abstract class AbstractPhase extends Object implements Phase
Modifier and Type | Field and Description |
---|---|
protected EnderDragonEntity |
dragon |
Constructor and Description |
---|
AbstractPhase(EnderDragonEntity dragon) |
Modifier and Type | Method and Description |
---|---|
void |
beginPhase() |
void |
clientTick() |
void |
crystalDestroyed(EndCrystalEntity crystal,
BlockPos pos,
DamageSource source,
PlayerEntity player) |
void |
endPhase() |
float |
getMaxYAcceleration() |
Vec3d |
getTarget() |
boolean |
isSittingOrHovering() |
float |
method_6847() |
float |
modifyDamageTaken(DamageSource damageSource,
float float2) |
void |
serverTick() |
protected final EnderDragonEntity dragon
public AbstractPhase(EnderDragonEntity dragon)
public boolean isSittingOrHovering()
isSittingOrHovering
in interface Phase
public void clientTick()
clientTick
in interface Phase
public void serverTick()
serverTick
in interface Phase
public void crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player)
crystalDestroyed
in interface Phase
public void beginPhase()
beginPhase
in interface Phase
public float getMaxYAcceleration()
getMaxYAcceleration
in interface Phase
public float modifyDamageTaken(DamageSource damageSource, float float2)
modifyDamageTaken
in interface Phase
public float method_6847()
method_6847
in interface Phase