I'm trying to create a 2D custom boots texture using CustomModelData in a resource pack, but the model is not appearing in game.
Minecraft version: 1.21
My resource pack structure is:
assets/minecraft/models/item/leather_boots.json
assets/minecraft/models/custom/armor/toffy_link_boots.json
assets/minecraft/textures/item/toffy_link_boots_icon.png
leather_boots.json:
{
"parent": "item/generated",
"textures": {
"layer0": "item/leather_boots",
"layer1": "item/leather_boots_overlay"
},
"overrides": [
{
"predicate": {
"custom_model_data": 1543
},
"model": "custom/armor/toffy_link_boots"
}
]
}
toffy_link_boots.json:
{
"parent": "item/generated",
"textures": {
"layer0": "item/toffy_link_boots_icon"
}
}
Command I tried:
/give @s minecraft:leather_boots{CustomModelData:1543}
But the texture doesn't change.
Did I place the files in the wrong location or miss something?