ModsFinder

Annotated DI

by The-Fireplace

Annotated DI is a library that gives other Minecraft mods a central Injector for dependency injection, built as a wrapper around Guice.

FabricForgeQuiltClient or server, optionalApache License 2.0Open source1.14 – 1.21.11

What it does

Mods that need to share classes or interfaces with each other can register them through a central Injector, which the library provides. A custom module can be added through an entrypoint event, and the wrapper adds a few utilities that make Guice bindings easier to write. Most mods will not need it unless they use advanced bindings, but it suits mod APIs that other mods depend on. Either side can run it, and neither needs it, and it is released under the Apache License 2.0 as open source. It is published for Fabric, Forge and Quilt, with builds covering 1.14 – 1.21.11.

Key features

  1. Central Injector

    One Injector lets mods expose classes and interfaces to other mods without each one building its own container.

  2. Module entrypoint

    An entrypoint event lets a mod register its own Module with the Injector during startup.

  3. Guice wrapper

    The library wraps Guice and adds utilities that make injection bindings shorter to write.

Compatibility

Latest build for each game version and loader.

1.21.x12 of 12 versions with builds
1.21.114.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.104.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.94.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.84.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.74.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.64.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.54.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.44.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.34.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.24.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.21.14.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.214.0.9+1.21.11+fabricNot available4.0.9+1.21.11+fabric
1.20.x7 of 7 versions with builds
1.19.x5 of 5 versions with builds
1.18.x3 of 3 versions with builds
1.17.x2 of 2 versions with builds
1.16.x6 of 6 versions with builds
1.15.x3 of 3 versions with builds
1.14.x5 of 5 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Required by 8 mods

In the catalog

Annotated DI is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 19,862 mods support Minecraft 1.21.11.

More from The-Fireplace

All projects

Similar mods

What the author says

Annotated DI is a wrapper around Guice with a few extra utilities added for more convenient use with Minecraft mods. This allows the Dependency Injection design pattern to be used when making mods and APIs for them. Documentation for developers can be found on the wiki.
The-Fireplace, on the Modrinth page

Official listing

Owner
The-Fireplace
Published
2021-07-07
Updated on Modrinth
2026-06-21
Facts verified
2026-10-15

Tags