Armors
Available on ItemsAdder 4.0.9 or greater only. Requires Minecraft client and server 1.21.2 or greater.
For older versions tutorials read here: simple armor or textured armor.
Wear texture configuration
equipments:
my_armor_1:
type: armor
layer_1: armor/my_armor_1/layer_1
layer_2: armor/my_armor_1/layer_2The equipment is a property which contains the information how to show the armor in-game on the player body.
Create the layers files inside the folder: contents/my_armor_tutorial/textures/armor/my_armor_1 .

Item configuration
In this example I will show how to create a chestplate, the same can be done to create other armor pieces.
As you can see I set the material to IRON_CHESTPLATE.
I also set the equipment.id property to my_armor_tutorial:my_armor_1.
This loads our previously created equipment settings.
Inventory item textures
Create the item texture and put it inside the folder:
contents/my_armor_tutorial/textures/item.


Extra: Custom 3D helmet
Currently only helmets support 3D models due to a Minecraft limitation I cannot fix.
Do not put any id in the equipment, otherwise the previous layer texture would be used instead of the custom model_path.

Full configuration from the previous example
Animated/emissive armors
The current custom armors method doesn't support animated and emissive textures. To create animated or/and emissive textures you have to use the old method shown here (uses shaders).
HD armor textures
I do not advice to use HD textures since this is a blocky game, but can create HD high resolution, but make sure they have the same proportions of the original vanilla armors layers textures.
Size must be a power of 2, for example: 64x32, 128x64, 256x128, 512x256.
Multi-version compatibility
This custom armors feature is only available on 1.21.2 and greater clients and servers.
There is a simple solution if your server uses ViaVersion or similar, but has some downsides and it should be considered as a legacy feature. I discourage using that feature.
You have to create both properties equipments and armors_rendering.
armors_renderingis the old method (uses a custom shader)equipmentsis the new method (uses the vanilla equipment attribute)
You have to set material to LEATHER, for each piece, in this case LEATHER_CHESTPLATE.
You then have to set the equipment.legacy_armor_rendering_id and equipment.id to the previously created properties.
Extra: Custom 3D helmet
Currently on Minecraft 1.21.1 and lower only normal items (not helmets) support 3D models due to a Minecraft limitation I cannot fix.
In this case, to support legacy clients too you must use the hat behaviour instead.
Full configuration from the previous example
Converting old armors to the new equipment tag
Mode 1
This setting allows you to append the new equipment setting and use the old shader method + the new method at the same time, so old clients will still see armors even if they are not on 1.21.2+.
Mode 2
This option will convert the armors completely to use the new equipment tag. Note that old clients won't see the armor anymore (older than 1.21.2).