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 TypeMethodDescriptionvoid
begin()
void
void
void
end()
float
EnderDragonPhase
<? extends DragonPhaseInstance> getPhase()
float
boolean
void
onCrystalDestroyed
(EndCrystal pCrystal, BlockPos pPos, DamageSource pDamageSource, Player pPlayer) float
onHurt
(DamageSource pDamageSource, float pAmount)
-
Method Details
-
isSitting
boolean isSitting() -
doClientTick
void doClientTick() -
doServerTick
void doServerTick() -
onCrystalDestroyed
void onCrystalDestroyed(EndCrystal pCrystal, BlockPos pPos, DamageSource pDamageSource, @Nullable Player pPlayer) -
begin
void begin() -
end
void end() -
getFlySpeed
float getFlySpeed() -
getTurnSpeed
float getTurnSpeed() -
getPhase
EnderDragonPhase<? extends DragonPhaseInstance> getPhase() -
getFlyTargetLocation
-
onHurt
-