Class HostileEntity

All Implemented Interfaces:
EntityCategoryProvider, Monster
Direct Known Subclasses:
BlazeEntity, CreeperEntity, EndermanEntity, GiantEntity, SilverfishEntity, SkeletonEntity, SpiderEntity, WitchEntity, WitherEntity, ZombieEntity

public abstract class HostileEntity extends PathAwareEntity implements Monster
Mappings:
Namespace Name
official wr
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> Lqm;<init>(Lafm;)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

    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official e Lrg;e()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 h Lqm;h()V
      intermediary method_2558 Lnet/minecraft/class_864;method_2558()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • getSwimSound

      protected String getSwimSound()
      Overrides:
      getSwimSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official H Lqm;H()Ljava/lang/String;
      intermediary method_8360 Lnet/minecraft/class_864;method_8360()Ljava/lang/String;
      named getSwimSound Lnet/minecraft/entity/Entity;getSwimSound()Ljava/lang/String;
    • getSplashSound

      protected String getSplashSound()
      Overrides:
      getSplashSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official O Lqm;O()Ljava/lang/String;
      intermediary method_8361 Lnet/minecraft/class_864;method_8361()Ljava/lang/String;
      named getSplashSound Lnet/minecraft/entity/Entity;getSplashSound()Ljava/lang/String;
    • method_2689

      protected Entity method_2689()
      Overrides:
      method_2689 in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official bP Lro;bP()Lqm;
      intermediary method_2689 Lnet/minecraft/class_877;method_2689()Lnet/minecraft/class_864;
      named method_2689 Lnet/minecraft/entity/PathAwareEntity;method_2689()Lnet/minecraft/entity/Entity;
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lqm;a(Lqa;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 String getHurtSound()
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official aT Lrg;aT()Ljava/lang/String;
      intermediary method_2604 Lnet/minecraft/class_1699;method_2604()Ljava/lang/String;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound()Ljava/lang/String;
    • getDeathSound

      protected String getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official aU Lrg;aU()Ljava/lang/String;
      intermediary method_2605 Lnet/minecraft/class_1699;method_2605()Ljava/lang/String;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Ljava/lang/String;
    • getFallSound

      protected String getFallSound(int distance)
      Overrides:
      getFallSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official o Lrg;o(I)Ljava/lang/String;
      intermediary method_8373 Lnet/minecraft/class_1699;method_8373(I)Ljava/lang/String;
      named getFallSound Lnet/minecraft/entity/LivingEntity;getFallSound(I)Ljava/lang/String;
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lrg;m(Lqm;)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
    • method_2685

      protected void method_2685(Entity entity, float float2)
      Overrides:
      method_2685 in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lro;a(Lqm;F)V
      intermediary method_2685 Lnet/minecraft/class_877;method_2685(Lnet/minecraft/class_864;F)V
      named method_2685 Lnet/minecraft/entity/PathAwareEntity;method_2685(Lnet/minecraft/entity/Entity;F)V
    • method_2683

      public float method_2683(int int2, int int3, int int4)
      Overrides:
      method_2683 in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lro;a(III)F
      intermediary method_2683 Lnet/minecraft/class_877;method_2683(III)F
      named method_2683 Lnet/minecraft/entity/PathAwareEntity;method_2683(III)F
    • method_3087

      protected boolean method_3087()
      Mappings:
      Namespace Name Mixin selector
      official j_ Lwr;j_()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 bw Lrh;bw()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 aD Lrg;aD()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 aG Lrg;aG()Z
      intermediary method_8369 Lnet/minecraft/class_1699;method_8369()Z
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z