Class HoldingPatternPhase
java.lang.Object
net.minecraft.entity.boss.dragon.phase.Phase
net.minecraft.entity.boss.dragon.phase.HoldingPatternPhase
- All Implemented Interfaces:
IPhase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Pathprivate static final EntityPredicateprivate Vector3d -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidprivate voidgetPhase()private voidvoidonCrystalDestroyed(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_) private voidstrafePlayer(PlayerEntity p_188674_1_) Methods inherited from class net.minecraft.entity.boss.dragon.phase.Phase
doClientTick, end, getFlySpeed, getTurnSpeed, isSitting, onHurt
-
Field Details
-
NEW_TARGET_TARGETING
-
currentPath
-
targetLocation
-
clockwise
private boolean clockwise
-
-
Constructor Details
-
HoldingPatternPhase
-
-
Method Details
-
getPhase
-
doServerTick
public void doServerTick()- Specified by:
doServerTickin interfaceIPhase- Overrides:
doServerTickin classPhase
-
begin
public void begin() -
getFlyTargetLocation
- Specified by:
getFlyTargetLocationin interfaceIPhase- Overrides:
getFlyTargetLocationin classPhase
-
findNewTarget
private void findNewTarget() -
strafePlayer
-
onCrystalDestroyed
public void onCrystalDestroyed(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, @Nullable PlayerEntity p_188655_4_) - Specified by:
onCrystalDestroyedin interfaceIPhase- Overrides:
onCrystalDestroyedin classPhase
-