All Mods Resource Packs Data Packs Shaders Modpacks Plugins
SmartBrainLib

SmartBrainLib

by Tslat • Downloads: 235 • Followers: 0
Description
Gallery
Changelog
Versions

A brain library for Minecraft, making the brain system easier to use and manage.

What is this?

The brain system in Minecraft is an almost cryptic new entity AI system that Mojang introduced to handle more complex mobs, and allow for more advanced entity handling.

Unfortunately Mojang's implementation is lacking, and overly complex.

Additionally, it's also done in a rather inefficient way, which means that overall the system is not worth using in place of the existing goals system.

This library aims to overhaul the brain system, making it actually usable, and configurable.

Note however, that the existing goal system will still be simpler at face value - the brain system is intended for more complex interactions, but it can also be fun to experiment with.

So what does SmartBrainLib do?

SBL is a multi-facet approach to the brain system, and will continue to expand and improve as I use it.

Here are its main features:

Auto-handles memory types

Don't worry about having to work out which memory modules to register for your entity.

Dynamic sensors

Sensors can now be dynamically configured and handled. This allows for much more advanced and flexible sensors

Advanced behaviours

Utilise built-in, or create new behaviours based on an extensible behaviour class, which builds in callbacks, predication, cooldowns, and more.

Runtime-safe behaviour modification

Add, remove, and modify behaviours dynamically from an existing entity.

Optimisation

SBL replaces almost the entirety of the vanilla brain system's functions, using high-efficiency functions to remove the inefficiencies in as many areas as possible of the brain. Done right, an SBL entity could be even more efficient than one using goals!

Additional sensors, behaviours, and memory types

SBL builds in additional modules for use in any entity, with more to come over time.

Added utility functions

As well as the expected brain functionality, SBL additionally adds additional helpers, such as:

  • Optimised level entity-getter functions
  • Developer-friendly Random library
  • Brain interface utility for adding/removing brain content from non-SBL entities

How do I use it?

The library is documented on its Wiki Page


If you have issues or want to contribute, please jump on the Github Page and make your voice heard

How to Install SmartBrainLib (Mod)

