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