Interface DragonPhaseInstance
- All Known Implementing Classes:
AbstractDragonPhaseInstance,AbstractDragonSittingPhase,DragonChargePlayerPhase,DragonDeathPhase,DragonHoldingPatternPhase,DragonHoverPhase,DragonLandingApproachPhase,DragonLandingPhase,DragonSittingAttackingPhase,DragonSittingFlamingPhase,DragonSittingScanningPhase,DragonStrafePlayerPhase,DragonTakeoffPhase
public interface DragonPhaseInstance
-
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidvoidvoidend()floatEnderDragonPhase<? extends DragonPhaseInstance> getPhase()floatbooleanvoidonCrystalDestroyed(EndCrystal crystal, BlockPos pos, DamageSource damageSource, Player player) floatonHurt(DamageSource damageSource, float amount)
-
Method Details
-
isSitting
boolean isSitting() -
doClientTick
void doClientTick() -
doServerTick
void doServerTick() -
onCrystalDestroyed
void onCrystalDestroyed(EndCrystal crystal, BlockPos pos, DamageSource damageSource, @Nullable Player player) -
begin
void begin() -
end
void end() -
getFlySpeed
float getFlySpeed() -
getTurnSpeed
float getTurnSpeed() -
getPhase
EnderDragonPhase<? extends DragonPhaseInstance> getPhase() -
getFlyTargetLocation
-
onHurt
-