Class WitchEntity

All Implemented Interfaces:
RangedAttackMob, Monster, CommandOutput, Nameable, EntityLike

public class WitchEntity extends RaiderEntity implements RangedAttackMob
Mappings:
Namespace Name
official brj
intermediary net/minecraft/class_1640
named net/minecraft/entity/mob/WitchEntity
  • Field Details

    • DRINKING_SPEED_PENALTY_MODIFIER_ID

      private static final UUID DRINKING_SPEED_PENALTY_MODIFIER_ID
      Mappings:
      Namespace Name Mixin selector
      official b Lbrj;b:Ljava/util/UUID;
      intermediary field_7418 Lnet/minecraft/class_1640;field_7418:Ljava/util/UUID;
      named DRINKING_SPEED_PENALTY_MODIFIER_ID Lnet/minecraft/entity/mob/WitchEntity;DRINKING_SPEED_PENALTY_MODIFIER_ID:Ljava/util/UUID;
    • DRINKING_SPEED_PENALTY_MODIFIER

      private static final EntityAttributeModifier DRINKING_SPEED_PENALTY_MODIFIER
      Mappings:
      Namespace Name Mixin selector
      official e Lbrj;e:Lbce;
      intermediary field_7416 Lnet/minecraft/class_1640;field_7416:Lnet/minecraft/class_1322;
      named DRINKING_SPEED_PENALTY_MODIFIER Lnet/minecraft/entity/mob/WitchEntity;DRINKING_SPEED_PENALTY_MODIFIER:Lnet/minecraft/entity/attribute/EntityAttributeModifier;
    • DRINKING

      private static final TrackedData<Boolean> DRINKING
      Mappings:
      Namespace Name Mixin selector
      official bX Lbrj;bX:Lzr;
      intermediary field_7419 Lnet/minecraft/class_1640;field_7419:Lnet/minecraft/class_2940;
      named DRINKING Lnet/minecraft/entity/mob/WitchEntity;DRINKING:Lnet/minecraft/entity/data/TrackedData;
    • drinkTimeLeft

      private int drinkTimeLeft
      Mappings:
      Namespace Name Mixin selector
      official bY Lbrj;bY:I
      intermediary field_7417 Lnet/minecraft/class_1640;field_7417:I
      named drinkTimeLeft Lnet/minecraft/entity/mob/WitchEntity;drinkTimeLeft:I
    • raidGoal

      private RaidGoal<RaiderEntity> raidGoal
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbrj;bZ:Lbjm;
      intermediary field_17283 Lnet/minecraft/class_1640;field_17283:Lnet/minecraft/class_3909;
      named raidGoal Lnet/minecraft/entity/mob/WitchEntity;raidGoal:Lnet/minecraft/entity/ai/goal/RaidGoal;
    • attackPlayerGoal

      private DisableableFollowTargetGoal<PlayerEntity> attackPlayerGoal
      Mappings:
      Namespace Name Mixin selector
      official ca Lbrj;ca:Lbjl;
      intermediary field_17284 Lnet/minecraft/class_1640;field_17284:Lnet/minecraft/class_3760;
      named attackPlayerGoal Lnet/minecraft/entity/mob/WitchEntity;attackPlayerGoal:Lnet/minecraft/entity/ai/goal/DisableableFollowTargetGoal;
  • Constructor Details

    • WitchEntity

      public WitchEntity(EntityType<? extends WitchEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbaq;<init>(Lbau;Lcga;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      official u Lbbh;u()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbaq;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbbh;r()Lajd;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbbf;c(Lazz;)Lajd;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Lbbf;x_()Lajd;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • setDrinking

      public void setDrinking(boolean drinking)
      Mappings:
      Namespace Name Mixin selector
      official x Lbrj;x(Z)V
      intermediary method_7192 Lnet/minecraft/class_1640;method_7192(Z)V
      named setDrinking Lnet/minecraft/entity/mob/WitchEntity;setDrinking(Z)V
    • isDrinking

      public boolean isDrinking()
      Mappings:
      Namespace Name Mixin selector
      official n Lbrj;n()Z
      intermediary method_7193 Lnet/minecraft/class_1640;method_7193()Z
      named isDrinking Lnet/minecraft/entity/mob/WitchEntity;isDrinking()Z
    • createWitchAttributes

      public static DefaultAttributeContainer.Builder createWitchAttributes()
      Mappings:
      Namespace Name Mixin selector
      official q Lbrj;q()Lbcf$a;
      intermediary method_26927 Lnet/minecraft/class_1640;method_26927()Lnet/minecraft/class_5132$class_5133;
      named createWitchAttributes Lnet/minecraft/entity/mob/WitchEntity;createWitchAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Lbbf;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • getCelebratingSound

      public SoundEvent getCelebratingSound()
      Specified by:
      getCelebratingSound in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      official M_ Lbun;M_()Lajd;
      intermediary method_20033 Lnet/minecraft/class_3763;method_20033()Lnet/minecraft/class_3414;
      named getCelebratingSound Lnet/minecraft/entity/raid/RaiderEntity;getCelebratingSound()Lnet/minecraft/sound/SoundEvent;
    • handleStatus

      public void handleStatus(byte status)
      Overrides:
      handleStatus in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbaq;a(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • modifyAppliedDamage

      protected float modifyAppliedDamage(DamageSource source, float amount)
      Returns the modified damage value for the applied damage.
      Overrides:
      modifyAppliedDamage in class LivingEntity
      Returns:
      the modified damage value for the applied damage
      Mappings:
      Namespace Name Mixin selector
      official e Lbbf;e(Lazz;F)F
      intermediary method_6036 Lnet/minecraft/class_1309;method_6036(Lnet/minecraft/class_1282;F)F
      named modifyAppliedDamage Lnet/minecraft/entity/LivingEntity;modifyAppliedDamage(Lnet/minecraft/entity/damage/DamageSource;F)F
    • attack

      public void attack(LivingEntity target, float pullProgress)
      Specified by:
      attack in interface RangedAttackMob
      Mappings:
      Namespace Name Mixin selector
      official a Lbqx;a(Lbbf;F)V
      intermediary method_7105 Lnet/minecraft/class_1603;method_7105(Lnet/minecraft/class_1309;F)V
      named attack Lnet/minecraft/entity/ai/RangedAttackMob;attack(Lnet/minecraft/entity/LivingEntity;F)V
    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbbf;b(Lbbr;Lbar;)F
      intermediary method_18394 Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getActiveEyeHeight Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • addBonusForWave

      public void addBonusForWave(int wave, boolean unused)
      Specified by:
      addBonusForWave in class RaiderEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbun;a(IZ)V
      intermediary method_16484 Lnet/minecraft/class_3763;method_16484(IZ)V
      named addBonusForWave Lnet/minecraft/entity/raid/RaiderEntity;addBonusForWave(IZ)V
    • canLead

      public boolean canLead()
      Overrides:
      canLead in class PatrolEntity
      Mappings:
      Namespace Name Mixin selector
      official fL Lbqu;fL()Z
      intermediary method_16485 Lnet/minecraft/class_3732;method_16485()Z
      named canLead Lnet/minecraft/entity/mob/PatrolEntity;canLead()Z