Class StrafePlayerPhase
- java.lang.Object
-
- net.minecraft.entity.boss.dragon.phase.Phase
-
- net.minecraft.entity.boss.dragon.phase.StrafePlayerPhase
-
-
Field Summary
Fields Modifier and Type Field Description private LivingEntityattackTargetprivate PathcurrentPathprivate intfireballChargeprivate booleanholdingPatternClockwiseprivate static org.apache.logging.log4j.LoggerLOGGERprivate Vector3dtargetLocation
-
Constructor Summary
Constructors Constructor Description StrafePlayerPhase(EnderDragonEntity p_i46784_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()voiddoServerTick()private voidfindNewTarget()Vector3dgetFlyTargetLocation()PhaseType<StrafePlayerPhase>getPhase()private voidnavigateToNextPathNode()voidsetTarget(LivingEntity p_188686_1_)-
Methods inherited from class net.minecraft.entity.boss.dragon.phase.Phase
doClientTick, end, getFlySpeed, getTurnSpeed, isSitting, onCrystalDestroyed, onHurt
-
-
-
-
Field Detail
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER
-
fireballCharge
private int fireballCharge
-
currentPath
private Path currentPath
-
targetLocation
private Vector3d targetLocation
-
attackTarget
private LivingEntity attackTarget
-
holdingPatternClockwise
private boolean holdingPatternClockwise
-
-
Constructor Detail
-
StrafePlayerPhase
public StrafePlayerPhase(EnderDragonEntity p_i46784_1_)
-
-
Method Detail
-
doServerTick
public void doServerTick()
- Specified by:
doServerTickin interfaceIPhase- Overrides:
doServerTickin classPhase
-
findNewTarget
private void findNewTarget()
-
navigateToNextPathNode
private void navigateToNextPathNode()
-
setTarget
public void setTarget(LivingEntity p_188686_1_)
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocationin interfaceIPhase- Overrides:
getFlyTargetLocationin classPhase
-
getPhase
public PhaseType<StrafePlayerPhase> getPhase()
-
-