And I do not know if it is possible to change it based on display name, but it is one of the NBT tags so I just wanted to give it a try.
Saw people changing it with a 'mcpatcher' folder in the past but I also tried that but I was not succesfull with that either. It might not be possible anymore.
I am trying to setup a carrot on a stick to have a texture of a wrench when I rename the stick Wrench.
In my case working with custom_model_data and damage vallues is not an option.
For my carrot_on_a_stick.json I currently have:
{
"parent": "item/handheld_rod",
"textures": {
"layer0": "item/carrot_on_a_stick"
}
}
"overrides": [
{
"predicate": {
"display":{Name:'{"text":"Wrench"}'}
},
"model": "item/Wrench/Wrench"
}
]
}
and for my Wrench.json:
{
"parent": "item/handheld_rod",
"textures": {
"layer0": "item/Wrench"
}
}
Am i doing something wrong here or is this simply not possible?
Thank you in advance for your answers.
I hear for the first time that vanilla Minecraft can change a model based on its display name.
But you should definitely remove all capital letters from your folders and files.
Meow~
#F5F8FB
KittenKatja ♥
Thank you for your answer.
Removing the capitals doesn't work.
And I do not know if it is possible to change it based on display name, but it is one of the NBT tags so I just wanted to give it a try.
Saw people changing it with a 'mcpatcher' folder in the past but I also tried that but I was not succesfull with that either. It might not be possible anymore.
McPatcher is now integrated into Optifine.
Meow~
#F5F8FB
KittenKatja ♥
I got it working trough optinfine now, I had tried that before but it was not working but by removing capitals it seems like it is working now.
Thank you.