Class DragonSittingScanningPhase
java.lang.Object
net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonSittingPhase
net.minecraft.world.entity.boss.enderdragon.phases.DragonSittingScanningPhase
- All Implemented Interfaces:
DragonPhaseInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final TargetingConditions
private int
private final TargetingConditions
private static final int
private static final int
private static final int
private static final int
Fields inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
dragon
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonSittingPhase
isSitting, onHurt
Methods inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
doClientTick, end, getFlySpeed, getFlyTargetLocation, getTurnSpeed, onCrystalDestroyed
-
Field Details
-
SITTING_SCANNING_IDLE_TICKS
private static final int SITTING_SCANNING_IDLE_TICKS- See Also:
-
SITTING_ATTACK_Y_VIEW_RANGE
private static final int SITTING_ATTACK_Y_VIEW_RANGE- See Also:
-
SITTING_ATTACK_VIEW_RANGE
private static final int SITTING_ATTACK_VIEW_RANGE- See Also:
-
SITTING_CHARGE_VIEW_RANGE
private static final int SITTING_CHARGE_VIEW_RANGE- See Also:
-
CHARGE_TARGETING
-
scanTargeting
-
scanningTime
private int scanningTime
-
-
Constructor Details
-
DragonSittingScanningPhase
-
-
Method Details
-
doServerTick
public void doServerTick()- Specified by:
doServerTick
in interfaceDragonPhaseInstance
- Overrides:
doServerTick
in classAbstractDragonPhaseInstance
-
begin
public void begin()- Specified by:
begin
in interfaceDragonPhaseInstance
- Overrides:
begin
in classAbstractDragonPhaseInstance
-
getPhase
-