Class HostileEntity

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

public abstract class HostileEntity extends PathAwareEntity implements Monster
Mappings:
Namespace Name
official vv
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> Lpk;<init>(Ladm;)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 m Lpr;m()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 t_ Lpk;t_()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 P Lpk;P()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 aa Lpk;aa()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;
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Low;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 bo Lpr;bo()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 bp Lpr;bp()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 n Lpr;n(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 r Lpr;r(Lpk;)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 Lpy;a(Lcj;)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 n_ Lvv;n_()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 bR Lps;bR()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 aX Lpr;aX()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 ba Lpr;ba()Z
      intermediary method_8369 Lnet/minecraft/class_1699;method_8369()Z
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z