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
named net/minecraft/entity/boss/dragon/phase/AbstractPhase
intermediary net/minecraft/class_1512
official chq
  • Field Details

    • dragon

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

    • AbstractPhase

      public AbstractPhase(EnderDragonEntity dragon)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/boss/dragon/phase/AbstractPhase;<init>(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;)V
      intermediary <init> Lnet/minecraft/class_1512;<init>(Lnet/minecraft/class_1510;)V
      official <init> Lchq;<init>(Lcho;)V
  • Method Details

    • isSittingOrHovering

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

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

      public void serverTick()
      Specified by:
      serverTick in interface Phase
      Mappings:
      Namespace Name Mixin selector
      named serverTick Lnet/minecraft/entity/boss/dragon/phase/Phase;serverTick()V
      intermediary method_6855 Lnet/minecraft/class_1521;method_6855()V
      official c Lchy;c()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
      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
      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
      official a Lchy;a(Lchn;Lja;Lbra;Lcml;)V
    • beginPhase

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

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

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

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

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

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