Class AllayBrain

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

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

    • field_38406

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

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

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

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

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

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

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

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

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

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

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

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

    • AllayBrain

      public AllayBrain()
  • Method Details

    • create

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

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

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

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

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

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

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

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

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

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