Fishbone Trehalose
Fishbone Trehalose is a Fabric library that extends the data and custom-data handling other mods build on, aimed at developers who need more control over composed objects.
What it does
The library exposes an API that gives other mods more direct access to composed objects. Its main purpose is to remove restrictions that make custom data hard to work with, such as inconsistent handling of custom data between entities and item stacks.
Several gaps in common data structures are addressed: removing values by string or identifier rather than only by object, getOrAdd, getOrCreate and getOrEmpty style access, and deep copies of mutable composed objects. The library is published for Fabric only, for 26.1 – 26.1.2, and it can run on the client, the server or both, with neither side required. Five catalog mods require it: Pentamana, General Custom Data, Pentamana Extra, Let Me Here and Etchrara. Fabric API is not listed as a requirement for this mod.
The code is open source under the GNU General Public License v3.0 or later. Public source code and an issue tracker are available. The first release was published on 2024-06-16, and the latest Fabric file, version 0.4.0 for 26.1.2, is dated 2026-05-21.
Key features
Composed object API
An interface exposes more functionality for composed objects, so mods can reach data that is otherwise closed off.
Custom data consistency
Custom data is handled the same way for entities and item stacks, removing a source of inconsistent behavior.
Removal by string or identifier
Values can be removed by string or identifier, not only by passing the exact object.
Deep copy of composed objects
Mutable composed objects can be copied deeply, so changes to a copy do not reach the original.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Required by 5 mods
Use cases
Mod developers
Developers building on custom data can use the library to avoid writing their own workarounds for the gaps listed above.
Modpack authors
Packs that include the five dependent mods get the library automatically as a shared base.
Who it’s for: The library suits mod developers and modpack authors who work with custom data on Fabric. Players who only install finished content mods usually meet it as a dependency.
Questions
Which loader does Fishbone Trehalose support?
Does Fishbone Trehalose have to be installed on the server?
Which mods need Fishbone Trehalose?
In the catalog
Fishbone Trehalose is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from CookedSeafood
Similar mods
Official listing
- Modrinth page
- modrinth.com/mod/fishbone-trehalose
- Owner
- CookedSeafood
- Published
- 2024-06-16
- Updated on Modrinth
- 2026-05-21
- Facts verified
- 2026-10-15
