Item format/Armor
Minecraft Wiki article. Categories: Removed_features, Top-level_data_pages
📌 Mirrored from Minecraft Wiki
This article is reproduced from Item format/Armor on the Minecraft Wiki. Mirrored from revision 2543981. It is licensed CC BY-NC-SA 3.0 by the Minecraft Wiki contributors — not under the Codex’s CC BY-SA 4.0, and it may not be used commercially. Edits belong upstream, not here.
This page describes content that has been removed and was only present in earlier versions of Java Edition.
In Java Edition 1.20.5, this format has been replaced with the data component format.
- [NBT Compound / JSON Object] Trim: Properties of Armor Trim.
- [String] material: The material which decides the color of armor trim.
- [String] pattern: The pattern of armor trim.
- [NBT Compound / JSON Object] display: The display tag.
- [Int] color: The color of the leather armor. The tooltip displays "Dyed" if advanced tooltips are disabled, otherwise it displays the hexadecimal color value. Color codes are the hex code of the color converted to a decimal number, or can be calculated from the Red, Green and Blue components using this formula:
Red<<16 + Green<<8 + Blue[1]
- [Int] color: The color of the leather armor. The tooltip displays "Dyed" if advanced tooltips are disabled, otherwise it displays the hexadecimal color value. Color codes are the hex code of the color converted to a decimal number, or can be calculated from the Red, Green and Blue components using this formula:
- [NBT Compound / JSON Object] Trim: Properties of Armor Trim.
- ↑ For positive values larger than 0x00FFFFFF, the top byte is ignored. All negative values produce white.
Sources
- Item format/Armor — Minecraft Wiki, CC BY-NC-SA 3.0, revision 2543981.