Modifier and Type | Field and Description |
---|---|
private LivingEntity |
attackTarget |
private Path |
currentPath |
private int |
fireballCharge |
private boolean |
holdingPatternClockwise |
private static org.apache.logging.log4j.Logger |
LOGGER |
private Vec3d |
targetLocation |
Constructor and Description |
---|
StrafePlayerPhase(EnderDragonEntity dragonIn) |
Modifier and Type | Method and Description |
---|---|
private void |
findNewTarget() |
Vec3d |
getTargetLocation() |
PhaseType<StrafePlayerPhase> |
getType() |
void |
initPhase() |
private void |
navigateToNextPathNode() |
void |
serverTick() |
void |
setTarget(LivingEntity p_188686_1_) |
clientTick, func_221113_a, getIsStationary, getMaxRiseOrFall, getYawFactor, onCrystalDestroyed, removeAreaEffect
private static final org.apache.logging.log4j.Logger LOGGER
private int fireballCharge
private Path currentPath
private Vec3d targetLocation
private LivingEntity attackTarget
private boolean holdingPatternClockwise
public StrafePlayerPhase(EnderDragonEntity dragonIn)
public void serverTick()
serverTick
in interface IPhase
serverTick
in class Phase
private void findNewTarget()
private void navigateToNextPathNode()
public void initPhase()
public void setTarget(LivingEntity p_188686_1_)
@Nullable public Vec3d getTargetLocation()
getTargetLocation
in interface IPhase
getTargetLocation
in class Phase
public PhaseType<StrafePlayerPhase> getType()