public class ChargingPlayerPhase extends AbstractPhase
| Modifier and Type | Field and Description |
|---|---|
private int |
field_7037 |
private static Logger |
LOGGER |
private Vec3d |
target |
dragon| Constructor and Description |
|---|
ChargingPlayerPhase(EnderDragonEntity dragon) |
| Modifier and Type | Method and Description |
|---|---|
void |
beginPhase() |
float |
getMaxYAcceleration() |
Vec3d |
getTarget() |
PhaseType<ChargingPlayerPhase> |
getType() |
void |
serverTick() |
void |
setTarget(Vec3d target) |
clientTick, crystalDestroyed, endPhase, isSittingOrHovering, method_6847, modifyDamageTakenprivate static final Logger LOGGER
private Vec3d target
private int field_7037
public ChargingPlayerPhase(EnderDragonEntity dragon)
public void serverTick()
serverTick in interface PhaseserverTick in class AbstractPhasepublic void beginPhase()
beginPhase in interface PhasebeginPhase in class AbstractPhasepublic void setTarget(Vec3d target)
public float getMaxYAcceleration()
getMaxYAcceleration in interface PhasegetMaxYAcceleration in class AbstractPhase@Nullable public Vec3d getTarget()
getTarget in interface PhasegetTarget in class AbstractPhasepublic PhaseType<ChargingPlayerPhase> getType()