Class PiglinBruteEntity

All Implemented Interfaces:
EntityLike, Monster, CommandOutput, Nameable

public class PiglinBruteEntity
extends AbstractPiglinEntity
Mappings:
Namespace Name
official bgk
intermediary net/minecraft/class_5419
named net/minecraft/entity/mob/PiglinBruteEntity
  • Field Details

    • SENSOR_TYPES

      protected static final ImmutableList<SensorType<? extends Sensor<? super PiglinBruteEntity>>> SENSOR_TYPES
      Mappings:
      Namespace Name Mixin selector
      official d Lbgk;d:Lcom/google/common/collect/ImmutableList;
      intermediary field_25761 Lnet/minecraft/class_5419;field_25761:Lcom/google/common/collect/ImmutableList;
      named SENSOR_TYPES Lnet/minecraft/entity/mob/PiglinBruteEntity;SENSOR_TYPES:Lcom/google/common/collect/ImmutableList;
    • MEMORY_MODULE_TYPES

      protected static final ImmutableList<MemoryModuleType<?>> MEMORY_MODULE_TYPES
      Mappings:
      Namespace Name Mixin selector
      official bm Lbgk;bm:Lcom/google/common/collect/ImmutableList;
      intermediary field_25760 Lnet/minecraft/class_5419;field_25760:Lcom/google/common/collect/ImmutableList;
      named MEMORY_MODULE_TYPES Lnet/minecraft/entity/mob/PiglinBruteEntity;MEMORY_MODULE_TYPES:Lcom/google/common/collect/ImmutableList;
  • Constructor Details

    • PiglinBruteEntity

      public PiglinBruteEntity​(EntityType<? extends PiglinBruteEntity> 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

    • createPiglinBruteAttributes

      public static DefaultAttributeContainer.Builder createPiglinBruteAttributes()
      Mappings:
      Namespace Name Mixin selector
      official fr Lbgk;fr()Lash$a;
      intermediary method_30242 Lnet/minecraft/class_5419;method_30242()Lnet/minecraft/class_5132$class_5133;
      named createPiglinBruteAttributes Lnet/minecraft/entity/mob/PiglinBruteEntity;createPiglinBruteAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • initialize

      @Nullable public EntityData initialize​(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable EntityData entityData, @Nullable CompoundTag entityTag)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Larj;a(Lbuj;Lapo;Larl;Larz;Lmq;)Larz;
      intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/entity/EntityData;
    • initEquipment

      protected void initEquipment​(LocalDifficulty difficulty)
      Overrides:
      initEquipment in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Larj;a(Lapo;)V
      intermediary method_5964 Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_1266;)V
      named initEquipment Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
    • createBrainProfile

      protected Brain.Profile<PiglinBruteEntity> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dg Lari;dg()Lasc$b;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
    • deserializeBrain

      protected Brain<?> deserializeBrain​(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lari;a(Lcom/mojang/serialization/Dynamic;)Lasc;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
    • getBrain

      public Brain<PiglinBruteEntity> getBrain()
      Overrides:
      getBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official df Lari;df()Lasc;
      intermediary method_18868 Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
      named getBrain Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
    • canHunt

      public boolean canHunt()
      Specified by:
      canHunt in class AbstractPiglinEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lbgg;m()Z
      intermediary method_26952 Lnet/minecraft/class_5418;method_26952()Z
      named canHunt Lnet/minecraft/entity/mob/AbstractPiglinEntity;canHunt()Z
    • canGather

      public boolean canGather​(ItemStack stack)
      Overrides:
      canGather in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official j Larj;j(Lbnv;)Z
      intermediary method_20820 Lnet/minecraft/class_1308;method_20820(Lnet/minecraft/class_1799;)Z
      named canGather Lnet/minecraft/entity/mob/MobEntity;canGather(Lnet/minecraft/item/ItemStack;)Z
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class AbstractPiglinEntity
      Mappings:
      Namespace Name Mixin selector
      official eN Larj;eN()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • getActivity

      @Environment(CLIENT) public PiglinActivity getActivity()
      Specified by:
      getActivity in class AbstractPiglinEntity
      Mappings:
      Namespace Name Mixin selector
      official fm Lbgg;fm()Lbgj;
      intermediary method_24705 Lnet/minecraft/class_5418;method_24705()Lnet/minecraft/class_4837;
      named getActivity Lnet/minecraft/entity/mob/AbstractPiglinEntity;getActivity()Lnet/minecraft/entity/mob/PiglinActivity;
    • damage

      public boolean damage​(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laqv;a(Laqf;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • getAmbientSound

      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

      protected SoundEvent getHurtSound​(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      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

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      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;
    • playStepSound

      protected void playStepSound​(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Laqv;b(Lfx;Lcht;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • playAngrySound

      protected void playAngrySound()
      Mappings:
      Namespace Name Mixin selector
      official fs Lbgk;fs()V
      intermediary method_30243 Lnet/minecraft/class_5419;method_30243()V
      named playAngrySound Lnet/minecraft/entity/mob/PiglinBruteEntity;playAngrySound()V
    • playZombificationSound

      protected void playZombificationSound()
      Specified by:
      playZombificationSound in class AbstractPiglinEntity
      Mappings:
      Namespace Name Mixin selector
      official fo Lbgg;fo()V
      intermediary method_30238 Lnet/minecraft/class_5418;method_30238()V
      named playZombificationSound Lnet/minecraft/entity/mob/AbstractPiglinEntity;playZombificationSound()V