Help with item model switching (changing)

Started by pinky slime on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with item model switching (changing)

I was trying to change my item model using this guide [ Tutorial ] Custom Model Data ( Dynamically Change Item Textures! ) | MCreator but textures of the 2nd item state arent loading (model is loading fine)
i didnt create a new folder instead i just put the new model in the same folder like one commentator suggested 
here is the whole json:

{
"parent": "alt_tools:custom/spear",
"textures": {
"0": "alt_tools:block/seaspeas",
"particle": "alt_tools:item/seaspeas"
} ,
"overrides": [
{ "predicate": { "custom_model_data": 1}, "model": "alt_tools:custom/spear2" }
]
}
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
im trying to do it because…
Sat, 11/08/2025 - 13:28

im trying to do it because spear animation dont flip model when u hold right mouse button

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i found the solutioni…
Sat, 11/08/2025 - 13:43

i found the solution
i created a new item called "spr" with that other model and replaced "alt_tools:custom/spear2" with "alt_tools:item/spr"