{"repo":"Ladysnake/Cardinal-Components-API","free":true,"listed":false,"github":"https://github.com/Ladysnake/Cardinal-Components-API","clone":"git clone https://github.com/Ladysnake/Cardinal-Components-API.git","description":"Component API to add external data to objects.","language":"Java","stars":214,"topics":["minecraft","fabric","mod","snapshot","minecraft-mod","snapshots","api","hacktoberfest","mods"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Cardinal Components 6.0 is out! See the migration guide for detailed instructions on how to update your mod. A components API for Quilt and Fabric that is easy, modular, and extremely fast. Cardinal Components API is a library for Minecraft mods to create data components that can be attached to various providers. Those components provide a standardized interface for mods to interact with otherwise opaque objects and behaviours, thereby helping both mod creation and compatibility. [^1] TL;DR: It allows you to attach data to things An example Let's say you want to make to add mana to your mod. You would most likely want to have a number stored on the player, which gets saved alongside it. You may want to display a mana bar on the client, which will require synchronization. You may want your mana to refill slowly over time, which will require ticking. And then you may want to have something like mana batteries in the world, which would require re-implementing all that on a custom block or entity. Cardinal Components API takes care of it all. Detailed information is available in the website's wiki . The information below is a condensed form of the latter. If you have questions or need help with this library, you can also join the Ladysnake Discord. Features\\ - 🔗 Attach your components to a variety of vanilla classes - 🧩 Implement once, plug anywhere - your data will be saved automatically - 📤 Synchronize data with a single helper interface - 👥 Choose how your components are c","default_branch":null,"files":null,"tree":[],"storefront":"/r/Ladysnake","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Ladysnake/Cardinal-Components-API/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}