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 boolean
private Path
private static final TargetingConditions
private Vec3
Fields inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
dragon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
private void
getPhase()
private void
void
onCrystalDestroyed
(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, Player pPlyr) private void
strafePlayer
(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
public void doServerTick()- Specified by:
doServerTick
in interfaceDragonPhaseInstance
- Overrides:
doServerTick
in classAbstractDragonPhaseInstance
-
begin
public void begin()- Specified by:
begin
in interfaceDragonPhaseInstance
- Overrides:
begin
in classAbstractDragonPhaseInstance
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocation
in interfaceDragonPhaseInstance
- Overrides:
getFlyTargetLocation
in classAbstractDragonPhaseInstance
-
findNewTarget
private void findNewTarget() -
strafePlayer
-
onCrystalDestroyed
public void onCrystalDestroyed(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, @Nullable Player pPlyr) - Specified by:
onCrystalDestroyed
in interfaceDragonPhaseInstance
- Overrides:
onCrystalDestroyed
in classAbstractDragonPhaseInstance
-