Annotated DI Mod (1.21.8, 1.20.1) brings a structured and modernized development experience to Minecraft modders by introducing a wrapper around Google Guice with additional utilities tailored for Minecraft. It enables the Dependency Injection (DI) design pattern for both mod development and API creation, promoting clean code, modular structure, and easy integration with soft dependencies.
Instead of manually managing instances and class dependencies, mod developers can now utilize a central injector system to cleanly and efficiently bind interfaces and inject functionality across different mod layers and even between mods.

Features:
- Provides a central Injector for each mod to manage class/interface injection from itself and its dependencies.
- Supports custom
Module
injection via a mod entry point ideal for advanced binding configurations. - Enables access to other mods’ injectors, allowing soft dependency support and cross-mod injection.
- Promotes scalable and modular mod development with dependency injection best practices.
- Compatible with modern loaders like Fabric, Forge, and Quilt.
Requires:
How to install:
How To Download & Install Mods with Minecraft Forge
How To Download & Install Fabric Mods
Don’t miss out today’s latest Minecraft Mods
Why Use Annotated DI Mod?
For mod developers looking to implement clean architecture, modular APIs, and reduce hard-coded dependencies, Annotated DI is a game-changer. It simplifies complex binding logic, supports flexible design, and allows developers to easily support optional or soft dependencies without cluttering the core logic. It’s especially beneficial for API developers or large mod projects requiring robust structure.
FAQs
What is the purpose of Annotated DI Mod?
It enables dependency injection using a wrapper around Guice, allowing Minecraft mod developers to structure their code cleanly and inject dependencies easily.
Do I need this mod if I’m not a developer?
No. This mod is intended for developers building Minecraft mods or APIs. End users won’t interact with its features directly.
Does it support both Fabric and Forge?
Yes. Annotated DI Mod is compatible with Fabric, Forge, and Quilt mod loaders.
Can I inject dependencies from other mods?
Yes, you can retrieve another mod’s injector and use it to inject soft dependency bindings.
Is it required to add a custom Module?
No, most mods won’t need it unless you require advanced binding behavior during Injector creation.
Download links
- Forge version:download Download file
- Fabric version:download Download file
- Forge version:download Download file
- Fabric version:download Download file
- Forge version:download Download file
- Fabric version:download Download file
- Forge version:download Download file
- Fabric version:download Download file
- Forge version:download Download file
- Fabric version:download Download file
- Forge version:download Download file
- Fabric version:download Download file
- Forge version:download Download file
- Fabric version:download Download file
- Fabric version:download Download file
- Fabric Quilt version:download Download file
- Fabric Quilt version:download Download file