Class AbstractDragonPhaseInstance
java.lang.Object
net.minecraft.world.entity.boss.enderdragon.phases.AbstractDragonPhaseInstance
- All Implemented Interfaces:
DragonPhaseInstance
- Direct Known Subclasses:
AbstractDragonSittingPhase
,DragonChargePlayerPhase
,DragonDeathPhase
,DragonHoldingPatternPhase
,DragonHoverPhase
,DragonLandingApproachPhase
,DragonLandingPhase
,DragonStrafePlayerPhase
,DragonTakeoffPhase
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
void
void
end()
float
float
boolean
void
onCrystalDestroyed(EndCrystal p_31184_, BlockPos p_31185_, DamageSource p_31186_, Player p_31187_)
float
onHurt(DamageSource p_31181_, float p_31182_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.entity.boss.enderdragon.phases.DragonPhaseInstance
getPhase
-
Field Details
-
dragon
-
-
Constructor Details
-
AbstractDragonPhaseInstance
-
-
Method Details
-
isSitting
public boolean isSitting()- Specified by:
isSitting
in interfaceDragonPhaseInstance
-
doClientTick
public void doClientTick()- Specified by:
doClientTick
in interfaceDragonPhaseInstance
-
doServerTick
public void doServerTick()- Specified by:
doServerTick
in interfaceDragonPhaseInstance
-
onCrystalDestroyed
public void onCrystalDestroyed(EndCrystal p_31184_, BlockPos p_31185_, DamageSource p_31186_, @Nullable Player p_31187_)- Specified by:
onCrystalDestroyed
in interfaceDragonPhaseInstance
-
begin
public void begin()- Specified by:
begin
in interfaceDragonPhaseInstance
-
end
public void end()- Specified by:
end
in interfaceDragonPhaseInstance
-
getFlySpeed
public float getFlySpeed()- Specified by:
getFlySpeed
in interfaceDragonPhaseInstance
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocation
in interfaceDragonPhaseInstance
-
onHurt
- Specified by:
onHurt
in interfaceDragonPhaseInstance
-
getTurnSpeed
public float getTurnSpeed()- Specified by:
getTurnSpeed
in interfaceDragonPhaseInstance
-