Code error "Failed to load model twitch_pops:models/item/usb_3.json"

Started by lycanrockzumberg on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Code error "Failed to load model twitch_pops:models/item/usb_3.json"

I need help, it doesn't work for me, it says the loader error but I don't know how to fix it.
{
 "loader": "neoforge:separate_transforms",
 "gui_light": "front",
 "base": {
   "parent": "twitch_pops:custom/usb",
   "textures": {
     "0": "twitch_pops:block/usb"
   },
   "display": {
     "thirdperson_righthand": {
       "translation": [
         -1,
         7.75,
         0
       ],
       "scale": [
         1,
         1,
         1
       ]
     },
     "thirdperson_lefthand": {
       "translation": [
         -13.25,
         7.75,
         0
       ],
       "scale": [
         1,
         1,
         1
       ]
     },
     "firstperson_righthand": {
       "rotation": [
         -0,
         -0,
         -0
       ],
       "translation": [
         0,
         3,
         1
       ]
     },
     "firstperson_lefthand": {
       "rotation": [
         0,
         0,
         -0
       ],
       "translation": [
         0,
         3,
         1
       ]
     },
     "ground": {
       "translation": [
         0,
         3,
         1
       ],
       "scale": [
         0.55,
         0.55,
         0.55
       ]
     },
     "fixed": {
       "rotation": [
         0,
         -90,
         0
       ],
       "translation": [
         0,
         3,
         1
       ]
     }
   }
 },
 "perspectives": {
   "gui": {
     "parent": "item/generated",
     "textures": {
       "layer0": "twitch_pops:item/usb_icon"
     },
     "gui_light": "front"
   }
 }
}

Failed to load model twitch…
Wed, 04/09/2025 - 17:13
  1. Failed to load model twitch_pops:models/item/usb_3.json
  2. com.google.gson.JsonParseException: Unknown loader: neoforge:separate_transforms (did you forget to register it?) Available loaders: neoforge:empty, neoforge:obj, neoforge:composite 

Seems the code for your model is not a valid code. There is no such thing as separate_transforms loader

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If it works for me in 1.21.1…
Wed, 04/09/2025 - 17:16

If it works for me in 1.21.1, what do I do? Or why should I replace it? The model is made with blender

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not with Blender, I meant…
Wed, 04/09/2025 - 17:17

Not with Blender, I meant Blockbench, I got all confused with the names.

 

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The only thing I need is to…
Wed, 04/09/2025 - 17:20

The only thing I need is to be able to change the GUI icon in Minecraft since it is so small that the object is not visible.

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Maybe you already moved on,…
Sat, 05/03/2025 - 09:22

Maybe you already moved on, but for anyone here later, the problem with the code is the model loader. You are using neoforge's built-in separate_transforms model loader, which sadly no longer exists as of 1.21.4. You can tell by looking at line 2 of your code. The reason it worked in 1.21.1 is because it was still supported back then. And I have absolutely no idea how to work around this, I'm thinking the still supported composite model loader could be used to achieve the same effect, but honestly idk how. 
For more detailed info: https://docs.neoforged.net/docs/resources/client/models/modelloaders

Joined Apr 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you all very much,…
Mon, 05/05/2025 - 08:04

Thank you all very much, please make an arrangement while