Class DragonChargePlayerPhase
java.lang.Object
net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
net.minecraft.world.entity.boss.enderdragon.phases.DragonChargePlayerPhase
- All Implemented Interfaces:
DragonPhaseInstance
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private static final org.slf4j.Logger
private Vec3
private int
Fields inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
dragon
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
doClientTick, end, getTurnSpeed, isSitting, onCrystalDestroyed, onHurt
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
CHARGE_RECOVERY_TIME
private static final int CHARGE_RECOVERY_TIME- See Also:
-
targetLocation
-
timeSinceCharge
private int timeSinceCharge
-
-
Constructor Details
-
DragonChargePlayerPhase
-
-
Method Details
-
doServerTick
public void doServerTick()- Specified by:
doServerTick
in interfaceDragonPhaseInstance
- Overrides:
doServerTick
in classAbstractDragonPhaseInstance
-
begin
public void begin()- Specified by:
begin
in interfaceDragonPhaseInstance
- Overrides:
begin
in classAbstractDragonPhaseInstance
-
setTarget
-
getFlySpeed
public float getFlySpeed()- Specified by:
getFlySpeed
in interfaceDragonPhaseInstance
- Overrides:
getFlySpeed
in classAbstractDragonPhaseInstance
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocation
in interfaceDragonPhaseInstance
- Overrides:
getFlyTargetLocation
in classAbstractDragonPhaseInstance
-
getPhase
-