ModsFinder

Moff's AddonAPI-DynLoad

by mofumofumoffy

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.

ForgeNeoForgeClient and serverMIT LicenseOpen source1.20.1 – 1.21.1

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

  1. Conditional module loading

    Modules are loaded according to the mods found in the ModList, so absent targets do not stop startup.

  2. Per-target compat settings

    Addon configs include a compat section that can be configured separately for each target mod.

  3. Recipe condition

    A recipe condition checks the compat config and includes or skips the recipe depending on the result.

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

1.21.1Not available2.1.0
1.20.12.1.0Not available
ReleaseBetaAlphaNot available

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

Full comparison

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.

ModLoadersGame versionsEnvironmentUpdated
Moff's AddonAPI-DynLoadForge and NeoForge1.20.1 – 1.21.1Client and server2026-06-21
Compat APIFabric, Forge and NeoForge1.20.1 – 1.21.1Client and server2026-03-20
Mixin 0.7-0.8 CompatibilityForge1.10.2 – 1.12.2Client or server, optional2022-11-13
UniMixinsForge1.7.10Client or server, optional2026-05-27

Questions

Which loaders does AddonAPI-DynLoad support?

Forge and NeoForge are supported. Files exist for 1.20.1 on Forge and for 1.21.1 on NeoForge.

Does the library have to be installed on both sides?

Yes. Installation covers the server and each player's game.

Which mod requires AddonAPI-DynLoad?

TiCEX - Tinkers Construct EX requires it, and one catalog mod depends on it in total.

What happens when a target mod is missing?

Excluded parts stay out of the build while Minecraft launches, and nothing else breaks.

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

All projects

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.
mofumofumoffy, on the Modrinth page

Official listing

Owner
mofumofumoffy
Published
2025-03-29
Updated on Modrinth
2026-06-21
Facts verified
2026-10-15

Tags