File Details
[FORGE] Sound Attract - 1.20.1 - 4.1.6
- R
- Nov 20, 2025
- 373.24 KB
- 7.1K
- 1.20.1
- Forge
File Name
forge_soundattract_1.20.1-4.1.6.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
V4.1.6 Change log:
Big update to the config system!
[Default datapacks](https://github.com/Sylsatra/attract_to_sound/blob/4.1.6-1.20.1/datapacks/soundattract_defaults.zip)
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.
- Off: everything comes from
-
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.
- Datapacks can define per‑gun dB values (