Skip to content
This repository was archived by the owner on Dec 28, 2023. It is now read-only.

Add separate flag for showing mod as data pack in addition to showing as resource pack #1

Merged
merged 5 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.

@lukebemish
Copy link
Contributor Author

The new method was changed to have a default value of false (that is, mod datapacks will be grouped by default), so this is no longer a breaking change

@sciwhiz12 sciwhiz12 added the enhancement New feature or request label Nov 14, 2023
@sciwhiz12
Copy link
Member

Please fix the merge conflicts on this PR.

@lukebemish
Copy link
Contributor Author

Resolved; I'm currently working on getting the neoforge and FML PRs to go with this updated as well

@Technici4n Technici4n merged commit 3cfa895 into neoforged:main Dec 14, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants