CurseForge · Minecraft mod
Annotated DI (Forge)
Dependency Injection library for Minecraft mods
Quick answer
Which Annotated DI (Forge) release matches 1.16.2?
Annotated DI (Forge) 4.0.9+1.16.5+fabric targets 1.16.2, 1.16.3, 1.16.4 with Fabric, Quilt. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.
Where it goes
Is Annotated DI (Forge) required on the client, server, or both?
Installation on the client is optional. Installation on the dedicated server is optional.
The source marks this as usable on both the client and server.
What else does Annotated DI (Forge) 4.0.9+1.16.5+fabric need?
4.0.9+1.16.5+fabric on 1.16.2. Every mod below is checked against that same setup.
This file does not list any required mods. Do not add a library just because a different file uses it.
This file does not list any required or optional mods.
Before you install it
Add Annotated DI (Forge) without breaking your instance.
Built for Annotated DI (Forge) 4.0.9+1.16.5+fabric on 1.16.2. Pick another file and the loader, install side or required mods may change.
- 01
Stick to this file
Use 4.0.9+1.16.5+fabric. It targets 1.16.2, 1.16.3, 1.16.4 with Fabric, Quilt; another release may have different loader, side or dependency requirements.
- 02
Bring the mods it needs
This file does not list any required mods. Do not add a library just because a different file uses it.
- 03
Put it on the correct side
Installation on the client is optional. Installation on the dedicated server is optional.
- 04
Pick the file you checked
Use the “Get this file” button beside 4.0.9+1.16.5+fabric. It opens that exact file at the source.
About this project
What does Annotated DI (Forge) add?
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
Project description from CurseForge.
Pick your setup
Annotated DI (Forge) by Minecraft version and loader
Choose the version and loader you play, then open the matching release.
1.21.10
2 loader builds1.21.9
2 loader builds1.21.8
2 loader builds1.21.7
2 loader builds1.21.6
2 loader builds1.21.5
2 loader builds1.21.4
2 loader builds1.21.3
2 loader builds1.21.2
2 loader builds1.21.1
2 loader builds1.21
2 loader buildsShowing the newest 12 of 37 game versions. Older files are in the list below.
Check the dependencies, then try the file in a copied instance before changing a world you care about.
Recent files
Annotated DI (Forge) versions and loaders
4.0.9+1.16.5+fabric
Annotated-DI-Fabric-4.0.9+1.16.5.jar
21 Jun 2026
4.0.8+1.16.5+fabric
Annotated-DI-Fabric-4.0.8+1.16.5.jar
30 Jun 2025
4.0.7+1.16.5+fabric
Annotated-DI-Fabric-4.0.7+1.16.5.jar
11 Jun 2025
4.0.6+1.16.5
Annotated-DI-Forge-4.0.6+1.16.5.jar
9 Jun 2025
4.0.6+1.16.5+fabric
Annotated-DI-Fabric-4.0.6+1.16.5.jar
9 Jun 2025
4.0.4+1.16.5
Annotated-DI-Forge-4.0.4+1.16.5.jar
8 Jul 2024
4.0.4+1.16.5+fabric
Annotated-DI-Fabric-4.0.4+1.16.5.jar
8 Jul 2024
4.0.1+1.16.5+fabric
Annotated-DI-Fabric-4.0.1+1.16.5.jar
10 Jul 2022
Annotated-DI-Forge-4.0.1+1.16.5
Annotated-DI-Forge-4.0.1+1.16.5.jar
10 Jul 2022
4.0.0+1.16.5+fabric
Annotated-DI-Fabric-4.0.0+1.16.5.jar
21 Jun 2022
Annotated-DI-Forge-4.0.0+1.16.5
Annotated-DI-Forge-4.0.0+1.16.5.jar
21 Jun 2022
Annotated-DI-Forge-3.0.0+1.16.5
Annotated-DI-Forge-3.0.0+1.16.5.jar
30 May 2022
Looking for an older file? The official CurseForge project page is in Resources.