The-Fireplace-Minecraft-Mods / Annotated-DI

Dependency Injection for Minecraft mods
Apache License 2.0
1 stars 4 forks source link

Lock down injection sources #7

Closed The-Fireplace closed 2 years ago

The-Fireplace commented 2 years ago

Is your feature request related to a problem? Please describe. As a modder, I want to reduce the risk of other mods trying to mess with my injections by binding their own classes to my api

Describe the solution you'd like Prevent bindings from sources other than the mod providing the interface. Perhaps allow mods to override this behavior (per interface or globally) with specific allowed mods or allow any mod.