Fabric API logoFabric API
Fabric API software workspace showing modded game code and a voxel world
Live Updated for Minecraft 26.3
Library mod for Minecraft: Java Edition

Fabric API: The Core Library Behind Fabric Mods

Fabric API is the shared library that gives Fabric mods their common hooks, events and registry tools. Installed beside Fabric Loader, it lets most popular mods load cleanly together on both the client and the server, from early releases through to the current 26.x line.

  • Apache-2.0 licence
  • Client & server
  • Minecraft 1.14 to 26.x
Overview

What Is Fabric API?

Fabric API is a library mod for the Fabric toolchain on Minecraft: Java Edition. It does not add new blocks, creatures or menus of its own. Instead, it supplies the foundations that other mods build upon: event callbacks, registry synchronisation, networking helpers, rendering interfaces, resource loading and dozens of smaller utilities that would otherwise be rewritten in every project.

Because so many mods rely on the same building blocks, Fabric API acts as a common language between them. When two mods both listen for the same server event or register content through the same system, they cooperate rather than collide. This is the main reason the library appears as a required dependency on the majority of Fabric mod pages.

The project is maintained by the FabricMC team and its contributors, released under the permissive Apache-2.0 licence, and updated for each new game release and many snapshots, so modded play can resume soon after Mojang ships an update.

Library modShared hooks that other mods build on
Apache-2.0Open-source licence, public code
Client + ServerRuns in both environments
Frequent buildsReleases and snapshots supported
Capabilities

Key Features of Fabric API

A lightweight, modular toolkit that removes repetitive work from mod development and keeps large mod lists stable.

01

Event Callbacks

Ready-made events for server ticks, block interactions, player connections, world loading and more, so mods react to the game without editing core classes directly.

02

Registry Synchronisation

Keeps item, block and entity identifiers consistent between server and client, which prevents mismatched content when players join a modded world.

03

Networking Helpers

Typed payloads and simple channels for sending data between client and server, reducing the boilerplate behind custom packets.

04

Rendering Interfaces

A rendering API designed to cooperate with optimisation and graphics mods, giving block models a shared path to the screen.

05

Resource Loading

Utilities for registering resource packs, data packs and reload listeners, letting mods ship assets that behave like built-in content.

06

Clearer Crash Reports

Extra diagnostic details in crash logs help players and developers identify which mod caused a problem far more quickly.

Architecture

How Fabric API Works With Fabric Loader

The Fabric ecosystem is split into two distinct parts. Fabric Loader starts the game with mods enabled; it is designed to work across many game versions and changes relatively rarely. Fabric API, by contrast, is tied to a specific Minecraft release, because its hooks reach into game code that Mojang reshapes with every update. That is why the loader is installed once through an installer or launcher, while Fabric API is placed in the mods folder like any other mod.

Step one · Loader

What the loader handles

  • Discovering mod files and reading their fabric.mod.json metadata
  • Checking dependencies and reporting missing or conflicting mods
  • Applying Mixin transformations that let mods adjust game behaviour
Step two · Library

What the library handles

  • Providing stable events and registries that mods share
  • Keeping content synchronised between server and client
  • Offering rendering, networking and data generation tools

In short, the loader opens the door and Fabric API furnishes the room. Most mods need both, and a missing library is the single most common reason a Fabric mod refuses to start.

Modular design

Fabric API Modules at a Glance

The library is assembled from many small modules. Players install the complete bundle, while developers can depend on only the parts they need.

AB

API Base

Core utilities, including the event system most other modules build upon.

LE

Lifecycle Events

Hooks for server start, stop, ticks, chunk loading and world changes.

NW

Networking

Channels and payload registration for client and server communication.

CM

Command API

Straightforward registration of custom server and client commands.

RL

Resource Loader

Built-in packs, reload listeners and data-driven content support.

TR

Transfer API

Shared item and fluid transfer, so pipes and machines from different mods connect.

DG

Data Generation

Generates recipes, loot tables, tags and models automatically at build time.

IG

Item Groups

Adds mod items to creative inventory tabs in a tidy, predictable order.

Before you start

Fabric API System Requirements

Fabric API itself is light. The deciding factors are the Java version your game needs and the memory your full mod list consumes.

Minecraft versionMinimum JavaNotes
26.1 and newerJava 25First releases shipped without obfuscation
1.20.5 – 1.21.11Java 21Bundled with the official launcher
1.18 – 1.20.4Java 17Long-term support runtime
1.17.xJava 16Transitional release line
1.14 – 1.16.5Java 8Legacy versions, still widely played
Memory4 GB suits small mod lists; large adventure or technology packs often need 6–8 GB.
Fabric LoaderA matching loader installation plus Minecraft: Java Edition for your chosen version.
Operating systemWindows, macOS and Linux are all supported, on desktops and dedicated servers.
Setup

How to Install Fabric API

Installation takes a few minutes and follows the same pattern on every operating system.

1

Install Fabric Loader

Run the official Fabric installer or create a Fabric profile in your launcher for your chosen game version.

2

Launch Once

Start the new Fabric profile so the game creates its folders, including the mods directory.

3

Add the Library

Place the Fabric API jar that matches your game version into the mods folder of that profile.

4

Add Your Mods

Drop in the Fabric mods you want, start the game, and confirm they appear in the mod list.

Modern launchers such as the Modrinth App, Prism Launcher and the CurseForge app can perform these steps automatically, including selecting the correct library build whenever you add a mod that depends on it.

