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()voiddoServerTick(ServerLevel pLevel) private voidfindNewTarget(ServerLevel pLevel) getPhase()private voidvoidonCrystalDestroyed(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, Player pPlyr) private voidstrafePlayer(Player pPlayer) 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
- 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
-
strafePlayer
-
onCrystalDestroyed
public void onCrystalDestroyed(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, @Nullable Player pPlyr) - Specified by:
onCrystalDestroyedin interfaceDragonPhaseInstance- Overrides:
onCrystalDestroyedin classAbstractDragonPhaseInstance
-