
Armory API
A lightweight, cross-loader API for defining customizable tool and armor sets
About this Mod
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.
Available Versions
How to Install Armory API on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.3).
Install Mod
Open the mod browser in the dashboard and search for "Armory API". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.3, 1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Armory API server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.3). You can switch loaders with one click in the panel.
Is Armory API compatible with fabric and forge and neoforge?
Armory API officially supports fabric, forge, neoforge for Minecraft 1.21.3, 1.21.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Armory API – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Armory API consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Armory API with just one click on your server.