Class HuskEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

public class HuskEntity extends ZombieEntity
Mappings:
Namespace Name
official bua
intermediary net/minecraft/class_1576
named net/minecraft/entity/mob/HuskEntity
  • Constructor Details

    • HuskEntity

      public HuskEntity(EntityType<? extends HuskEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbdr;<init>(Lbdv;Lcjw;)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

    • canSpawn

      public static boolean canSpawn(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbua;a(Lbdv;Lckl;Lbek;Lgp;Laoh;)Z
      intermediary method_20677 Lnet/minecraft/class_1576;method_20677(Lnet/minecraft/class_1299;Lnet/minecraft/class_5425;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      named canSpawn Lnet/minecraft/entity/mob/HuskEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
    • burnsInDaylight

      protected boolean burnsInDaylight()
      Overrides:
      burnsInDaylight in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official M_ Lbuw;M_()Z
      intermediary method_7216 Lnet/minecraft/class_1642;method_7216()Z
      named burnsInDaylight Lnet/minecraft/entity/mob/ZombieEntity;burnsInDaylight()Z
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbei;r()Laln;
      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 ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lbeg;c(Lbcz;)Laln;
      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 ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official c_ Lbeg;c_()Laln;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getStepSound

      protected SoundEvent getStepSound()
      Overrides:
      getStepSound in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official t Lbuw;t()Laln;
      intermediary method_7207 Lnet/minecraft/class_1642;method_7207()Lnet/minecraft/class_3414;
      named getStepSound Lnet/minecraft/entity/mob/ZombieEntity;getStepSound()Lnet/minecraft/sound/SoundEvent;
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official A Lbeg;A(Lbdr;)Z
      intermediary method_6121 Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_1297;)Z
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
    • canConvertInWater

      protected boolean canConvertInWater()
      Overrides:
      canConvertInWater in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official fN Lbuw;fN()Z
      intermediary method_7209 Lnet/minecraft/class_1642;method_7209()Z
      named canConvertInWater Lnet/minecraft/entity/mob/ZombieEntity;canConvertInWater()Z
    • convertInWater

      protected void convertInWater()
      Overrides:
      convertInWater in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official fP Lbuw;fP()V
      intermediary method_7218 Lnet/minecraft/class_1642;method_7218()V
      named convertInWater Lnet/minecraft/entity/mob/ZombieEntity;convertInWater()V
    • getSkull

      protected ItemStack getSkull()
      Returns the item stack this entity will drop when killed by a charged creeper.
      Overrides:
      getSkull in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      official fM Lbuw;fM()Lcdt;
      intermediary method_7215 Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;
      named getSkull Lnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;