Moff’s AddonAPI-DynLoad Mod (1.21.1, 1.20.1) – Prevent Startup Crashes
🌐 Read this article in your language! Choose your preferred language below.
Or pick the one you like:
Moff’s AddonAPI-DynLoad Mod loads addon features based on the active mods in your game. If a target mod is missing from the game, the mod leaves out only the parts tied to that missing mod so your game still starts safely. It gives addon projects a clean system to manage optional cross-mod content without causing startup crashes.
![]()
Features:
- Loads registered addon modules according to the active mod list.
- Skips features tied to missing mods so the game can start safely.
- Adds a compat section to addon config files for each target mod.
- Includes recipe conditions that check if required modules are present before loading recipes.
- Offers a template Mixin plugin to check mod loading status.
How to Use:
- Create a module class by extending
AddonModule. - Create a module provider by extending
AddonModuleProviderand callingaddRawModules()inside theregisterRawModules()method. - Call
AddonModuleRegistry.INSTANCE.LoadModule()in your addon constructor. - Add the module condition to data pack recipes when linking items to optional mods:
{
"type": "YOUR_RECIPE_TYPE",
"conditions": [
{
"type": "addonlib:mods_available",
"required_raw_module": "YOUR_RAW_ADDON_MODULE_NAME"
}
]
}
How to Install:
New to Minecraft? Follow our step-by-step guide to install Mods on your PC.View Guide
Requirements:
Moff’s AddonAPI-DynLoad Mod Download Links
For Minecraft 1.21.1, 1.21
For Minecraft 1.20.1, 1.20
Click to rate this post!
[Total: 0 Average: 0]
0


This post has no comments yet. Be the first — your comment will appear here.