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