Back to mods
Annotated DI (Forge) project artwork

CurseForge · Minecraft mod

Annotated DI (Forge)

Dependency Injection library for Minecraft mods

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Annotated DI (Forge) release matches 1.20.1 Forge?

Updated 4 months ago
Best match for your filters Annotated-DI-Forge-4.0.9+1.20.1
Game version 1.20.1, 1.20
Loader Forge

Annotated DI (Forge) Annotated-DI-Forge-4.0.9+1.20.1 targets 1.20.1, 1.20 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Annotated DI (Forge) required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Annotated DI (Forge) Annotated-DI-Forge-4.0.9+1.20.1 need?

Annotated-DI-Forge-4.0.9+1.20.1 on 1.20.1 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

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) Annotated-DI-Forge-4.0.9+1.20.1 on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use Annotated-DI-Forge-4.0.9+1.20.1. It targets 1.20.1, 1.20 with Forge; another release may have different loader, side or dependency requirements.

  2. 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.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside Annotated-DI-Forge-4.0.9+1.20.1. 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.

96 available setups

Showing 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

6 of 110 releases match
Clear filters

Looking for an older file? The official CurseForge project page is in Resources.