Class DragonHoldingPatternPhase
java.lang.Object
net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
net.minecraft.world.entity.boss.enderdragon.phases.DragonHoldingPatternPhase
- All Implemented Interfaces:
DragonPhaseInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Pathprivate static final TargetingConditionsprivate Vec3Fields inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
dragon -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidprivate voidgetPhase()private voidvoidonCrystalDestroyed(EndCrystal p_31232_, BlockPos p_31233_, DamageSource p_31234_, Player p_31235_) private voidstrafePlayer(Player p_31237_) Methods inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
doClientTick, end, getFlySpeed, getTurnSpeed, isSitting, onHurt
-
Field Details
-
NEW_TARGET_TARGETING
-
currentPath
-
targetLocation
-
clockwise
private boolean clockwise
-
-
Constructor Details
-
DragonHoldingPatternPhase
-
-
Method Details
-
getPhase
-
doServerTick
public void doServerTick()- Specified by:
doServerTickin interfaceDragonPhaseInstance- Overrides:
doServerTickin classAbstractDragonPhaseInstance
-
begin
public void begin()- Specified by:
beginin interfaceDragonPhaseInstance- Overrides:
beginin classAbstractDragonPhaseInstance
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocationin interfaceDragonPhaseInstance- Overrides:
getFlyTargetLocationin classAbstractDragonPhaseInstance
-
findNewTarget
private void findNewTarget() -
strafePlayer
-
onCrystalDestroyed
public void onCrystalDestroyed(EndCrystal p_31232_, BlockPos p_31233_, DamageSource p_31234_, @Nullable Player p_31235_) - Specified by:
onCrystalDestroyedin interfaceDragonPhaseInstance- Overrides:
onCrystalDestroyedin classAbstractDragonPhaseInstance
-