
Moff's AddonAPI-DynLoad
A library mod that provides an API for dynamically loading objects in addon mods based on the mods loaded by Forge.
Автор: mofumofumoffy201,2 тыс.0обновлён 21 июн. 2026 г.
Библиотеки
Описание
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
compatsection to addon configs, which can be configured per target mod. - Provides a recipe condition that determines whether to load a recipe based on the
compatconfig. - 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
AddonModuleProviderand callingaddRawModules()within theregisterRawModules()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"
}
],
...
}
Последние версии
Все версии →release
Moff's AddonAPI-DynLoad 2.1.0[1.21.1NeoForge]
2.1.021 июн. 2026 г.196Minecraft: 1.21.1neoforge
Что нового
## Features
The functionality of AddonAPI 2.1.0 for Forge 1.20.1 has been ported to NeoForge 1.21.1.
## Changes
- AddonModule has been separated into CommonAddonModule (server-side) and ClientAddonModule (client-side).
- When calling, please use AddonModuleRegistry.INSTANCE.loadCommonModule/loadClientModule appropriately.
- RawAddonModule is now a Builder expression; please create it using RawAddonModule.builder(...). ... .build().
release
Moff's AddonAPI-DynLoad 2.1.0[Forge1.20.1]
2.1.025 мая 2026 г.7,3 тыс.Minecraft: 1.20.1forge
Что нового
- Added priority for loading modules. This allows modules such as JEI to be loaded with a delay.
- Ensured compatibility with 2.0.0-SNAPSHOT.
- Fixed one minor bug.
release
Moff's AddonAPI-DynLoad 2.0.0
2.0.01 мар. 2026 г.5,9 тыс.Minecraft: 1.20.1forge
Что нового
## Features
- Changed AddonModule to an interface
- Output loaded modules to the log
- Added a utility method to determine whether a module is loaded
- Changed the way ModsAvailableCondition is used
alpha
Moff's AddonAPI-DynLoad 2.0.0-SNAPSHOT
2.0.0-SNAPSHOT10 янв. 2026 г.2,3 тыс.Minecraft: 1.20.1forge
Что нового
Usability improvements (please wait a little longer for details)
release
AddonAPI 1.2.0
1.2.030 мар. 2025 г.185,3 тыс.Minecraft: 1.20.1forge
Что нового
- Update: forge47.4.0(can also use 47.3.x)
- Fixed: the server side was calling client side process.
release
AddonAPI 1.1.0
1.1.029 мар. 2025 г.151Minecraft: 1.20.1forge
Что нового
**NOTE: HAVE A BUG IN SERVER SIDE!**
- transferred from github
- add compat conditions