Invalid model name

Published by jhoneber31 on Thu, 05/14/2020 - 17:00
Issue description

Hello, I am new to this and I get this error, I have seen the other forums and still it gives me errors

code : 

//Made with Blockbench 3.5.2
//Exported for Minecraft version 1.12
//Paste this class into your mod and generate all required imports

public class diamondhelmet extends ModelBase {
    private final ModelRenderer helmet;

    public diamondhelmet() {
        textureWidth = 16;
        textureHeight = 16;

        helmet = new ModelRenderer(this);
        helmet.setRotationPoint(0.0F, 0.0F, 0.0F);
        helmet.cubeList.add(new ModelBox(helmet, 0, 0, -4.0F, -8.0F, -4.0F, 8, 8, 8, 0.0F, false));
        helmet.cubeList.add(new ModelBox(helmet, 0, 0, -5.0F, -9.0F, -4.0F, 4, 9, 6, 0.0F, false));

    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {

    public void setRotationAngle(ModelRenderer modelRenderer, float x, float y, float z) {
        modelRenderer.rotateAngleX = x;
        modelRenderer.rotateAngleY = y;
        modelRenderer.rotateAngleZ = z;

Issue comments

Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.