Class PiglinBruteBrain

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

public class PiglinBruteBrain extends Object
Mappings:
Namespace Name
named net/minecraft/entity/mob/PiglinBruteBrain
intermediary net/minecraft/class_5420
official cop
  • Field Details

    • ANGRY_AT_EXPIRY

      private static final int ANGRY_AT_EXPIRY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ANGRY_AT_EXPIRY Lnet/minecraft/entity/mob/PiglinBruteBrain;ANGRY_AT_EXPIRY:I
      intermediary field_30589 Lnet/minecraft/class_5420;field_30589:I
      official a Lcop;a:I
    • MELEE_ATTACK_COOLDOWN

      private static final int MELEE_ATTACK_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MELEE_ATTACK_COOLDOWN Lnet/minecraft/entity/mob/PiglinBruteBrain;MELEE_ATTACK_COOLDOWN:I
      intermediary field_30590 Lnet/minecraft/class_5420;field_30590:I
      official b Lcop;b:I
    • field_30591

      private static final double field_30591
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30591 Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30591:D
      intermediary field_30591 Lnet/minecraft/class_5420;field_30591:D
      official c Lcop;c:D
    • field_30592

      private static final int field_30592
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30592 Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30592:I
      intermediary field_30592 Lnet/minecraft/class_5420;field_30592:I
      official d Lcop;d:I
    • field_30593

      private static final int field_30593
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30593 Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30593:I
      intermediary field_30593 Lnet/minecraft/class_5420;field_30593:I
      official e Lcop;e:I
    • field_30595

      private static final float field_30595
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30595 Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30595:F
      intermediary field_30595 Lnet/minecraft/class_5420;field_30595:F
      official f Lcop;f:F
    • field_30596

      private static final int field_30596
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30596 Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30596:I
      intermediary field_30596 Lnet/minecraft/class_5420;field_30596:I
      official g Lcop;g:I
    • field_30597

      private static final int field_30597
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30597 Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30597:I
      intermediary field_30597 Lnet/minecraft/class_5420;field_30597:I
      official h Lcop;h:I
    • field_30598

      private static final int field_30598
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30598 Lnet/minecraft/entity/mob/PiglinBruteBrain;field_30598:I
      intermediary field_30598 Lnet/minecraft/class_5420;field_30598:I
      official i Lcop;i:I
  • Constructor Details

    • PiglinBruteBrain

      public PiglinBruteBrain()
  • Method Details

    • create

      protected static Brain<?> create(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/mob/PiglinBruteBrain;create(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/ai/brain/Brain;)Lnet/minecraft/entity/ai/brain/Brain;
      intermediary method_30252 Lnet/minecraft/class_5420;method_30252(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
      official a Lcop;a(Lcoo;Lbxh;)Lbxh;
    • setCurrentPosAsHome

      protected static void setCurrentPosAsHome(PiglinBruteEntity piglinBrute)
      Mappings:
      Namespace Name Mixin selector
      named setCurrentPosAsHome Lnet/minecraft/entity/mob/PiglinBruteBrain;setCurrentPosAsHome(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
      intermediary method_30250 Lnet/minecraft/class_5420;method_30250(Lnet/minecraft/class_5419;)V
      official a Lcop;a(Lcoo;)V
    • addCoreActivities

      private static void addCoreActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named addCoreActivities Lnet/minecraft/entity/mob/PiglinBruteBrain;addCoreActivities(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/ai/brain/Brain;)V
      intermediary method_30257 Lnet/minecraft/class_5420;method_30257(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)V
      official b Lcop;b(Lcoo;Lbxh;)V
    • addIdleActivities

      private static void addIdleActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named addIdleActivities Lnet/minecraft/entity/mob/PiglinBruteBrain;addIdleActivities(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/ai/brain/Brain;)V
      intermediary method_30260 Lnet/minecraft/class_5420;method_30260(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)V
      official c Lcop;c(Lcoo;Lbxh;)V
    • addFightActivities

      private static void addFightActivities(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named addFightActivities Lnet/minecraft/entity/mob/PiglinBruteBrain;addFightActivities(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/ai/brain/Brain;)V
      intermediary method_30262 Lnet/minecraft/class_5420;method_30262(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)V
      official d Lcop;d(Lcoo;Lbxh;)V
    • getFollowTasks

      private static RandomTask<PiglinBruteEntity> getFollowTasks()
      Mappings:
      Namespace Name Mixin selector
      named getFollowTasks Lnet/minecraft/entity/mob/PiglinBruteBrain;getFollowTasks()Lnet/minecraft/entity/ai/brain/task/RandomTask;
      intermediary method_30244 Lnet/minecraft/class_5420;method_30244()Lnet/minecraft/class_4118;
      official a Lcop;a()Lbzv;
    • getIdleTasks

      private static RandomTask<PiglinBruteEntity> getIdleTasks()
      Mappings:
      Namespace Name Mixin selector
      named getIdleTasks Lnet/minecraft/entity/mob/PiglinBruteBrain;getIdleTasks()Lnet/minecraft/entity/ai/brain/task/RandomTask;
      intermediary method_30254 Lnet/minecraft/class_5420;method_30254()Lnet/minecraft/class_4118;
      official b Lcop;b()Lbzv;
    • tick

      protected static void tick(PiglinBruteEntity piglinBrute)
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/mob/PiglinBruteBrain;tick(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
      intermediary method_30256 Lnet/minecraft/class_5420;method_30256(Lnet/minecraft/class_5419;)V
      official b Lcop;b(Lcoo;)V
    • isTarget

      private static boolean isTarget(ServerWorld world, AbstractPiglinEntity piglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named isTarget Lnet/minecraft/entity/mob/PiglinBruteBrain;isTarget(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_30248 Lnet/minecraft/class_5420;method_30248(Lnet/minecraft/class_3218;Lnet/minecraft/class_5418;Lnet/minecraft/class_1309;)Z
      official a Lcop;a(Lash;Lcoj;Lbwf;)Z
    • getTarget

      private static Optional<? extends LivingEntity> getTarget(ServerWorld world, AbstractPiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      named getTarget Lnet/minecraft/entity/mob/PiglinBruteBrain;getTarget(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/AbstractPiglinEntity;)Ljava/util/Optional;
      intermediary method_30247 Lnet/minecraft/class_5420;method_30247(Lnet/minecraft/class_3218;Lnet/minecraft/class_5418;)Ljava/util/Optional;
      official a Lcop;a(Lash;Lcoj;)Ljava/util/Optional;
    • tryRevenge

      protected static void tryRevenge(ServerWorld world, PiglinBruteEntity piglinBrute, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named tryRevenge Lnet/minecraft/entity/mob/PiglinBruteBrain;tryRevenge(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_30251 Lnet/minecraft/class_5420;method_30251(Lnet/minecraft/class_3218;Lnet/minecraft/class_5419;Lnet/minecraft/class_1309;)V
      official a Lcop;a(Lash;Lcoo;Lbwf;)V
    • setTarget

      protected static void setTarget(PiglinBruteEntity piglinBrute, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named setTarget Lnet/minecraft/entity/mob/PiglinBruteBrain;setTarget(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_35198 Lnet/minecraft/class_5420;method_35198(Lnet/minecraft/class_5419;Lnet/minecraft/class_1309;)V
      official a Lcop;a(Lcoo;Lbwf;)V
    • playSoundRandomly

      protected static void playSoundRandomly(PiglinBruteEntity piglinBrute)
      Mappings:
      Namespace Name Mixin selector
      named playSoundRandomly Lnet/minecraft/entity/mob/PiglinBruteBrain;playSoundRandomly(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
      intermediary method_30258 Lnet/minecraft/class_5420;method_30258(Lnet/minecraft/class_5419;)V
      official c Lcop;c(Lcoo;)V
    • playSoundIfAngry

      private static void playSoundIfAngry(PiglinBruteEntity piglinBrute)
      Mappings:
      Namespace Name Mixin selector
      named playSoundIfAngry Lnet/minecraft/entity/mob/PiglinBruteBrain;playSoundIfAngry(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
      intermediary method_30261 Lnet/minecraft/class_5420;method_30261(Lnet/minecraft/class_5419;)V
      official d Lcop;d(Lcoo;)V