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, modifyDamageTakenprivate Vec3d target
public HoverPhase(EnderDragonEntity dragon)
public void serverTick()
serverTick in interface PhaseserverTick in class AbstractPhasepublic boolean isSittingOrHovering()
isSittingOrHovering in interface PhaseisSittingOrHovering in class AbstractPhasepublic void beginPhase()
beginPhase in interface PhasebeginPhase in class AbstractPhasepublic float getMaxYAcceleration()
getMaxYAcceleration in interface PhasegetMaxYAcceleration in class AbstractPhase@Nullable public Vec3d getTarget()
getTarget in interface PhasegetTarget in class AbstractPhasepublic PhaseType<HoverPhase> getType()