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 LivingEntity
attackTarget
private Path
currentPath
private int
fireballCharge
private boolean
holdingPatternClockwise
private static org.apache.logging.log4j.Logger
LOGGER
private Vector3d
targetLocation
-
Constructor Summary
Constructors Constructor Description StrafePlayerPhase(EnderDragonEntity p_i46784_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin()
void
doServerTick()
private void
findNewTarget()
Vector3d
getFlyTargetLocation()
PhaseType<StrafePlayerPhase>
getPhase()
private void
navigateToNextPathNode()
void
setTarget(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:
doServerTick
in interfaceIPhase
- Overrides:
doServerTick
in classPhase
-
findNewTarget
private void findNewTarget()
-
navigateToNextPathNode
private void navigateToNextPathNode()
-
setTarget
public void setTarget(LivingEntity p_188686_1_)
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocation
in interfaceIPhase
- Overrides:
getFlyTargetLocation
in classPhase
-
getPhase
public PhaseType<StrafePlayerPhase> getPhase()
-
-