Annotated DI (Fabric/Quilt)

Annotated DI (Fabric/Quilt)

33.6k Downloads

Conditional Loading based on mod dependency

The-Fireplace opened this issue ยท 0 comments

commented

As a modder, I'd like the ability to easily have one file injected if mod dependencies are met, and another if they aren't.

Perhaps allowing a dependency list in the annotation field would be the way to go here. I can probably parse them similar to how Fabric parses dependencies. That still leaves the question of how to prioritize if multiple Implementations' dependencies are met - or if I should even try to handle that.