Class HostileEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider, Monster
Direct Known Subclasses:
BlazeEntity, class_3146, CreeperEntity, EndermanEntity, EndermiteEntity, EvocationIllagerEntity, GiantEntity, GuardianEntity, SilverfishEntity, SpiderEntity, VexEntity, VindicationIllagerEntity, WitchEntity, WitherEntity, ZombieEntity

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

    • HostileEntity

      public HostileEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lsn;<init>(Lajs;)V
      intermediary <init> Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
  • Method Details

    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bC Lsn;bC()Lno;
      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 n Lsw;n()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 A_ Lsn;A_()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 aa Lsn;aa()Lnm;
      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 ab Lsn;ab()Lnm;
      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 Lsn;a(Lry;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
    • method_13048

      protected SoundEvent method_13048()
      Overrides:
      method_13048 in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bW Lsw;bW()Lnm;
      intermediary method_13048 Lnet/minecraft/class_1699;method_13048()Lnet/minecraft/class_2926;
      named method_13048 Lnet/minecraft/entity/LivingEntity;method_13048()Lnet/minecraft/client/sound/SoundEvent;
    • deathSound

      protected SoundEvent deathSound()
      Overrides:
      deathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bX Lsw;bX()Lnm;
      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 e Lsw;e(I)Lnm;
      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;
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official B Lsw;B(Lsn;)Z
      intermediary method_2671 Lnet/minecraft/class_1699;method_2671(Lnet/minecraft/class_864;)Z
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
    • getPathfindingFavor

      public float getPathfindingFavor(BlockPos pos)
      Overrides:
      getPathfindingFavor in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lte;a(Lco;)F
      intermediary method_10989 Lnet/minecraft/class_877;method_10989(Lnet/minecraft/class_2552;)F
      named getPathfindingFavor Lnet/minecraft/entity/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;)F
    • method_3087

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

      public boolean canSpawn()
      Overrides:
      canSpawn in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official cM Lsx;cM()Z
      intermediary method_2637 Lnet/minecraft/class_871;method_2637()Z
      named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn()Z
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bE Lsw;bE()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 bH Lsw;bH()Z
      intermediary method_8369 Lnet/minecraft/class_1699;method_8369()Z
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z