Common Storage Lib

Common Storage Lib

A library mod abstracting Capabilities/ApiLookups, Data Attachments, and Item/Fluid/Energy Storage for NeoForge and Fabric

by
2.1K Downloads
fabricneoforgelibrary
Rent Server with this Mod

About this Mod

Common Storage Lib

CSL attempts to pick up where Botarium left off in its efforts to make truly cross platform storage implementations possible. CSL, like its predecessor, allows developers to create platform agnostic storage code that can be registered to Fabric and NeoForge's respective APIs. It takes after Fabric's Storage api with immutable resources and item context, but adopts Forge's simulation system.

Unlike its predecessor, CSL makes its abstraction tools that made it possible open for you to use as well. So in addition to abstraction of storage, CSL provides abstraction of fluid resources and ingredients, abstraction of the Data attachment system provided by NeoForge and Fabric, and an abstraction of both loaders "Entity Systems" api (Capabilities on NeoForge, ApiLookup on Fabric). These apis are each in their own module, allowing you to use them independently of the storage abstractions for your own purposes.

To non XPlat Devs

For Neo only/Fabric only projects, CSL also offers some benefit. To Neo developers, immutable resources and item context are extremely useful in usage with storage. CSL automatically handles other mods usage of your item if you make use of item context. Fabric developers might be inclined to use CSL to overcome Fabric's transaction system. A word of caution though: Since the storage still needs to be registered to fabric's storage, you should take caution to make sure you still implement your storage to be compliant with rollbacks. Documentation on how to do this will be provided soon, but it is already natively supported in CSL. Developers looking to have their storage function properly on Fabric should also take care to make sure their storage is rollback compliant.

CSL is currently in Alpha

CSL 0.0.0 provides all the same features Botarium offered and more. While Botarium only supported Energy items/blocks and Fluid items/blocks, CSL supports Energy Item/Blocks/Entities, Fluid item/blocks/entities and Item item/blocks/entities with full compatibility with the Neo and Fabric transfer APIs. While cursory testing has been done, its still very much in the beginning stages.

Please Note:

Fabric does not natively support item storage on items, energy storage on entities, or fluid storage on entities. CSL registers these lookups under its own namespace, so any mod that chooses to use CSL for those specific capabilities will be compatible with each other, but not anything else. This is a Fabric specific issue as Fabric does not currently provide an ApiLookup for these. Energy item/blocks, Fluid item/blocks and Item entities/blocks are all compatible with the larger Fabric and Neoforge modding ecosystem though, and NeoForge is automatically compatible with the aforementioned lookup types.


Socials

youtube-plural
twitch-plural
twitter-plural
kofi-plural
discord-plural
modrinth
curseforge

Check out our other projects

Handcrafted
Chipped
Ad Astra
Tempad
Colorful Azalaeas

Lil Wings
Vitalize
Spirit
Reaper
Experience Obelisk

Available Versions

[Fabric] Common Storage Lib 0.0.9alpha
MC 1.21.1fabric
June 4, 2026
[NeoForge] Common Storage Lib 0.0.9alpha
MC 1.21.1neoforge
June 4, 2026
[Fabric] Common Storage Lib 0.0.8alpha
MC 1.21.1fabric
May 28, 2026
[NeoForge] Common Storage Lib 0.0.8alpha
MC 1.21.1neoforge
May 28, 2026
[Fabric] Common Storage Lib 0.0.7alpha
MC 1.21.1fabric
April 3, 2025

How to Install Common Storage Lib 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.1).

3

Install Mod

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

Compatibility

Mod Loaders

fabricneoforge

Minecraft Versions

1.21.1, 1.21

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

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

Is Common Storage Lib compatible with fabric and neoforge?

Common Storage Lib officially supports fabric, neoforge for Minecraft 1.21.1, 1.21. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Common Storage Lib – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Common Storage Lib 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 Common Storage Lib 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
MIT License
Server-side
Required

Supported Versions

1.21.11.21