All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Compat API

Compat API

by FixerLink • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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

How to Install Compat API (Mod)

Compat API by FixerLink is verified for Fabric, Forge, Neoforge across Minecraft versions 1.20.1, 1.21.1 (latest release: 1.0.3, file size: 176 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.20.1, 1.21.1) and platform (Fabric, Forge, Neoforge).
  2. Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge.
  3. Move the downloaded Compat API file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Fabric
7mo ago 1
1.20.1
Fabric
8mo ago 1
1.21.1
Neoforge
8mo ago 1
1.20.1
Forge
8mo ago 1
1.20.1
Forge
10mo ago 1
1.21.1
Neoforge
11mo ago 1
1.20.1
Forge
11mo ago 1
1.20.1
Forge
11mo ago 1
[1.0.3] Compat API 1.0.3 by FixerLink on Mar 16, 2026
Download
Worldgen Update & Special System and Modules Update

[1.0.3] Compat API 1.0.3 by FixerLink on Mar 14, 2026
Download
Worldgen Update

  • Added Worldgen System
  • Added Spawn Structure Block
[1.0.2] Compat API 1.0.2 by FixerLink on Dec 28, 2025
Download
[1.0.1] Compat API 1.0.1 by FixerLink on Dec 11, 2025
Download
Loot Modifiers Update
  • Added more Loot Modifiers
https://github.com/fixerlink/CompatAPI/wiki/Loot-Modifiers
Compat API Icon
Download Compat API
Select game version
Select platform