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()voidvoiddoServerTick(ServerLevel level) voidend()float@Nullable Vec3EnderDragonPhase<? extends DragonPhaseInstance> getPhase()floatbooleanvoidonCrystalDestroyed(EndCrystal crystal, BlockPos pos, DamageSource source, @Nullable Player player) floatonHurt(DamageSource source, float damage)
-
Method Details
-
isSitting
boolean isSitting() -
doClientTick
void doClientTick() -
doServerTick
-
onCrystalDestroyed
void onCrystalDestroyed(EndCrystal crystal, BlockPos pos, DamageSource source, @Nullable Player player) -
begin
void begin() -
end
void end() -
getFlySpeed
float getFlySpeed() -
getTurnSpeed
float getTurnSpeed() -
getPhase
EnderDragonPhase<? extends DragonPhaseInstance> getPhase() -
getFlyTargetLocation
@Nullable Vec3 getFlyTargetLocation() -
onHurt
-