A simple and configurable mod that makes all (even datapacks and modded) structures more spread out (or more common!), essentially making them rarer/easier to find. Useful in big modpacks with a lot of structures mods to encourage exploration
A simple and configurable mod that makes all (even datapacks and modded) structures more spread out (or more common!), essentially making them rarer/easier to find. Useful in big modpacks with a lot of structures mod to encourage exploration and make the experience more challenging or balanced.
Notice: this does not alter the generation of ores/geodes or other features of this kind, and alters very slightly the terrain and trees (not enough to be an issue to most players).
Questions about the mod? You can join my new Discord server at discord.gg/cTY4ME6Bkn!


/locate returns an incorrect distance between the player and the structure./dumpstructuresets.0.0 or some other default value used across a lot of structures.The config can be found in the config folder of your instance, and is named sparsestructures.json5. It contains the following options :
spreadFactor : the factor by which the separation and spacing of structures should be multiplied. The default value is 2, which means that structures will be twice as rare. If you want structures to be more common, you can set this value to 0.5 for example.0.
0.01) makes the world generation process considerably slower.idBasedSalt : a boolean that indicates whether the salt used to generate all structures should be based on the structure ID. This is meant to avoid structure clustering as some mods leave the salt to 0. The default value is true.customSpreadFactors : a list of custom spread factors for specific structures. The default value makes the mansion twice as rare as an example (which has no effects with a global spreadFactor of 2). If you want to change the spread factor of a structure, you can add an entry to this list. Each entry is a JSON object with two fields : name (the name of the structure) and spreadFactor (the spread factor of the structure). Here's an example :{
"name": "minecraft:mansion",
"spreadFactor": 2
}
// More detailed info can be found inside the config file
Tip: you can dump all structure sets to a file in the right format by using the custom command
/dumpstructuresets
For now (v2.0), you have to restart the game for the config to be reloaded. This behavior may change in the future.
⚠️ If you're using the mod "Alex's Caves", please set the structures from this mod to a factor of 1, in order to avoid experiencing issues. See #47 for more info.
Fabric API (if you're using Fabric, or use the Quilt equivalent)
/locate command and disabled structures (1.20.X only)Icon made with Gimp using Twemoji and FiraCode
Multiloader Template by jaredlll08
Help with testing from kshrubb
Conversation