Class DragonStrafePlayerPhase
java.lang.Object
net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
net.minecraft.world.entity.boss.enderdragon.phases.DragonStrafePlayerPhase
- All Implemented Interfaces:
DragonPhaseInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LivingEntityprivate Pathprivate static final intprivate intprivate booleanprivate static final org.slf4j.Loggerprivate Vec3Fields inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
dragon -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidprivate voidgetPhase()private voidvoidsetTarget(LivingEntity p_31359_) Methods inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
doClientTick, end, getFlySpeed, getTurnSpeed, isSitting, onCrystalDestroyed, onHurt
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
FIREBALL_CHARGE_AMOUNT
private static final int FIREBALL_CHARGE_AMOUNT- See Also:
-
fireballCharge
private int fireballCharge -
currentPath
-
targetLocation
-
attackTarget
-
holdingPatternClockwise
private boolean holdingPatternClockwise
-
-
Constructor Details
-
DragonStrafePlayerPhase
-
-
Method Details
-
doServerTick
public void doServerTick()- Specified by:
doServerTickin interfaceDragonPhaseInstance- Overrides:
doServerTickin classAbstractDragonPhaseInstance
-
findNewTarget
private void findNewTarget() -
begin
public void begin()- Specified by:
beginin interfaceDragonPhaseInstance- Overrides:
beginin classAbstractDragonPhaseInstance
-
setTarget
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocationin interfaceDragonPhaseInstance- Overrides:
getFlyTargetLocationin classAbstractDragonPhaseInstance
-
getPhase
-