Moff's AddonAPI-DynLoad
Modby mofumofumoffy
A library mod that provides an API for dynamically loading objects in addon mods based on the mods loaded by Forge.
Type
Mod
CurseForge Downloads
147,443
CurseForge ID
1242459
Last Updated
Sep 5, 2026
Description
AddonAPI
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.
Supported Version
- Forge for Minecraft 1.20.1
Main Features
- Dynamically loads registered modules according to the ModList.
- Adds a compat section to addon configs, which can be configured per target mod.
- Provides a recipe condition that determines whether to load a recipe based on the compat config.
- Includes a template Mixin plugin for detecting mod load status.
Creating Modules
- Create a module class by extending AddonModule.
- Create a module provider by extending AddonModuleProvider and calling addRawModules() within the registerRawModules() method.
- Call AddonModuleRegistry.INSTANCE.LoadModule() in the constructor of your addon.
Using compat Settings
In data pack recipes, use the following format:
{ "type": "YOUR_RECIPE_TYPE", "conditions": [ { "type": "addonlib:mods_available", "required_raw_module": "YOUR_RAW_ADDON_MODULE_NAME" } ], ... }Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Loot & Explore
Explore and loot new structures and fight new dangerous foes!
All The Trims
Allows any item to be an armour trim material and makes all armour trimmable.
Splash Logo Color Fix
Fixes the color of the mojang logo when a background color is used.
Additional Placements
Additional placement states for many blocks, including vertical slabs and stairs
Illager Plushies [Forge]
New decorative plushies obtained by ravaging some illagers! (Compatible with some illager adding mods!)
Create: Diesel Generators [Fabric]
A mod that adds Diesel Generators to the create mod.