Class ChargingPlayerPhase
- java.lang.Object
-
- net.minecraft.entity.boss.dragon.phase.Phase
-
- net.minecraft.entity.boss.dragon.phase.ChargingPlayerPhase
-
-
Field Summary
Fields Modifier and Type Field Description private static org.apache.logging.log4j.Logger
LOGGER
private Vector3d
targetLocation
private int
timeSinceCharge
-
Constructor Summary
Constructors Constructor Description ChargingPlayerPhase(EnderDragonEntity p_i46793_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin()
void
doServerTick()
float
getFlySpeed()
Vector3d
getFlyTargetLocation()
PhaseType<ChargingPlayerPhase>
getPhase()
void
setTarget(Vector3d p_188668_1_)
-
Methods inherited from class net.minecraft.entity.boss.dragon.phase.Phase
doClientTick, end, getTurnSpeed, isSitting, onCrystalDestroyed, onHurt
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
targetLocation
private Vector3d targetLocation
-
timeSinceCharge
private int timeSinceCharge
-
-
Constructor Detail
-
ChargingPlayerPhase
public ChargingPlayerPhase(EnderDragonEntity p_i46793_1_)
-
-
Method Detail
-
doServerTick
public void doServerTick()
- Specified by:
doServerTick
in interfaceIPhase
- Overrides:
doServerTick
in classPhase
-
setTarget
public void setTarget(Vector3d p_188668_1_)
-
getFlySpeed
public float getFlySpeed()
- Specified by:
getFlySpeed
in interfaceIPhase
- Overrides:
getFlySpeed
in classPhase
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocation
in interfaceIPhase
- Overrides:
getFlyTargetLocation
in classPhase
-
getPhase
public PhaseType<ChargingPlayerPhase> getPhase()
-
-