Class IronGolemEntity

All Implemented Interfaces:
class_3893, EntityCategoryProvider, Nameable

public class IronGolemEntity extends GolemEntity
Mappings:
Namespace Name
official ajw
intermediary net/minecraft/class_952
named net/minecraft/entity/passive/IronGolemEntity
  • Field Details

    • field_14623

      protected static final TrackedData<Byte> field_14623
      Mappings:
      Namespace Name Mixin selector
      official a Lajw;a:Lor;
      intermediary field_14623 Lnet/minecraft/class_952;field_14623:Lnet/minecraft/class_2921;
      named field_14623 Lnet/minecraft/entity/passive/IronGolemEntity;field_14623:Lnet/minecraft/entity/data/TrackedData;
    • field_3724

      private int field_3724
      Mappings:
      Namespace Name Mixin selector
      official b Lajw;b:I
      intermediary field_3724 Lnet/minecraft/class_952;field_3724:I
      named field_3724 Lnet/minecraft/entity/passive/IronGolemEntity;field_3724:I
    • village

      @Nullable private Village village
      Mappings:
      Namespace Name Mixin selector
      official c Lajw;c:Lajg;
      intermediary field_3723 Lnet/minecraft/class_952;field_3723:Lnet/minecraft/class_938;
      named village Lnet/minecraft/entity/passive/IronGolemEntity;village:Lnet/minecraft/village/Village;
    • attackTicksLeft

      private int attackTicksLeft
      Mappings:
      Namespace Name Mixin selector
      official bC Lajw;bC:I
      intermediary field_3725 Lnet/minecraft/class_952;field_3725:I
      named attackTicksLeft Lnet/minecraft/entity/passive/IronGolemEntity;attackTicksLeft:I
    • lookingAtVillagerTicksLeft

      private int lookingAtVillagerTicksLeft
      Mappings:
      Namespace Name Mixin selector
      official bD Lajw;bD:I
      intermediary field_3726 Lnet/minecraft/class_952;field_3726:I
      named lookingAtVillagerTicksLeft Lnet/minecraft/entity/passive/IronGolemEntity;lookingAtVillagerTicksLeft:I
  • Constructor Details

    • IronGolemEntity

      public IronGolemEntity(World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Laer;<init>(Laxy;)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

    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official n Lafb;n()V
      intermediary method_13087 Lnet/minecraft/class_871;method_13087()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official x_ Laer;x_()V
      intermediary method_2484 Lnet/minecraft/class_864;method_2484()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official J Lafb;J()V
      intermediary method_2633 Lnet/minecraft/class_871;method_2633()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • initializeAttributes

      protected void initializeAttributes()
      Overrides:
      initializeAttributes in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official bZ Lafa;bZ()V
      intermediary method_6129 Lnet/minecraft/class_1699;method_6129()V
      named initializeAttributes Lnet/minecraft/entity/LivingEntity;initializeAttributes()V
    • getNextAirUnderwater

      protected int getNextAirUnderwater(int air)
      Overrides:
      getNextAirUnderwater in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lafa;k(I)I
      intermediary method_2664 Lnet/minecraft/class_1699;method_2664(I)I
      named getNextAirUnderwater Lnet/minecraft/entity/LivingEntity;getNextAirUnderwater(I)I
    • pushAway

      protected void pushAway(Entity entity)
      Overrides:
      pushAway in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official C Lafa;C(Laer;)V
      intermediary method_4483 Lnet/minecraft/class_1699;method_4483(Lnet/minecraft/class_864;)V
      named pushAway Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official k Lafa;k()V
      intermediary method_2651 Lnet/minecraft/class_1699;method_2651()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • canAttackEntity

      public boolean canAttackEntity(Class<? extends LivingEntity> clazz)
      Overrides:
      canAttackEntity in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lafb;b(Ljava/lang/Class;)Z
      intermediary method_2579 Lnet/minecraft/class_871;method_2579(Ljava/lang/Class;)Z
      named canAttackEntity Lnet/minecraft/entity/mob/MobEntity;canAttackEntity(Ljava/lang/Class;)Z
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Laer;b(Lgy;)V
      intermediary method_2528 Lnet/minecraft/class_864;method_2528(Lnet/minecraft/class_322;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lgy;)V
      intermediary method_2498 Lnet/minecraft/class_864;method_2498(Lnet/minecraft/class_322;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official B Lafa;B(Laer;)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
    • handleStatus

      @Environment(CLIENT) public void handleStatus(byte status)
      Overrides:
      handleStatus in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(B)V
      intermediary method_2485 Lnet/minecraft/class_864;method_2485(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • method_2870

      public Village method_2870()
      Mappings:
      Namespace Name Mixin selector
      official l Lajw;l()Lajg;
      intermediary method_2870 Lnet/minecraft/class_952;method_2870()Lnet/minecraft/class_938;
      named method_2870 Lnet/minecraft/entity/passive/IronGolemEntity;method_2870()Lnet/minecraft/village/Village;
    • getAttackTicksLeft

      @Environment(CLIENT) public int getAttackTicksLeft()
      Mappings:
      Namespace Name Mixin selector
      official dy Lajw;dy()I
      intermediary method_2871 Lnet/minecraft/class_952;method_2871()I
      named getAttackTicksLeft Lnet/minecraft/entity/passive/IronGolemEntity;getAttackTicksLeft()I
    • setLookingAtVillager

      public void setLookingAtVillager(boolean lookingAtVillager)
      Mappings:
      Namespace Name Mixin selector
      official a Lajw;a(Z)V
      intermediary method_2868 Lnet/minecraft/class_952;method_2868(Z)V
      named setLookingAtVillager Lnet/minecraft/entity/passive/IronGolemEntity;setLookingAtVillager(Z)V
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource damageSource)
      Overrides:
      getHurtSound in class GolemEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lafa;d(Laea;)Lwi;
      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 GolemEntity
      Mappings:
      Namespace Name Mixin selector
      official cs Lafa;cs()Lwi;
      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;
    • method_10936

      protected void method_10936(BlockPos blockPos, BlockState blockState)
      Overrides:
      method_10936 in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Laer;a(Lel;Lblc;)V
      intermediary method_10936 Lnet/minecraft/class_864;method_10936(Lnet/minecraft/class_2552;Lnet/minecraft/class_2232;)V
      named method_10936 Lnet/minecraft/entity/Entity;method_10936(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • getLootTableId

      @Nullable protected Identifier getLootTableId()
      Overrides:
      getLootTableId in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official G Lafb;G()Lpc;
      intermediary method_13074 Lnet/minecraft/class_871;method_13074()Lnet/minecraft/class_1653;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
    • getLookingAtVillagerTicks

      public int getLookingAtVillagerTicks()
      Mappings:
      Namespace Name Mixin selector
      official dz Lajw;dz()I
      intermediary method_2872 Lnet/minecraft/class_952;method_2872()I
      named getLookingAtVillagerTicks Lnet/minecraft/entity/passive/IronGolemEntity;getLookingAtVillagerTicks()I
    • isPlayerCreated

      public boolean isPlayerCreated()
      Mappings:
      Namespace Name Mixin selector
      official dA Lajw;dA()Z
      intermediary method_2873 Lnet/minecraft/class_952;method_2873()Z
      named isPlayerCreated Lnet/minecraft/entity/passive/IronGolemEntity;isPlayerCreated()Z
    • setPlayerCreated

      public void setPlayerCreated(boolean playerCreated)
      Mappings:
      Namespace Name Mixin selector
      official s Lajw;s(Z)V
      intermediary method_2869 Lnet/minecraft/class_952;method_2869(Z)V
      named setPlayerCreated Lnet/minecraft/entity/passive/IronGolemEntity;setPlayerCreated(Z)V
    • onKilled

      public void onKilled(DamageSource source)
      Overrides:
      onKilled in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafa;a(Laea;)V
      intermediary method_2580 Lnet/minecraft/class_1699;method_2580(Lnet/minecraft/class_856;)V
      named onKilled Lnet/minecraft/entity/LivingEntity;onKilled(Lnet/minecraft/entity/damage/DamageSource;)V
    • method_15653

      public boolean method_15653(RenderBlockView renderBlockView)
      Overrides:
      method_15653 in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lafb;a(Layc;)Z
      intermediary method_15653 Lnet/minecraft/class_871;method_15653(Lnet/minecraft/class_3599;)Z
      named method_15653 Lnet/minecraft/entity/mob/MobEntity;method_15653(Lnet/minecraft/world/RenderBlockView;)Z