Class DyingPhase
java.lang.Object
net.minecraft.entity.boss.dragon.phase.AbstractPhase
net.minecraft.entity.boss.dragon.phase.DyingPhase
- All Implemented Interfaces:
Phase
public class DyingPhase extends AbstractPhase
-
Field Summary
Fields inherited from class net.minecraft.entity.boss.dragon.phase.AbstractPhase
dragon
-
Constructor Summary
Constructors Constructor Description DyingPhase(EnderDragonEntity dragon)
-
Method Summary
Modifier and Type Method Description void
beginPhase()
void
clientTick()
float
getMaxYAcceleration()
Vec3d
getTarget()
PhaseType<DyingPhase>
getType()
void
serverTick()
Methods inherited from class net.minecraft.entity.boss.dragon.phase.AbstractPhase
crystalDestroyed, endPhase, isSittingOrHovering, method_6847, modifyDamageTaken
-
Field Details
-
target
-
ticks
private int ticks
-
-
Constructor Details
-
DyingPhase
-
-
Method Details
-
clientTick
public void clientTick()- Specified by:
clientTick
in interfacePhase
- Overrides:
clientTick
in classAbstractPhase
-
serverTick
public void serverTick()- Specified by:
serverTick
in interfacePhase
- Overrides:
serverTick
in classAbstractPhase
-
beginPhase
public void beginPhase()- Specified by:
beginPhase
in interfacePhase
- Overrides:
beginPhase
in classAbstractPhase
-
getMaxYAcceleration
public float getMaxYAcceleration()- Specified by:
getMaxYAcceleration
in interfacePhase
- Overrides:
getMaxYAcceleration
in classAbstractPhase
-
getTarget
- Specified by:
getTarget
in interfacePhase
- Overrides:
getTarget
in classAbstractPhase
-
getType
-