Class Phase
- java.lang.Object
-
- net.minecraft.entity.boss.dragon.phase.Phase
-
- All Implemented Interfaces:
IPhase
- Direct Known Subclasses:
ChargingPlayerPhase,DyingPhase,HoldingPatternPhase,HoverPhase,LandingApproachPhase,LandingPhase,SittingPhase,StrafePlayerPhase,TakeoffPhase
public abstract class Phase extends java.lang.Object implements IPhase
-
-
Field Summary
Fields Modifier and Type Field Description protected EnderDragonEntitydragon
-
Constructor Summary
Constructors Constructor Description Phase(EnderDragonEntity p_i46795_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()voiddoClientTick()voiddoServerTick()voidend()floatgetFlySpeed()Vector3dgetFlyTargetLocation()floatgetTurnSpeed()booleanisSitting()voidonCrystalDestroyed(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_)floatonHurt(DamageSource p_221113_1_, float p_221113_2_)
-
-
-
Field Detail
-
dragon
protected final EnderDragonEntity dragon
-
-
Constructor Detail
-
Phase
public Phase(EnderDragonEntity p_i46795_1_)
-
-
Method Detail
-
doClientTick
public void doClientTick()
- Specified by:
doClientTickin interfaceIPhase
-
doServerTick
public void doServerTick()
- Specified by:
doServerTickin interfaceIPhase
-
onCrystalDestroyed
public void onCrystalDestroyed(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, @Nullable PlayerEntity p_188655_4_)
- Specified by:
onCrystalDestroyedin interfaceIPhase
-
getFlySpeed
public float getFlySpeed()
- Specified by:
getFlySpeedin interfaceIPhase
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocationin interfaceIPhase
-
onHurt
public float onHurt(DamageSource p_221113_1_, float p_221113_2_)
-
getTurnSpeed
public float getTurnSpeed()
- Specified by:
getTurnSpeedin interfaceIPhase
-
-