Skip to content

Conversation

@Matyrobbrt
Copy link
Member

This PR implements extra maps, which are used for additional files (like pack.mcmeta and mixin json files)
For now, only a pack.mcmeta extra map is implemented, in the forge version.
Note: this PR was practically not possible without the breaking changes to AbstractConvertTask.

@Matyrobbrt Matyrobbrt added the enhancement New feature or request label Dec 3, 2022
@lukebemish
Copy link
Member

Hmm, could this be used to make mixin configs too?

Copy link
Member

@PaintNinja PaintNinja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not a fan of putting unrelated file stuff inside the same DSL. mods.groovy isn't really intended for this.

If you really want to go down this route, I also think you should make it a bit smarter than just a plain Groovy version of the existing json/toml. For example, the Mixin compatibilityLevel should be inferred based on the MC version range in the deps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants