Back to mods
Compat API project artwork

Modrinth · Minecraft mod

Compat API

Universal compat api that auto-loads integrations, data packs and loot modifiers for mods that depend on it.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Compat API release matches 1.20.1 Forge?

Updated 5 months ago
Best match for your filters 1.0.3
Game version 1.20.1
Loader Forge

Compat API 1.0.3 targets 1.20.1 with Forge. Installation on the client is optional. Installation on the dedicated server is optional. No extra mods listed for this file.

Where it goes

Is Compat API required on the client, server, or both?

Installation on the client is optional. Installation on the dedicated server is optional.

Client Optional
Dedicated server Optional
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source marks this as usable on both the client and server.

What else does Compat API 1.0.3 need?

1.0.3 on 1.20.1 Forge. Every mod below is checked against that same setup.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Compat API without breaking your instance.

Built for Compat API 1.0.3 on 1.20.1 Forge. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use 1.0.3. It targets 1.20.1 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    Installation on the client is optional. Installation on the dedicated server is optional.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside 1.0.3. It opens that exact file at the source.

About this project

What does Compat API add?

📖 About

Compat API is a lightweight and universal compatibility framework for the entire “Compat” ecosystem by fixerlink — including Compat Delight, the upcoming Compat Artifacts, Compat Decor, and any third-party mod that wants an easy, automated way to add cross-mod integrations.

Instead of hardcoding compat logic or manually managing data packs, Compat API handles everything for you:
auto-loading compat code, injecting data packs, wrapping loot modifiers, applying conditions, and enabling integrations only when the required mods are installed.


📃 Features

  • Smart Compat Scanner: Loads integrations only from mods that explicitly depend on Compat API.
  • Automatic Compat Code Loading:
    Detects compat modules in net.<owner>.<moid>.compats.<target> and runs their register, init, or bootstrap hooks automatically.
  • Automatic Data Pack Injection:
    Loads content from data/<owner>/<modid>/compats/<target> as built-in data packs — only when the target mod exists.
  • Universal Loot Modifier System:
    Adds compat conditions automatically and generates the global loot modifier list.
  • Compatibility Conditions:
    Built-in condition compatapi:compat_enabled ensures integrations load safely and only when appropriate.
  • Per-Target Config Toggles:
    Every compat module can be enabled or disabled individually via config.
  • Safe & Clean System:
    Compat errors never crash the game — they’re logged and gracefully skipped.

📝 Description

How it works:

You install Compat API.
That’s it.

If a mod depends on Compat API and includes compat modules, the API will:

  • detect its compat code
  • inject its compat data packs
  • wrap its loot modifiers
  • apply conditions
  • and enable integrations automatically

If the target mod is missing — the compat simply won’t load. No errors, no crashes, no manual setup needed. Mods can freely add compat folders and classes — Compat API does all the heavy lifting. And of course, every integration can be toggled via config.


🎁 Bonus Info

  • Mods that do not depend on Compat API are fully ignored
  • All integrations load only when their target mods are present
  • Errors in compat code never break the game
  • Fully automated system: code, data packs, conditions, loot modifiers
  • Supports thousands of integrations with minimal boilerplate

🧾 Credits

Compat API is developed by fixerlink as a universal standard for all Compat-series mods
and for developers who want clean, modular, and automated cross-mod integrations.


Feedback is welcome!

Project description from Modrinth.

Pick your setup

Compat API by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

4 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Compat API versions and loaders

4 of 8 releases match
Clear filters

Looking for an older file? The official Modrinth project page is in Resources.