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 Path
currentPath
private boolean
firstTick
private Vector3d
targetLocation
-
Constructor Summary
Constructors Constructor Description TakeoffPhase(EnderDragonEntity p_i46783_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin()
void
doServerTick()
private void
findNewTarget()
Vector3d
getFlyTargetLocation()
PhaseType<TakeoffPhase>
getPhase()
private void
navigateToNextPathNode()
-
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:
doServerTick
in interfaceIPhase
- Overrides:
doServerTick
in classPhase
-
findNewTarget
private void findNewTarget()
-
navigateToNextPathNode
private void navigateToNextPathNode()
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocation
in interfaceIPhase
- Overrides:
getFlyTargetLocation
in classPhase
-
getPhase
public PhaseType<TakeoffPhase> getPhase()
-
-