Class ChargingPlayerPhase
java.lang.Object
net.minecraft.entity.boss.dragon.phase.AbstractPhase
net.minecraft.entity.boss.dragon.phase.ChargingPlayerPhase
- All Implemented Interfaces:
Phase
public class ChargingPlayerPhase extends AbstractPhase
-
Field Summary
Fields Modifier and Type Field Description private int
field_7037
private static Logger
LOGGER
private Vec3d
target
Fields inherited from class net.minecraft.entity.boss.dragon.phase.AbstractPhase
dragon
-
Constructor Summary
Constructors Constructor Description ChargingPlayerPhase(EnderDragonEntity dragon)
-
Method Summary
Modifier and Type Method Description void
beginPhase()
float
getMaxYAcceleration()
Vec3d
getTarget()
PhaseType<ChargingPlayerPhase>
getType()
void
serverTick()
void
setTarget(Vec3d target)
Methods inherited from class net.minecraft.entity.boss.dragon.phase.AbstractPhase
clientTick, crystalDestroyed, endPhase, isSittingOrHovering, method_6847, modifyDamageTaken
-
Field Details
-
LOGGER
-
target
-
field_7037
private int field_7037
-
-
Constructor Details
-
ChargingPlayerPhase
-
-
Method Details
-
serverTick
public void serverTick()- Specified by:
serverTick
in interfacePhase
- Overrides:
serverTick
in classAbstractPhase
-
beginPhase
public void beginPhase()- Specified by:
beginPhase
in interfacePhase
- Overrides:
beginPhase
in classAbstractPhase
-
setTarget
-
getMaxYAcceleration
public float getMaxYAcceleration()- Specified by:
getMaxYAcceleration
in interfacePhase
- Overrides:
getMaxYAcceleration
in classAbstractPhase
-
getTarget
- Specified by:
getTarget
in interfacePhase
- Overrides:
getTarget
in classAbstractPhase
-
getType
-