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
Modifier and TypeFieldDescriptionprivate boolean
private Path
private static TargetingConditions
private Vec3
Fields inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
dragon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
private void
getPhase()
private void
void
onCrystalDestroyed(EndCrystal p_31232_, BlockPos p_31233_, DamageSource p_31234_, Player p_31235_)
private void
strafePlayer(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:
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 p_31232_, BlockPos p_31233_, DamageSource p_31234_, @Nullable Player p_31235_)- Specified by:
onCrystalDestroyed
in interfaceDragonPhaseInstance
- Overrides:
onCrystalDestroyed
in classAbstractDragonPhaseInstance
-