Class Phase
java.lang.Object
net.minecraft.entity.boss.dragon.phase.Phase
- All Implemented Interfaces:
IPhase
- Direct Known Subclasses:
ChargingPlayerPhase
,DyingPhase
,HoldingPatternPhase
,HoverPhase
,LandingApproachPhase
,LandingPhase
,SittingPhase
,StrafePlayerPhase
,TakeoffPhase
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
begin()
void
void
void
end()
float
float
boolean
void
onCrystalDestroyed
(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, PlayerEntity p_188655_4_) float
onHurt
(DamageSource p_221113_1_, float p_221113_2_)
-
Field Details
-
dragon
-
-
Constructor Details
-
Phase
-
-
Method Details
-
isSitting
public boolean isSitting() -
doClientTick
public void doClientTick()- Specified by:
doClientTick
in interfaceIPhase
-
doServerTick
public void doServerTick()- Specified by:
doServerTick
in interfaceIPhase
-
onCrystalDestroyed
public void onCrystalDestroyed(EnderCrystalEntity p_188655_1_, BlockPos p_188655_2_, DamageSource p_188655_3_, @Nullable PlayerEntity p_188655_4_) - Specified by:
onCrystalDestroyed
in interfaceIPhase
-
begin
public void begin() -
end
public void end() -
getFlySpeed
public float getFlySpeed()- Specified by:
getFlySpeed
in interfaceIPhase
-
getFlyTargetLocation
- Specified by:
getFlyTargetLocation
in interfaceIPhase
-
onHurt
-
getTurnSpeed
public float getTurnSpeed()- Specified by:
getTurnSpeed
in interfaceIPhase
-