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
- Mappings:
Namespace Name official bdm
intermediary net/minecraft/class_1517
named net/minecraft/entity/boss/dragon/phase/HoldingPatternPhase
-
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()
void
serverTick()
private void
strafePlayer(PlayerEntity player)
Methods inherited from class net.minecraft.entity.boss.dragon.phase.AbstractPhase
clientTick, endPhase, getMaxYAcceleration, isSittingOrHovering, method_6847, modifyDamageTaken
-
Field Details
-
PLAYERS_IN_RANGE_PREDICATE
- Mappings:
Namespace Name Mixin selector official b
Lbdm;b:Lbal;
intermediary field_18121
Lnet/minecraft/class_1517;field_18121:Lnet/minecraft/class_4051;
named PLAYERS_IN_RANGE_PREDICATE
Lnet/minecraft/entity/boss/dragon/phase/HoldingPatternPhase;PLAYERS_IN_RANGE_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
field_7043
- Mappings:
Namespace Name Mixin selector official c
Lbdm;c:Ldct;
intermediary field_7043
Lnet/minecraft/class_1517;field_7043:Lnet/minecraft/class_11;
named field_7043
Lnet/minecraft/entity/boss/dragon/phase/HoldingPatternPhase;field_7043:Lnet/minecraft/entity/ai/pathing/Path;
-
target
- Mappings:
Namespace Name Mixin selector official d
Lbdm;d:Ldiu;
intermediary field_7045
Lnet/minecraft/class_1517;field_7045:Lnet/minecraft/class_243;
named target
Lnet/minecraft/entity/boss/dragon/phase/HoldingPatternPhase;target:Lnet/minecraft/util/math/Vec3d;
-
field_7044
private boolean field_7044- Mappings:
Namespace Name Mixin selector official e
Lbdm;e:Z
intermediary field_7044
Lnet/minecraft/class_1517;field_7044:Z
named field_7044
Lnet/minecraft/entity/boss/dragon/phase/HoldingPatternPhase;field_7044:Z
-
-
Constructor Details
-
HoldingPatternPhase
- Mappings:
Namespace Name Mixin selector official <init>
Lbdi;<init>(Lbdg;)V
intermediary <init>
Lnet/minecraft/class_1512;<init>(Lnet/minecraft/class_1510;)V
named <init>
Lnet/minecraft/entity/boss/dragon/phase/AbstractPhase;<init>(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;)V
-
-
Method Details
-
getType
- Mappings:
Namespace Name Mixin selector official i
Lbdq;i()Lbdw;
intermediary method_6849
Lnet/minecraft/class_1521;method_6849()Lnet/minecraft/class_1527;
named getType
Lnet/minecraft/entity/boss/dragon/phase/Phase;getType()Lnet/minecraft/entity/boss/dragon/phase/PhaseType;
-
serverTick
public void serverTick()- Specified by:
serverTick
in interfacePhase
- Overrides:
serverTick
in classAbstractPhase
- Mappings:
Namespace Name Mixin selector official c
Lbdq;c()V
intermediary method_6855
Lnet/minecraft/class_1521;method_6855()V
named serverTick
Lnet/minecraft/entity/boss/dragon/phase/Phase;serverTick()V
-
beginPhase
public void beginPhase()- Specified by:
beginPhase
in interfacePhase
- Overrides:
beginPhase
in classAbstractPhase
- Mappings:
Namespace Name Mixin selector official d
Lbdq;d()V
intermediary method_6856
Lnet/minecraft/class_1521;method_6856()V
named beginPhase
Lnet/minecraft/entity/boss/dragon/phase/Phase;beginPhase()V
-
getTarget
- Specified by:
getTarget
in interfacePhase
- Overrides:
getTarget
in classAbstractPhase
- Mappings:
Namespace Name Mixin selector official g
Lbdq;g()Ldiu;
intermediary method_6851
Lnet/minecraft/class_1521;method_6851()Lnet/minecraft/class_243;
named getTarget
Lnet/minecraft/entity/boss/dragon/phase/Phase;getTarget()Lnet/minecraft/util/math/Vec3d;
-
method_6841
private void method_6841()- Mappings:
Namespace Name Mixin selector official j
Lbdm;j()V
intermediary method_6841
Lnet/minecraft/class_1517;method_6841()V
named method_6841
Lnet/minecraft/entity/boss/dragon/phase/HoldingPatternPhase;method_6841()V
-
strafePlayer
- Mappings:
Namespace Name Mixin selector official a
Lbdm;a(Lbhl;)V
intermediary method_6843
Lnet/minecraft/class_1517;method_6843(Lnet/minecraft/class_1657;)V
named strafePlayer
Lnet/minecraft/entity/boss/dragon/phase/HoldingPatternPhase;strafePlayer(Lnet/minecraft/entity/player/PlayerEntity;)V
-
method_6842
private void method_6842()- Mappings:
Namespace Name Mixin selector official k
Lbdm;k()V
intermediary method_6842
Lnet/minecraft/class_1517;method_6842()V
named method_6842
Lnet/minecraft/entity/boss/dragon/phase/HoldingPatternPhase;method_6842()V
-
crystalDestroyed
public void crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable PlayerEntity player)- Specified by:
crystalDestroyed
in interfacePhase
- Overrides:
crystalDestroyed
in classAbstractPhase
- Mappings:
Namespace Name Mixin selector official a
Lbdq;a(Lbdf;Lfx;Laqf;Lbhl;)V
intermediary method_6850
Lnet/minecraft/class_1521;method_6850(Lnet/minecraft/class_1511;Lnet/minecraft/class_2338;Lnet/minecraft/class_1282;Lnet/minecraft/class_1657;)V
named crystalDestroyed
Lnet/minecraft/entity/boss/dragon/phase/Phase;crystalDestroyed(Lnet/minecraft/entity/decoration/EndCrystalEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/damage/DamageSource;Lnet/minecraft/entity/player/PlayerEntity;)V
-