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 Phasepublic void clientTick()
clientTick in interface Phasepublic void serverTick()
serverTick in interface Phasepublic void crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player)
crystalDestroyed in interface Phasepublic void beginPhase()
beginPhase in interface Phasepublic float getMaxYAcceleration()
getMaxYAcceleration in interface Phasepublic float modifyDamageTaken(DamageSource damageSource, float float2)
modifyDamageTaken in interface Phasepublic float method_6847()
method_6847 in interface Phase