Skip to content

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.

NeoForgeForge
Loaders
NeoForgeForge
Downloads on Modrinth
201K
Followers on Modrinth
0
versions
6
Updated
June 21, 2026Jun 21
Published
in 2025
This is a library — other mods need it, and it adds nothing to the game by itselfRequired by 1 mods. Download it if another mod needs it.

At a glance

A library: other mods need it — required by 1 mods
Runs on NeoForge and Forge
For Minecraft 1.20.1, 1.21.1
Needed in the game and on the server
Latest version — 2.1.0 from June 21, 2026
License MIT — free
Where it's needed
In gamerequiredOn serverrequired

Needed both in the game and on the server

Game versions1.20.1, 1.21.1

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

  1. Create a module class by extending AddonModule.
  2. Create a module provider by extending AddonModuleProvider and calling addRawModules() within the registerRawModules() method.
  3. 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"
      }
    ],
    ...
}

FAQ

How to install Moff's AddonAPI-DynLoad?

Install NeoForge for your Minecraft version, download Moff's AddonAPI-DynLoad for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Moff's AddonAPI-DynLoad support?

Moff's AddonAPI-DynLoad has builds for Minecraft 1.20.1, 1.21.1.

Is Moff's AddonAPI-DynLoad needed on the server?

Needed in the game and on the server

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More