Class TakeoffPhase
- java.lang.Object
-
- net.minecraft.entity.boss.dragon.phase.Phase
-
- net.minecraft.entity.boss.dragon.phase.TakeoffPhase
-
-
Field Summary
Fields Modifier and Type Field Description private PathcurrentPathprivate booleanfirstTickprivate Vector3dtargetLocation
-
Constructor Summary
Constructors Constructor Description TakeoffPhase(EnderDragonEntity p_i46783_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()voiddoServerTick()private voidfindNewTarget()Vector3dgetFlyTargetLocation()PhaseType<TakeoffPhase>getPhase()private voidnavigateToNextPathNode()-
Methods inherited from class net.minecraft.entity.boss.dragon.phase.Phase
doClientTick, end, getFlySpeed, getTurnSpeed, isSitting, onCrystalDestroyed, onHurt
-
-
-
-
Constructor Detail
-
TakeoffPhase
public TakeoffPhase(EnderDragonEntity p_i46783_1_)
-
-
Method Detail
-
doServerTick
public void doServerTick()
- Specified by:
doServerTickin interfaceIPhase- Overrides:
doServerTickin classPhase
-
findNewTarget
private void findNewTarget()
-
navigateToNextPathNode
private void navigateToNextPathNode()
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocationin interfaceIPhase- Overrides:
getFlyTargetLocationin classPhase
-
getPhase
public PhaseType<TakeoffPhase> getPhase()
-
-