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

Moff's AddonAPI-DynLoad Mod

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:

  1. Create a module class by extending AddonModule.
  2. Create a module provider by extending AddonModuleProvider and calling addRawModules() inside the registerRawModules() method.
  3. Call AddonModuleRegistry.INSTANCE.LoadModule() in your addon constructor.
  4. 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"
    }
  ]
}

Moff’s AddonAPI-DynLoad Mod Download Links

Filter by

For Minecraft 1.21.1, 1.21

NeoForge 18 KB Sep 1, 2026

For Minecraft 1.20.1, 1.20

Forge 17 KB Sep 1, 2026

Click to rate this post!
[Total: 0 Average: 0]