Moff's AddonAPI-DynLoad
ModA library mod that provides an API for dynamically loading objects in addon mods based on the mods loaded by Forge.
Type
Mod
Modrinth Downloads
184,637
Modrinth ID
1keAhoAI
Last Updated
Jun 10, 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" } ], ... }Compatibility
Mod Loaders
Game Versions
Similar Mods
Held Item Tooltips
See item enchantments, potion effects, shulker box contents and much more directly above your hotbar.
Gambler Illager - Iron's Spells and Spellbooks Addon
Small addon of iron's spell books mod.
Epic Fight x Iron's Spells: Enhanced Animations
Adding custom spells casting animation for Iron's Spellbook using Epic Fight animation style
Lost Cities Modern Tweaks
A datapack that applies various tweaks to the default Lost Cities generation using modern Minecraft blocks, adding addit...
Twilight Forest: The Lost Blocks
Adds missing blocks for the Twilight Forest
FoxLib
A library mod that provides various useful functions