Class HoverPhase
- java.lang.Object
-
- net.minecraft.entity.boss.dragon.phase.Phase
-
- net.minecraft.entity.boss.dragon.phase.HoverPhase
-
-
Field Summary
Fields Modifier and Type Field Description private Vector3d
targetLocation
-
Constructor Summary
Constructors Constructor Description HoverPhase(EnderDragonEntity p_i46790_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin()
void
doServerTick()
float
getFlySpeed()
Vector3d
getFlyTargetLocation()
PhaseType<HoverPhase>
getPhase()
boolean
isSitting()
-
Methods inherited from class net.minecraft.entity.boss.dragon.phase.Phase
doClientTick, end, getTurnSpeed, onCrystalDestroyed, onHurt
-
-
-
-
Field Detail
-
targetLocation
private Vector3d targetLocation
-
-
Constructor Detail
-
HoverPhase
public HoverPhase(EnderDragonEntity p_i46790_1_)
-
-
Method Detail
-
doServerTick
public void doServerTick()
- Specified by:
doServerTick
in interfaceIPhase
- Overrides:
doServerTick
in classPhase
-
isSitting
public boolean isSitting()
-
getFlySpeed
public float getFlySpeed()
- Specified by:
getFlySpeed
in interfaceIPhase
- Overrides:
getFlySpeed
in classPhase
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocation
in interfaceIPhase
- Overrides:
getFlyTargetLocation
in classPhase
-
getPhase
public PhaseType<HoverPhase> getPhase()
-
-