Class StrafePlayerPhase
java.lang.Object
net.minecraft.entity.boss.dragon.phase.Phase
net.minecraft.entity.boss.dragon.phase.StrafePlayerPhase
- All Implemented Interfaces:
IPhase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate LivingEntityprivate Pathprivate intprivate booleanprivate static final org.apache.logging.log4j.Loggerprivate Vector3d -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidprivate voidgetPhase()private voidvoidsetTarget(LivingEntity p_188686_1_) Methods inherited from class net.minecraft.entity.boss.dragon.phase.Phase
doClientTick, end, getFlySpeed, getTurnSpeed, isSitting, onCrystalDestroyed, onHurt
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
fireballCharge
private int fireballCharge -
currentPath
-
targetLocation
-
attackTarget
-
holdingPatternClockwise
private boolean holdingPatternClockwise
-
-
Constructor Details
-
StrafePlayerPhase
-
-
Method Details
-
doServerTick
public void doServerTick()- Specified by:
doServerTickin interfaceIPhase- Overrides:
doServerTickin classPhase
-
findNewTarget
private void findNewTarget() -
begin
public void begin() -
setTarget
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocationin interfaceIPhase- Overrides:
getFlyTargetLocationin classPhase
-
getPhase
-