Armory API

Armory API

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

by
169 Downloads
fabricforgeneoforgelibrary
Rent Server with this Mod

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

NeoForge v2.3.1release
MC 1.21.3neoforge
May 25, 2026
Fabric v2.3.1release
MC 1.21.3fabric
May 25, 2026
Forge v2.3.1release
MC 1.21.3forge
May 25, 2026
NeoForge v2.3.0release
MC 1.21.3neoforge
May 24, 2026
Fabric v2.3.0release
MC 1.21.3fabric
May 24, 2026

How to Install Armory API on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.3).

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

fabricforgeneoforge

Minecraft Versions

1.21.3, 1.21.1

Server-side

Required

Recommended 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.

Rent Modded Server

Install Armory API with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.31.21.1