SmartBrainLib Forge 26.3 2.0.3
Curse Maven Snippet
What's new
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:
ExtendedBehaviourConditionlessAttackConditionlessHeldAttackCustomBehaviourCustomDelayedBehaviourCustomHeldBehaviour
- Fix
BrainUtil#setTargetOfEntityimproperly comparing previous target - Fix
EntityRetrievalUtilentity 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#getAllBehavioursnot doing anything - Fix the TransformingListView impl not being quite right
- Fix scheduled activities replacing themselves every tick
- Expand surface placement logic for
EasyRandom - Adjust
FollowEntityteleporting logic - Fixed bad handling of
MoveToWalkTarget - Fixed hide predicate for
EscapeSunbeing broken - Fixed
FollowEntitynot resetting pathfinder malus properly - Fix
BreakBlocknot continually updating its cached block - Expanded the predicate conditions for
LookAtTarget - Fixed
DelayedBehavioursometimes preventing itself from running - Fix
StrafeTarget/StayWithinDistanceOfAttackTargetcalculating proximity wrong - Improve proximity matching for
BreedWithPartner - Prevent
SequentialBehaviour#runningBehaviourfrom being stopped twice - Prevent the default impl of
ItemTemptingSensorcrashing out if a mob withoutTEMPT_RANGEuses it - Fixed
NearbyHostileSensorusing the wrong parameters - Fixed
LeapAtTarget's broken attacking logic - Fixed
BreezeSpecificSensornot actually using its predicate - Fixed
PiglinSpecificSensornot filling theNEARBY_ADULT_PIGLINSmemory - Fixed
AxolotlSpecificSensorusing the wrong radius - Fix
ConditionlessAttackdoing everything twice - Adjust the
NearestVisibleEntityFilteredSensorimplementations to remove overlap and simplify their usage - Remove implicit requirement for
AgeableMobonNearbyAdultSensor
This mod has no additional files

