Features:
- Spreads out or condenses the structures in a world
- Affects vanilla, modded and datapack structures alike
- Global spread factor defaults to 2, making structures twice as rare
- Lower values such as 0.5 make structures more common instead
- Individual structures can be given their own custom spread factor
- A structure can be disabled by setting its spread factor to 0
- ID-based salt option avoids structure clustering
- Removes the vanilla limit of 4096 chunks between structures
- Fixes the bug where the locate command returns an incorrect distance
- A dump command writes every structure set to a file in the config format
- NeoForge support
- For Minecraft 1.21.1
Large modpacks stack structure mod on structure mod until towers, villages and dungeons crowd every horizon and finding something stops feeling like a discovery. Sparse Structures solves that at the source by multiplying the spacing and separation of structures, whether they come from vanilla Minecraft, another mod or a datapack.
A single spread factor drives the whole system. The default value of 2 makes structures twice as rare, a lower value such as 0.5 packs them closer together for a denser world, and 0 disables a structure entirely. Individual structures can be given their own factor on top of that, so a mansion can stay a genuine landmark while more common builds keep turning up.
The mod also cleans up how structures are placed. A salt derived from the structure ID stops different structures from piling onto the same spot, a common problem when mods leave their salt at a shared default value, and the vanilla cap of 4096 chunks between structures is lifted for anyone who wants truly distant landmarks. A dedicated command writes every structure set to a file in exactly the format the config expects.
Ore and geode generation is deliberately left alone, and terrain and trees are altered only very slightly, so worlds still look the way players expect while exploration regains its weight. Settings live in a config file in the instance folder, and for now a restart applies them.