Fabric API preview
fabric-api

Fabric API

Minecraft modding hooks and interoperability library

3.1k|stable|0.154.3+26.3
implementation "net.fabricmc.fabric-api:fabric-api:FABRIC_API_VERSION" // Or include specific modules implementation(fabricApi.module("fabric-command-api-v1", FABRIC_API_VERSION))
Event system — Exposes game events and hooks for mod interaction.
Registry synchronization — Handles syncing registries between server and client.
Rendering API — Advanced graphics layer compatible with optimization mods.
Modular design — Use only the API modules your mod requires.
Fabric API provides essential hooks and interoperability for Minecraft mod development. It handles tedious tasks like registry sync and crash reporting while exposing functionality difficult to access directly. Developers can include the full library or cherry-pick individual modules based on their needs.
Requires Fabric Loader and Java development environment
Source on GitHub
pavilion