Class HuskEntity

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

public class HuskEntity extends ZombieEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/HuskEntity
intermediary net/minecraft/class_1576
official cjy
  • 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> Lbsq;<init>(Lbsw;Ldcu;)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 Lcjy;a(Lbsw;Lddj;Lbtp;Ljd;Layv;)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 ad_ Lcku;ad_()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 v Lbtn;v()Lavn;
    • 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 d Lbtl;d(Lbrj;)Lavn;
    • 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 n_ Lbtl;n_()Lavn;
    • 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 gm Lcku;gm()Lavn;
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class ZombieEntity
      Mappings:
      Namespace Name Mixin selector
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
      intermediary method_6121 Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_1297;)Z
      official D Lbtl;D(Lbsq;)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 go Lcku;go()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 ac_ Lcku;ac_()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 gn Lcku;gn()Lcuo;