public class DyingPhase extends AbstractPhase
Modifier and Type | Field and Description |
---|---|
private Vec3d |
target |
private int |
ticks |
dragon
Constructor and Description |
---|
DyingPhase(EnderDragonEntity dragon) |
Modifier and Type | Method and Description |
---|---|
void |
beginPhase() |
void |
clientTick() |
float |
getMaxYAcceleration() |
Vec3d |
getTarget() |
PhaseType<DyingPhase> |
getType() |
void |
serverTick() |
crystalDestroyed, endPhase, isSittingOrHovering, method_6847, modifyDamageTaken
private Vec3d target
private int ticks
public DyingPhase(EnderDragonEntity dragon)
public void clientTick()
clientTick
in interface Phase
clientTick
in class AbstractPhase
public void serverTick()
serverTick
in interface Phase
serverTick
in class AbstractPhase
public void beginPhase()
beginPhase
in interface Phase
beginPhase
in class AbstractPhase
public float getMaxYAcceleration()
getMaxYAcceleration
in interface Phase
getMaxYAcceleration
in class AbstractPhase
@Nullable public Vec3d getTarget()
getTarget
in interface Phase
getTarget
in class AbstractPhase
public PhaseType<DyingPhase> getType()