promotional bannermobile promotional banner

Armor Cosmetic

Wear two sets of armor simultaneously — one for stats, one for style.
Back to Files

Armor Cosmetic (1.0.23)

File namearmor_cosmetic-26.1.2-neoforge-1.0.23.jar
Uploader
LlaGuiT0LlaGuiT0
Uploaded
Aug 3, 2026
Downloads
332
Size
2.9 MB
Mod Loaders
NeoForge
File ID
8572208
Type
R
Release
Supported game versions
  • 26.1.2

Curse Maven Snippet

NeoForge

implementation "curse.maven:armor-cosmetic-1600093:8572208"

Learn more about Curse Maven

What's new

v1.0.23 - Cosmetic Data Save Crash Fix

Fix

  • Cosmetic armor data failing to save on logout/server stop: IllegalStateException: Can't access registry ResourceKey[minecraft:root / minecraft:enchantment] when saving a player's cosmetic armor inventory. The serialization code was encoding/decoding ItemStack data with a plain NBT codec that has no registry access, instead of using the server's registry lookup, so any item referencing registry-backed data (e.g. enchantments) failed to serialize and the player's cosmetic armor was silently lost on logout.

Technical Changes

  • CAStacksBase.serializeNBT / deserializeNBT — now encode/decode ItemStack through provider.createSerializationContext(NbtOps.INSTANCE) instead of raw NbtOps.INSTANCE, so the registry access already passed into these methods is actually used.

Notes

Server owners: this fixes silent data loss of cosmetic armor on player disconnect and on server shutdown. Update as soon as possible.

JAR: armor_cosmetic-26.1.2-neoforge-1.0.23.jar

This mod has no additional files