CustomModelData model won't load textures for some reason..

Started by FriedChicken4269 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
CustomModelData model won't load textures for some reason..

Hi, today i learned about custom model data and added it to the code of my pistol. Everything worked except the textures on the model i loaded when switching NBT tags to the custom model data. 

Before aiming:

https://ibb.co/YRYCD25

After:

https://ibb.co/sC3CrPY

Help would be appreciated on any reason as to why this is happening. 

The code:

{
  "parent": "tutorial_workspace:custom/crappyspringer",
  "textures": {
    "0": "tutorial_workspace:blocks/m1911spring",
    "particle": "tutorial_workspace:items/pistol"
  },
  
  "overrides": [
 {"predicate": {"custom_model_data":1000}, "model": "tutorial_workspace:custom/m1911aim"}
        ]
  }