your model name is not a valid java name!

Started by 123333 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
your model name is not a valid java name!

i dont know why but all tutorials dont work for me  or i dont know how or my model is too big i dont know

im making caseoh boss 

please help i dont know 

there is a code

 

 

 

 

 

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


public class caseohbig extends ModelBase {
    private final ModelRenderer Body;
    private final ModelRenderer head;
    private final ModelRenderer RightArm;
    private final ModelRenderer RightLeg;
    private final ModelRenderer LeftLeg2;
    private final ModelRenderer LeftArm;

    public caseohbig() {
        textureWidth = 4096;
        textureHeight = 4096;

        Body = new ModelRenderer(this);
        Body.setRotationPoint(0.0F, -900.0F, 0.0F);
        Body.cubeList.add(new ModelBox(Body, 0, 2845, -453.0F, -521.0F, -445.0F, 906, 361, 890, 0.0F, false));
        Body.cubeList.add(new ModelBox(Body, 0, 2384, -510.0F, -162.0F, -511.0F, 1020, 690, 1022, 0.0F, false));

        head = new ModelRenderer(this);
        head.setRotationPoint(0.0F, -1413.0F, 0.0F);
        head.cubeList.add(new ModelBox(head, 0, 0, -209.0F, -361.0F, -205.0F, 418, 361, 410, 0.0F, false));

        RightArm = new ModelRenderer(this);
        RightArm.setRotationPoint(-453.0F, -1266.0F, 0.0F);
        RightArm.cubeList.add(new ModelBox(RightArm, 2834, 0, -282.0F, -134.0F, -167.0F, 297, 739, 334, 0.0F, true));

        RightLeg = new ModelRenderer(this);
        RightLeg.setRotationPoint(-233.0F, -387.0F, 0.0F);
        RightLeg.cubeList.add(new ModelBox(RightLeg, 0, 976, -182.0F, -13.0F, -233.0F, 364, 424, 466, 0.0F, false));

        LeftLeg2 = new ModelRenderer(this);
        LeftLeg2.setRotationPoint(233.0F, -390.0F, 0.0F);
        LeftLeg2.cubeList.add(new ModelBox(LeftLeg2, 0, 976, -182.0F, -10.0F, -233.0F, 364, 424, 466, 0.0F, true));

        LeftArm = new ModelRenderer(this);
        LeftArm.setRotationPoint(439.0F, -1239.0F, 0.0F);
        LeftArm.cubeList.add(new ModelBox(LeftArm, 2834, 0, -1.0F, -161.0F, -167.0F, 297, 739, 334, 0.0F, false));
    }

    @Override
    public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
        Body.render(f5);
        head.render(f5);
        RightArm.render(f5);
        RightLeg.render(f5);
        LeftLeg2.render(f5);
        LeftArm.render(f5);
    }

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