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, modifyDamageTaken
private static final Logger LOGGER
private Vec3d target
private int field_7037
public ChargingPlayerPhase(EnderDragonEntity dragon)
public void serverTick()
serverTick
in interface Phase
serverTick
in class AbstractPhase
public void beginPhase()
beginPhase
in interface Phase
beginPhase
in class AbstractPhase
public void setTarget(Vec3d target)
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<ChargingPlayerPhase> getType()