SmartBrainLib by Tslat is verified for Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.16.5, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20 (latest release: 2.0.3, file size: 503 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.16.5, 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20) and platform (Fabric, Forge, Neoforge, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge, Quilt.
  3. Move the downloaded SmartBrainLib file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.1.2
Neoforge
2mo ago 129
26.1.2
Forge
2mo ago 65
26.1.2
Fabric
2mo ago 43
26.2
Neoforge
2mo ago 32
26.2
Forge
2mo ago 26
26.2
Fabric
2mo ago 22
26.3
Neoforge
2mo ago 18
26.3
Forge
2mo ago 16
26.3
Fabric
2mo ago 14
26.3
Forge
2mo ago 13
26.2
Neoforge
2mo ago 12
26.2
Forge
2mo ago 11
26.2
Fabric
2mo ago 10
26.3
Fabric
2mo ago 9
26.3
Neoforge
2mo ago 9
26.2
Neoforge
2mo ago 8
26.2
Forge
2mo ago 8
26.2
Fabric
2mo ago 7
26.1.2
Neoforge
2mo ago 7
26.1.2
Forge
2mo ago 6
26.1.2
Fabric
2mo ago 6
26.1.2
Neoforge
2mo ago 6
26.1.2
Forge
2mo ago 6
26.1.2
Fabric
2mo ago 5
1.21.11
Neoforge
2mo ago 5
1.21.11
Fabric
2mo ago 5
1.21.10
Forge
2mo ago 5
1.21.10
Neoforge
2mo ago 5
1.21.10
Fabric
2mo ago 4
1.21.10
Forge
2mo ago 4
1.21.9
Forge
2mo ago 4
1.21.1
Neoforge
2mo ago 4
1.21.1
Fabric
2mo ago 4
1.21.1
Forge
2mo ago 4
1.21.9
Fabric
2mo ago 4
1.21.9
Neoforge
2mo ago 4
1.21.x
Forge
2mo ago 3
1.21.x
Neoforge
2mo ago 3
1.21.x
Fabric
2mo ago 3
1.21.1
Forge
2mo ago 3
1.21.1
Neoforge
2mo ago 3
1.21.1
Fabric
2mo ago 3
1.21.1
Forge
2mo ago 3
1.21.1
Neoforge
2mo ago 3
1.21.1
Fabric
2mo ago 3
1.21.7
Forge
2mo ago 3
1.21.7
Neoforge
2mo ago 3
1.21.7
Fabric
2mo ago 3
1.21.1
Forge
2mo ago 3
1.21.1
Neoforge
2mo ago 3
1.21.1
Fabric
2mo ago 3
1.21.6
Forge
2mo ago 2
1.21.6
Forge
2mo ago 2
1.21.6
Neoforge
2mo ago 2
1.21.6
Fabric
2mo ago 2
1.21.5
Forge
2mo ago 2
1.21.5
Neoforge
2mo ago 2
1.21.5
Fabric
2mo ago 2
1.21.1
Forge
2mo ago 2
1.21.1
Neoforge
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.21.4
Forge
2mo ago 2
1.21.4
Neoforge
2mo ago 2
1.21.4
Fabric
2mo ago 2
1.21.4
Forge
2mo ago 2
1.21.4
Neoforge
2mo ago 2
1.21.4
Fabric
2mo ago 2
1.21.1
Forge
2mo ago 2
1.21.1
Neoforge
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.21.4
Neoforge
2mo ago 2
1.21.4
Fabric
2mo ago 2
1.21.4
Forge
2mo ago 2
1.21.1
Forge
2mo ago 2
1.21.1
Neoforge
2mo ago 2
1.21.1
Fabric
2mo ago 2
1.21.4
Forge
2mo ago 2
1.21.4
Neoforge
2mo ago 2
1.21.4
Fabric
2mo ago 2
1.21.3
Neoforge
2mo ago 2
1.21.3
Fabric
2mo ago 2
1.21.3
Forge
2mo ago 2
1.21.3
Fabric
2mo ago 2
1.21.3
Neoforge
2mo ago 2
1.21.3
Neoforge
2mo ago 2
1.21.1
Forge
2mo ago 2
1.21.1
Neoforge
2mo ago 1
1.21.1
Fabric
2mo ago 1
1.21.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Fabric
2mo ago 1
1.21.1
Forge
2mo ago 1
1.21.1
Neoforge
2mo ago 1
1.21.1
Fabric
2mo ago 1
1.20.1
Neoforge
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.20.1
Forge
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.21.x
Neoforge
2mo ago 1
1.21.x
Fabric
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21.x
Forge
2mo ago 1
1.20.1
Neoforge
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.20.1
Forge
2mo ago 1
1.21
Neoforge
2mo ago 1
1.21
Fabric
2mo ago 1
1.21
Forge
2mo ago 1
1.21
Forge
2mo ago 1
1.21
Neoforge
2mo ago 1
1.21
Fabric
2mo ago 1
1.21
Forge
2mo ago 1
1.21
Neoforge
2mo ago 1
1.21
Fabric
2mo ago 1
1.20.6
Neoforge
2mo ago 1
1.20.6
Fabric
2mo ago 1
1.20.5
Neoforge
2mo ago 1
1.20.5
Fabric
2mo ago 1
1.20.4
Neoforge
2mo ago 1
1.20.4
Fabric
2mo ago 1
1.20.4
Neoforge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.20.1
Neoforge
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.20.4
Forge
2mo ago 1
1.20.4
Fabric
2mo ago 1
1.20.4
Forge
2mo ago 1
1.20.1
Forge
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.20.1
Neoforge
2mo ago 1
1.20.4
Neoforge
2mo ago 1
1.20.4
Fabric
2mo ago 1
1.20.4
Forge
2mo ago 1
1.20.x
Neoforge
2mo ago 1
1.20.x
Fabric
2mo ago 1
1.19.4
Forge
2mo ago 1
1.19.4
Fabric
2mo ago 1
1.20.2
Fabric
2mo ago 1
1.20.1
Forge Neoforge
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.20.1
Neoforge
2mo ago 1
1.20.1
Fabric
2mo ago 1
1.20.x
Fabric
2mo ago 1
1.20.x
Fabric
2mo ago 1
1.20.x
Forge
2mo ago 1
1.18.2
Forge
2mo ago 1
1.18.2
Fabric
2mo ago 1
1.19.4
Forge
2mo ago 1
1.19.4
Fabric
2mo ago 1
1.19.3
Forge
2mo ago 1
1.19.3
Fabric
2mo ago 1
1.19.x
Forge
2mo ago 1
1.19.x
Fabric
2mo ago 1
1.18.2
Forge
2mo ago 1
1.19.3
Forge
2mo ago 1
1.19.3
Fabric
2mo ago 1
1.19.3
Quilt
2mo ago 1
1.19.2
Forge
2mo ago 1
1.19.2
Fabric
2mo ago 1
1.19.2
Quilt
2mo ago 1
1.18.2
Forge
2mo ago 1
1.18.2
Fabric
2mo ago 1
1.18.2
Quilt
2mo ago 1
1.18.2
Forge
2mo ago 1
1.18.2
Fabric
2mo ago 1
1.18.2
Quilt
2mo ago 1
1.19.2
Forge
2mo ago 1
1.19.2
Fabric
2mo ago 1
1.19.2
Quilt
2mo ago 1
1.19.3
Forge
2mo ago 1
1.19.3
Fabric
2mo ago 1
1.19.3
Quilt
2mo ago 1
1.19.3
Forge
2mo ago 1
1.19.3
Fabric
2mo ago 1
1.19.3
Quilt
2mo ago 1
1.19.3
Quilt
2mo ago 1
1.19.3
Fabric
2mo ago 1
1.19.3
Quilt
2mo ago 1
1.19.3
Fabric
2mo ago 1
1.19.3
Forge
2mo ago 1
1.16.5
Forge
2mo ago 1
1.19.2
Forge
2mo ago 1
[2.0.3] NeoForge 26.1.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.3] Forge 26.1.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.3] Fabric 26.1.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.3] NeoForge 26.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.3] Forge 26.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.3] Fabric 26.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.3] NeoForge 26.3 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.3] Forge 26.3 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.3] Fabric 26.3 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.3

