Class AbstractDragonPhaseInstance
java.lang.Object
net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
- All Implemented Interfaces:
DragonPhaseInstance
- Direct Known Subclasses:
AbstractDragonSittingPhase,DragonChargePlayerPhase,DragonDeathPhase,DragonHoldingPatternPhase,DragonHoverPhase,DragonLandingApproachPhase,DragonLandingPhase,DragonStrafePlayerPhase,DragonTakeoffPhase
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbegin()voidvoidvoidend()floatfloatbooleanvoidonCrystalDestroyed(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, Player pPlyr) floatonHurt(DamageSource pDamageSource, float pAmount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.entity.boss.enderdragon.phases.DragonPhaseInstance
getPhase
-
Field Details
-
dragon
-
-
Constructor Details
-
AbstractDragonPhaseInstance
-
-
Method Details
-
isSitting
public boolean isSitting()- Specified by:
isSittingin interfaceDragonPhaseInstance
-
doClientTick
public void doClientTick()- Specified by:
doClientTickin interfaceDragonPhaseInstance
-
doServerTick
public void doServerTick()- Specified by:
doServerTickin interfaceDragonPhaseInstance
-
onCrystalDestroyed
public void onCrystalDestroyed(EndCrystal pCrystal, BlockPos pPos, DamageSource pDmgSrc, @Nullable Player pPlyr) - Specified by:
onCrystalDestroyedin interfaceDragonPhaseInstance
-
begin
public void begin()- Specified by:
beginin interfaceDragonPhaseInstance
-
end
public void end()- Specified by:
endin interfaceDragonPhaseInstance
-
getFlySpeed
public float getFlySpeed()- Specified by:
getFlySpeedin interfaceDragonPhaseInstance
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocationin interfaceDragonPhaseInstance
-
onHurt
- Specified by:
onHurtin interfaceDragonPhaseInstance
-
getTurnSpeed
public float getTurnSpeed()- Specified by:
getTurnSpeedin interfaceDragonPhaseInstance
-