Class PiglinBrain

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

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

    • field_30565

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    • PiglinBrain

      public PiglinBrain()
  • Method Details

    • create

      protected static Brain<?> create(PiglinEntity piglin, Brain<PiglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      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;
      intermediary method_24732 Lnet/minecraft/class_4838;method_24732(Lnet/minecraft/class_4836;Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
      official a Lclp;a(Lclo;Lbus;)Lbus;
    • setHuntedRecently

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      private static void dropBarteredItem(PiglinEntity piglin, PlayerEntity player, List<ItemStack> items)
      Mappings:
      Namespace Name Mixin selector
      named dropBarteredItem Lnet/minecraft/entity/mob/PiglinBrain;dropBarteredItem(Lnet/minecraft/entity/mob/PiglinEntity;Lnet/minecraft/entity/player/PlayerEntity;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
      official a Lclp;a(Lclo;Lcmy;Ljava/util/List;)V
    • drop

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

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

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

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

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

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

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

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

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

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

      public static ActionResult playerInteract(PiglinEntity piglin, PlayerEntity player, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lclp;a(Lclo;Lcmy;Lbqu;)Lbqv;
    • isWillingToTrade

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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