Alternations Lib
by SolKomed
Alternations Lib is a Fabric library that gives mod developers a dependency-aware startup sequence for integrating their mods with other mods.
What it does
Fabric mod developers get a dedicated initialization API from this library. Integration code is declared in the mod's metadata file, inside an AlternationsLib block, rather than wired up by hand. Developers list the third-party mods that must be resolved before an entrypoint is allowed to run, and the library checks the environment for the requested dependency IDs before executing it.
Its loading flow is multi-phase and dependency-aware, so a mod's integration class runs only after the mods it depends on are in place. The integration class is named by a specified entrypoint field and must implement the AlternationsRegistryInitializer interface, overriding its onInitialize method. Developers can also pass an array of unique mod identifiers, and a core configuration registry is scanned at library boot time.
Alternations Lib requires Fabric Language Kotlin, and it is server required with client optional, so a server must run it while players may leave it out. It is released under All rights reserved and is not open source. Files are published for Fabric on 26.1.2 and 26.2, with 1.0-BETA-2 for 26.2 as the latest file.
Key features
Declarative integration
Layout-style hooks are declared inside the mod's metadata file instead of being coded into startup logic.
Dependency-aware loading
Each integration runs only after the third-party mods it names have been resolved.
Dynamic resolution
Requested dependency IDs are checked against the environment before an entrypoint is executed.
Safe item and block use
Developers can reference items and blocks from other mods without the errors that usually come from missing content.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Required by 3 mods
How it compares
Conditional Proxy Mod Initializers is also a Fabric library, for 1.14 – 1.21, and its environment is client and server. It is released under the GNU General Public License v3.0 only and is not open source. Static Data is open source under the MIT License and works on Fabric and Quilt for 1.20 – 1.21.5, but it is server-side only. Push To Craft is an open source MIT License mod for Fabric, server-side only, covering 1.15 – 1.19.2.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Alternations Lib | Fabric | 26.1.2 – 26.2 | Server required, client optional | 2026-08-08 |
| Conditional Proxy Mod Initializers | Fabric | 1.14 – 1.21 | Client and server | 2024-07-10 |
| Static Data | Fabric and Quilt | 1.20 – 1.21.5 | Server-side only | 2025-04-06 |
| Push To Craft | Fabric | 1.15 – 1.19.2 | Server-side only | 2022-11-14 |
Questions
Does Alternations Lib need Fabric Language Kotlin?
Does a player need to install Alternations Lib?
Which versions does Alternations Lib support?
In the catalog
Alternations Lib is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 13,894 mods support Minecraft 26.2.
More from SolKomed
Similar mods
What the author says
AlternationsLib is a specialized initialization API for Fabric mod developers. It completely redefines how cross-mod integration works by introducing a multi-phase, dependency-aware loading sequence directly driven by mod metadata. It allows you to safely use items, blocks, and mechanics from third-party mods without…
Official listing
- Modrinth page
- modrinth.com/mod/alternations-lib
- Owner
- SolKomed
- Published
- 2026-07-16
- Updated on Modrinth
- 2026-08-08
- Facts verified
- 2026-10-15