Compatibility

Fabric API Version Compatibility

Every Fabric API release is built for one particular Minecraft version, and its file name states both numbers. Always match the part after the plus sign to the game version you are running; the number before it simply tells you how recent the build is.

0.164.0+26.3
0.164.0 = library build  ·  +26.3 = Minecraft version it targets
Release familyStatusTypical use
26.3Current stableNew worlds and up-to-date modpacks
26.1.x – 26.2RecentPacks still moving to the newest update
Snapshots (26.4)PreviewMod authors testing upcoming changes
1.21.x, 1.20.xMatureLarge established modpacks
1.14.x – 1.19.xLegacyOlder packs and long-running servers

Mods compiled for 1.21.11 or earlier will not run on the 26.x line, so check each mod's supported versions before upgrading a world.

Who uses it

Fabric API for Players and Server Owners

For players

Fabric API is usually the first file in a modded profile. Once it is present, performance mods, map tools, interface tweaks and content mods can be added with confidence. It updates quickly after new game releases, which keeps waiting times short when Mojang ships an update.

For server owners

The library runs on dedicated servers just as it does on clients. Server-side mods such as world management, permissions and backup tools depend on it, and its registry synchronisation keeps joining players aligned with the server's content.

For modpack creators

Because nearly every Fabric mod expects it, the library is a fixed component of any pack. Pinning the exact build in your pack manifest keeps every player on an identical, tested configuration.

For performance enthusiasts

Its rendering API was designed to cooperate with optimisation mods, so you can combine faster rendering with mods that add custom block models without visual glitches.

Development

Fabric API for Mod Developers

For developers, Fabric API turns common tasks into a few lines of code. Registering a command, listening for a block break or sending a custom packet no longer requires writing Mixins from scratch. Since Minecraft 26.1 ships without obfuscation, projects use the net.fabricmc.fabric-loom Gradle plugin with Mojang's own names, and the library is added as a normal dependency.

Declare the dependency in fabric.mod.json using the fabric-api mod ID; the older fabric ID has been removed, so mods still referencing it must be updated.

build.gradle
# gradle.properties
fabric_api_version=0.164.0+26.3

// build.gradle
dependencies {
    implementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_api_version}"
}

// fabric.mod.json
"depends": {
    "fabric-api": "*"
}
Fixes

Troubleshooting Fabric API Problems

Most issues come from version mismatches or duplicate files. These checks resolve the large majority of them.

Problem

"Requires fabric-api" message

Fix

The library is missing or sits in the wrong folder. Confirm that the jar is inside the mods directory of the profile you are launching, not a different instance.

Problem

Game closes on start-up

Fix

Check that the build matches your exact game version and that your Java runtime meets the requirement listed above. Open logs/latest.log to see which mod failed.

Problem

Duplicate mod error

Fix

Two copies of the library are present, often after an update. Keep only the newest build for your version and delete the rest.

Problem

Mods vanish after updating

Fix

Mods built for an earlier game version will not load. Wait for compatible releases or keep a separate profile for your older world.

Get the files

Download Fabric API

The button below retrieves the Fabric API 26.3 branch archive directly from the official FabricMC repository on GitHub. It contains the complete source tree for the 26.3 release line, published under the Apache-2.0 licence, and is ideal for reviewing the code, building the library yourself or studying how individual modules are organised.

If you only want a ready-built jar to drop into your mods folder, pick the build that matches your game version from the project's listings on Modrinth or CurseForge, or let your launcher fetch it for you.

Download Fabric API
Fabric API logo
fabric-api-26.3.zip
Source archive · GitHub · Apache-2.0
  • Official FabricMC repository
  • Minecraft 26.3 branch
  • Java 25 required to build
Questions

Fabric API Frequently Asked Questions

Fabric API is a library mod that supplies shared events, registries, networking and rendering tools to other Fabric mods. It allows many mods to work together without each one modifying the same game code.

No. Fabric Loader starts the game with mods enabled and checks their dependencies, while Fabric API is a mod that runs on top of the loader and provides tools other mods use. Most mods need both.

Not every mod requires it, but the large majority do. Because it is lightweight and has no effect on vanilla gameplay, installing it in every Fabric profile is the sensible default.

Place the jar in the mods folder of the Fabric profile or launcher instance you play. Keep the file as it is and do not extract it.

Choose the newest release whose file name ends with your exact Minecraft version after the plus sign. For example, a build ending in +26.3 is intended for Minecraft 26.3.

Yes. It supports both client and dedicated server environments. Server-side mods rely on it, and its registry synchronisation keeps joining players aligned with the server.

No. The library only performs work when mods use its hooks, so on its own it has no noticeable effect on performance. Frame rate depends on your other mods, settings and hardware.

It follows the game: Java 25 for Minecraft 26.1 and newer, Java 21 for 1.20.5 to 1.21.11, and Java 17 for 1.18 to 1.20.4.

No. It is built for the Fabric loader. Forge and NeoForge have their own systems, although some Fabric mods can run on the Quilt loader.

Yes. It is published under the Apache-2.0 licence, and its full source code is available in the official FabricMC repository on GitHub.

It retrieves the 26.3 branch archive from the official FabricMC GitHub repository, containing the complete source code for that release line. Ready-built jars for each game version are available on Modrinth and CurseForge.

New builds appear frequently, often several times a month, and support for new Minecraft releases and snapshots usually arrives very quickly after Mojang publishes them.