Class HoldingPatternPhase
java.lang.Object
net.minecraft.entity.boss.dragon.phase.AbstractPhase
net.minecraft.entity.boss.dragon.phase.HoldingPatternPhase
- All Implemented Interfaces:
Phase
public class HoldingPatternPhase extends AbstractPhase
-
Field Summary
Fields Modifier and Type Field Description private Path
field_7043
private boolean
field_7044
private static TargetPredicate
PLAYERS_IN_RANGE_PREDICATE
private Vec3d
target
Fields inherited from class net.minecraft.entity.boss.dragon.phase.AbstractPhase
dragon
-
Constructor Summary
Constructors Constructor Description HoldingPatternPhase(EnderDragonEntity dragon)
-
Method Summary
Modifier and Type Method Description void
beginPhase()
void
crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, PlayerEntity player)
Vec3d
getTarget()
PhaseType<HoldingPatternPhase>
getType()
private void
method_6841()
private void
method_6842()
private void
method_6843(PlayerEntity playerEntity)
void
serverTick()
Methods inherited from class net.minecraft.entity.boss.dragon.phase.AbstractPhase
clientTick, endPhase, getMaxYAcceleration, isSittingOrHovering, method_6847, modifyDamageTaken
-
Field Details
-
PLAYERS_IN_RANGE_PREDICATE
-
field_7043
-
target
-
field_7044
private boolean field_7044
-
-
Constructor Details
-
HoldingPatternPhase
-
-
Method Details
-
getType
-
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
-
getTarget
- Specified by:
getTarget
in interfacePhase
- Overrides:
getTarget
in classAbstractPhase
-
method_6841
private void method_6841() -
method_6843
-
method_6842
private void method_6842() -
crystalDestroyed
public void crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player)- Specified by:
crystalDestroyed
in interfacePhase
- Overrides:
crystalDestroyed
in classAbstractPhase
-