public class HoverPhase extends AbstractPhase
Modifier and Type | Field and Description |
---|---|
private Vec3d |
target |
dragon
Constructor and Description |
---|
HoverPhase(EnderDragonEntity dragon) |
Modifier and Type | Method and Description |
---|---|
void |
beginPhase() |
float |
getMaxYAcceleration() |
Vec3d |
getTarget() |
PhaseType<HoverPhase> |
getType() |
boolean |
isSittingOrHovering() |
void |
serverTick() |
clientTick, crystalDestroyed, endPhase, method_6847, modifyDamageTaken
private Vec3d target
public HoverPhase(EnderDragonEntity dragon)
public void serverTick()
serverTick
in interface Phase
serverTick
in class AbstractPhase
public boolean isSittingOrHovering()
isSittingOrHovering
in interface Phase
isSittingOrHovering
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<HoverPhase> getType()