AccessoryLib
by DawnString
AccessoryLib is a NeoForge library that gives other mods seven accessory slots for players to fill with equipment.
What it does
Mods built on AccessoryLib can place items into a set of seven player accessory slots, and the stored contents survive logging out, death and dimension changes. Equipping and unequipping run on the server, which checks each action before it takes effect. Callbacks fire when an item is equipped, unequipped or ticked, and when it unloads, so a dependent mod can react at each stage without writing its own bookkeeping.
The library is built for mod authors rather than players, and it contributes no items or blocks on its own. Shift-click in the inventory is supported for moving items into the accessory slots. Legacy saved data is handled on death, respawn and dimension travel so that older worlds keep their accessory contents. Installation requires NeoForge for Minecraft 1.21.1, and the library is needed on both the client and the server, since the server holds the accessory state and every player joins with the same mod set.
Key features
Seven accessory slots
The library provides seven extensible accessory slots that dependent mods can use for their own equipment.
Persistent accessory data
Items placed in accessory slots are stored with the player and kept across logout, death and dimension changes.
Server-authoritative equipping
Equip and unequip actions are validated on the server, so clients cannot place items that the server rejects.
Lifecycle callbacks
Equip, unequip, tick and unload callbacks let dependent mods respond at each stage of an item's time in a slot.
Legacy data handling
Saved accessory data from earlier worlds is carried through death, respawn and dimension travel.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Accessory mods
A mod that adds rings, belts or charms can register its items with the library rather than building its own slot system.
Who it’s for: Mod authors who want a shared accessory system for NeoForge 1.21.1, and server owners who run mods built on it. Players only interact with the mod through the accessory slots its dependents add.
Questions
Does AccessoryLib need to be installed on the server?
Which loader and version does AccessoryLib support?
Is AccessoryLib open source?
In the catalog
AccessoryLib is one of 3,514 Library mods on ModsFinder, and one of 1,449 Library mods for NeoForge. 32,366 mods support Minecraft 1.21.1.
More from DawnString
Similar mods
What the author says
AccessoryLib 为玩家提供七个可扩展的饰品栏位、持久化存储、服务端权威校验、装备生命周期回调,以及面向其他模组的简洁 API。 AccessoryLib provides seven extensible accessory slots, persistent storage, server-authoritative validation, equip lifecycle callbacks, and a small API for dependent mods.
Official listing
- Modrinth page
- modrinth.com/mod/accessorylib
- Owner
- DawnString
- Published
- 2026-08-25
- Updated on Modrinth
- 2026-08-25
- Facts verified
- 2026-10-15
