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
Modifier and TypeFieldDescriptionprivate boolean
private Path
private static final EntityPredicate
private Vector3d
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
private void
getPhase()
private void
void
onCrystalDestroyed
(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_) private void
strafePlayer
(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:
doServerTick
in interfaceIPhase
- Overrides:
doServerTick
in classPhase
-
begin
public void begin() -
getFlyTargetLocation
- Specified by:
getFlyTargetLocation
in interfaceIPhase
- Overrides:
getFlyTargetLocation
in 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:
onCrystalDestroyed
in interfaceIPhase
- Overrides:
onCrystalDestroyed
in classPhase
-