Class PiglinBruteBrain

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

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

    • PiglinBruteBrain

      public PiglinBruteBrain()
  • Method Details

    • create

      protected static Brain<?> create​(PiglinBruteEntity piglinBrute, Brain<PiglinBruteEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl;a(Lbgk;Lasc;)Lasc;
      intermediary method_30252 Lnet/minecraft/class_5420;method_30252(Lnet/minecraft/class_5419;Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
      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;
    • setCurrentPosAsHome

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

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

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

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

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

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

      protected static void method_30256​(PiglinBruteEntity piglinBrute)
      Mappings:
      Namespace Name Mixin selector
      official b Lbgl;b(Lbgk;)V
      intermediary method_30256 Lnet/minecraft/class_5420;method_30256(Lnet/minecraft/class_5419;)V
      named method_30256 Lnet/minecraft/entity/mob/PiglinBruteBrain;method_30256(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
    • method_30248

      private static boolean method_30248​(AbstractPiglinEntity piglin, LivingEntity livingEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl;a(Lbgg;Lari;)Z
      intermediary method_30248 Lnet/minecraft/class_5420;method_30248(Lnet/minecraft/class_5418;Lnet/minecraft/class_1309;)Z
      named method_30248 Lnet/minecraft/entity/mob/PiglinBruteBrain;method_30248(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/LivingEntity;)Z
    • method_30247

      private static Optional<? extends LivingEntity> method_30247​(AbstractPiglinEntity piglin)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl;a(Lbgg;)Ljava/util/Optional;
      intermediary method_30247 Lnet/minecraft/class_5420;method_30247(Lnet/minecraft/class_5418;)Ljava/util/Optional;
      named method_30247 Lnet/minecraft/entity/mob/PiglinBruteBrain;method_30247(Lnet/minecraft/entity/mob/AbstractPiglinEntity;)Ljava/util/Optional;
    • isNotCreativeSpectatorOrPeaceful

      private static boolean isNotCreativeSpectatorOrPeaceful​(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl;a(Lari;)Z
      intermediary method_30245 Lnet/minecraft/class_5420;method_30245(Lnet/minecraft/class_1309;)Z
      named isNotCreativeSpectatorOrPeaceful Lnet/minecraft/entity/mob/PiglinBruteBrain;isNotCreativeSpectatorOrPeaceful(Lnet/minecraft/entity/LivingEntity;)Z
    • method_30249

      private static Optional<? extends LivingEntity> method_30249​(AbstractPiglinEntity piglin, MemoryModuleType<? extends LivingEntity> memoryModuleType)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl;a(Lbgg;Lazf;)Ljava/util/Optional;
      intermediary method_30249 Lnet/minecraft/class_5420;method_30249(Lnet/minecraft/class_5418;Lnet/minecraft/class_4140;)Ljava/util/Optional;
      named method_30249 Lnet/minecraft/entity/mob/PiglinBruteBrain;method_30249(Lnet/minecraft/entity/mob/AbstractPiglinEntity;Lnet/minecraft/entity/ai/brain/MemoryModuleType;)Ljava/util/Optional;
    • tryRevenge

      protected static void tryRevenge​(PiglinBruteEntity piglinBrute, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official a Lbgl;a(Lbgk;Lari;)V
      intermediary method_30251 Lnet/minecraft/class_5420;method_30251(Lnet/minecraft/class_5419;Lnet/minecraft/class_1309;)V
      named tryRevenge Lnet/minecraft/entity/mob/PiglinBruteBrain;tryRevenge(Lnet/minecraft/entity/mob/PiglinBruteEntity;Lnet/minecraft/entity/LivingEntity;)V
    • method_30258

      protected static void method_30258​(PiglinBruteEntity piglinBrute)
      Mappings:
      Namespace Name Mixin selector
      official c Lbgl;c(Lbgk;)V
      intermediary method_30258 Lnet/minecraft/class_5420;method_30258(Lnet/minecraft/class_5419;)V
      named method_30258 Lnet/minecraft/entity/mob/PiglinBruteBrain;method_30258(Lnet/minecraft/entity/mob/PiglinBruteEntity;)V
    • method_30261

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