Compat API

Compat API

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

by
7.6K Downloads
fabricforgeneoforgelibrarymanagementutility
Rent Server with this Mod

About this Mod

📖 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!

Available Versions

Compat API 1.0.3release
MC 1.21.1fabric
March 20, 2026
Compat API 1.0.3release
MC 1.20.1fabric
March 17, 2026
Compat API 1.0.3release
MC 1.21.1neoforge
March 16, 2026
Compat API 1.0.3release
MC 1.20.1forge
March 14, 2026
Compat API 1.0.2release
MC 1.20.1forge
December 28, 2025

How to Install Compat API on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).

3

Install Mod

Open the mod browser in the dashboard and search for "Compat API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforge

Minecraft Versions

1.21.1, 1.20.1

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Compat API server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.1). You can switch loaders with one click in the panel.

Is Compat API compatible with fabric and forge and neoforge?

Compat API officially supports fabric, forge, neoforge for Minecraft 1.21.1, 1.20.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Compat API – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Compat API consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Compat API with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.11.20.1