Class HoglinBrain

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

public class HoglinBrain extends Object
Mappings:
Namespace Name
named net/minecraft/entity/mob/HoglinBrain
intermediary net/minecraft/class_4835
official ckw
  • Field Details

    • field_30533

      public static final int field_30533
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30533 Lnet/minecraft/entity/mob/HoglinBrain;field_30533:I
      intermediary field_30533 Lnet/minecraft/class_4835;field_30533:I
      official a Lckw;a:I
    • field_30534

      public static final int field_30534
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30534 Lnet/minecraft/entity/mob/HoglinBrain;field_30534:I
      intermediary field_30534 Lnet/minecraft/class_4835;field_30534:I
      official b Lckw;b:I
    • AVOID_MEMORY_DURATION

      private static final UniformIntProvider AVOID_MEMORY_DURATION
      Mappings:
      Namespace Name Mixin selector
      named AVOID_MEMORY_DURATION Lnet/minecraft/entity/mob/HoglinBrain;AVOID_MEMORY_DURATION:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
      intermediary field_22369 Lnet/minecraft/class_4835;field_22369:Lnet/minecraft/class_6019;
      official c Lckw;c:Lbps;
    • field_30535

      private static final int field_30535
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30535 Lnet/minecraft/entity/mob/HoglinBrain;field_30535:I
      intermediary field_30535 Lnet/minecraft/class_4835;field_30535:I
      official d Lckw;d:I
    • field_30536

      private static final int field_30536
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30536 Lnet/minecraft/entity/mob/HoglinBrain;field_30536:I
      intermediary field_30536 Lnet/minecraft/class_4835;field_30536:I
      official e Lckw;e:I
    • field_30537

      private static final int field_30537
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30537 Lnet/minecraft/entity/mob/HoglinBrain;field_30537:I
      intermediary field_30537 Lnet/minecraft/class_4835;field_30537:I
      official f Lckw;f:I
    • ADULT_MELEE_ATTACK_COOLDOWN

      private static final int ADULT_MELEE_ATTACK_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ADULT_MELEE_ATTACK_COOLDOWN Lnet/minecraft/entity/mob/HoglinBrain;ADULT_MELEE_ATTACK_COOLDOWN:I
      intermediary field_30538 Lnet/minecraft/class_4835;field_30538:I
      official g Lckw;g:I
    • BABY_MELEE_ATTACK_COOLDOWN

      private static final int BABY_MELEE_ATTACK_COOLDOWN
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named BABY_MELEE_ATTACK_COOLDOWN Lnet/minecraft/entity/mob/HoglinBrain;BABY_MELEE_ATTACK_COOLDOWN:I
      intermediary field_30539 Lnet/minecraft/class_4835;field_30539:I
      official h Lckw;h:I
    • field_30540

      private static final int field_30540
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30540 Lnet/minecraft/entity/mob/HoglinBrain;field_30540:I
      intermediary field_30540 Lnet/minecraft/class_4835;field_30540:I
      official i Lckw;i:I
    • WALK_TOWARD_CLOSEST_ADULT_RANGE

      private static final UniformIntProvider WALK_TOWARD_CLOSEST_ADULT_RANGE
      Mappings:
      Namespace Name Mixin selector
      named WALK_TOWARD_CLOSEST_ADULT_RANGE Lnet/minecraft/entity/mob/HoglinBrain;WALK_TOWARD_CLOSEST_ADULT_RANGE:Lnet/minecraft/util/math/intprovider/UniformIntProvider;
      intermediary field_25383 Lnet/minecraft/class_4835;field_25383:Lnet/minecraft/class_6019;
      official j Lckw;j:Lbps;
    • field_30541

      private static final float field_30541
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30541 Lnet/minecraft/entity/mob/HoglinBrain;field_30541:F
      intermediary field_30541 Lnet/minecraft/class_4835;field_30541:F
      official k Lckw;k:F
    • AVOID_TARGET_SPEED

      private static final float AVOID_TARGET_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named AVOID_TARGET_SPEED Lnet/minecraft/entity/mob/HoglinBrain;AVOID_TARGET_SPEED:F
      intermediary field_30542 Lnet/minecraft/class_4835;field_30542:F
      official l Lckw;l:F
    • field_30543

      private static final float field_30543
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30543 Lnet/minecraft/entity/mob/HoglinBrain;field_30543:F
      intermediary field_30543 Lnet/minecraft/class_4835;field_30543:F
      official m Lckw;m:F
    • field_30544

      private static final float field_30544
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30544 Lnet/minecraft/entity/mob/HoglinBrain;field_30544:F
      intermediary field_30544 Lnet/minecraft/class_4835;field_30544:F
      official n Lckw;n:F
    • field_30545

      private static final float field_30545
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30545 Lnet/minecraft/entity/mob/HoglinBrain;field_30545:F
      intermediary field_30545 Lnet/minecraft/class_4835;field_30545:F
      official o Lckw;o:F
  • Constructor Details

    • HoglinBrain

      public HoglinBrain()
  • Method Details

    • create

      protected static Brain<?> create(Brain<HoglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named create Lnet/minecraft/entity/mob/HoglinBrain;create(Lnet/minecraft/entity/ai/brain/Brain;)Lnet/minecraft/entity/ai/brain/Brain;
      intermediary method_24668 Lnet/minecraft/class_4835;method_24668(Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
      official a Lckw;a(Lbue;)Lbue;
    • addCoreTasks

      private static void addCoreTasks(Brain<HoglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named addCoreTasks Lnet/minecraft/entity/mob/HoglinBrain;addCoreTasks(Lnet/minecraft/entity/ai/brain/Brain;)V
      intermediary method_24666 Lnet/minecraft/class_4835;method_24666(Lnet/minecraft/class_4095;)V
      official b Lckw;b(Lbue;)V
    • addIdleTasks

      private static void addIdleTasks(Brain<HoglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named addIdleTasks Lnet/minecraft/entity/mob/HoglinBrain;addIdleTasks(Lnet/minecraft/entity/ai/brain/Brain;)V
      intermediary method_24673 Lnet/minecraft/class_4835;method_24673(Lnet/minecraft/class_4095;)V
      official c Lckw;c(Lbue;)V
    • addFightTasks

      private static void addFightTasks(Brain<HoglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named addFightTasks Lnet/minecraft/entity/mob/HoglinBrain;addFightTasks(Lnet/minecraft/entity/ai/brain/Brain;)V
      intermediary method_24676 Lnet/minecraft/class_4835;method_24676(Lnet/minecraft/class_4095;)V
      official d Lckw;d(Lbue;)V
    • addAvoidTasks

      private static void addAvoidTasks(Brain<HoglinEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      named addAvoidTasks Lnet/minecraft/entity/mob/HoglinBrain;addAvoidTasks(Lnet/minecraft/entity/ai/brain/Brain;)V
      intermediary method_24679 Lnet/minecraft/class_4835;method_24679(Lnet/minecraft/class_4095;)V
      official e Lckw;e(Lbue;)V
    • makeRandomWalkTask

      private static RandomTask<HoglinEntity> makeRandomWalkTask()
      Mappings:
      Namespace Name Mixin selector
      named makeRandomWalkTask Lnet/minecraft/entity/mob/HoglinBrain;makeRandomWalkTask()Lnet/minecraft/entity/ai/brain/task/RandomTask;
      intermediary method_24662 Lnet/minecraft/class_4835;method_24662()Lnet/minecraft/class_4118;
      official a Lckw;a()Lbws;
    • refreshActivities

      protected static void refreshActivities(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named refreshActivities Lnet/minecraft/entity/mob/HoglinBrain;refreshActivities(Lnet/minecraft/entity/mob/HoglinEntity;)V
      intermediary method_24664 Lnet/minecraft/class_4835;method_24664(Lnet/minecraft/class_4760;)V
      official a Lckw;a(Lckv;)V
    • onAttacking

      protected static void onAttacking(HoglinEntity hoglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named onAttacking Lnet/minecraft/entity/mob/HoglinBrain;onAttacking(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24665 Lnet/minecraft/class_4835;method_24665(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official a Lckw;a(Lckv;Lbtc;)V
    • askAdultsToAvoid

      private static void askAdultsToAvoid(HoglinEntity hoglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named askAdultsToAvoid Lnet/minecraft/entity/mob/HoglinBrain;askAdultsToAvoid(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24675 Lnet/minecraft/class_4835;method_24675(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official c Lckw;c(Lckv;Lbtc;)V
    • avoidEnemy

      private static void avoidEnemy(HoglinEntity hoglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named avoidEnemy Lnet/minecraft/entity/mob/HoglinBrain;avoidEnemy(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24678 Lnet/minecraft/class_4835;method_24678(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official d Lckw;d(Lckv;Lbtc;)V
    • avoid

      private static void avoid(HoglinEntity hoglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named avoid Lnet/minecraft/entity/mob/HoglinBrain;avoid(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24681 Lnet/minecraft/class_4835;method_24681(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official e Lckw;e(Lckv;Lbtc;)V
    • getNearestVisibleTargetablePlayer

      private static Optional<? extends LivingEntity> getNearestVisibleTargetablePlayer(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named getNearestVisibleTargetablePlayer Lnet/minecraft/entity/mob/HoglinBrain;getNearestVisibleTargetablePlayer(Lnet/minecraft/entity/mob/HoglinEntity;)Ljava/util/Optional;
      intermediary method_24684 Lnet/minecraft/class_4835;method_24684(Lnet/minecraft/class_4760;)Ljava/util/Optional;
      official d Lckw;d(Lckv;)Ljava/util/Optional;
    • isWarpedFungusAround

      static boolean isWarpedFungusAround(HoglinEntity hoglin, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named isWarpedFungusAround Lnet/minecraft/entity/mob/HoglinBrain;isWarpedFungusAround(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_24669 Lnet/minecraft/class_4835;method_24669(Lnet/minecraft/class_4760;Lnet/minecraft/class_2338;)Z
      official a Lckw;a(Lckv;Lja;)Z
    • isLoneAdult

      private static boolean isLoneAdult(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named isLoneAdult Lnet/minecraft/entity/mob/HoglinBrain;isLoneAdult(Lnet/minecraft/entity/mob/HoglinEntity;)Z
      intermediary method_25947 Lnet/minecraft/class_4835;method_25947(Lnet/minecraft/class_4760;)Z
      official e Lckw;e(Lckv;)Z
    • hasMoreHoglinsAround

      private static boolean hasMoreHoglinsAround(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named hasMoreHoglinsAround Lnet/minecraft/entity/mob/HoglinBrain;hasMoreHoglinsAround(Lnet/minecraft/entity/mob/HoglinEntity;)Z
      intermediary method_24686 Lnet/minecraft/class_4835;method_24686(Lnet/minecraft/class_4760;)Z
      official f Lckw;f(Lckv;)Z
    • onAttacked

      protected static void onAttacked(HoglinEntity hoglin, LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      named onAttacked Lnet/minecraft/entity/mob/HoglinBrain;onAttacked(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24672 Lnet/minecraft/class_4835;method_24672(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official b Lckw;b(Lckv;Lbtc;)V
    • targetEnemy

      private static void targetEnemy(HoglinEntity hoglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named targetEnemy Lnet/minecraft/entity/mob/HoglinBrain;targetEnemy(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24683 Lnet/minecraft/class_4835;method_24683(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official f Lckw;f(Lckv;Lbtc;)V
    • setAttackTarget

      private static void setAttackTarget(HoglinEntity hoglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named setAttackTarget Lnet/minecraft/entity/mob/HoglinBrain;setAttackTarget(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24685 Lnet/minecraft/class_4835;method_24685(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official g Lckw;g(Lckv;Lbtc;)V
    • askAdultsForHelp

      private static void askAdultsForHelp(HoglinEntity hoglin, LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      named askAdultsForHelp Lnet/minecraft/entity/mob/HoglinBrain;askAdultsForHelp(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24687 Lnet/minecraft/class_4835;method_24687(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official h Lckw;h(Lckv;Lbtc;)V
    • setAttackTargetIfCloser

      private static void setAttackTargetIfCloser(HoglinEntity hoglin, LivingEntity targetCandidate)
      Mappings:
      Namespace Name Mixin selector
      named setAttackTargetIfCloser Lnet/minecraft/entity/mob/HoglinBrain;setAttackTargetIfCloser(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_24689 Lnet/minecraft/class_4835;method_24689(Lnet/minecraft/class_4760;Lnet/minecraft/class_1309;)V
      official i Lckw;i(Lckv;Lbtc;)V
    • getSoundEvent

      public static Optional<SoundEvent> getSoundEvent(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named getSoundEvent Lnet/minecraft/entity/mob/HoglinBrain;getSoundEvent(Lnet/minecraft/entity/mob/HoglinEntity;)Ljava/util/Optional;
      intermediary method_30083 Lnet/minecraft/class_4835;method_30083(Lnet/minecraft/class_4760;)Ljava/util/Optional;
      official b Lckw;b(Lckv;)Ljava/util/Optional;
    • getSoundEvent

      private static SoundEvent getSoundEvent(HoglinEntity hoglin, Activity activity)
      Mappings:
      Namespace Name Mixin selector
      named getSoundEvent Lnet/minecraft/entity/mob/HoglinBrain;getSoundEvent(Lnet/minecraft/entity/mob/HoglinEntity;Lnet/minecraft/entity/ai/brain/Activity;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_30082 Lnet/minecraft/class_4835;method_30082(Lnet/minecraft/class_4760;Lnet/minecraft/class_4168;)Lnet/minecraft/class_3414;
      official a Lckw;a(Lckv;Lcoa;)Lavg;
    • getAdultHoglinsAround

      private static List<HoglinEntity> getAdultHoglinsAround(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named getAdultHoglinsAround Lnet/minecraft/entity/mob/HoglinBrain;getAdultHoglinsAround(Lnet/minecraft/entity/mob/HoglinEntity;)Ljava/util/List;
      intermediary method_24690 Lnet/minecraft/class_4835;method_24690(Lnet/minecraft/class_4760;)Ljava/util/List;
      official g Lckw;g(Lckv;)Ljava/util/List;
    • hasNearestRepellent

      private static boolean hasNearestRepellent(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named hasNearestRepellent Lnet/minecraft/entity/mob/HoglinBrain;hasNearestRepellent(Lnet/minecraft/entity/mob/HoglinEntity;)Z
      intermediary method_30085 Lnet/minecraft/class_4835;method_30085(Lnet/minecraft/class_4760;)Z
      official h Lckw;h(Lckv;)Z
    • hasBreedTarget

      private static boolean hasBreedTarget(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named hasBreedTarget Lnet/minecraft/entity/mob/HoglinBrain;hasBreedTarget(Lnet/minecraft/entity/mob/HoglinEntity;)Z
      intermediary method_24691 Lnet/minecraft/class_4835;method_24691(Lnet/minecraft/class_4760;)Z
      official i Lckw;i(Lckv;)Z
    • isNearPlayer

      protected static boolean isNearPlayer(HoglinEntity hoglin)
      Mappings:
      Namespace Name Mixin selector
      named isNearPlayer Lnet/minecraft/entity/mob/HoglinBrain;isNearPlayer(Lnet/minecraft/entity/mob/HoglinEntity;)Z
      intermediary method_24677 Lnet/minecraft/class_4835;method_24677(Lnet/minecraft/class_4760;)Z
      official c Lckw;c(Lckv;)Z