Class WitherEntity

All Implemented Interfaces:
CommandSource, RangedAttackMob, BossBarProvider, EntityCategoryProvider, Monster

Mappings:
Namespace Name
official adf
intermediary net/minecraft/class_1410
named net/minecraft/entity/boss/WitherEntity
  • Field Details

    • CAN_ATTACK_PREDICATE

      private static final Predicate CAN_ATTACK_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official bp Ladf;bp:Lcom/google/common/base/Predicate;
      intermediary field_12015 Lnet/minecraft/class_1410;field_12015:Lcom/google/common/base/Predicate;
      named CAN_ATTACK_PREDICATE Lnet/minecraft/entity/boss/WitherEntity;CAN_ATTACK_PREDICATE:Lcom/google/common/base/Predicate;
    • sideHeadPitches

      private float[] sideHeadPitches
      Mappings:
      Namespace Name Mixin selector
      official b Ladf;b:[F
      intermediary field_5372 Lnet/minecraft/class_1410;field_5372:[F
      named sideHeadPitches Lnet/minecraft/entity/boss/WitherEntity;sideHeadPitches:[F
    • sideHeadYaws

      private float[] sideHeadYaws
      Mappings:
      Namespace Name Mixin selector
      official c Ladf;c:[F
      intermediary field_5373 Lnet/minecraft/class_1410;field_5373:[F
      named sideHeadYaws Lnet/minecraft/entity/boss/WitherEntity;sideHeadYaws:[F
    • prevSideHeadPitches

      private float[] prevSideHeadPitches
      Mappings:
      Namespace Name Mixin selector
      official bk Ladf;bk:[F
      intermediary field_5374 Lnet/minecraft/class_1410;field_5374:[F
      named prevSideHeadPitches Lnet/minecraft/entity/boss/WitherEntity;prevSideHeadPitches:[F
    • prevSideHeadYaws

      private float[] prevSideHeadYaws
      Mappings:
      Namespace Name Mixin selector
      official bl Ladf;bl:[F
      intermediary field_5375 Lnet/minecraft/class_1410;field_5375:[F
      named prevSideHeadYaws Lnet/minecraft/entity/boss/WitherEntity;prevSideHeadYaws:[F
    • field_5376

      private int[] field_5376
      Mappings:
      Namespace Name Mixin selector
      official bm Ladf;bm:[I
      intermediary field_5376 Lnet/minecraft/class_1410;field_5376:[I
      named field_5376 Lnet/minecraft/entity/boss/WitherEntity;field_5376:[I
    • field_5377

      private int[] field_5377
      Mappings:
      Namespace Name Mixin selector
      official bn Ladf;bn:[I
      intermediary field_5377 Lnet/minecraft/class_1410;field_5377:[I
      named field_5377 Lnet/minecraft/entity/boss/WitherEntity;field_5377:[I
    • field_5378

      private int field_5378
      Mappings:
      Namespace Name Mixin selector
      official bo Ladf;bo:I
      intermediary field_5378 Lnet/minecraft/class_1410;field_5378:I
      named field_5378 Lnet/minecraft/entity/boss/WitherEntity;field_5378:I
  • Constructor Details

    • WitherEntity

      public WitherEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwv;<init>(Laqu;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official h Lwv;h()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lwv;b(Lfn;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lwv;a(Lfn;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • getAmbientSound

      protected String getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lxn;z()Ljava/lang/String;
      intermediary method_2603 Lnet/minecraft/class_871;method_2603()Ljava/lang/String;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Ljava/lang/String;
    • getHurtSound

      protected String getHurtSound()
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official bn Lxm;bn()Ljava/lang/String;
      intermediary method_2604 Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official bo Lxm;bo()Ljava/lang/String;
      intermediary method_2605 Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lxm;m()V
      intermediary method_2651 Lnet/minecraft/class_1699;method_2651()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official E Lxn;E()V
      intermediary method_2633 Lnet/minecraft/class_871;method_2633()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • method_4537

      public void method_4537()
      Mappings:
      Namespace Name Mixin selector
      official n Ladf;n()V
      intermediary method_4537 Lnet/minecraft/class_1410;method_4537()V
      named method_4537 Lnet/minecraft/entity/boss/WitherEntity;method_4537()V
    • setInLava

      public void setInLava()
      Overrides:
      setInLava in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aB Lwv;aB()V
      intermediary method_2517 Lnet/minecraft/class_864;method_2517()V
      named setInLava Lnet/minecraft/entity/Entity;setInLava()V
    • getArmorProtectionValue

      public int getArmorProtectionValue()
      Overrides:
      getArmorProtectionValue in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bq Lxm;bq()I
      intermediary method_2601 Lnet/minecraft/class_1699;method_2601()I
      named getArmorProtectionValue Lnet/minecraft/entity/LivingEntity;getArmorProtectionValue()I
    • getHeadX

      private double getHeadX(int headIndex)
      Mappings:
      Namespace Name Mixin selector
      official t Ladf;t(I)D
      intermediary method_4543 Lnet/minecraft/class_1410;method_4543(I)D
      named getHeadX Lnet/minecraft/entity/boss/WitherEntity;getHeadX(I)D
    • getHeadY

      private double getHeadY(int headIndex)
      Mappings:
      Namespace Name Mixin selector
      official u Ladf;u(I)D
      intermediary method_4544 Lnet/minecraft/class_1410;method_4544(I)D
      named getHeadY Lnet/minecraft/entity/boss/WitherEntity;getHeadY(I)D
    • getHeadZ

      private double getHeadZ(int headIndex)
      Mappings:
      Namespace Name Mixin selector
      official v Ladf;v(I)D
      intermediary method_4545 Lnet/minecraft/class_1410;method_4545(I)D
      named getHeadZ Lnet/minecraft/entity/boss/WitherEntity;getHeadZ(I)D
    • getNextAngle

      private float getNextAngle(float prevAngle, float desiredAngle, float maxDifference)
      Mappings:
      Namespace Name Mixin selector
      official b Ladf;b(FFF)F
      intermediary method_4535 Lnet/minecraft/class_1410;method_4535(FFF)F
      named getNextAngle Lnet/minecraft/entity/boss/WitherEntity;getNextAngle(FFF)F
    • shootSkullAt

      private void shootSkullAt(int headIndex, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official a Ladf;a(ILxm;)V
      intermediary method_6303 Lnet/minecraft/class_1410;method_6303(ILnet/minecraft/class_1699;)V
      named shootSkullAt Lnet/minecraft/entity/boss/WitherEntity;shootSkullAt(ILnet/minecraft/entity/LivingEntity;)V
    • shootSkullAt

      private void shootSkullAt(int headIndex, double targetX, double targetY, double targetZ, boolean charged)
      Mappings:
      Namespace Name Mixin selector
      official a Ladf;a(IDDDZ)V
      intermediary method_4533 Lnet/minecraft/class_1410;method_4533(IDDDZ)V
      named shootSkullAt Lnet/minecraft/entity/boss/WitherEntity;shootSkullAt(IDDDZ)V
    • rangedAttack

      public void rangedAttack(LivingEntity target, float pullProgress)
      Specified by:
      rangedAttack in interface RangedAttackMob
      Mappings:
      Namespace Name Mixin selector
      official a Lafr;a(Lxm;F)V
      intermediary method_4552 Lnet/minecraft/class_1413;method_4552(Lnet/minecraft/class_1699;F)V
      named rangedAttack Lnet/minecraft/entity/ai/RangedAttackMob;rangedAttack(Lnet/minecraft/entity/LivingEntity;F)V
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lwv;a(Lwh;F)Z
      intermediary method_2499 Lnet/minecraft/class_864;method_2499(Lnet/minecraft/class_856;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • dropLoot

      protected void dropLoot(boolean allowDrops, int lootingMultiplier)
      Overrides:
      dropLoot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lxm;b(ZI)V
      intermediary method_2587 Lnet/minecraft/class_1699;method_2587(ZI)V
      named dropLoot Lnet/minecraft/entity/LivingEntity;dropLoot(ZI)V
    • checkDespawn

      protected void checkDespawn()
      Overrides:
      checkDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official D Lxn;D()V
      intermediary method_2632 Lnet/minecraft/class_871;method_2632()V
      named checkDespawn Lnet/minecraft/entity/mob/MobEntity;checkDespawn()V
    • getLightmapCoordinates

      @Environment(CLIENT) public int getLightmapCoordinates(float float2)
      Overrides:
      getLightmapCoordinates in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lwv;b(F)I
      intermediary method_2524 Lnet/minecraft/class_864;method_2524(F)I
      named getLightmapCoordinates Lnet/minecraft/entity/Entity;getLightmapCoordinates(F)I
    • handleFallDamage

      public void handleFallDamage(float fallDistance, float damageMultiplier)
      Overrides:
      handleFallDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lwv;e(FF)V
      intermediary method_2490 Lnet/minecraft/class_864;method_2490(FF)V
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FF)V
    • addStatusEffect

      public void addStatusEffect(StatusEffectInstance instance)
      Overrides:
      addStatusEffect in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lxm;c(Lwq;)V
      intermediary method_2654 Lnet/minecraft/class_1699;method_2654(Lnet/minecraft/class_861;)V
      named addStatusEffect Lnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official aW Lxm;aW()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • getHeadYaw

      @Environment(CLIENT) public float getHeadYaw(int headIndex)
      Mappings:
      Namespace Name Mixin selector
      official a Ladf;a(I)F
      intermediary method_4532 Lnet/minecraft/class_1410;method_4532(I)F
      named getHeadYaw Lnet/minecraft/entity/boss/WitherEntity;getHeadYaw(I)F
    • getHeadPitch

      @Environment(CLIENT) public float getHeadPitch(int headIndex)
      Mappings:
      Namespace Name Mixin selector
      official b Ladf;b(I)F
      intermediary method_4540 Lnet/minecraft/class_1410;method_4540(I)F
      named getHeadPitch Lnet/minecraft/entity/boss/WitherEntity;getHeadPitch(I)F
    • getInvulnerabilityTime

      public int getInvulnerabilityTime()
      Mappings:
      Namespace Name Mixin selector
      official cj Ladf;cj()I
      intermediary method_4538 Lnet/minecraft/class_1410;method_4538()I
      named getInvulnerabilityTime Lnet/minecraft/entity/boss/WitherEntity;getInvulnerabilityTime()I
    • setInvulnerabilityTime

      public void setInvulnerabilityTime(int time)
      Mappings:
      Namespace Name Mixin selector
      official r Ladf;r(I)V
      intermediary method_4541 Lnet/minecraft/class_1410;method_4541(I)V
      named setInvulnerabilityTime Lnet/minecraft/entity/boss/WitherEntity;setInvulnerabilityTime(I)V
    • getTrackedEntityId

      public int getTrackedEntityId(int headIndex)
      Mappings:
      Namespace Name Mixin selector
      official s Ladf;s(I)I
      intermediary method_4542 Lnet/minecraft/class_1410;method_4542(I)I
      named getTrackedEntityId Lnet/minecraft/entity/boss/WitherEntity;getTrackedEntityId(I)I
    • setTrackedEntityId

      public void setTrackedEntityId(int headIndex, int id)
      Mappings:
      Namespace Name Mixin selector
      official b Ladf;b(II)V
      intermediary method_4536 Lnet/minecraft/class_1410;method_4536(II)V
      named setTrackedEntityId Lnet/minecraft/entity/boss/WitherEntity;setTrackedEntityId(II)V
    • shouldRenderOverlay

      public boolean shouldRenderOverlay()
      Mappings:
      Namespace Name Mixin selector
      official ck Ladf;ck()Z
      intermediary method_4539 Lnet/minecraft/class_1410;method_4539()Z
      named shouldRenderOverlay Lnet/minecraft/entity/boss/WitherEntity;shouldRenderOverlay()Z
    • getGroup

      public EntityGroup getGroup()
      Overrides:
      getGroup in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official by Lxm;by()Lxs;
      intermediary method_2647 Lnet/minecraft/class_1699;method_2647()Lnet/minecraft/class_873;
      named getGroup Lnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
    • startRiding

      public void startRiding(Entity entity)
      Overrides:
      startRiding in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lwv;a(Lwv;)V
      intermediary method_2500 Lnet/minecraft/class_864;method_2500(Lnet/minecraft/class_864;)V
      named startRiding Lnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;)V