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 Vector3d
targetLocation
private int
time
-
Constructor Summary
Constructors Constructor Description DyingPhase(EnderDragonEntity p_i46792_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<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:
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
-
getFlyTargetLocation
@Nullable public Vector3d getFlyTargetLocation()
- Specified by:
getFlyTargetLocation
in interfaceIPhase
- Overrides:
getFlyTargetLocation
in classPhase
-
getPhase
public PhaseType<DyingPhase> getPhase()
-
-