Json модель предмета не работает

Версия Minecraft
1.12.2
2,932
44
599
Доброго времени суток Земляне и Чужие!
"Сегодня" я сделал такую json модель для предмета:
JSON:
{
    "__comment": "Model generated using MrCrayfish's Model Creator (http://mrcrayfish.com/modelcreator/)",
    "textures": {
        "0": "blocks/piston_side",
        "1": "blocks/piston_inner",
        "2": "blocks/piston_bottom",
        "3": "blocks/planks_oak",
        "4": "blocks/piston_side",
        "5": "blocks/piston_top_normal",
        "6": "blocks/planks_oak"
    },
    "elements": [
        {
            "name": "stick",
            "from": [ 7.0, 0.0, 14.0 ],
            "to": [ 9.0, 8.0, 16.0 ],
            "rotation": { "origin": [ 8.0, 0.0, 14.0 ], "axis": "x", "angle": -22.5 },
            "faces": {
                "north": { "texture": "#0", "uv": [ -2.0, 0.0, 18.0, 4.0 ], "rotation": 90 },
                "east": { "texture": "#0", "uv": [ -2.0, 0.0, 18.0, 3.0 ], "rotation": 90 },
                "south": { "texture": "#0", "uv": [ -2.0, 0.0, 18.0, 4.0 ], "rotation": 90 },
                "west": { "texture": "#0", "uv": [ -2.0, 0.0, 18.0, 4.0 ], "rotation": 90 },
                "up": { "texture": "#0", "uv": [ 16.0, 0.0, 14.0, 2.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }
            }
        },
        {
            "name": "piston",
            "from": [ 4.0, 6.0, 5.0 ],
            "to": [ 12.0, 14.0, 15.0 ],
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "east": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "south": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "west": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "up": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "down": { "texture": "#2", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
            }
        },
        {
            "name": "button",
            "from": [ 6.0, 9.0, 15.0 ],
            "to": [ 10.0, 11.0, 16.0 ],
            "faces": {
                "north": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 11.0 ] },
                "east": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 10.0 ] },
                "south": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 10.0 ] },
                "west": { "texture": "#3", "uv": [ 0.0, 0.0, 15.0, 10.0 ] },
                "up": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 11.0 ] },
                "down": { "texture": "#3", "uv": [ 0.0, 0.0, 16.0, 11.0 ] }
            }
        },
        {
            "name": "piston_stick",
            "from": [ 7.0, 9.0, -1.0 ],
            "to": [ 9.0, 11.0, 5.0 ],
            "faces": {
                "north": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "east": { "texture": "#4", "uv": [ -2.0, 0.0, 18.0, 4.0 ] },
                "south": { "texture": "#4", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "west": { "texture": "#4", "uv": [ -2.0, 0.0, 18.0, 4.0 ] },
                "up": { "texture": "#4", "uv": [ -2.0, 0.0, 18.0, 4.0 ], "rotation": 90 },
                "down": { "texture": "#4", "uv": [ -2.0, 0.0, 18.0, 4.0 ], "rotation": 90 }
            }
        },
        {
            "name": "piston_wall",
            "from": [ 4.0, 6.0, -2.0 ],
            "to": [ 12.0, 14.0, 0.0 ],
            "faces": {
                "north": { "texture": "#5", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "east": { "texture": "#4", "uv": [ 0.0, 0.0, 16.0, 4.0 ], "rotation": 90 },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "west": { "texture": "#4", "uv": [ 0.0, 0.0, 15.0, 3.0 ], "rotation": 90 },
                "up": { "texture": "#4", "uv": [ 0.0, 0.0, 16.0, 4.0 ] },
                "down": { "texture": "#4", "uv": [ 0.0, 0.0, 16.0, 4.0 ] }
            }
        },
        {
            "name": "block",
            "from": [ 4.0, 6.0, -12.0 ],
            "to": [ 12.0, 14.0, -4.0 ],
            "faces": {
                "north": { "texture": "#6", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "east": { "texture": "#6", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "south": { "texture": "#6", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "west": { "texture": "#6", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "up": { "texture": "#6", "uv": [ 0.0, 0.0, 16.0, 16.0 ] },
                "down": { "texture": "#6", "uv": [ 0.0, 0.0, 16.0, 16.0 ] }
            }
        }
    ]
}
Но данная модель не отображается в игре: 1527790648315.png
Вот регистрация предмета и прокси:
Java:
public class BlockGunRegister {
    
    public static Item block_gun;

    
    public static void init() {
        
        block_gun = new BlockGunBasic("block_gun", 64);
    
    }
    
    public static void register() {
        
        registerItem(block_gun);
        
    }
    
    private static void registerItem(Item item) {
        
        ForgeRegistries.ITEMS.register(item);
        
    }
    
    public static void registerRenders() {
        
        registerRender(block_gun);
        
    }
    
    public static void registerRender(Item item) {
        
        Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(item.getRegistryName(), "inventory"));
    
    }
}
Java:
public class ClientProxy extends CommonProxy {
    
    @Override
    public void register() {
        
        BlockGunRegister.registerRenders();
    }
}
Java:
public class CommonProxy {

    public void register() {
        
    }

}
Путь:
1527791105323.png
 
В консоли:
[21:10:16] [main/ERROR] [FML]: Exception loading model for variant blockgun:spg#inventory for item "blockgun:spg", normal location exception:
net.minecraftforge.client.model.ModelLoaderRegistry$LoaderException: Exception loading model blockgun:item/spg with loader VanillaLoader.INSTANCE, skipping
 
ищи, где то запятую или скобку пропустил.
 
Назад
Сверху