Skip to content

Add support for mods with no listeners#19

Open
irtimaled wants to merge 1 commit intoChocohead:jitpackfrom
irtimaled:zero_listener_mods
Open

Add support for mods with no listeners#19
irtimaled wants to merge 1 commit intoChocohead:jitpackfrom
irtimaled:zero_listener_mods

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