SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
✓ VerifiedLibraries & compatibility

Compat API

by FixerLink · for Minecraft

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

28KDownloads
6 mo agoLast updated
MITLicense
Fabric · Forge +1Loaders

About Compat API

From Modrinth

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

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

Highlights

From source data

Game versions

Supports 2 Minecraft versions, the newest being 1.21.1.

Loaders

Runs on Fabric, Forge and NeoForge.

Footprint

Rated a light load on a server.

What kind of mod it is

From the catalog
Listed on Modrinth as “Mods”

Libraries & compatibility

Foundations and fixes other mods build on. Usually installed because something else needs it.

Runs on your server

From source side support

Modrinth lists Compat API as required on the server. Check its Modrinth page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
FabricForgeNeoForge
Runs on
Serverrequired on the server
Game versions
1.21.1 and 1 earlier

Verified at the source

  • ✓ModrinthOfficial listing, checked 2026-10-01Open ↗
  • ✓AuthorFixerLink, as published on Modrinth
  • ✓LicenseMITFree

Compat API, answered

Generated from the mod’s own source data.

Do my players need to install Compat API?

Modrinth lists Compat API as required on the server. Check its Modrinth page to see whether players need it too.

Which loaders does it support?

Fabric, Forge and NeoForge.

Is it free?

Yes. Compat API is free to download from Modrinth. Its license is MIT.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Compat API on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Compat API in one click.