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