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 bud
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 Lbud;a:Lbub;
      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> Lbud;<init>(Lbub;)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 Lbul;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 Lbul;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 Lbul;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 Lbul;a(Lbua;Lgu;Lben;Lbyo;)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 Lbul;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 Lbul;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 Lbul;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 Lbul;g()Leei;
      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 Lbul;a(Lben;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 Lbul;h()F
      intermediary method_6847 Lnet/minecraft/class_1521;method_6847()F
      named getYawAcceleration Lnet/minecraft/entity/boss/dragon/phase/Phase;getYawAcceleration()F