Cardinal Components API is a developer library for attaching your own saved data to things already in the game, like entities or worlds. Players get it as a dependency, because some other mod in their folder depends on its code to run.
Kind
Library mod
Version
8.1.0
Needs
Nothing else
Installs with
The Modhold app
What it does
Attaches custom data to many vanilla classes
Saves modded data automatically
Syncs components through one helper interface
Lets mods decide how data is copied when a player respawns
Can tick a component along with the thing it is attached to
How to install
Press Install on this page, or in the Modhold app.
It works with Quilt or Fabric, so use whichever Loader your other mods run on.
The author’s description by Up, shared word for wordRead it
A components API for Quilt and Fabric that is easy, modular, and extremely fast.
Detailed information is available in the repository's wiki.
The information below is a condensed form of the latter.
Features*
🔗 Attach data to a variety of vanilla classes
🧩 Implement once, plug anywhere - modded data will be saved automatically
📤 Synchronize data with a single helper interface
👥 Choose how components are copied when a player respawns
⏲️ Tick components alongside their target
🛠️ Fine-tune everything so that it fits your needs
☄️ And enjoy the blazing speed of ASM-generated extensions
*Non exhaustive, refer to the wiki and javadoc for the full list.
Install
Put the .jar file in your Minecraft mods folder (with Fabric Loader installed for that Minecraft version), then start the game.