fabric-loader icon indicating copy to clipboard operation
fabric-loader copied to clipboard

Add a method for mod dependent mixins

Open Chocohead opened this issue 3 years ago • 2 comments

Related to #68

Just an idea to save people needing mixin plugins for mixins that depend on other mods in a way that doesn't need changes within Mixin itself. Not the prettiest passing FabricLoader in, but it was the best I could come up with (given it's an internal interface anyway). Did consider allowing full dependency ranges rather than just "is the mod present" but didn't want to over invest time in something that might not be what we want anyway.

Chocohead avatar Sep 25 '21 02:09 Chocohead

I do think having version ranges is something that would be worth having. One use case would be for handling diffrent game versions.

modmuss50 avatar Jan 20 '22 14:01 modmuss50

I plan on having something like it, but only alongside the metadata version bump I'm working on (brings a bunch of other additions too)

sfPlayer1 avatar Jan 20 '22 18:01 sfPlayer1