Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged

Conversation

Apollounknowndev
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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

@gniftygnome gniftygnome merged commit ea76b24 into TerraformersMC:main Oct 2, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants