Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Armory API
Armory API is a lightweight library that provides shared code for defining and managing tool sets and armor sets in Minecraft mods.
The project was extracted from XunLib to support Forge independently and keep the API lightweight, modular, and loader-agnostic.
Supported loaders:
- Forge
- NeoForge
- Fabric
Features
- APIs for defining ToolSet and ArmorSet
- Reduced duplication when registering tools and armor
- Loader-independent implementation
- Small scope and minimal dependencies
Planned work includes:
- Compatibility with modded tool types
- Additional armory-related APIs where appropriate
FAQs
Can I use only ToolSet or only ArmorSet?
Yes. The systems are independent and can be used separately.
Does this handle item registration automatically?
No. Registration is handled by the consuming mod or loader-specific implementation.
Can I create custom tool or armor behaviors with this?
Yes. Armory API includes helper APIs for implementing custom tool and armor behavior, allowing mods to extend or customize functionality beyond vanilla behavior.
Will support for custom/modded tool types be added?
Yes. Expanded support for custom tool categories is planned for future versions.
Can other libraries or frameworks integrate with Armory API?
Yes. The API is designed to stay lightweight and modular so it can be integrated into larger modding frameworks if needed.
Dependency
Armory API is a library mod and 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.


