#Need help with Custom Model Data

2 messages · Page 1 of 1 (latest)

brazen scarab
#

I am working on a texture pack in which I want to give a steak different textures using Custom_Model_Data. I followed a tutorial for this and tried several things myself, unfortunately I can't get any further, I have little to no understanding of this myself. Below I will share my texture pack as best I can;

Layout of my texture pack:

  • assets
  • Minecraft
  • models
    -> custom -> items -> custom_steak_1.json
    -> items -> beef_cooked.json
  • textures
    -> custom -> custom_steak_1.png
    -> items -> beef_cooked.png (default steak)

beef_cooked.json (this is where all the custommodeldatas are in?)

    "parent": "minecraft:item/generated",
    "textures": {
        "layer0": "minecraft:item/beef_cooked"
    },
    "overrides": [
        {
            "predicate": {
                "custom_model_data": 1
            },
            "model": "custom/custom_steak_1"
        }
    ]
}```

the custom steak **custom_steak_1.json**

```{
    "parent": "minecraft:item/generated",
    "textures": {
        "layer0": "minecraft:custom/custom_steak_1"
    }
}```

Does anyone have an idea how I can fix this? As mentioned followed several tutorials, unfortunately without success... when I grab a steak with custommodeldata it is the same texture as ''beef_cooked.png". Thanks in advance for a response!
grim timberBOT
#
Welcome to the help forum!

Please make sure to read #1029373817119838218 as it may answer your question!

Once your question has been resolved, please mark the post as closed by using the </close:1163944441741049897> command.