Skip to content

Armory API

A lightweight, cross-loader API for defining customizable tool and armor sets

FabricNeoForgeForge
Loaders
FabricNeoForgeForge
Downloads on Modrinth
560
Followers on Modrinth
2
versions
18
Updated
August 31, 2026Aug 31
Published
in 2026
This is a library — other mods need it, and it adds nothing to the game by itself

At a glance

A library: other mods need it
Runs on Fabric, NeoForge and Forge
For Minecraft 1.21.1, 1.21.3
Server only — players don't need to install it
Latest version — 3.0.0-mc1.21.1 from August 31, 2026
License MIT — free
Where it's needed
In gamenot neededOn serverrequired

Install on the server only; players don't need it

Game versions1.21.1, 1.21.3

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
  • Compatibility with modded tool types

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.

Can I add custom or modded tool types? Yes. ToolPieceType is specifically designed to allow custom tool categories with their own item factories, statistics, properties, and attributes.

Can a ToolSet contain only some tool types? Yes. A ToolSet is no longer limited to the standard vanilla tool collection. Any combination of supported ToolPieceType instances can be included.

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.

Armory API does not replace the loader's item registration system and does not require consuming mods to use a particular registration framework.


Note: The mod ID is armories to avoid conflicts with other mods using similar names.

FAQ

How to install Armory API?

Install Fabric for your Minecraft version, download Armory API for the same version and loader, put the file into the mods folder and launch the game with the loader profile.

Which Minecraft versions does Armory API support?

Armory API has builds for Minecraft 1.21.1, 1.21.3.

Is Armory API needed on the server?

Server only — players don't need to install it

License and source
MIT Licensefree to use and share with credit to the author
Original — Modrinth↗Files unchanged, verified with SHA-512Is this your mod? For rights holders

The site uses cookies: the necessary ones for sign-in and the theme, plus the Yandex Metrica and LiveInternet visit counters — they show us how the site is used. We have no advertising cookies. More