A lightweight, cross-loader API for defining customizable tool and armor sets
Armory API is a lightweight library that provides shared code for defining and managing tool sets and armor sets in Minecraft mods.
This project was extracted from XunLib to allow Forge support, as XunLib’s multi-loader registration system is not compatible with Forge. By separating these features, Armory API avoids that dependency, remains loader-agnostic, and is easier to maintain.
Supported loaders:
Planned work includes:
Why is this separate from XunLib?
XunLib uses a multi-loader registration system that cannot support Forge.
The tool and armor set system does not depend on that system, so it was extracted into a standalone library to allow Forge support and simpler maintenance.
Does Armory API depend on XunLib?
No. It is fully standalone.
What does this mod provide?
Shared APIs and logic for tool and armor sets. It does not register content on its own.
Which loaders are supported?
Forge, NeoForge, and Fabric.
Does this handle item registration automatically?
It provides helper APIs for defining sets, but actual registration behavior depends on the loader implementation and how the consuming mod integrates it.
Can I use only ToolSet or only ArmorSet?
Yes. The systems are independent and can be used separately.
Armory API is a library mod and does not add content by itself.
It is only required by mods that explicitly depend on it.
Note: The mod ID is armories to avoid conflicts with other mods using similar names.