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 bdi
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 Lbdi;a:Lbdg;
      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> 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

    • isSittingOrHovering

      public boolean isSittingOrHovering()
      Specified by:
      isSittingOrHovering in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official a Lbdq;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 Lbdq;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 Lbdq;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 PlayerEntity player)
      Specified by:
      crystalDestroyed in interface Phase
      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
    • beginPhase

      public void beginPhase()
      Specified by:
      beginPhase in interface Phase
      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
    • endPhase

      public void endPhase()
      Specified by:
      endPhase in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official e Lbdq;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 Lbdq;f()F
      intermediary method_6846 Lnet/minecraft/class_1521;method_6846()F
      named getMaxYAcceleration Lnet/minecraft/entity/boss/dragon/phase/Phase;getMaxYAcceleration()F
    • getTarget

      @Nullable public Vec3d getTarget()
      Specified by:
      getTarget in interface Phase
      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;
    • modifyDamageTaken

      public float modifyDamageTaken​(DamageSource damageSource, float damage)
      Specified by:
      modifyDamageTaken in interface Phase
      Mappings:
      Namespace Name Mixin selector
      official a Lbdq;a(Laqf;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
    • method_6847

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