Class AllayBrain

java.lang.Object
net.minecraft.entity.passive.AllayBrain

public class AllayBrain extends Object
Mappings:
Namespace Name
official bsq
intermediary net/minecraft/class_7299
named net/minecraft/entity/passive/AllayBrain
  • Field Details

    • field_38406

      private static final float field_38406
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbsq;a:F
      intermediary field_38406 Lnet/minecraft/class_7299;field_38406:F
      named field_38406 Lnet/minecraft/entity/passive/AllayBrain;field_38406:F
    • field_38407

      private static final float field_38407
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbsq;b:F
      intermediary field_38407 Lnet/minecraft/class_7299;field_38407:F
      named field_38407 Lnet/minecraft/entity/passive/AllayBrain;field_38407:F
    • WALK_TO_ITEM_SPEED

      private static final float WALK_TO_ITEM_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbsq;c:F
      intermediary field_38408 Lnet/minecraft/class_7299;field_38408:F
      named WALK_TO_ITEM_SPEED Lnet/minecraft/entity/passive/AllayBrain;WALK_TO_ITEM_SPEED:F
    • FLEE_SPEED

      private static final float FLEE_SPEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official d Lbsq;d:F
      intermediary field_39113 Lnet/minecraft/class_7299;field_39113:F
      named FLEE_SPEED Lnet/minecraft/entity/passive/AllayBrain;FLEE_SPEED:F
    • field_38938

      private static final int field_38938
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official e Lbsq;e:I
      intermediary field_38938 Lnet/minecraft/class_7299;field_38938:I
      named field_38938 Lnet/minecraft/entity/passive/AllayBrain;field_38938:I
    • field_38939

      private static final int field_38939
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official f Lbsq;f:I
      intermediary field_38939 Lnet/minecraft/class_7299;field_38939:I
      named field_38939 Lnet/minecraft/entity/passive/AllayBrain;field_38939:I
    • field_38410

      private static final int field_38410
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lbsq;g:I
      intermediary field_38410 Lnet/minecraft/class_7299;field_38410:I
      named field_38410 Lnet/minecraft/entity/passive/AllayBrain;field_38410:I
    • field_38411

      private static final int field_38411
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lbsq;h:I
      intermediary field_38411 Lnet/minecraft/class_7299;field_38411:I
      named field_38411 Lnet/minecraft/entity/passive/AllayBrain;field_38411:I
    • field_38412

      private static final int field_38412
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lbsq;i:I
      intermediary field_38412 Lnet/minecraft/class_7299;field_38412:I
      named field_38412 Lnet/minecraft/entity/passive/AllayBrain;field_38412:I
    • LIKED_NOTEBLOCK_COOLDOWN_TICKS_EXPIRY

      private static final int LIKED_NOTEBLOCK_COOLDOWN_TICKS_EXPIRY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lbsq;j:I
      intermediary field_38413 Lnet/minecraft/class_7299;field_38413:I
      named LIKED_NOTEBLOCK_COOLDOWN_TICKS_EXPIRY Lnet/minecraft/entity/passive/AllayBrain;LIKED_NOTEBLOCK_COOLDOWN_TICKS_EXPIRY:I
    • WALK_TO_ITEM_RADIUS

      private static final int WALK_TO_ITEM_RADIUS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lbsq;k:I
      intermediary field_38940 Lnet/minecraft/class_7299;field_38940:I
      named WALK_TO_ITEM_RADIUS Lnet/minecraft/entity/passive/AllayBrain;WALK_TO_ITEM_RADIUS:I
    • GIVE_INVENTORY_RUN_TIME

      private static final int GIVE_INVENTORY_RUN_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbsq;l:I
      intermediary field_40130 Lnet/minecraft/class_7299;field_40130:I
      named GIVE_INVENTORY_RUN_TIME Lnet/minecraft/entity/passive/AllayBrain;GIVE_INVENTORY_RUN_TIME:I
  • Constructor Details

    • AllayBrain

      public AllayBrain()
  • Method Details

    • create

      protected static Brain<?> create(Brain<AllayEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsq;a(Lbha;)Lbha;
      intermediary method_42660 Lnet/minecraft/class_7299;method_42660(Lnet/minecraft/class_4095;)Lnet/minecraft/class_4095;
      named create Lnet/minecraft/entity/passive/AllayBrain;create(Lnet/minecraft/entity/ai/brain/Brain;)Lnet/minecraft/entity/ai/brain/Brain;
    • addCoreActivities

      private static void addCoreActivities(Brain<AllayEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official b Lbsq;b(Lbha;)V
      intermediary method_42663 Lnet/minecraft/class_7299;method_42663(Lnet/minecraft/class_4095;)V
      named addCoreActivities Lnet/minecraft/entity/passive/AllayBrain;addCoreActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • addIdleActivities

      private static void addIdleActivities(Brain<AllayEntity> brain)
      Mappings:
      Namespace Name Mixin selector
      official c Lbsq;c(Lbha;)V
      intermediary method_42666 Lnet/minecraft/class_7299;method_42666(Lnet/minecraft/class_4095;)V
      named addIdleActivities Lnet/minecraft/entity/passive/AllayBrain;addIdleActivities(Lnet/minecraft/entity/ai/brain/Brain;)V
    • updateActivities

      public static void updateActivities(AllayEntity allay)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsq;a(Lbsp;)V
      intermediary method_42661 Lnet/minecraft/class_7299;method_42661(Lnet/minecraft/class_7298;)V
      named updateActivities Lnet/minecraft/entity/passive/AllayBrain;updateActivities(Lnet/minecraft/entity/passive/AllayEntity;)V
    • rememberNoteBlock

      public static void rememberNoteBlock(LivingEntity allay, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsq;a(Lbfz;Lgu;)V
      intermediary method_42659 Lnet/minecraft/class_7299;method_42659(Lnet/minecraft/class_1309;Lnet/minecraft/class_2338;)V
      named rememberNoteBlock Lnet/minecraft/entity/passive/AllayBrain;rememberNoteBlock(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/util/math/BlockPos;)V
    • getLookTarget

      private static Optional<LookTarget> getLookTarget(LivingEntity allay)
      Mappings:
      Namespace Name Mixin selector
      official b Lbsq;b(Lbfz;)Ljava/util/Optional;
      intermediary method_42657 Lnet/minecraft/class_7299;method_42657(Lnet/minecraft/class_1309;)Ljava/util/Optional;
      named getLookTarget Lnet/minecraft/entity/passive/AllayBrain;getLookTarget(Lnet/minecraft/entity/LivingEntity;)Ljava/util/Optional;
    • hasNearestVisibleWantedItem

      private static boolean hasNearestVisibleWantedItem(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      official c Lbsq;c(Lbfz;)Z
      intermediary method_49122 Lnet/minecraft/class_7299;method_49122(Lnet/minecraft/class_1309;)Z
      named hasNearestVisibleWantedItem Lnet/minecraft/entity/passive/AllayBrain;hasNearestVisibleWantedItem(Lnet/minecraft/entity/LivingEntity;)Z
    • shouldGoTowardsNoteBlock

      private static boolean shouldGoTowardsNoteBlock(LivingEntity allay, Brain<?> brain, GlobalPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsq;a(Lbfz;Lbha;Lhd;)Z
      intermediary method_42658 Lnet/minecraft/class_7299;method_42658(Lnet/minecraft/class_1309;Lnet/minecraft/class_4095;Lnet/minecraft/class_4208;)Z
      named shouldGoTowardsNoteBlock Lnet/minecraft/entity/passive/AllayBrain;shouldGoTowardsNoteBlock(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/ai/brain/Brain;Lnet/minecraft/util/math/GlobalPos;)Z
    • getLikedLookTarget

      private static Optional<LookTarget> getLikedLookTarget(LivingEntity allay)
      Mappings:
      Namespace Name Mixin selector
      official d Lbsq;d(Lbfz;)Ljava/util/Optional;
      intermediary method_42662 Lnet/minecraft/class_7299;method_42662(Lnet/minecraft/class_1309;)Ljava/util/Optional;
      named getLikedLookTarget Lnet/minecraft/entity/passive/AllayBrain;getLikedLookTarget(Lnet/minecraft/entity/LivingEntity;)Ljava/util/Optional;
    • getLikedPlayer

      public static Optional<ServerPlayerEntity> getLikedPlayer(LivingEntity allay)
      Mappings:
      Namespace Name Mixin selector
      official a Lbsq;a(Lbfz;)Ljava/util/Optional;
      intermediary method_43093 Lnet/minecraft/class_7299;method_43093(Lnet/minecraft/class_1309;)Ljava/util/Optional;
      named getLikedPlayer Lnet/minecraft/entity/passive/AllayBrain;getLikedPlayer(Lnet/minecraft/entity/LivingEntity;)Ljava/util/Optional;