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

Add implementations of IModFileInfo#showAsDataPack for data pack grouping #21

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

lukebemish
Copy link
Contributor

neoforged/NeoForge#138, in addition to changing how resource grouping works, sets up a system to group mod datapacks in addition to mod resource packs. This is useful for a number of reasons - largest on the list is that it is a simple way of ensuring that mod datapacks are sorted in mod loading order, not "order I installed the mod" order.

This PR implements a new API that that PR will need - namely, a flag in mod file info on whether mods should show a separate data pack, to go along with the equivalent one that already exists for resource packs. It goes along with neoforged/NeoForgeSPI#1, which adds the actual API, which this PR then implements; as such, it's not going to build without that PR

@lukebemish lukebemish changed the title Add implementations of new showAsDataPack in neoforgespi for data pack grouping Add implementations of IModFileInfo#showAsDataPack for data pack grouping Sep 14, 2023
@lukebemish
Copy link
Contributor Author

neoforged/NeoForge#138 is now superseded by neoforged/NeoForge#367, but this PR is still needed for the latter

@Matyrobbrt Matyrobbrt added enhancement New feature or request breaking-change labels Dec 14, 2023
@Technici4n Technici4n merged commit d7d607e into neoforged:main Dec 14, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking-change enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants