Class HostileEntity

All Implemented Interfaces:
class_3893, EntityCategoryProvider, Monster, Nameable
Direct Known Subclasses:
BlazeEntity, class_3146, class_3162, CreeperEntity, EndermanEntity, EndermiteEntity, GiantEntity, GuardianEntity, SilverfishEntity, SpiderEntity, VexEntity, WitchEntity, WitherEntity, ZombieEntity

public abstract class HostileEntity extends PathAwareEntity implements Monster
Mappings:
Namespace Name
official ang
intermediary net/minecraft/class_975
named net/minecraft/entity/mob/HostileEntity
  • Constructor Details

    • HostileEntity

      protected HostileEntity(EntityType<?> entityType, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laev;Laxy;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_3460;Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bV Laer;bV()Lwk;
      intermediary method_12992 Lnet/minecraft/class_864;method_12992()Lnet/minecraft/class_2153;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/client/sound/SoundCategory;
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lafa;k()V
      intermediary method_2651 Lnet/minecraft/class_1699;method_2651()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • tick

      public void tick()
      Overrides:
      tick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official R_ Laer;R_()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • method_12984

      protected SoundEvent method_12984()
      Overrides:
      method_12984 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ad Laer;ad()Lwi;
      intermediary method_12984 Lnet/minecraft/class_864;method_12984()Lnet/minecraft/class_2926;
      named method_12984 Lnet/minecraft/entity/Entity;method_12984()Lnet/minecraft/client/sound/SoundEvent;
    • method_12985

      protected SoundEvent method_12985()
      Overrides:
      method_12985 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ae Laer;ae()Lwi;
      intermediary method_12985 Lnet/minecraft/class_864;method_12985()Lnet/minecraft/class_2926;
      named method_12985 Lnet/minecraft/entity/Entity;method_12985()Lnet/minecraft/client/sound/SoundEvent;
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Laea;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
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource damageSource)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lafa;d(Laea;)Lwi;
      intermediary method_15060 Lnet/minecraft/class_1699;method_15060(Lnet/minecraft/class_856;)Lnet/minecraft/class_2926;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cs Lafa;cs()Lwi;
      intermediary method_13049 Lnet/minecraft/class_1699;method_13049()Lnet/minecraft/class_2926;
      named deathSound Lnet/minecraft/entity/LivingEntity;deathSound()Lnet/minecraft/client/sound/SoundEvent;
    • getLandSound

      protected SoundEvent getLandSound(int height)
      Overrides:
      getLandSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lafa;m(I)Lwi;
      intermediary method_13070 Lnet/minecraft/class_1699;method_13070(I)Lnet/minecraft/class_2926;
      named getLandSound Lnet/minecraft/entity/LivingEntity;getLandSound(I)Lnet/minecraft/client/sound/SoundEvent;
    • method_15657

      public float method_15657(BlockPos blockPos, RenderBlockView renderBlockView)
      Overrides:
      method_15657 in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafg;a(Lel;Layc;)F
      intermediary method_15657 Lnet/minecraft/class_877;method_15657(Lnet/minecraft/class_2552;Lnet/minecraft/class_3599;)F
      named method_15657 Lnet/minecraft/entity/PathAwareEntity;method_15657(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/RenderBlockView;)F
    • method_3087

      protected boolean method_3087()
      Mappings:
      Namespace Name Mixin selector
      official K_ Lang;K_()Z
      intermediary method_3087 Lnet/minecraft/class_975;method_3087()Z
      named method_3087 Lnet/minecraft/entity/mob/HostileEntity;method_3087()Z
    • method_15652

      public boolean method_15652(IWorld iWorld, boolean bool)
      Overrides:
      method_15652 in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Laxz;Z)Z
      intermediary method_15652 Lnet/minecraft/class_871;method_15652(Lnet/minecraft/class_3598;Z)Z
      named method_15652 Lnet/minecraft/entity/mob/MobEntity;method_15652(Lnet/minecraft/world/IWorld;Z)Z
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bZ Lafa;bZ()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • shouldDropXp

      protected boolean shouldDropXp()
      Overrides:
      shouldDropXp in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official cc Lafa;cc()Z
      intermediary method_8369 Lnet/minecraft/class_1699;method_8369()Z
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z
    • method_14129

      public boolean method_14129(PlayerEntity playerEntity)
      Mappings:
      Namespace Name Mixin selector
      official c Lang;c(Laog;)Z
      intermediary method_14129 Lnet/minecraft/class_975;method_14129(Lnet/minecraft/class_988;)Z
      named method_14129 Lnet/minecraft/entity/mob/HostileEntity;method_14129(Lnet/minecraft/entity/player/PlayerEntity;)Z