Class DyingPhase
- java.lang.Object
-
- net.minecraft.entity.boss.dragon.phase.Phase
-
- net.minecraft.entity.boss.dragon.phase.DyingPhase
-
-
Field Summary
Fields Modifier and Type Field Description private Vector3dtargetLocationprivate inttime
-
Constructor Summary
Constructors Constructor Description DyingPhase(EnderDragonEntity p_i46792_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbegin()voiddoClientTick()voiddoServerTick()floatgetFlySpeed()Vector3dgetFlyTargetLocation()PhaseType<DyingPhase>getPhase()-
Methods inherited from class net.minecraft.entity.boss.dragon.phase.Phase
end, getTurnSpeed, isSitting, onCrystalDestroyed, onHurt
-
-
-
-
Field Detail
-
targetLocation
private Vector3d targetLocation
-
time
private int time
-
-
Constructor Detail
-
DyingPhase
public DyingPhase(EnderDragonEntity p_i46792_1_)
-
-
Method Detail
-
doClientTick
public void doClientTick()
- Specified by:
doClientTickin interfaceIPhase- Overrides:
doClientTickin classPhase
-
doServerTick
public void doServerTick()
- Specified by:
doServerTickin interfaceIPhase- Overrides:
doServerTickin classPhase
-
getFlySpeed
public float getFlySpeed()
- Specified by:
getFlySpeedin interfaceIPhase- Overrides:
getFlySpeedin classPhase
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocationin interfaceIPhase- Overrides:
getFlyTargetLocationin classPhase
-
getPhase
public PhaseType<DyingPhase> getPhase()
-
-