Skip to content

abovearth/tweak_structure_spawnrate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

tweak_structure_spawnrate

Python script that tweaks the spawnrate of modded minecraft structures. The script does that for all mods in a folder. The mods have to use the datapack system to place structures.

The script works by extracting all data/worldgen/structure_set folders from all mod jars in the modsfolder. Then for every json it looks for the separation and spacing parameter. It applies a modifier to that parameter. It also does some checks on the new parameter in accordance with the minecraft wiki. It then saves the json files in a datapack.

Drop that datapack in your world folder to enjoy the tweaked spawnrates of modded minecraft structures.

Improvements I can think of are: Make clearer to the user what the inputs are. Add logging. Add parameter for datapack version. Add datapack version based on mc version.

Optimizations I can think of are: Don't extract everything. Only what's needed.

Comparison of 3 spawnrate tweakes on the Minecolonies Official pack, 1.19.2 mc, 43.1.47 Forge.

This image is the original map for the seed sub2wol. map no tweak 1 This image is the tweaked map for the seed sub2wol. The spawnrate of structures has been halved. map tweak 0_5 This image is the tweaked map for the seed sub2wol. The spawnrate of structures was tweaked to 0.8. map tweak 0_8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages