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
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidvoidvoidend()floatfloatbooleanvoidonCrystalDestroyed(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 Details
-
dragon
-
-
Constructor Details
-
Phase
-
-
Method Details
-
isSitting
public boolean isSitting() -
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
-
begin
public void begin() -
end
public void end() -
getFlySpeed
public float getFlySpeed()- Specified by:
getFlySpeedin interfaceIPhase
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocationin interfaceIPhase
-
onHurt
-
getTurnSpeed
public float getTurnSpeed()- Specified by:
getTurnSpeedin interfaceIPhase
-