V4.1.6 Change log:
Big update to the config system!
Download and unzip it in saves/yourworld/datapacks/
New config options
enableDataDriven
Off: everything comes from
soundattract-common.toml like before. On: datapacks can add/override sounds, mobs, TACZ values, etc.
datapackPriority
"datapack_over_config" – datapacks win when both define the same thing. "config_over_datapack" – config wins; datapacks only fill in missing entries. How datapacks are used
4.1.6 looks at JSON files under data//... in any datapack, for example:
Sounds & ranges: data/minecraft/sounds/sounds.json,
data/soundattract/sounds/sounds.json, data/tacz/sounds/sounds.json Mob attraction & blacklist: data/soundattract/tags/entity_types/attracted.json, blacklist.json TACZ guns: data/tacz/guns/tacz/*.json (per‑gun dB, attachments, muzzle flash) *
Multiple datapacks and namespaces are merged together, so a modpack or server can tweak behavior without touching the TOML.
What this lets you do (examples)
With enableDataDriven = true:
Sounds + whitelist
Vanilla sounds (doors, explosions, etc.) still come from config or the default datapack. A datapack can add new whitelisted sounds or change their range/weight, e.g. make fireworks much louder.
Attracted mobs / blacklist
You can move the list of “mobs that attract to sounds” into tags so a datapack can add modded mobs or blacklist specific ones.
TACZ integration
Datapacks can define per‑gun dB values (tacz:m95;172.0), suppressor reductions, and muzzle flash behavior. Depending on datapackPriority, those values either override or extend what’s in the config.
v4.1.5 Change Log:
- Improve performance on a large server.
- Added PickUpAndThrowToSound goal, disabled by default, check EnhancedAI section for more details.
- Added TeleportToSound goal, disabled by default, check EnhancedAI section for more details.
- Added X-ray.
P.S. To use the new goals, please download and extract the datapack here.
v4.1.5 Change log:
- Further integration with Enhanced AI by porting TeleportToTarget, PickUpAndThrow, and Xray to the current version (all disabled by default, check EnhancedAi section in the config!)
- Improved performance on a large server.
- Fixed a bug where mobs can see through the wall block.
P.S. If you want to use the EnhancedAI features, please download the zip file (from the GitHub page or Discord page) and unzip the additional datapack and place it in your world folder in saves/worldname/datapacks/
v4.1.5 changelog:
- Performance Improved For Busy Server.
- Fixed an issue where mobs can see through wall blocks.
- Flee Goal is now optional, is enabled by default.
→ Enhanced AI further integration: enderman will teleport an entity close to the sound target. → Enhanced AI Pick up and throw. → Enhanced AI's Xray is working properly. → Fix a bug with config.
- New API to get realistic detection range for all entities.
- Increase the cap for the stance and max detection range.
- Fixed AI priority issue.
-
Revamped SmartEdgeMob system.
-
Support Vic's Point Blank.
v4.1.2. Support Vic's Point Blank.
v4.1.1 for fabric
v4.1.1.
The SmartEdgeMob functionality has been revamped. When this configuration option is set to true, instead of having all mobs attack individually and simultaneously check for sound, only a select few will investigate the sound source to locate the player. If they detect the player, they will return to their leader and organize a raid against the player. A variety of new options have been added and reorganized under a new section called "groups" in the configuration file, allowing you to customize the experience to your liking.
Fix a bug with goal priority
v4.1.0 for Fabric
v4.1.0 for Neoforge
v4.1.0
Fix the problem with see-through blocks. Added Player Profile, adding customization to the player detection range. By default, support the Feline origin from the Origin mod.
v4.1.0
- Fix the problem with see-through blocks.
- Added Player Profile, adding customization to the player detection range. By default, support the Feline origin from the Origin mod.
v4.0.9
- Ported v4.0.9 for Forge 1.19.2
v4.0.9
-
Performance fix.
-
Auto config.
![Attract to Sound ([NEO]Forge/Fabric): Sound & Stealth.](https://cdn.modrinth.com/data/zZluixcp/a53dfc770330e72a23452499f86e616adbe13ae3_96.webp)


