Annotated DI Mod – 1.19.2, 1.18.2 – Convenient Use With Minecraft Mods

Author: FixEye
annotated di mod 1 19 2 1 18 2 convenient use with minecraft mods

Annotated DI Mod (1.19.2, 1.18.2) is a wrapper for Guice that includes a few additional utilities to make it easier to use with Minecraft Mods. This allows you to use the Dependency Injection design patterns when creating mods and APIs.


  • A central Injector for each mod allows mods to inject classes/interfaces from themselves and their dependencies.
  • An entry point that provides a way for modders to add a custom Module to the Injector when it’s created – most mods won’t need this unless they’re doing some advanced bindings of some kind.
  • A way to retrieve another mod’s injector for injecting soft dependencies’ files.

( Rating: 00 votes)


Your email address will not be published. Required fields are marked *

  • There are no comments yet. But yours could become the first one!