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 support for mods with no listeners #19

Open
wants to merge 1 commit into
base: jitpack
Choose a base branch
from

Conversation

irtimaled
Copy link

In some cases the only reason for a listener is to allow mixin configuration to be registered. This change allows for a mod creator to specify the mixin configuration filename(s) and Rift will add them to the configuration. e.g.

{
  "id": "modid",
  "name": "Example mod",
  "authors": [
    "me"
  ],
  "mixins": [
    "mixins.modid.json"
  ]
}

Another benefit for doing this is that some vanilla-only mods can use this without having to mess with their existing build.gradle... Just add a riftmod.json and be done.

In some cases the only reason for a listener is to allow mixin configuration to be registered.  This change allows for a mod creator to specify the mixins configuration filename(s) and Rift will add them to the configuration.  e.g.

{
  "id": "modid",
  "name": "Example mod",
  "authors": [
    "me"
  ],
  "mixins": [
    "mixins.modid.json"
  ]
}

Another benefit for doing this is that some vanilla-only mods can use this without having to mess with their existing build.gradle... Just add a riftmod.json and be done.
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.

1 participant