TerraformersMC / Biolith

A biome placement mod focusing on configurability and consistent distribution of modded biomes
Other
9 stars 2 forks source link

Allow multiple biome placement/surface generation files per namespace in datapacks #15

Closed Apollounknowndev closed 1 month ago

Apollounknowndev commented 4 months ago

With large datapacks that have many biomes, having all biome placement/surface generation data in one file each gets very difficult to maintain and edit. This PR alleviates that by having biome placement and surface generation files in their own folders. Instead of having data/namespace/biolith/biome_placement.json, you can have data/namespace/biolith/biome_placement/whatever_you_want.json.

gniftygnome commented 3 months ago

It's taken me a bit to get around to checking, but it seems like this PR breaks the API (i.e. does not support loading the existing json files). The API for v3.0 was stabilized on July 5th. I can merge this when I make the next alpha release, probably whenever Mojang resumes releasing major breaking changes.

gniftygnome commented 1 month ago

I think there's an extra loop left in the surface rule one. I'll merge it and then figure it out.