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, modifyDamageTakenprivate 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 PhaseserverTick in class AbstractPhasepublic void beginPhase()
beginPhase in interface PhasebeginPhase in class AbstractPhase@Nullable public Vec3d getTarget()
getTarget in interface PhasegetTarget in class AbstractPhaseprivate 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 PhasecrystalDestroyed in class AbstractPhase