Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This refactors datagen into an API that addons can make use of without the overhead of also running all of Creates stuff.
This splits each current datagen class into a base class in the api package, which contains things like the recipe type, the generation logic and most of the helper methods, and a final class in Create's data package which contains all the actual generation and any helper methods that make use of the Mod enum (my original plan was to weaken that to package-private as it is inextensible and therefore bad for addons to be using, however despite being in the data package it is used in many places outside that for hardcoded mod compat).
Fixes #7366
Conflicts with #7084, one of these will need editing after the other gets merged.