Moff's AddonAPI-DynLoad
Moff's AddonAPI-DynLoad is a Forge and NeoForge library that lets addon mods load their objects only when the mods they depend on are present.
What it does
Addon developers use the library to register modules that load conditionally. Each target mod that is not loaded causes only the extensions tied to that mod to be left out, so Minecraft still starts. A module is written by extending AddonModule, and a module provider extends AddonModuleProvider and calls addRawModules() inside registerRawModules().
Addon configs gain a compat section where each target mod can be switched on or off. A recipe condition reads that compat config and decides whether a recipe is loaded. A template Mixin plugin for detecting whether a mod is loaded is included as a starting point. The library requires Forge or NeoForge and is released under the MIT License as open source.
Key features
Conditional module loading
Modules are loaded according to the mods found in the ModList, so absent targets do not stop startup.
Per-target compat settings
Addon configs include a compat section that can be configured separately for each target mod.
Recipe condition
A recipe condition checks the compat config and includes or skips the recipe depending on the result.
Mixin detection template
A template Mixin plugin shows how to detect whether a target mod has been loaded.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 1 mod
Use cases
Addons for optional mods
An addon that extends several mods can ship one jar while leaving out the parts whose target mods are absent.
Who it’s for: Addon developers who want their extensions to start safely when some of the mods they extend are not installed.
How it compares
Compat API is a Fabric, Forge and NeoForge library for 1.20.1 – 1.21.1 under the MIT License, but it is not open source, and it is needed on both sides like this mod. Mixin 0.7-0.8 Compatibility is a Forge-only library for 1.10.2 – 1.12.2 under the MIT License, and either side can run it while neither needs it. UniMixins is Forge-only for 1.7.10, under a custom license, and it is not open source.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Moff's AddonAPI-DynLoad | Forge and NeoForge | 1.20.1 – 1.21.1 | Client and server | 2026-06-21 |
| Compat API | Fabric, Forge and NeoForge | 1.20.1 – 1.21.1 | Client and server | 2026-03-20 |
| Mixin 0.7-0.8 Compatibility | Forge | 1.10.2 – 1.12.2 | Client or server, optional | 2022-11-13 |
| UniMixins | Forge | 1.7.10 | Client or server, optional | 2026-05-27 |
Questions
Which loaders does AddonAPI-DynLoad support?
Does the library have to be installed on both sides?
Which mod requires AddonAPI-DynLoad?
What happens when a target mod is missing?
In the catalog
Moff's AddonAPI-DynLoad is one of 3,514 Library mods on ModsFinder, and one of 1,576 Library mods for Forge. 32,366 mods support Minecraft 1.21.1.
More from mofumofumoffy
Similar mods
What the author says
AddonAPI is a library mod that provides an API for dynamically loading objects in addon mods based on the mods loaded by Forge. If a target mod is not loaded, only the extension elements related to that mod are excluded, allowing Minecraft to launch safely.
Official listing
- Modrinth page
- modrinth.com/mod/addonapi
- Owner
- mofumofumoffy
- Published
- 2025-03-29
- Updated on Modrinth
- 2026-06-21
- Facts verified
- 2026-10-15
