Class AbstractPhase

java.lang.Object
net.minecraft.entity.boss.dragon.phase.AbstractPhase
All Implemented Interfaces:
Phase
Direct Known Subclasses:
AbstractSittingPhase, ChargingPlayerPhase, DyingPhase, HoldingPatternPhase, HoverPhase, LandingApproachPhase, LandingPhase, StrafePlayerPhase, TakeoffPhase

public abstract class AbstractPhase extends Object implements Phase
Mappings:
Namespace Name
official bkf
intermediary net/minecraft/class_1512
named net/minecraft/entity/boss/dragon/phase/AbstractPhase
  • Field Details

    • dragon

      protected final EnderDragonEntity dragon
      Mappings:
      Namespace Name Mixin selector
      official a Lbkf;a:Lbkd;
      intermediary field_7036 Lnet/minecraft/class_1512;field_7036:Lnet/minecraft/class_1510;
      named dragon Lnet/minecraft/entity/boss/dragon/phase/AbstractPhase;dragon:Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;
  • Constructor Details

    • AbstractPhase

      public AbstractPhase(EnderDragonEntity dragon)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbkf;<init>(Lbkd;)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

    • isSittingOrHovering

      public boolean isSittingOrHovering()
      Specified by:
      isSittingOrHovering in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a()Z
      intermediary method_6848 Lnet/minecraft/class_1521;method_6848()Z
      named isSittingOrHovering Lnet/minecraft/entity/boss/dragon/phase/Phase;isSittingOrHovering()Z
    • clientTick

      public void clientTick()
      Specified by:
      clientTick in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official b Lbkn;b()V
      intermediary method_6853 Lnet/minecraft/class_1521;method_6853()V
      named clientTick Lnet/minecraft/entity/boss/dragon/phase/Phase;clientTick()V
    • serverTick

      public void serverTick()
      Specified by:
      serverTick in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official c Lbkn;c()V
      intermediary method_6855 Lnet/minecraft/class_1521;method_6855()V
      named serverTick Lnet/minecraft/entity/boss/dragon/phase/Phase;serverTick()V
    • crystalDestroyed

      public void crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source, @Nullable @Nullable PlayerEntity player)
      Specified by:
      crystalDestroyed in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a(Lbkc;Lgj;Lawu;Lboj;)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
    • beginPhase

      public void beginPhase()
      Specified by:
      beginPhase in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official d Lbkn;d()V
      intermediary method_6856 Lnet/minecraft/class_1521;method_6856()V
      named beginPhase Lnet/minecraft/entity/boss/dragon/phase/Phase;beginPhase()V
    • endPhase

      public void endPhase()
      Specified by:
      endPhase in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official e Lbkn;e()V
      intermediary method_6854 Lnet/minecraft/class_1521;method_6854()V
      named endPhase Lnet/minecraft/entity/boss/dragon/phase/Phase;endPhase()V
    • getMaxYAcceleration

      public float getMaxYAcceleration()
      Specified by:
      getMaxYAcceleration in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official f Lbkn;f()F
      intermediary method_6846 Lnet/minecraft/class_1521;method_6846()F
      named getMaxYAcceleration Lnet/minecraft/entity/boss/dragon/phase/Phase;getMaxYAcceleration()F
    • getPathTarget

      @Nullable public @Nullable Vec3d getPathTarget()
      Specified by:
      getPathTarget in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official g Lbkn;g()Ldpo;
      intermediary method_6851 Lnet/minecraft/class_1521;method_6851()Lnet/minecraft/class_243;
      named getPathTarget Lnet/minecraft/entity/boss/dragon/phase/Phase;getPathTarget()Lnet/minecraft/util/math/Vec3d;
    • modifyDamageTaken

      public float modifyDamageTaken(DamageSource damageSource, float damage)
      Specified by:
      modifyDamageTaken in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official a Lbkn;a(Lawu;F)F
      intermediary method_6852 Lnet/minecraft/class_1521;method_6852(Lnet/minecraft/class_1282;F)F
      named modifyDamageTaken Lnet/minecraft/entity/boss/dragon/phase/Phase;modifyDamageTaken(Lnet/minecraft/entity/damage/DamageSource;F)F
    • getYawAcceleration

      public float getYawAcceleration()
      Specified by:
      getYawAcceleration in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official h Lbkn;h()F
      intermediary method_6847 Lnet/minecraft/class_1521;method_6847()F
      named getYawAcceleration Lnet/minecraft/entity/boss/dragon/phase/Phase;getYawAcceleration()F