Mineuniverse
Log in Register
Mods

Annotated DI (Forge)

Dependency Injection library for Forge mods
by The_Fireplace
Download Claim this project
188,261 downloads
0 likes
Updated Jun 30, 2026
0 hypes

This project is for the Forge version of the mod. Click here for the Fabric version of the mod.

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.

Extra utilities for modders:

  • The @Implementation annotation, which can be used to wire up all the dependencies conveniently without needing to make a separate file to configure all the bindings, and without forcing the API to have a compile time dependency on the implementation.
  • A central Injector for each mod, which allows mods to inject classes/interfaces from themselves and their dependencies.
  • A registry that provides a way for modders to add a custom Module to the Injector before it's created - most mods won't need this unless they're doing some advanced bindings of some kind.

 

Documentation for developers can be found on the wiki.

 

Q&A


How does this help users?

Mods that are designed to use this can be easier to maintain than mods that don't use it, which can result in faster updates. It's not the right solution for every mod, but it can be useful for some, especially when making an API that other mods can use.

Does this do anything on its own?

It shows up in the mod list, but that's about it.

Does this download mod dependencies for you?
No

Annotated-DI-Forge-4.0.8+1.20.1
MC 1.20.1, Forge, 1.20
Release 2026-06-21 Get
Annotated-DI-Forge-4.0.9+1.18.2
MC 1.18.1, 1.18, Forge, 1.18.2
Release 2026-06-21 Get
Annotated-DI-Forge-4.0.9+1.19.4
MC 1.19.3, 1.19.4, Forge, 1.19.1, 1.19.2, 1.19
Release 2026-06-21 Get
Annotated-DI-Forge-4.0.9+1.20.1
MC 1.20.1, Forge, 1.20
Release 2026-06-21 Get
Annotated-DI-Forge-4.0.9+1.20.4
MC 1.20.2, Forge, 1.20.4, 1.20.3
Release 2026-06-21 Get
Annotated-DI-Forge-4.0.8+1.18.2
MC 1.18.1, 1.18.2, Forge, 1.18
Release 2025-06-30 Get
Annotated-DI-Forge-4.0.8+1.19.4
MC 1.19.3, 1.19.4, 1.19.2, Forge, 1.19.1, 1.19
Release 2025-06-30 Get
Annotated-DI-Forge-4.0.8+1.20.4
MC 1.20.2, Forge, 1.20.4, 1.20.3
Release 2025-06-30 Get
Annotated-DI-Forge-4.0.8+1.20.6
MC Forge, 1.20.6
Release 2025-06-30 Get
Annotated-DI-Forge-4.0.7+1.18.2
MC 1.18.1, 1.18.2, Forge, 1.18
Release 2025-06-12 Get
Annotated-DI-Forge-4.0.7+1.19.4
MC 1.19.3, 1.19.4, 1.19.2, Forge, 1.19.1, 1.19
Release 2025-06-12 Get
Annotated-DI-Forge-4.0.7+1.20.6
MC Forge, 1.20.6
Release 2025-06-12 Get
Annotated-DI-Forge-4.0.7+1.20.4
MC 1.20.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.4
Release 2025-06-12 Get
Annotated-DI-Forge-4.0.6+1.18.2
MC 1.18.1, 1.18.2, Forge, 1.18
Release 2025-06-09 Get
Annotated-DI-Forge-4.0.6+1.19.4
MC 1.19.3, 1.19.4, 1.19.2, Forge, 1.19.1, 1.19
Release 2025-06-09 Get
Annotated-DI-Forge-4.0.6+1.20.4
MC 1.20.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.4
Release 2025-06-09 Get
Annotated-DI-Forge-4.0.6+1.20.6
MC Forge, 1.20.6
Release 2025-06-09 Get
Annotated-DI-Forge-4.0.4+1.20.4
MC 1.20.2, 1.20.3, 1.20.1, Forge, 1.20, 1.20.4
Release 2024-07-18 Get
Annotated-DI-Forge-4.0.4+1.19.4
MC 1.19.3, 1.19.4, 1.19.2, Forge, 1.19.1, 1.19
Release 2024-07-08 Get
Annotated-DI-Forge-4.0.4+1.18.2
MC 1.18.1, 1.18.2, Forge, 1.18
Release 2024-07-08 Get
Annotated-DI-Forge-4.0.4+1.20.6
MC Forge, 1.20.6
Release 2024-07-08 Get
Annotated-DI-Forge-4.0.3+1.20.6
MC Forge, 1.20.6
Release 2024-07-06 Get
Annotated-DI-Forge-4.0.3+1.19.4
MC 1.19.3, 1.19.4, Forge
Release 2024-07-05 Get

More from The_Fireplace

Command Keybindings
987,739
Devon's Random Things
927
Overlord
899,053
Raining Cats and Dogs
8,820
Mechanical Soldiers
73,828
Tick Dynamic
713,970

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314