Brick Lib API

Brick Lib API

Providing a universal API for developing Minecraft mods across multiple game versions and loaders, featuring components such as event buses, registration systems, networking, configuration files, and data generators.

by
507 Downloads
fabricforgeneoforgelibrary
Rent Server with this Mod

About this Mod

Brick Lib API is part of Brick Lib, designed to provide developers with the most basic functionalities for cross-platform and cross-version Minecraft mod development.

Brick Lib API offers the following features:

  1. Added a universal event API that supports event registration, triggering, and cancellation.
  2. Added a universal registration API that supports both vanilla registries and Brick Lib's additional registries (Note: Lower versions will include higher version registries after compatibility updates, but these are only placeholders, and the registered object type is Object!).
  3. Added a universal network API that supports login packets from the server to the client and in-game regular network packets. It also allows sending strings directly between both ends and monitoring sending/receiving via events.
  4. Added a universal configuration file API, using Forge-style configuration files for configuration management.
  5. Supports universal data generators, update checkers, and client-side commands.
  6. Provides support for custom JSON functions, allowing registered handlers to be called within JSON and return values.
  7. Added the ResourceID class for partial replacement of the ResourceLocation class

Available Versions

Brick Lib API 1.0.0-beta.3 for fabric 1.20.1beta
MC 1.20.1fabric
March 22, 2026
Brick Lib API 1.0.0-beta.3 for fabric 1.21.5beta
MC 1.21.5fabric
March 22, 2026
Brick Lib API 1.0.0-beta.3 for neoforge 1.21.3beta
MC 1.21.3neoforge
March 22, 2026
Brick Lib API 1.0.0-beta.3 for forge 1.20.4beta
MC 1.20.4forge
March 22, 2026
Brick Lib API 1.0.0-beta.3 for fabric 1.21.3beta
MC 1.21.3fabric
March 22, 2026

How to Install Brick Lib API on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.5).

3

Install Mod

Open the mod browser in the dashboard and search for "Brick Lib API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabricforgeneoforge

Minecraft Versions

1.21.5, 1.21.4, 1.21.3 (+8 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Brick Lib 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.5). You can switch loaders with one click in the panel.

Is Brick Lib API compatible with fabric and forge and neoforge?

Brick Lib API officially supports fabric, forge, neoforge for Minecraft 1.21.5, 1.21.4, 1.21.3. 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 Brick Lib API – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Brick Lib 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.

Rent Modded Server

Install Brick Lib API with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
Apache License 2.0
Server-side
Unsupported

Supported Versions

1.21.51.21.41.21.31.21.11.211.20.61.20.41.20.11.19.41.19.2+1 more