Class AbstractPhase
java.lang.Object
net.minecraft.entity.boss.dragon.phase.AbstractPhase
- All Implemented Interfaces:
Phase
- Direct Known Subclasses:
AbstractSittingPhase
,ChargingPlayerPhase
,DyingPhase
,HoldingPatternPhase
,HoverPhase
,LandingApproachPhase
,LandingPhase
,StrafePlayerPhase
,TakeoffPhase
public abstract class AbstractPhase extends Object implements Phase
-
Field Summary
Fields Modifier and Type Field Description protected EnderDragonEntity
dragon
-
Constructor Summary
Constructors Constructor Description AbstractPhase(EnderDragonEntity dragon)
-
Method Summary
Modifier and Type Method Description void
beginPhase()
void
clientTick()
void
crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, PlayerEntity player)
void
endPhase()
float
getMaxYAcceleration()
Vec3d
getTarget()
boolean
isSittingOrHovering()
float
method_6847()
float
modifyDamageTaken(DamageSource damageSource, float float2)
void
serverTick()
-
Field Details
-
dragon
-
-
Constructor Details
-
AbstractPhase
-
-
Method Details
-
isSittingOrHovering
public boolean isSittingOrHovering()- Specified by:
isSittingOrHovering
in interfacePhase
-
clientTick
public void clientTick()- Specified by:
clientTick
in interfacePhase
-
serverTick
public void serverTick()- Specified by:
serverTick
in interfacePhase
-
crystalDestroyed
public void crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player)- Specified by:
crystalDestroyed
in interfacePhase
-
beginPhase
public void beginPhase()- Specified by:
beginPhase
in interfacePhase
-
endPhase
public void endPhase() -
getMaxYAcceleration
public float getMaxYAcceleration()- Specified by:
getMaxYAcceleration
in interfacePhase
-
getTarget
-
modifyDamageTaken
- Specified by:
modifyDamageTaken
in interfacePhase
-
method_6847
public float method_6847()- Specified by:
method_6847
in interfacePhase
-