Class PiglinBruteEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

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

    • MAX_HEALTH

      private static final int MAX_HEALTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bW Lbni;bW:I
      intermediary field_30586 Lnet/minecraft/class_5419;field_30586:I
      named MAX_HEALTH Lnet/minecraft/entity/mob/PiglinBruteEntity;MAX_HEALTH:I
    • MOVEMENT_SPEED

      private static final float MOVEMENT_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bX Lbni;bX:F
      intermediary field_30587 Lnet/minecraft/class_5419;field_30587:F
      named MOVEMENT_SPEED Lnet/minecraft/entity/mob/PiglinBruteEntity;MOVEMENT_SPEED:F
    • ATTACK_DAMAGE

      private static final int ATTACK_DAMAGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bY Lbni;bY:I
      intermediary field_30588 Lnet/minecraft/class_5419;field_30588:I
      named ATTACK_DAMAGE Lnet/minecraft/entity/mob/PiglinBruteEntity;ATTACK_DAMAGE:I
    • SENSOR_TYPES

      protected static final ImmutableList<SensorType<? extends Sensor<? super PiglinBruteEntity>>> SENSOR_TYPES
      Mappings:
      Namespace Name Mixin selector
      official e Lbni;e: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 bV Lbni;bV: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> Laxk;<init>(Laxo;Lcav;)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 fF Lbni;fF()Layy$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 @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Overrides:
      initialize in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laya;a(Lcbk;Lawf;Layc;Layq;Lok;)Layq;
      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/NbtCompound;)Lnet/minecraft/entity/EntityData;
    • initEquipment

      protected void initEquipment(LocalDifficulty difficulty)
      Overrides:
      initEquipment in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laya;a(Lawf;)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 dv Laxy;dv()Layt$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 Laxy;a(Lcom/mojang/serialization/Dynamic;)Layt;
      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 du Laxy;du()Layt;
      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 n Lbne;n()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 l Laya;l(Lbuw;)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 R Laya;R()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • getActivity

      public PiglinActivity getActivity()
      Specified by:
      getActivity in class AbstractPiglinEntity
      Mappings:
      Namespace Name Mixin selector
      official fA Lbne;fA()Lbnh;
      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 Laxk;a(Lawu;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 r Laya;r()Lahj;
      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 Laxy;c(Lawu;)Lahj;
      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 x_ Laxy;x_()Lahj;
      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 Laxk;b(Lgj;Lcov;)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 fG Lbni;fG()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 fC Lbne;fC()V
      intermediary method_30238 Lnet/minecraft/class_5418;method_30238()V
      named playZombificationSound Lnet/minecraft/entity/mob/AbstractPiglinEntity;playZombificationSound()V