public class SittingScanningPhase extends AbstractSittingPhase
Modifier and Type | Field and Description |
---|---|
private TargetPredicate |
CLOSE_PLAYER_PREDICATE |
private static TargetPredicate |
PLAYER_WITHIN_RANGE_PREDICATE |
private int |
ticks |
dragon
Constructor and Description |
---|
SittingScanningPhase(EnderDragonEntity dragon) |
Modifier and Type | Method and Description |
---|---|
void |
beginPhase() |
PhaseType<SittingScanningPhase> |
getType() |
void |
serverTick() |
isSittingOrHovering, modifyDamageTaken
clientTick, crystalDestroyed, endPhase, getMaxYAcceleration, getTarget, method_6847
private static final TargetPredicate PLAYER_WITHIN_RANGE_PREDICATE
private final TargetPredicate CLOSE_PLAYER_PREDICATE
private int ticks
public SittingScanningPhase(EnderDragonEntity dragon)
public void serverTick()
serverTick
in interface Phase
serverTick
in class AbstractPhase
public void beginPhase()
beginPhase
in interface Phase
beginPhase
in class AbstractPhase
public PhaseType<SittingScanningPhase> getType()