ModsFinder

Aluminis Inject

by Aluminis

Aluminis Inject is a Fabric library that adds dependency injection, so a mod's classes can be wired together automatically instead of by hand.

FabricClient or server, optionalApache License 2.0Open source1.21.4 – 1.21.5

What it does

Fabric does not inject objects into classes, so a mod author normally creates and registers every instance explicitly and wires them together. That works for small mods but becomes disorganized quickly in larger ones. Aluminis Inject, built on the Google Guice model, replaces much of that wiring with automatic injection based on declared rules and annotations.

The framework is set up through a Fabric entrypoint named aluminis-inject:bootstrap that points to a class extending net.aluminis.inject.model.AbstractModule. That module must provide a mod ID. Classes marked with an AutoLoad annotation are instantiated when the mod container loads, and services can receive other services as injected dependencies. Some configuration remains for providers that are not class-based. Fabric API is required, and the library is published for 1.21.4 and 1.21.5, with 2.0.0-alpha for 1.21.5 as the latest file. It is an alpha release on the alpha channel, and its source code and issue tracker are public.

Key features

  1. Automatic autowiring

    Dependencies are injected into a class without manual configuration, and the framework works out the implementation from the declared rules.

  2. AutoLoad services

    Classes annotated with AutoLoad are instantiated automatically when the mod container loads them.

  3. Service-to-service injection

    Services can be injected with other services and providers, so components connect without explicit instantiation.

  4. Module bootstrap

    A single module class, registered under the aluminis-inject:bootstrap entrypoint, sets up the framework and supplies the mod ID.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.52.0.0-alpha
1.21.42.0.0-alpha
ReleaseBetaAlphaNot available

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

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

Use cases

Who it’s for: Mod developers building on Fabric who already understand object-oriented programming and dependency injection. The library assumes that background and does not teach it.

How it compares

Full comparison

Loot Inject is a Fabric mod for 1.21 – 1.21.5 that runs on the server alone, under the MIT License, so players need nothing installed. Dynamic Registries Modifier is a Fabric mod for 1.21.1 – 1.21.8 that can run on a client, a server or both, under the CC0 1.0 Universal license. Aluminis Inject is for mod developers and is not a gameplay mod, so it differs from both in purpose as well as version range.

ModLoadersGame versionsEnvironmentUpdated
Aluminis InjectFabric1.21.4 – 1.21.5Client or server, optional2025-03-30
Loot InjectFabric1.21 – 1.21.5Server-side only2025-04-14
Dynamic Registries ModifierFabric1.21.1 – 1.21.8Client or server, optional2025-08-23

Questions

Does Aluminis Inject require Fabric API?

Yes. Fabric API is a required dependency, and the library targets Fabric only.

Which game versions does Aluminis Inject support?

Files exist for 1.21.4 and 1.21.5. The latest file is 2.0.0-alpha for 1.21.5, published 2025-03-30 on the alpha channel.

Does the server need Aluminis Inject?

Either side can run it, and neither needs it. It is a library, so it is mainly a dependency for developers.

In the catalog

Aluminis Inject is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,307 mods support Minecraft 1.21.5.

Similar mods

What the author says

A dependency-injection based framework mod for simplifying creation of minecraft mods. To understand how to use this mod, it is expected to have a basic understanding of Object-Oriented Programming and Dependency Injection Before we can dive into features, let's talk a little bit about why you might want to use this…
Aluminis, on the Modrinth page

Official listing

Owner
Aluminis
Published
2025-03-22
Updated on Modrinth
2025-03-30
Facts verified
2026-10-15

Tags