## Changes
  • Add random sensor offsets to mimic Vanilla handling and add some randomness
  • Fix the javadocs on getTimeUntilMemoryExpires
  • Synchronize COMPUTED_MEMORIES map to prevent cross-thread pollution
  • Fix ExtendedSensors ticking one tick too late
  • Defer custom behaviour handling, and ensure overriding methods properly re-apply their conditions for:
  • ExtendedBehaviour
  • ConditionlessAttack
  • ConditionlessHeldAttack
  • CustomBehaviour
  • CustomDelayedBehaviour
  • CustomHeldBehaviour
  • Fix BrainUtil#setTargetOfEntity improperly comparing previous target
  • Fix EntityRetrievalUtil entity retrieval via radius only searching half the radius
  • Fix activity interruption/removal not checking if behaviours are started before stopping them
  • Pass through packedBrain on creation - although you shouldn't really be relying on it for memories
  • Fix BrainUtil#getAllBehaviours not doing anything
  • Fix the TransformingListView impl not being quite right
  • Fix scheduled activities replacing themselves every tick
  • Expand surface placement logic for EasyRandom
  • Adjust FollowEntity teleporting logic
  • Fixed bad handling of MoveToWalkTarget
  • Fixed hide predicate for EscapeSun being broken
  • Fixed FollowEntity not resetting pathfinder malus properly
  • Fix BreakBlock not continually updating its cached block
  • Expanded the predicate conditions for LookAtTarget
  • Fixed DelayedBehaviour sometimes preventing itself from running
  • Fix StrafeTarget/StayWithinDistanceOfAttackTarget calculating proximity wrong
  • Improve proximity matching for BreedWithPartner
  • Prevent SequentialBehaviour#runningBehaviour from being stopped twice
  • Prevent the default impl of ItemTemptingSensor crashing out if a mob without TEMPT_RANGE uses it
  • Fixed NearbyHostileSensor using the wrong parameters
  • Fixed LeapAtTarget's broken attacking logic
  • Fixed BreezeSpecificSensor not actually using its predicate
  • Fixed PiglinSpecificSensor not filling the NEARBY_ADULT_PIGLINS memory
  • Fixed AxolotlSpecificSensor using the wrong radius
  • Fix ConditionlessAttack doing everything twice
  • Adjust the NearestVisibleEntityFilteredSensor implementations to remove overlap and simplify their usage
  • Remove implicit requirement for AgeableMob on NearbyAdultSensor
[2.0.2] Forge 26.3 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.2

## Changes
  • Update to 26.3
  • Add BrainUtil#computeMemory and BrainUtil#computeMemoryIfPresent
[2.0.2] NeoForge 26.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.2

## Changes
  • Fixed Fabric not having the logo png
  • Fixed NeoForge dying from the iconFile change
  • Added BrainUtil#computeMemory and BrainUtil#computeMemoryIfPresent
[2.0.2] Forge 26.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.2

## Changes
  • Fixed Fabric not having the logo png
  • Fixed NeoForge dying from the iconFile change
  • Added BrainUtil#computeMemory and BrainUtil#computeMemoryIfPresent
[2.0.2] Fabric 26.2 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.2

## Changes
  • Fixed Fabric not having the logo png
  • Fixed NeoForge dying from the iconFile change
  • Added BrainUtil#computeMemory and BrainUtil#computeMemoryIfPresent
[2.0.2] Fabric 26.3 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.2

## Changes
  • Update to 26.3
  • Add BrainUtil#computeMemory and BrainUtil#computeMemoryIfPresent
[2.0.2] NeoForge 26.3 by Tslat on Oct 09, 2026
Download
# Changelog
#### Version
2.0.2

## Changes
  • Update to 26.3
  • Add BrainUtil#computeMemory and BrainUtil#computeMemoryIfPresent
SmartBrainLib Icon
Download SmartBrainLib
Select game version
Select platform