they changed that.
now inside the folder assets/modid you have to create one folder called equipment. there you create yourmaterial.json
{ "layers": { "humanoid": [ { "texture": "modid:yourmaterial" } ], "humanoid_leggings": [ { "texture": "modid:yourmaterial" } ] } }
then in textures/item you put your armor pngs like material_helmet.png ...
then you create the folder textures/entity/equipment you create 2 more folders inside of equipment folder: humanoid and humanoid_leggings
inside humanoid you put yourmaterial_layer_1.png and inside humanoid _leggings put yourmaterial_layer_2 . then change both file names into yourmaterial.png
in my datagen i also call this:
generateTrimmableItem(ModItems.MATERIAL_HELMET.get(), ModEquipmentAssets.MATERIAL, TRIM_PREFIX_HELMET, false); so it creates the layers also for trims.
dont forget to add tags to your armor so you can enchant it, and trim.
By
LordCambion ·