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 a method for mod dependent mixins #524

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Chocohead
Copy link
Contributor

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.

@liach liach requested a review from a team September 29, 2021 23:36
In future it might want to be an object for example, this keeps the option available to do so
@liach liach requested a review from a team October 3, 2021 23:24
@modmuss50
Copy link
Member

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

@sfPlayer1
Copy link
Contributor

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)

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

Successfully merging this pull request may close these issues.

4 participants