Class PiglinBrain

java.lang.Object
net.minecraft.entity.mob.PiglinBrain

public class PiglinBrain extends Object
Mappings:
Namespace Name
official bxf
intermediary net/minecraft/class_4838
named net/minecraft/entity/mob/PiglinBrain
  • Field Details

    • field_30565

      public static final int field_30565
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a:I
      intermediary field_30565 Lnet/minecraft/class_4838;field_30565:I
      named field_30565 Lnet/minecraft/entity/mob/PiglinBrain;field_30565:I
    • field_30566

      public static final int field_30566
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b:I
      intermediary field_30566 Lnet/minecraft/class_4838;field_30566:I
      named field_30566 Lnet/minecraft/entity/mob/PiglinBrain;field_30566:I
    • BARTERING_ITEM

      public static final Item BARTERING_ITEM
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c:Lcfu;
      intermediary field_23826 Lnet/minecraft/class_4838;field_23826:Lnet/minecraft/class_1792;
      named BARTERING_ITEM Lnet/minecraft/entity/mob/PiglinBrain;BARTERING_ITEM:Lnet/minecraft/item/Item;
    • field_30567

      private static final int field_30567
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e:I
      intermediary field_30567 Lnet/minecraft/class_4838;field_30567:I
      named field_30567 Lnet/minecraft/entity/mob/PiglinBrain;field_30567:I
    • field_30568

      private static final int field_30568
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbxf;f:I
      intermediary field_30568 Lnet/minecraft/class_4838;field_30568:I
      named field_30568 Lnet/minecraft/entity/mob/PiglinBrain;field_30568:I
    • field_30569

      private static final int field_30569
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lbxf;g:I
      intermediary field_30569 Lnet/minecraft/class_4838;field_30569:I
      named field_30569 Lnet/minecraft/entity/mob/PiglinBrain;field_30569:I
    • field_30570

      private static final int field_30570
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lbxf;h:I
      intermediary field_30570 Lnet/minecraft/class_4838;field_30570:I
      named field_30570 Lnet/minecraft/entity/mob/PiglinBrain;field_30570:I
    • field_30571

      private static final int field_30571
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lbxf;i:I
      intermediary field_30571 Lnet/minecraft/class_4838;field_30571:I
      named field_30571 Lnet/minecraft/entity/mob/PiglinBrain;field_30571:I
    • field_30572

      private static final int field_30572
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lbxf;j:I
      intermediary field_30572 Lnet/minecraft/class_4838;field_30572:I
      named field_30572 Lnet/minecraft/entity/mob/PiglinBrain;field_30572:I
    • field_30573

      private static final int field_30573
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lbxf;k:I
      intermediary field_30573 Lnet/minecraft/class_4838;field_30573:I
      named field_30573 Lnet/minecraft/entity/mob/PiglinBrain;field_30573:I
    • HUNT_MEMORY_DURATION

      protected static final UniformIntProvider HUNT_MEMORY_DURATION
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d:Lbdi;
      intermediary field_22388 Lnet/minecraft/class_4838;field_22388:Lnet/minecraft/class_6019;
      named HUNT_MEMORY_DURATION Lnet/minecraft/entity/mob/PiglinBrain;HUNT_MEMORY_DURATION:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
    • AVOID_TARGET_EXPIRY

      private static final int AVOID_TARGET_EXPIRY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbxf;l:I
      intermediary field_30574 Lnet/minecraft/class_4838;field_30574:I
      named AVOID_TARGET_EXPIRY Lnet/minecraft/entity/mob/PiglinBrain;AVOID_TARGET_EXPIRY:I
    • ADMIRING_DISABLED_EXPIRY

      private static final int ADMIRING_DISABLED_EXPIRY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lbxf;m:I
      intermediary field_30575 Lnet/minecraft/class_4838;field_30575:I
      named ADMIRING_DISABLED_EXPIRY Lnet/minecraft/entity/mob/PiglinBrain;ADMIRING_DISABLED_EXPIRY:I
    • field_30576

      private static final int field_30576
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lbxf;n:I
      intermediary field_30576 Lnet/minecraft/class_4838;field_30576:I
      named field_30576 Lnet/minecraft/entity/mob/PiglinBrain;field_30576:I
    • MEMORY_TRANSFER_TASK_DURATION

      private static final UniformIntProvider MEMORY_TRANSFER_TASK_DURATION
      Mappings:
      Namespace Name Mixin selector
      official o Lbxf;o:Lbdi;
      intermediary field_22389 Lnet/minecraft/class_4838;field_22389:Lnet/minecraft/class_6019;
      named MEMORY_TRANSFER_TASK_DURATION Lnet/minecraft/entity/mob/PiglinBrain;MEMORY_TRANSFER_TASK_DURATION:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
    • RIDE_TARGET_MEMORY_DURATION

      private static final UniformIntProvider RIDE_TARGET_MEMORY_DURATION
      Mappings:
      Namespace Name Mixin selector
      official p Lbxf;p:Lbdi;
      intermediary field_22390 Lnet/minecraft/class_4838;field_22390:Lnet/minecraft/class_6019;
      named RIDE_TARGET_MEMORY_DURATION Lnet/minecraft/entity/mob/PiglinBrain;RIDE_TARGET_MEMORY_DURATION:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
    • AVOID_MEMORY_DURATION

      private static final UniformIntProvider AVOID_MEMORY_DURATION
      Mappings:
      Namespace Name Mixin selector
      official q Lbxf;q:Lbdi;
      intermediary field_22391 Lnet/minecraft/class_4838;field_22391:Lnet/minecraft/class_6019;
      named AVOID_MEMORY_DURATION Lnet/minecraft/entity/mob/PiglinBrain;AVOID_MEMORY_DURATION:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
    • field_30577

      private static final int field_30577
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official r Lbxf;r:I
      intermediary field_30577 Lnet/minecraft/class_4838;field_30577:I
      named field_30577 Lnet/minecraft/entity/mob/PiglinBrain;field_30577:I
    • field_30578

      private static final int field_30578
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lbxf;s:I
      intermediary field_30578 Lnet/minecraft/class_4838;field_30578:I
      named field_30578 Lnet/minecraft/entity/mob/PiglinBrain;field_30578:I
    • field_30579

      private static final int field_30579
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official t Lbxf;t:I
      intermediary field_30579 Lnet/minecraft/class_4838;field_30579:I
      named field_30579 Lnet/minecraft/entity/mob/PiglinBrain;field_30579:I
    • field_30580

      private static final int field_30580
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lbxf;u:I
      intermediary field_30580 Lnet/minecraft/class_4838;field_30580:I
      named field_30580 Lnet/minecraft/entity/mob/PiglinBrain;field_30580:I
    • field_30581

      private static final int field_30581
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official v Lbxf;v:I
      intermediary field_30581 Lnet/minecraft/class_4838;field_30581:I
      named field_30581 Lnet/minecraft/entity/mob/PiglinBrain;field_30581:I
    • field_30582

      private static final int field_30582
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official w Lbxf;w:I
      intermediary field_30582 Lnet/minecraft/class_4838;field_30582:I
      named field_30582 Lnet/minecraft/entity/mob/PiglinBrain;field_30582:I
    • field_30583

      private static final int field_30583
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official x Lbxf;x:I
      intermediary field_30583 Lnet/minecraft/class_4838;field_30583:I
      named field_30583 Lnet/minecraft/entity/mob/PiglinBrain;field_30583:I
    • CROSSBOW_ATTACK_FORWARD_MOVEMENT

      private static final float CROSSBOW_ATTACK_FORWARD_MOVEMENT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official y Lbxf;y:F
      intermediary field_30584 Lnet/minecraft/class_4838;field_30584:F
      named CROSSBOW_ATTACK_FORWARD_MOVEMENT Lnet/minecraft/entity/mob/PiglinBrain;CROSSBOW_ATTACK_FORWARD_MOVEMENT:F
    • field_30585

      private static final int field_30585
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official z Lbxf;z:I
      intermediary field_30585 Lnet/minecraft/class_4838;field_30585:I
      named field_30585 Lnet/minecraft/entity/mob/PiglinBrain;field_30585:I
    • GO_TO_ZOMBIFIED_MEMORY_DURATION

      private static final UniformIntProvider GO_TO_ZOMBIFIED_MEMORY_DURATION
      Mappings:
      Namespace Name Mixin selector
      official A Lbxf;A:Lbdi;
      intermediary field_25384 Lnet/minecraft/class_4838;field_25384:Lnet/minecraft/class_6019;
      named GO_TO_ZOMBIFIED_MEMORY_DURATION Lnet/minecraft/entity/mob/PiglinBrain;GO_TO_ZOMBIFIED_MEMORY_DURATION:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
    • GO_TO_NEMESIS_MEMORY_DURATION

      private static final UniformIntProvider GO_TO_NEMESIS_MEMORY_DURATION
      Mappings:
      Namespace Name Mixin selector
      official B Lbxf;B:Lbdi;
      intermediary field_25698 Lnet/minecraft/class_4838;field_25698:Lnet/minecraft/class_6019;
      named GO_TO_NEMESIS_MEMORY_DURATION Lnet/minecraft/entity/mob/PiglinBrain;GO_TO_NEMESIS_MEMORY_DURATION:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
    • field_30557

      private static final float field_30557
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official C Lbxf;C:F
      intermediary field_30557 Lnet/minecraft/class_4838;field_30557:F
      named field_30557 Lnet/minecraft/entity/mob/PiglinBrain;field_30557:F
    • field_30558

      private static final float field_30558
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official D Lbxf;D:F
      intermediary field_30558 Lnet/minecraft/class_4838;field_30558:F
      named field_30558 Lnet/minecraft/entity/mob/PiglinBrain;field_30558:F
    • field_30559

      private static final float field_30559
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official E Lbxf;E:F
      intermediary field_30559 Lnet/minecraft/class_4838;field_30559:F
      named field_30559 Lnet/minecraft/entity/mob/PiglinBrain;field_30559:F
    • START_RIDING_SPEED

      private static final float START_RIDING_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official F Lbxf;F:F
      intermediary field_30560 Lnet/minecraft/class_4838;field_30560:F
      named START_RIDING_SPEED Lnet/minecraft/entity/mob/PiglinBrain;START_RIDING_SPEED:F
    • field_30561

      private static final float field_30561
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official G Lbxf;G:F
      intermediary field_30561 Lnet/minecraft/class_4838;field_30561:F
      named field_30561 Lnet/minecraft/entity/mob/PiglinBrain;field_30561:F
    • field_30562

      private static final float field_30562
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official H Lbxf;H:F
      intermediary field_30562 Lnet/minecraft/class_4838;field_30562:F
      named field_30562 Lnet/minecraft/entity/mob/PiglinBrain;field_30562:F
    • field_30563

      private static final float field_30563
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official I Lbxf;I:F
      intermediary field_30563 Lnet/minecraft/class_4838;field_30563:F
      named field_30563 Lnet/minecraft/entity/mob/PiglinBrain;field_30563:F
    • field_30564

      private static final float field_30564
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official J Lbxf;J:F
      intermediary field_30564 Lnet/minecraft/class_4838;field_30564:F
      named field_30564 Lnet/minecraft/entity/mob/PiglinBrain;field_30564:F
  • Constructor Details

    • PiglinBrain

      public PiglinBrain()
  • Method Details

    • create

      protected static Brain<?> create(PiglinEntity piglin, Brain<PiglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lbha;)Lbha;
      intermediary method_24732 Lnet/minecraft/class_4838;method_24732(Lnet/minecraft/class_4836;Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
      named create Lnet/minecraft/entity/mob/PiglinBrain;create(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/ai/brain/Brain;)Lnet/minecraft/entity/ai/brain/Brain;
    • setHuntedRecently

      protected static void setHuntedRecently(PiglinEntity piglin, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lapf;)V
      intermediary method_24736 Lnet/minecraft/class_4838;method_24736(Lnet/minecraft/class_4836;Lnet/minecraft/class_5819;)V
      named setHuntedRecently Lnet/minecraft/entity/mob/PiglinBrain;setHuntedRecently(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/util/math/random/Random;)V
    • addCoreActivities

      private static void addCoreActivities(Brain<PiglinEntity> piglin)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbha;)V
      intermediary method_24725 Lnet/minecraft/class_4838;method_24725(Lnet/minecraft/class_4095;)V
      named addCoreActivities Lnet/minecraft/entity/mob/PiglinBrain;addCoreActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addIdleActivities

      private static void addIdleActivities(Brain<PiglinEntity> piglin)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbha;)V
      intermediary method_24743 Lnet/minecraft/class_4838;method_24743(Lnet/minecraft/class_4095;)V
      named addIdleActivities Lnet/minecraft/entity/mob/PiglinBrain;addIdleActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addFightActivities

      private static void addFightActivities(PiglinEntity piglin, Brain<PiglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbxe;Lbha;)V
      intermediary method_24751 Lnet/minecraft/class_4838;method_24751(Lnet/minecraft/class_4836;Lnet/minecraft/class_4095;)V
      named addFightActivities Lnet/minecraft/entity/mob/PiglinBrain;addFightActivities(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/ai/brain/Brain;)V
    • addCelebrateActivities

      private static void addCelebrateActivities(Brain<PiglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c(Lbha;)V
      intermediary method_24756 Lnet/minecraft/class_4838;method_24756(Lnet/minecraft/class_4095;)V
      named addCelebrateActivities Lnet/minecraft/entity/mob/PiglinBrain;addCelebrateActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addAdmireItemActivities

      private static void addAdmireItemActivities(Brain<PiglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d(Lbha;)V
      intermediary method_24760 Lnet/minecraft/class_4838;method_24760(Lnet/minecraft/class_4095;)V
      named addAdmireItemActivities Lnet/minecraft/entity/mob/PiglinBrain;addAdmireItemActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addAvoidActivities

      private static void addAvoidActivities(Brain<PiglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e(Lbha;)V
      intermediary method_24764 Lnet/minecraft/class_4838;method_24764(Lnet/minecraft/class_4095;)V
      named addAvoidActivities Lnet/minecraft/entity/mob/PiglinBrain;addAvoidActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addRideActivities

      private static void addRideActivities(Brain<PiglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official f Lbxf;f(Lbha;)V
      intermediary method_24768 Lnet/minecraft/class_4838;method_24768(Lnet/minecraft/class_4095;)V
      named addRideActivities Lnet/minecraft/entity/mob/PiglinBrain;addRideActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • makeFollowTasks

      private static ImmutableList<com.mojang.datafixers.util.Pair<SingleTickTask<LivingEntity>,Integer>> makeFollowTasks()
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a()Lcom/google/common/collect/ImmutableList;
      intermediary method_47272 Lnet/minecraft/class_4838;method_47272()Lcom/google/common/collect/ImmutableList;
      named makeFollowTasks Lnet/minecraft/entity/mob/PiglinBrain;makeFollowTasks()Lcom/google/common/collect/ImmutableList;
    • makeRandomFollowTask

      private static RandomTask<LivingEntity> makeRandomFollowTask()
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b()Lbjn;
      intermediary method_24717 Lnet/minecraft/class_4838;method_24717()Lnet/minecraft/class_4118;
      named makeRandomFollowTask Lnet/minecraft/entity/mob/PiglinBrain;makeRandomFollowTask()Lnet/minecraft/entity/ai/brain/task/RandomTask;
    • makeRandomWanderTask

      private static RandomTask<PiglinEntity> makeRandomWanderTask()
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c()Lbjn;
      intermediary method_24718 Lnet/minecraft/class_4838;method_24718()Lnet/minecraft/class_4118;
      named makeRandomWanderTask Lnet/minecraft/entity/mob/PiglinBrain;makeRandomWanderTask()Lnet/minecraft/entity/ai/brain/task/RandomTask;
    • makeGoToSoulFireTask

      private static Task<PathAwareEntity> makeGoToSoulFireTask()
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d()Lbhs;
      intermediary method_24738 Lnet/minecraft/class_4838;method_24738()Lnet/minecraft/class_7893;
      named makeGoToSoulFireTask Lnet/minecraft/entity/mob/PiglinBrain;makeGoToSoulFireTask()Lnet/minecraft/entity/ai/brain/task/Task;
    • goToNemesisTask

      private static Task<PiglinEntity> goToNemesisTask()
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e()Lbhs;
      intermediary method_30090 Lnet/minecraft/class_4838;method_30090()Lnet/minecraft/class_7893;
      named goToNemesisTask Lnet/minecraft/entity/mob/PiglinBrain;goToNemesisTask()Lnet/minecraft/entity/ai/brain/task/Task;
    • makeFleeFromZombifiedPiglinTask

      private static Task<PiglinEntity> makeFleeFromZombifiedPiglinTask()
      Mappings:
      Namespace Name Mixin selector
      official f Lbxf;f()Lbhs;
      intermediary method_24747 Lnet/minecraft/class_4838;method_24747()Lnet/minecraft/class_7893;
      named makeFleeFromZombifiedPiglinTask Lnet/minecraft/entity/mob/PiglinBrain;makeFleeFromZombifiedPiglinTask()Lnet/minecraft/entity/ai/brain/task/Task;
    • tickActivities

      protected static void tickActivities(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;)V
      intermediary method_24722 Lnet/minecraft/class_4838;method_24722(Lnet/minecraft/class_4836;)V
      named tickActivities Lnet/minecraft/entity/mob/PiglinBrain;tickActivities(Lnet/minecraft/entity/mob/PiglinEntity;)V
    • canRideHoglin

      private static boolean canRideHoglin(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official f Lbxf;f(Lbxe;)Z
      intermediary method_29277 Lnet/minecraft/class_4838;method_29277(Lnet/minecraft/class_4836;)Z
      named canRideHoglin Lnet/minecraft/entity/mob/PiglinBrain;canRideHoglin(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • loot

      protected static void loot(PiglinEntity piglin, ItemEntity drop)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lbvh;)V
      intermediary method_24726 Lnet/minecraft/class_4838;method_24726(Lnet/minecraft/class_4836;Lnet/minecraft/class_1542;)V
      named loot Lnet/minecraft/entity/mob/PiglinBrain;loot(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/ItemEntity;)V
    • swapItemWithOffHand

      private static void swapItemWithOffHand(PiglinEntity piglin, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c(Lbxe;Lcfz;)V
      intermediary method_30089 Lnet/minecraft/class_4838;method_30089(Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)V
      named swapItemWithOffHand Lnet/minecraft/entity/mob/PiglinBrain;swapItemWithOffHand(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/item/ItemStack;)V
    • getItemFromStack

      private static ItemStack getItemFromStack(ItemEntity stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbvh;)Lcfz;
      intermediary method_24848 Lnet/minecraft/class_4838;method_24848(Lnet/minecraft/class_1542;)Lnet/minecraft/class_1799;
      named getItemFromStack Lnet/minecraft/entity/mob/PiglinBrain;getItemFromStack(Lnet/minecraft/entity/ItemEntity;)Lnet/minecraft/item/ItemStack;
    • consumeOffHandItem

      protected static void consumeOffHandItem(PiglinEntity piglin, boolean barter)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Z)V
      intermediary method_24741 Lnet/minecraft/class_4838;method_24741(Lnet/minecraft/class_4836;Z)V
      named consumeOffHandItem Lnet/minecraft/entity/mob/PiglinBrain;consumeOffHandItem(Lnet/minecraft/entity/mob/PiglinEntity;Z)V
    • pickupItemWithOffHand

      protected static void pickupItemWithOffHand(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbxe;)V
      intermediary method_25948 Lnet/minecraft/class_4838;method_25948(Lnet/minecraft/class_4836;)V
      named pickupItemWithOffHand Lnet/minecraft/entity/mob/PiglinBrain;pickupItemWithOffHand(Lnet/minecraft/entity/mob/PiglinEntity;)V
    • barterItem

      private static void barterItem(PiglinEntity piglin, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d(Lbxe;Lcfz;)V
      intermediary method_24849 Lnet/minecraft/class_4838;method_24849(Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)V
      named barterItem Lnet/minecraft/entity/mob/PiglinBrain;barterItem(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/item/ItemStack;)V
    • doBarter

      private static void doBarter(PiglinEntity piglin, List<ItemStack> items)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Ljava/util/List;)V
      intermediary method_24772 Lnet/minecraft/class_4838;method_24772(Lnet/minecraft/class_4836;Ljava/util/List;)V
      named doBarter Lnet/minecraft/entity/mob/PiglinBrain;doBarter(Lnet/minecraft/entity/mob/PiglinEntity;Ljava/util/List;)V
    • dropBarteredItem

      private static void dropBarteredItem(PiglinEntity piglin, List<ItemStack> items)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbxe;Ljava/util/List;)V
      intermediary method_24774 Lnet/minecraft/class_4838;method_24774(Lnet/minecraft/class_4836;Ljava/util/List;)V
      named dropBarteredItem Lnet/minecraft/entity/mob/PiglinBrain;dropBarteredItem(Lnet/minecraft/entity/mob/PiglinEntity;Ljava/util/List;)V
    • dropBarteredItem

      private static void dropBarteredItem(PiglinEntity piglin, PlayerEntity player, List<ItemStack> items)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lbyo;Ljava/util/List;)V
      intermediary method_24727 Lnet/minecraft/class_4838;method_24727(Lnet/minecraft/class_4836;Lnet/minecraft/class_1657;Ljava/util/List;)V
      named dropBarteredItem Lnet/minecraft/entity/mob/PiglinBrain;dropBarteredItem(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/player/PlayerEntity;Ljava/util/List;)V
    • drop

      private static void drop(PiglinEntity piglin, List<ItemStack> items, Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Ljava/util/List;Leei;)V
      intermediary method_24731 Lnet/minecraft/class_4838;method_24731(Lnet/minecraft/class_4836;Ljava/util/List;Lnet/minecraft/class_243;)V
      named drop Lnet/minecraft/entity/mob/PiglinBrain;drop(Lnet/minecraft/entity/mob/PiglinEntity;Ljava/util/List;Lnet/minecraft/util/math/Vec3d;)V
    • getBarteredItem

      private static List<ItemStack> getBarteredItem(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official g Lbxf;g(Lbxe;)Ljava/util/List;
      intermediary method_24776 Lnet/minecraft/class_4838;method_24776(Lnet/minecraft/class_4836;)Ljava/util/List;
      named getBarteredItem Lnet/minecraft/entity/mob/PiglinBrain;getBarteredItem(Lnet/minecraft/entity/mob/PiglinEntity;)Ljava/util/List;
    • isHuntingTarget

      private static boolean isHuntingTarget(LivingEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbfz;Lbfz;)Z
      intermediary method_29276 Lnet/minecraft/class_4838;method_29276(Lnet/minecraft/class_1309;Lnet/minecraft/class_1309;)Z
      named isHuntingTarget Lnet/minecraft/entity/mob/PiglinBrain;isHuntingTarget(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • canGather

      protected static boolean canGather(PiglinEntity piglin, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lcfz;)Z
      intermediary method_24730 Lnet/minecraft/class_4838;method_24730(Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)Z
      named canGather Lnet/minecraft/entity/mob/PiglinBrain;canGather(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/item/ItemStack;)Z
    • isGoldenItem

      protected static boolean isGoldenItem(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lcfz;)Z
      intermediary method_24735 Lnet/minecraft/class_4838;method_24735(Lnet/minecraft/class_1799;)Z
      named isGoldenItem Lnet/minecraft/entity/mob/PiglinBrain;isGoldenItem(Lnet/minecraft/item/ItemStack;)Z
    • canRide

      private static boolean canRide(PiglinEntity piglin, Entity ridden)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lbfj;)Z
      intermediary method_24723 Lnet/minecraft/class_4838;method_24723(Lnet/minecraft/class_4836;Lnet/minecraft/class_1297;)Z
      named canRide Lnet/minecraft/entity/mob/PiglinBrain;canRide(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/Entity;)Z
    • isPreferredAttackTarget

      private static boolean isPreferredAttackTarget(PiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbxe;Lbfz;)Z
      intermediary method_24755 Lnet/minecraft/class_4838;method_24755(Lnet/minecraft/class_4836;Lnet/minecraft/class_1309;)Z
      named isPreferredAttackTarget Lnet/minecraft/entity/mob/PiglinBrain;isPreferredAttackTarget(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • getNearestZombifiedPiglin

      private static boolean getNearestZombifiedPiglin(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official h Lbxf;h(Lbxe;)Z
      intermediary method_29537 Lnet/minecraft/class_4838;method_29537(Lnet/minecraft/class_4836;)Z
      named getNearestZombifiedPiglin Lnet/minecraft/entity/mob/PiglinBrain;getNearestZombifiedPiglin(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • getPreferredTarget

      private static Optional<? extends LivingEntity> getPreferredTarget(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official i Lbxf;i(Lbxe;)Ljava/util/Optional;
      intermediary method_24777 Lnet/minecraft/class_4838;method_24777(Lnet/minecraft/class_4836;)Ljava/util/Optional;
      named getPreferredTarget Lnet/minecraft/entity/mob/PiglinBrain;getPreferredTarget(Lnet/minecraft/entity/mob/PiglinEntity;)Ljava/util/Optional;
    • onGuardedBlockInteracted

      public static void onGuardedBlockInteracted(PlayerEntity player, boolean blockOpen)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbyo;Z)V
      intermediary method_24733 Lnet/minecraft/class_4838;method_24733(Lnet/minecraft/class_1657;Z)V
      named onGuardedBlockInteracted Lnet/minecraft/entity/mob/PiglinBrain;onGuardedBlockInteracted(Lnet/minecraft/entity/player/PlayerEntity;Z)V
    • playerInteract

      public static ActionResult playerInteract(PiglinEntity piglin, PlayerEntity player, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lbyo;Lbdw;)Lbdx;
      intermediary method_24728 Lnet/minecraft/class_4838;method_24728(Lnet/minecraft/class_4836;Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named playerInteract Lnet/minecraft/entity/mob/PiglinBrain;playerInteract(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • isWillingToTrade

      protected static boolean isWillingToTrade(PiglinEntity piglin, ItemStack nearbyItems)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbxe;Lcfz;)Z
      intermediary method_27086 Lnet/minecraft/class_4838;method_27086(Lnet/minecraft/class_4836;Lnet/minecraft/class_1799;)Z
      named isWillingToTrade Lnet/minecraft/entity/mob/PiglinBrain;isWillingToTrade(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/item/ItemStack;)Z
    • onAttacked

      protected static void onAttacked(PiglinEntity piglin, LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lbfz;)V
      intermediary method_24724 Lnet/minecraft/class_4838;method_24724(Lnet/minecraft/class_4836;Lnet/minecraft/class_1309;)V
      named onAttacked Lnet/minecraft/entity/mob/PiglinBrain;onAttacked(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • tryRevenge

      protected static void tryRevenge(AbstractPiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxd;Lbfz;)V
      intermediary method_24759 Lnet/minecraft/class_4838;method_24759(Lnet/minecraft/class_5418;Lnet/minecraft/class_1309;)V
      named tryRevenge Lnet/minecraft/entity/mob/PiglinBrain;tryRevenge(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • getCurrentActivitySound

      public static Optional<SoundEvent> getCurrentActivitySound(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c(Lbxe;)Ljava/util/Optional;
      intermediary method_30091 Lnet/minecraft/class_4838;method_30091(Lnet/minecraft/class_4836;)Ljava/util/Optional;
      named getCurrentActivitySound Lnet/minecraft/entity/mob/PiglinBrain;getCurrentActivitySound(Lnet/minecraft/entity/mob/PiglinEntity;)Ljava/util/Optional;
    • getSound

      private static SoundEvent getSound(PiglinEntity piglin, Activity activity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxe;Lbzz;)Lamg;
      intermediary method_30087 Lnet/minecraft/class_4838;method_30087(Lnet/minecraft/class_4836;Lnet/minecraft/class_4168;)Lnet/minecraft/class_3414;
      named getSound Lnet/minecraft/entity/mob/PiglinBrain;getSound(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/ai/brain/Activity;)Lnet/minecraft/sound/SoundEvent;
    • hasTargetToAvoid

      private static boolean hasTargetToAvoid(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official j Lbxf;j(Lbxe;)Z
      intermediary method_29538 Lnet/minecraft/class_4838;method_29538(Lnet/minecraft/class_4836;)Z
      named hasTargetToAvoid Lnet/minecraft/entity/mob/PiglinBrain;hasTargetToAvoid(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • getNearbyVisiblePiglins

      protected static List<AbstractPiglinEntity> getNearbyVisiblePiglins(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d(Lbxe;)Ljava/util/List;
      intermediary method_24780 Lnet/minecraft/class_4838;method_24780(Lnet/minecraft/class_4836;)Ljava/util/List;
      named getNearbyVisiblePiglins Lnet/minecraft/entity/mob/PiglinBrain;getNearbyVisiblePiglins(Lnet/minecraft/entity/mob/PiglinEntity;)Ljava/util/List;
    • getNearbyPiglins

      private static List<AbstractPiglinEntity> getNearbyPiglins(AbstractPiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e(Lbxd;)Ljava/util/List;
      intermediary method_26350 Lnet/minecraft/class_4838;method_26350(Lnet/minecraft/class_5418;)Ljava/util/List;
      named getNearbyPiglins Lnet/minecraft/entity/mob/PiglinBrain;getNearbyPiglins(Lnet/minecraft/entity/mob/AbstractPiglinEntity;)Ljava/util/List;
    • wearsGoldArmor

      public static boolean wearsGoldArmor(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbfz;)Z
      intermediary method_24719 Lnet/minecraft/class_4838;method_24719(Lnet/minecraft/class_1309;)Z
      named wearsGoldArmor Lnet/minecraft/entity/mob/PiglinBrain;wearsGoldArmor(Lnet/minecraft/entity/LivingEntity;)Z
    • stopWalking

      private static void stopWalking(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official k Lbxf;k(Lbxe;)V
      intermediary method_24781 Lnet/minecraft/class_4838;method_24781(Lnet/minecraft/class_4836;)V
      named stopWalking Lnet/minecraft/entity/mob/PiglinBrain;stopWalking(Lnet/minecraft/entity/mob/PiglinEntity;)V
    • makeRememberRideableHoglinTask

      private static Task<LivingEntity> makeRememberRideableHoglinTask()
      Mappings:
      Namespace Name Mixin selector
      official g Lbxf;g()Lbhs;
      intermediary method_24737 Lnet/minecraft/class_4838;method_24737()Lnet/minecraft/class_7893;
      named makeRememberRideableHoglinTask Lnet/minecraft/entity/mob/PiglinBrain;makeRememberRideableHoglinTask()Lnet/minecraft/entity/ai/brain/task/Task;
    • angerAtCloserTargets

      protected static void angerAtCloserTargets(AbstractPiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbxd;Lbfz;)V
      intermediary method_24742 Lnet/minecraft/class_4838;method_24742(Lnet/minecraft/class_5418;Lnet/minecraft/class_1309;)V
      named angerAtCloserTargets Lnet/minecraft/entity/mob/PiglinBrain;angerAtCloserTargets(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • angerNearbyPiglins

      protected static void angerNearbyPiglins(AbstractPiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbxd;)V
      intermediary method_29945 Lnet/minecraft/class_4838;method_29945(Lnet/minecraft/class_5418;)V
      named angerNearbyPiglins Lnet/minecraft/entity/mob/PiglinBrain;angerNearbyPiglins(Lnet/minecraft/entity/mob/AbstractPiglinEntity;)V
    • becomeAngryWith

      protected static void becomeAngryWith(AbstractPiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c(Lbxd;Lbfz;)V
      intermediary method_24750 Lnet/minecraft/class_4838;method_24750(Lnet/minecraft/class_5418;Lnet/minecraft/class_1309;)V
      named becomeAngryWith Lnet/minecraft/entity/mob/PiglinBrain;becomeAngryWith(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • becomeAngryWithPlayer

      private static void becomeAngryWithPlayer(AbstractPiglinEntity piglin, LivingEntity player)
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d(Lbxd;Lbfz;)V
      intermediary method_29946 Lnet/minecraft/class_4838;method_29946(Lnet/minecraft/class_5418;Lnet/minecraft/class_1309;)V
      named becomeAngryWithPlayer Lnet/minecraft/entity/mob/PiglinBrain;becomeAngryWithPlayer(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • angerAtIfCloser

      private static void angerAtIfCloser(AbstractPiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e(Lbxd;Lbfz;)V
      intermediary method_24763 Lnet/minecraft/class_4838;method_24763(Lnet/minecraft/class_5418;Lnet/minecraft/class_1309;)V
      named angerAtIfCloser Lnet/minecraft/entity/mob/PiglinBrain;angerAtIfCloser(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • getAngryAt

      private static Optional<LivingEntity> getAngryAt(AbstractPiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official f Lbxf;f(Lbxd;)Ljava/util/Optional;
      intermediary method_24782 Lnet/minecraft/class_4838;method_24782(Lnet/minecraft/class_5418;)Ljava/util/Optional;
      named getAngryAt Lnet/minecraft/entity/mob/PiglinBrain;getAngryAt(Lnet/minecraft/entity/mob/AbstractPiglinEntity;)Ljava/util/Optional;
    • getAvoiding

      public static Optional<LivingEntity> getAvoiding(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e(Lbxe;)Ljava/util/Optional;
      intermediary method_29536 Lnet/minecraft/class_4838;method_29536(Lnet/minecraft/class_4836;)Ljava/util/Optional;
      named getAvoiding Lnet/minecraft/entity/mob/PiglinBrain;getAvoiding(Lnet/minecraft/entity/mob/PiglinEntity;)Ljava/util/Optional;
    • getNearestDetectedPlayer

      public static Optional<PlayerEntity> getNearestDetectedPlayer(AbstractPiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbxd;)Ljava/util/Optional;
      intermediary method_29947 Lnet/minecraft/class_4838;method_29947(Lnet/minecraft/class_5418;)Ljava/util/Optional;
      named getNearestDetectedPlayer Lnet/minecraft/entity/mob/PiglinBrain;getNearestDetectedPlayer(Lnet/minecraft/entity/mob/AbstractPiglinEntity;)Ljava/util/Optional;
    • groupRunAwayFrom

      private static void groupRunAwayFrom(PiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c(Lbxe;Lbfz;)V
      intermediary method_24767 Lnet/minecraft/class_4838;method_24767(Lnet/minecraft/class_4836;Lnet/minecraft/class_1309;)V
      named groupRunAwayFrom Lnet/minecraft/entity/mob/PiglinBrain;groupRunAwayFrom(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • runAwayFromClosestTarget

      private static void runAwayFromClosestTarget(PiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d(Lbxe;Lbfz;)V
      intermediary method_24771 Lnet/minecraft/class_4838;method_24771(Lnet/minecraft/class_4836;Lnet/minecraft/class_1309;)V
      named runAwayFromClosestTarget Lnet/minecraft/entity/mob/PiglinBrain;runAwayFromClosestTarget(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • shouldRunAwayFromHoglins

      private static boolean shouldRunAwayFromHoglins(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official l Lbxf;l(Lbxe;)Z
      intermediary method_24783 Lnet/minecraft/class_4838;method_24783(Lnet/minecraft/class_4836;)Z
      named shouldRunAwayFromHoglins Lnet/minecraft/entity/mob/PiglinBrain;shouldRunAwayFromHoglins(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • hasNoAdvantageAgainstHoglins

      private static boolean hasNoAdvantageAgainstHoglins(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official m Lbxf;m(Lbxe;)Z
      intermediary method_24784 Lnet/minecraft/class_4838;method_24784(Lnet/minecraft/class_4836;)Z
      named hasNoAdvantageAgainstHoglins Lnet/minecraft/entity/mob/PiglinBrain;hasNoAdvantageAgainstHoglins(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • hasOutnumberedHoglins

      private static boolean hasOutnumberedHoglins(PiglinEntity piglins)
      Mappings:
      Namespace Name Mixin selector
      official n Lbxf;n(Lbxe;)Z
      intermediary method_24785 Lnet/minecraft/class_4838;method_24785(Lnet/minecraft/class_4836;)Z
      named hasOutnumberedHoglins Lnet/minecraft/entity/mob/PiglinBrain;hasOutnumberedHoglins(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • runAwayFrom

      private static void runAwayFrom(PiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e(Lbxe;Lbfz;)V
      intermediary method_24773 Lnet/minecraft/class_4838;method_24773(Lnet/minecraft/class_4836;Lnet/minecraft/class_1309;)V
      named runAwayFrom Lnet/minecraft/entity/mob/PiglinBrain;runAwayFrom(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/LivingEntity;)V
    • rememberHunting

      protected static void rememberHunting(AbstractPiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c(Lbxd;)V
      intermediary method_24762 Lnet/minecraft/class_4838;method_24762(Lnet/minecraft/class_5418;)V
      named rememberHunting Lnet/minecraft/entity/mob/PiglinBrain;rememberHunting(Lnet/minecraft/entity/mob/AbstractPiglinEntity;)V
    • setEatenRecently

      private static void setEatenRecently(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official o Lbxf;o(Lbxe;)V
      intermediary method_24787 Lnet/minecraft/class_4838;method_24787(Lnet/minecraft/class_4836;)V
      named setEatenRecently Lnet/minecraft/entity/mob/PiglinBrain;setEatenRecently(Lnet/minecraft/entity/mob/PiglinEntity;)V
    • findGround

      private static Vec3d findGround(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official p Lbxf;p(Lbxe;)Leei;
      intermediary method_24788 Lnet/minecraft/class_4838;method_24788(Lnet/minecraft/class_4836;)Lnet/minecraft/class_243;
      named findGround Lnet/minecraft/entity/mob/PiglinBrain;findGround(Lnet/minecraft/entity/mob/PiglinEntity;)Lnet/minecraft/util/math/Vec3d;
    • hasAteRecently

      private static boolean hasAteRecently(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official q Lbxf;q(Lbxe;)Z
      intermediary method_24789 Lnet/minecraft/class_4838;method_24789(Lnet/minecraft/class_4836;)Z
      named hasAteRecently Lnet/minecraft/entity/mob/PiglinBrain;hasAteRecently(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • hasIdleActivity

      protected static boolean hasIdleActivity(AbstractPiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d(Lbxd;)Z
      intermediary method_24766 Lnet/minecraft/class_4838;method_24766(Lnet/minecraft/class_5418;)Z
      named hasIdleActivity Lnet/minecraft/entity/mob/PiglinBrain;hasIdleActivity(Lnet/minecraft/entity/mob/AbstractPiglinEntity;)Z
    • isHoldingCrossbow

      private static boolean isHoldingCrossbow(LivingEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c(Lbfz;)Z
      intermediary method_24748 Lnet/minecraft/class_4838;method_24748(Lnet/minecraft/class_1309;)Z
      named isHoldingCrossbow Lnet/minecraft/entity/mob/PiglinBrain;isHoldingCrossbow(Lnet/minecraft/entity/LivingEntity;)Z
    • setAdmiringItem

      private static void setAdmiringItem(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official d Lbxf;d(Lbfz;)V
      intermediary method_24753 Lnet/minecraft/class_4838;method_24753(Lnet/minecraft/class_1309;)V
      named setAdmiringItem Lnet/minecraft/entity/mob/PiglinBrain;setAdmiringItem(Lnet/minecraft/entity/LivingEntity;)V
    • isAdmiringItem

      private static boolean isAdmiringItem(PiglinEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official r Lbxf;r(Lbxe;)Z
      intermediary method_24790 Lnet/minecraft/class_4838;method_24790(Lnet/minecraft/class_4836;)Z
      named isAdmiringItem Lnet/minecraft/entity/mob/PiglinBrain;isAdmiringItem(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • acceptsForBarter

      private static boolean acceptsForBarter(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lcfz;)Z
      intermediary method_24746 Lnet/minecraft/class_4838;method_24746(Lnet/minecraft/class_1799;)Z
      named acceptsForBarter Lnet/minecraft/entity/mob/PiglinBrain;acceptsForBarter(Lnet/minecraft/item/ItemStack;)Z
    • isFood

      private static boolean isFood(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official c Lbxf;c(Lcfz;)Z
      intermediary method_24752 Lnet/minecraft/class_4838;method_24752(Lnet/minecraft/class_1799;)Z
      named isFood Lnet/minecraft/entity/mob/PiglinBrain;isFood(Lnet/minecraft/item/ItemStack;)Z
    • hasSoulFireNearby

      private static boolean hasSoulFireNearby(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official s Lbxf;s(Lbxe;)Z
      intermediary method_24791 Lnet/minecraft/class_4838;method_24791(Lnet/minecraft/class_4836;)Z
      named hasSoulFireNearby Lnet/minecraft/entity/mob/PiglinBrain;hasSoulFireNearby(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • hasPlayerHoldingWantedItemNearby

      private static boolean hasPlayerHoldingWantedItemNearby(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official e Lbxf;e(Lbfz;)Z
      intermediary method_24761 Lnet/minecraft/class_4838;method_24761(Lnet/minecraft/class_1309;)Z
      named hasPlayerHoldingWantedItemNearby Lnet/minecraft/entity/mob/PiglinBrain;hasPlayerHoldingWantedItemNearby(Lnet/minecraft/entity/LivingEntity;)Z
    • canWander

      private static boolean canWander(LivingEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official f Lbxf;f(Lbfz;)Z
      intermediary method_24765 Lnet/minecraft/class_4838;method_24765(Lnet/minecraft/class_1309;)Z
      named canWander Lnet/minecraft/entity/mob/PiglinBrain;canWander(Lnet/minecraft/entity/LivingEntity;)Z
    • isGoldHoldingPlayer

      public static boolean isGoldHoldingPlayer(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official b Lbxf;b(Lbfz;)Z
      intermediary method_24739 Lnet/minecraft/class_4838;method_24739(Lnet/minecraft/class_1309;)Z
      named isGoldHoldingPlayer Lnet/minecraft/entity/mob/PiglinBrain;isGoldHoldingPlayer(Lnet/minecraft/entity/LivingEntity;)Z
    • hasBeenHitByPlayer

      private static boolean hasBeenHitByPlayer(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official t Lbxf;t(Lbxe;)Z
      intermediary method_24714 Lnet/minecraft/class_4838;method_24714(Lnet/minecraft/class_4836;)Z
      named hasBeenHitByPlayer Lnet/minecraft/entity/mob/PiglinBrain;hasBeenHitByPlayer(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • hasBeenHurt

      private static boolean hasBeenHurt(LivingEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official g Lbxf;g(Lbfz;)Z
      intermediary method_24769 Lnet/minecraft/class_4838;method_24769(Lnet/minecraft/class_1309;)Z
      named hasBeenHurt Lnet/minecraft/entity/mob/PiglinBrain;hasBeenHurt(Lnet/minecraft/entity/LivingEntity;)Z
    • hasItemInOffHand

      private static boolean hasItemInOffHand(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official u Lbxf;u(Lbxe;)Z
      intermediary method_24917 Lnet/minecraft/class_4838;method_24917(Lnet/minecraft/class_4836;)Z
      named hasItemInOffHand Lnet/minecraft/entity/mob/PiglinBrain;hasItemInOffHand(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • doesNotHaveGoldInOffHand

      private static boolean doesNotHaveGoldInOffHand(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official v Lbxf;v(Lbxe;)Z
      intermediary method_24850 Lnet/minecraft/class_4838;method_24850(Lnet/minecraft/class_4836;)Z
      named doesNotHaveGoldInOffHand Lnet/minecraft/entity/mob/PiglinBrain;doesNotHaveGoldInOffHand(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • isZombified

      public static boolean isZombified(EntityType<?> entityType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbxf;a(Lbfn;)Z
      intermediary method_29534 Lnet/minecraft/class_4838;method_29534(Lnet/minecraft/class_1299;)Z
      named isZombified Lnet/minecraft/entity/mob/PiglinBrain;isZombified(Lnet/minecraft/entity/EntityType;)Z