Modifier and Type | Field and Description |
---|---|
private boolean |
clockwise |
private Path |
currentPath |
private static EntityPredicate |
field_221117_b |
private Vec3d |
targetLocation |
Constructor and Description |
---|
HoldingPatternPhase(EnderDragonEntity dragonIn) |
Modifier and Type | Method and Description |
---|---|
private void |
findNewTarget() |
Vec3d |
getTargetLocation() |
PhaseType<HoldingPatternPhase> |
getType() |
void |
initPhase() |
private void |
navigateToNextPathNode() |
void |
onCrystalDestroyed(EnderCrystalEntity crystal,
BlockPos pos,
DamageSource dmgSrc,
PlayerEntity plyr) |
void |
serverTick() |
private void |
strafePlayer(PlayerEntity player) |
clientTick, func_221113_a, getIsStationary, getMaxRiseOrFall, getYawFactor, removeAreaEffect
private static final EntityPredicate field_221117_b
private Path currentPath
private Vec3d targetLocation
private boolean clockwise
public HoldingPatternPhase(EnderDragonEntity dragonIn)
public PhaseType<HoldingPatternPhase> getType()
public void serverTick()
serverTick
in interface IPhase
serverTick
in class Phase
public void initPhase()
@Nullable public Vec3d getTargetLocation()
getTargetLocation
in interface IPhase
getTargetLocation
in class Phase
private void findNewTarget()
private void strafePlayer(PlayerEntity player)
private void navigateToNextPathNode()
public void onCrystalDestroyed(EnderCrystalEntity crystal, BlockPos pos, DamageSource dmgSrc, @Nullable PlayerEntity plyr)
onCrystalDestroyed
in interface IPhase
onCrystalDestroyed
in class Phase