Class HuskEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Leashable, Monster, Targeter, ScoreHolder, Nameable, EntityLike

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

    • HuskEntity

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

    • canSpawn

      public static boolean canSpawn(EntityType<HuskEntity> type, ServerWorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      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
      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
      official a Lcmt;a(Lbvq;Ldhy;Lbvp;Ljh;Lbam;)Z
    • burnsInDaylight

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

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

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official e Lbwf;e(Lbtz;)Laxe;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official o_ Lbwf;o_()Laxe;
    • getStepSound

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

      public boolean tryAttack(ServerWorld world, Entity target)
      Overrides:
      tryAttack in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Z
      intermediary method_6121 Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Z
      official c Lbwf;c(Lash;Lbvj;)Z
    • canConvertInWater

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

      protected void convertInWater()
      Overrides:
      convertInWater in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      named convertInWater Lnet/minecraft/entity/mob/ZombieEntity;convertInWater()V
      intermediary method_7218 Lnet/minecraft/class_1642;method_7218()V
      official ai_ Lcnp;ai_()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
      named getSkull Lnet/minecraft/entity/mob/ZombieEntity;getSkull()Lnet/minecraft/item/ItemStack;
      intermediary method_7215 Lnet/minecraft/class_1642;method_7215()Lnet/minecraft/class_1799;
      official go Lcnp;go()Lcxo;