Modifier and Type | Field and Description |
---|---|
private boolean |
clockwise |
private Path |
currentPath |
private Vec3d |
targetLocation |
Constructor and Description |
---|
PhaseHoldingPattern(EntityDragon dragonIn) |
Modifier and Type | Method and Description |
---|---|
void |
doLocalUpdate() |
private void |
findNewTarget() |
Vec3d |
getTargetLocation() |
PhaseList<PhaseHoldingPattern> |
getType() |
void |
initPhase() |
private void |
navigateToNextPathNode() |
void |
onCrystalDestroyed(EntityEnderCrystal crystal,
BlockPos pos,
DamageSource dmgSrc,
EntityPlayer plyr) |
private void |
strafePlayer(EntityPlayer player) |
doClientRenderEffects, getAdjustedDamage, getIsStationary, getMaxRiseOrFall, getYawFactor, removeAreaEffect
private Path currentPath
private Vec3d targetLocation
private boolean clockwise
public PhaseHoldingPattern(EntityDragon dragonIn)
public PhaseList<PhaseHoldingPattern> getType()
public void doLocalUpdate()
doLocalUpdate
in interface IPhase
doLocalUpdate
in class PhaseBase
public void initPhase()
@Nullable public Vec3d getTargetLocation()
getTargetLocation
in interface IPhase
getTargetLocation
in class PhaseBase
private void findNewTarget()
private void strafePlayer(EntityPlayer player)
private void navigateToNextPathNode()
public void onCrystalDestroyed(EntityEnderCrystal crystal, BlockPos pos, DamageSource dmgSrc, @Nullable EntityPlayer plyr)
onCrystalDestroyed
in interface IPhase
onCrystalDestroyed
in class PhaseBase