Class PiglinBrain

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

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

    • field_30565

      public static final int field_30565
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lbja;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 Lbja;c:Lbql;
      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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Lbja;d: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official e Lbja;e: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official f Lbja;f: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official g Lbja;g: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official h Lbja;h: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official i Lbja;i: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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official j Lbja;j: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

      private static final UniformIntProvider HUNT_MEMORY_DURATION
      Mappings:
      Namespace Name Mixin selector
      official k Lbja;k:Larm;
      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;
    • field_30574

      private static final int field_30574
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official l Lbja;l:I
      intermediary field_30574 Lnet/minecraft/class_4838;field_30574:I
      named field_30574 Lnet/minecraft/entity/mob/PiglinBrain;field_30574:I
    • field_30575

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

      private static final int field_30576
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official n Lbja;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 Lbja;o:Larm;
      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 Lbja;p:Larm;
      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 Lbja;q:Larm;
      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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official r Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official s Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official t Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official u Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official v Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official w Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official x Lbja;x:I
      intermediary field_30583 Lnet/minecraft/class_4838;field_30583:I
      named field_30583 Lnet/minecraft/entity/mob/PiglinBrain;field_30583:I
    • field_30584

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

      private static final int field_30585
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official z Lbja;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 Lbja;A:Larm;
      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 Lbja;B:Larm;
      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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official C Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official D Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official E Lbja;E:F
      intermediary field_30559 Lnet/minecraft/class_4838;field_30559:F
      named field_30559 Lnet/minecraft/entity/mob/PiglinBrain;field_30559:F
    • field_30560

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

      private static final float field_30561
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official G Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official H Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official I Lbja;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:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official J Lbja;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 Lbja;a(Lbiz;Lauo;)Lauo;
      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)
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;a(Lbiz;)V
      intermediary method_24736 Lnet/minecraft/class_4838;method_24736(Lnet/minecraft/class_4836;)V
      named setHuntedRecently Lnet/minecraft/entity/mob/PiglinBrain;setHuntedRecently(Lnet/minecraft/entity/mob/PiglinEntity;)V
    • addCoreActivities

      private static void addCoreActivities(Brain<PiglinEntity> piglin)
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;a(Lauo;)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 Lbja;b(Lauo;)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 Lbja;b(Lbiz;Lauo;)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 Lbja;c(Lauo;)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 Lbja;d(Lauo;)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 Lbja;e(Lauo;)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 Lbja;f(Lauo;)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
    • makeRandomFollowTask

      private static RandomTask<PiglinEntity> makeRandomFollowTask()
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;a()Laxa;
      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 b Lbja;b()Laxa;
      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 GoToRememberedPositionTask<BlockPos> makeGoToSoulFireTask()
      Mappings:
      Namespace Name Mixin selector
      official c Lbja;c()Laxh;
      intermediary method_24738 Lnet/minecraft/class_4838;method_24738()Lnet/minecraft/class_4121;
      named makeGoToSoulFireTask Lnet/minecraft/entity/mob/PiglinBrain;makeGoToSoulFireTask()Lnet/minecraft/entity/ai/brain/task/GoToRememberedPositionTask;
    • goToNemesisTask

      private static MemoryTransferTask<PiglinEntity,​LivingEntity> goToNemesisTask()
      Mappings:
      Namespace Name Mixin selector
      official d Lbja;d()Lavk;
      intermediary method_30090 Lnet/minecraft/class_4838;method_30090()Lnet/minecraft/class_4809;
      named goToNemesisTask Lnet/minecraft/entity/mob/PiglinBrain;goToNemesisTask()Lnet/minecraft/entity/ai/brain/task/MemoryTransferTask;
    • makeGoToZombifiedPiglinTask

      private static MemoryTransferTask<PiglinEntity,​LivingEntity> makeGoToZombifiedPiglinTask()
      Mappings:
      Namespace Name Mixin selector
      official e Lbja;e()Lavk;
      intermediary method_24747 Lnet/minecraft/class_4838;method_24747()Lnet/minecraft/class_4809;
      named makeGoToZombifiedPiglinTask Lnet/minecraft/entity/mob/PiglinBrain;makeGoToZombifiedPiglinTask()Lnet/minecraft/entity/ai/brain/task/MemoryTransferTask;
    • tickActivities

      protected static void tickActivities(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official b Lbja;b(Lbiz;)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 h Lbja;h(Lbiz;)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 Lbja;a(Lbiz;Lbhc;)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 Lbja;c(Lbiz;Lbqp;)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 Lbja;a(Lbhc;)Lbqp;
      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 Lbja;a(Lbiz;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 c Lbja;c(Lbiz;)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 Lbja;d(Lbiz;Lbqp;)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> list)
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;a(Lbiz;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> list)
      Mappings:
      Namespace Name Mixin selector
      official b Lbja;b(Lbiz;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> list)
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;a(Lbiz;Lbkd;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> list, Vec3d vec3d)
      Mappings:
      Namespace Name Mixin selector
      official a Lbja;a(Lbiz;Ljava/util/List;Ldna;)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 i Lbja;i(Lbiz;)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 Lbja;a(Latt;Latt;)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 Lbja;a(Lbiz;Lbqp;)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 Lbja;a(Lbqp;)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 Lbja;a(Lbiz;Latf;)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 Lbja;b(Lbiz;Latt;)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 j Lbja;j(Lbiz;)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 k Lbja;k(Lbiz;)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 Lbja;a(Lbkd;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 Lbja;a(Lbiz;Lbkd;Larz;)Lasa;
      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 Lbja;b(Lbiz;Lbqp;)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 Lbja;a(Lbiz;Latt;)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 Lbja;a(Lbiy;Latt;)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 d Lbja;d(Lbiz;)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 Lbja;a(Lbiz;Lblm;)Lafd;
      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 l Lbja;l(Lbiz;)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
    • haveHuntedHoglinsRecently

      protected static boolean haveHuntedHoglinsRecently(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official e Lbja;e(Lbiz;)Z
      intermediary method_24754 Lnet/minecraft/class_4838;method_24754(Lnet/minecraft/class_4836;)Z
      named haveHuntedHoglinsRecently Lnet/minecraft/entity/mob/PiglinBrain;haveHuntedHoglinsRecently(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • getNearbyVisiblePiglins

      private static List<AbstractPiglinEntity> getNearbyVisiblePiglins(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official m Lbja;m(Lbiz;)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 Lbja;e(Lbiy;)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 Lbja;a(Latt;)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 n Lbja;n(Lbiz;)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 TimeLimitedTask<PiglinEntity> makeRememberRideableHoglinTask()
      Mappings:
      Namespace Name Mixin selector
      official f Lbja;f()Laxb;
      intermediary method_24737 Lnet/minecraft/class_4838;method_24737()Lnet/minecraft/class_4821;
      named makeRememberRideableHoglinTask Lnet/minecraft/entity/mob/PiglinBrain;makeRememberRideableHoglinTask()Lnet/minecraft/entity/ai/brain/task/TimeLimitedTask;
    • angerAtCloserTargets

      protected static void angerAtCloserTargets(AbstractPiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official b Lbja;b(Lbiy;Latt;)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 Lbja;a(Lbiy;)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
    • rememberGroupHunting

      protected static void rememberGroupHunting(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official f Lbja;f(Lbiz;)V
      intermediary method_24758 Lnet/minecraft/class_4838;method_24758(Lnet/minecraft/class_4836;)V
      named rememberGroupHunting Lnet/minecraft/entity/mob/PiglinBrain;rememberGroupHunting(Lnet/minecraft/entity/mob/PiglinEntity;)V
    • becomeAngryWith

      protected static void becomeAngryWith(AbstractPiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official c Lbja;c(Lbiy;Latt;)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 Lbja;d(Lbiy;Latt;)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 Lbja;e(Lbiy;Latt;)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 Lbja;f(Lbiy;)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 g Lbja;g(Lbiz;)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 Lbja;b(Lbiy;)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 Lbja;c(Lbiz;Latt;)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 Lbja;d(Lbiz;Latt;)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 o Lbja;o(Lbiz;)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 p Lbja;p(Lbiz;)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 q Lbja;q(Lbiz;)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 Lbja;e(Lbiz;Latt;)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 Lbja;c(Lbiy;)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
    • method_35197

      private static boolean method_35197(PiglinEntity piglinEntity)
      Mappings:
      Namespace Name Mixin selector
      official r Lbja;r(Lbiz;)Z
      intermediary method_35197 Lnet/minecraft/class_4838;method_35197(Lnet/minecraft/class_4836;)Z
      named method_35197 Lnet/minecraft/entity/mob/PiglinBrain;method_35197(Lnet/minecraft/entity/mob/PiglinEntity;)Z
    • setEatenRecently

      private static void setEatenRecently(PiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official s Lbja;s(Lbiz;)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 t Lbja;t(Lbiz;)Ldna;
      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 u Lbja;u(Lbiz;)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 Lbja;d(Lbiy;)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 Lbja;c(Latt;)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 Lbja;d(Latt;)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 v Lbja;v(Lbiz;)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 Lbja;b(Lbqp;)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 Lbja;c(Lbqp;)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 w Lbja;w(Lbiz;)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 Lbja;e(Latt;)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 Lbja;f(Latt;)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 Lbja;b(Latt;)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 x Lbja;x(Lbiz;)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 Lbja;g(Latt;)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 y Lbja;y(Lbiz;)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 z Lbja;z(Lbiz;)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 Lbja;a(Latj;)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