Class HostileEntity

All Implemented Interfaces:
CommandSource, EntityCategoryProvider, Monster
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 ade
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> Lvg;<init>(Lamu;)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 bK Lvg;bK()Lqg;
      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 Lvp;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 B_ Lvg;B_()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 ae Lvg;ae()Lqe;
      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 af Lvg;af()Lqe;
      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 Lvg;a(Lur;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 Lvp;d(Lur;)Lqe;
      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 cf Lvp;cf()Lqe;
      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 Lvp;e(I)Lqe;
      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 Lvp;B(Lvg;)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 Lvx;a(Let;)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 s_ Lade;s_()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 P Lvq;P()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 bM Lvp;bM()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 bP Lvp;bP()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 Lade;c(Laed;)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