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
Modifier and TypeFieldDescriptionprivate LivingEntity
private Path
private static int
private int
private boolean
private static org.apache.logging.log4j.Logger
private Vec3
Fields inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
dragon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
private void
getPhase()
private void
void
setTarget(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.apache.logging.log4j.Logger LOGGER -
FIREBALL_CHARGE_AMOUNT
private static final int FIREBALL_CHARGE_AMOUNT- See Also:
- Constant Field Values
-
fireballCharge
private int fireballCharge -
currentPath
-
targetLocation
-
attackTarget
-
holdingPatternClockwise
private boolean holdingPatternClockwise
-
-
Constructor Details
-
DragonStrafePlayerPhase
-
-
Method Details
-
doServerTick
public void doServerTick()- Specified by:
doServerTick
in interfaceDragonPhaseInstance
- Overrides:
doServerTick
in classAbstractDragonPhaseInstance
-
findNewTarget
private void findNewTarget() -
begin
public void begin()- Specified by:
begin
in interfaceDragonPhaseInstance
- Overrides:
begin
in classAbstractDragonPhaseInstance
-
setTarget
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocation
in interfaceDragonPhaseInstance
- Overrides:
getFlyTargetLocation
in classAbstractDragonPhaseInstance
-
getPhase
-