public class HoldingPatternPhase extends AbstractPhase
Modifier and Type | Field and Description |
---|---|
private Path |
field_7043 |
private boolean |
field_7044 |
private static TargetPredicate |
PLAYERS_IN_RANGE_PREDICATE |
private Vec3d |
target |
dragon
Constructor and Description |
---|
HoldingPatternPhase(EnderDragonEntity dragon) |
Modifier and Type | Method and Description |
---|---|
void |
beginPhase() |
void |
crystalDestroyed(EndCrystalEntity crystal,
BlockPos pos,
DamageSource source,
PlayerEntity player) |
Vec3d |
getTarget() |
PhaseType<HoldingPatternPhase> |
getType() |
private void |
method_6841() |
private void |
method_6842() |
private void |
method_6843(PlayerEntity playerEntity) |
void |
serverTick() |
clientTick, endPhase, getMaxYAcceleration, isSittingOrHovering, method_6847, modifyDamageTaken
private static final TargetPredicate PLAYERS_IN_RANGE_PREDICATE
private Path field_7043
private Vec3d target
private boolean field_7044
public HoldingPatternPhase(EnderDragonEntity dragon)
public PhaseType<HoldingPatternPhase> getType()
public void serverTick()
serverTick
in interface Phase
serverTick
in class AbstractPhase
public void beginPhase()
beginPhase
in interface Phase
beginPhase
in class AbstractPhase
@Nullable public Vec3d getTarget()
getTarget
in interface Phase
getTarget
in class AbstractPhase
private void method_6841()
private void method_6843(PlayerEntity playerEntity)
private void method_6842()
public void crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player)
crystalDestroyed
in interface Phase
crystalDestroyed
in class AbstractPhase