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 bxj
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 Lbxj;a:Lbxh;
      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> Lbxj;<init>(Lbxh;)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 Lbxr;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 Lbxr;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 Lbxr;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 Lbxr;a(Lbxg;Lgw;Lbho;Lcbu;)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 Lbxr;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 Lbxr;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 Lbxr;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 Lbxr;g()Lehn;
      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 Lbxr;a(Lbho;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 Lbxr;h()F
      intermediary method_6847 Lnet/minecraft/class_1521;method_6847()F
      named getYawAcceleration Lnet/minecraft/entity/boss/dragon/phase/Phase;getYawAcceleration()F