Apollounknowndev / tectonic

Enhanced terrain generation with mountain ranges, underground rivers, and more
86 stars 9 forks source link

Increasing Biome sizes beyond the large biomes preset #222

Open monkandrew opened 2 months ago

monkandrew commented 2 months ago

Hiya, I'm currently trying to pregenerate a large world using Terralith and Tectonic (neoforge version of both, plus several other mods I can post the list if it's helpful), and I'd like the biomes to be much larger than the preset for large biomes.

Terralith has an FAQ entry in their discord on manually increasing the biome sizes

Open the mod/datapack files and navigate to data/minecraft/worldgen/density_function/overworld. Open base_erosion.json, temperature.json, and vegetation.json. In each, you should see something like this: { "argument": { "xz_scale": 0.25, "y_scale": 0.0, "noise": "minecraft:erosion", "shift_x": "minecraft:shift_x", "shift_y": 0.0, "shift_z": "minecraft:shift_z", "type": "minecraft:shifted_noise" }, "type": "minecraft:flat_cache" }

Only change xz_scale, do not touch anything else. Smaller values = larger biomes. An xz_scale of 0.5 is 4x smaller biomes, and an xz_scale of 0.125 is 4x larger biomes. For context, the vanilla Large Biomes world type effectively uses an xz_scale of 0.0625.

These steps appear to work with just Terralith, however when tectonic is in my mod list alongside terralith, changing these values doesn't seem to do anything. I initially thought that the same changes might need to be made in the Tectonic mod as well, so I tried adjusting the xz scale for the same files in resourcepacks\tectonic\data\minecraft\worldgen\density_function\overworld\noise_router (adjusted temperature.json and vegetation.json as there is no base_erosion.json), however changing these values doesn't seem to have any effect on world gen.

I understand if this is too in the weeds for you to provide support, but if you have any insight on values I'd need to change to get this working I would appreciate it.