
Compat API
Universal compat api that auto-loads integrations, data packs and loot modifiers for mods that depend on it.
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 innet.<owner>.<moid>.compats.<target>and runs their register, init, or bootstrap hooks automatically. - Automatic Data Pack Injection:
Loads content fromdata/<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 conditioncompatapi:compat_enabledensures 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
How to Install Compat API on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.1).
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
Minecraft Versions
1.21.1, 1.20.1
Server-side
✓ RequiredRecommended 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.
Similar Mods
Rent Modded Server
Install Compat API with just one click on your server.