Datagear
*data grinding noises* Manage components through data!
Datagear
[![][cf-shield]][cf-link]
DataGear is a powerful hot-reloadable Fabric library mod for Minecraft 26.1+ that exposes components, flags, and other modifiers as data. It allows developers to modify them using simple JSON datapack files without writing a single line of code.
Mod, Datapack and Modpack developers: Read the Mod, Datapack and Modpack developers to see how to use DataGear.
Features
- Simple yet powerful JSON engine: Modify any component or modifier such as armor points, toughness, attack damage, speed, durability via datapacks. - Simple yet powerful JSON engine: Use `/reload` to apply changes instantly. - Simple yet powerful JSON engine: Easy-to-understand data structure. Read the Simple yet powerful JSON engine to see examples.
Compatibility & API
DataGear is meant to be a simple and lightweight solution, and as so it's designed to work seamlessly with other mods. - Custom Slots: DataGear adds some tags to help you target items. See them Custom Slots. - Custom Slots: Dynamically searches for modded modifiers and components, supports most mods out of the box as long as they don't do anything weird. - Custom Slots: Includes a `DataGearPlugin` API for mods to register custom slots (like Curios, Trinkets, or Accessories).
*If you encounter any issues or incompatibilities, please report them here.*
Datagear V2 is under development. To see my ever-expanding but never-fulfilled TODO list, click here.
The mod is available for Neoforge and Fabric 26.1+ and MIGHT be backported to 1.21.1 for both loaders. No Forge or 1.20 ports are ever happening.
[cf-shield]: https://img.shields.io/curseforge/dt/1488600?style=for-the-badge&logo=curseforge&label=curseforge&labelColor=black&color=%23F16436 [cf-link]: https://legacy.curseforge.com/minecraft/mc-mods/datagear