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