Class GolemEntity

All Implemented Interfaces:
EntityLike, CommandOutput, Nameable
Direct Known Subclasses:
IronGolemEntity, ShulkerEntity, SnowGolemEntity

public abstract class GolemEntity
extends PathAwareEntity
Mappings:
Namespace Name
official bbh
intermediary net/minecraft/class_1427
named net/minecraft/entity/passive/GolemEntity
  • Constructor Details

    • GolemEntity

      protected GolemEntity​(EntityType<? extends GolemEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laqv;<init>(Laqz;Lbtv;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • handleFallDamage

      public boolean handleFallDamage​(float fallDistance, float damageMultiplier, DamageSource damageSource)
      Overrides:
      handleFallDamage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(FFLaqf;)Z
      intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
    • getAmbientSound

      @Nullable protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official p Larj;p()Laef;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      @Nullable protected SoundEvent getHurtSound​(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Lari;c(Laqf;)Laef;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      @Nullable protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official q Lari;q()Laef;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getMinAmbientSoundDelay

      public int getMinAmbientSoundDelay()
      Overrides:
      getMinAmbientSoundDelay in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official I Larj;I()I
      intermediary method_5970 Lnet/minecraft/class_1308;method_5970()I
      named getMinAmbientSoundDelay Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
    • canImmediatelyDespawn

      public boolean canImmediatelyDespawn​(double distanceSquared)
      Overrides:
      canImmediatelyDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official h Larj;h(D)Z
      intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z