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.LoggerLOGGERprivate Vector3dtargetLocationprivate inttimeSinceCharge
-
Constructor Summary
Constructors Constructor Description ChargingPlayerPhase(EnderDragonEntity p_i46793_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()voiddoServerTick()floatgetFlySpeed()Vector3dgetFlyTargetLocation()PhaseType<ChargingPlayerPhase>getPhase()voidsetTarget(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:
doServerTickin interfaceIPhase- Overrides:
doServerTickin classPhase
-
setTarget
public void setTarget(Vector3d p_188668_1_)
-
getFlySpeed
public float getFlySpeed()
- Specified by:
getFlySpeedin interfaceIPhase- Overrides:
getFlySpeedin classPhase
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocationin interfaceIPhase- Overrides:
getFlyTargetLocationin classPhase
-
getPhase
public PhaseType<ChargingPlayerPhase> getPhase()
-
-