Error; Your model name is not a valid Java name!

Started by DutchSafeApple on

Topic category: Help with MCreator software

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Error; Your model name is not a valid Java name!

I try to make a custom mob, but every time I try to add a .Java model. I gat the error; You model anme is not a vaild Java name!

I have been trying for more then 3 hours and I am going crazy about it :(

It is a 1.12.2 project, and I want it so bad....

 

Please help me!

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is the code of the…
Sun, 09/20/2020 - 08:34

This is the code of the model;

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

public class EntityZombie extends EntityModel<Entity> {
    private final ModelRenderer Head;
    private final ModelRenderer Body;
    private final ModelRenderer LeftArm;
    private final ModelRenderer RightArm;
    private final ModelRenderer LeftLeg;
    private final ModelRenderer RightLeg;

    public unknown() {
        textureWidth = 64;
        textureHeight = 64;

        Head = new ModelRenderer(this);
        Head.setRotationPoint(0.0F, 13.0F, 0.0F);
        Head.setTextureOffset(0, 0).addBox(-3.0F, -13.0F, -2.0F, 7.0F, 1.0F, 6.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-4.0F, -14.5F, 0.4F, 1.0F, 1.0F, 3.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-4.0F, -16.0F, 1.4F, 1.0F, 1.0F, 2.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-4.0F, -17.0F, -1.1F, 1.0F, 1.0F, 5.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.8F, -17.0F, -2.0F, 6.0F, 4.0F, 6.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-4.0F, -13.0F, 0.0F, 1.0F, 1.0F, 4.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-4.0F, -12.0F, 3.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-3.0F, -12.0F, 3.0F, 5.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-1.0F, -12.0F, -2.0F, 5.0F, 1.0F, 5.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(0.0F, -17.0F, -3.5F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(1.0F, -17.0F, -3.7F, 1.0F, 5.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(3.0F, -17.0F, -3.0F, 1.0F, 5.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(3.0F, -17.0F, -4.0F, 1.0F, 3.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(2.0F, -17.0F, -4.0F, 1.0F, 6.0F, 2.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(1.0F, -12.0F, -3.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(2.0F, -18.0F, -1.0F, 2.0F, 1.0F, 5.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-4.0F, -18.0F, -2.0F, 6.0F, 1.0F, 6.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.0F, -18.0F, -4.0F, 4.0F, 1.0F, 2.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(2.0F, -19.0F, -1.0F, 2.0F, 1.0F, 4.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(2.0F, -19.0F, -3.0F, 1.0F, 1.0F, 2.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(0.0F, -19.0F, -1.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-1.0F, -19.0F, 0.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(2.0F, -18.0F, -2.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(2.0F, -18.0F, -4.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-1.0F, -19.0F, -4.0F, 3.0F, 1.0F, 3.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-4.0F, -19.0F, -3.0F, 1.0F, 1.0F, 4.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-3.0F, -19.0F, -4.0F, 2.0F, 1.0F, 7.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-1.0F, -19.0F, 1.0F, 3.0F, 1.0F, 3.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-3.0F, -18.0F, -3.0F, 1.0F, 4.0F, 6.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(1.0F, -16.0F, -3.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.0F, -16.0F, -3.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.0F, -18.0F, -3.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(1.0F, -18.0F, -3.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-0.7F, -16.0F, -3.4F, 1.0F, 2.0F, 0.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-1.0F, -18.0F, -3.0F, 2.0F, 4.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.0F, -18.0F, 2.0F, 4.0F, 4.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.0F, -18.0F, -2.0F, 4.0F, 1.0F, 4.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.2F, -18.5F, -2.2F, 4.0F, 0.0F, 4.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(2.0F, -18.0F, -3.0F, 1.0F, 4.0F, 6.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.0F, -12.2F, -2.8F, 4.0F, 1.0F, 5.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.0F, -13.0F, 2.0F, 4.0F, 0.0F, 1.0F, 0.0F, false);
        Head.setTextureOffset(0, 0).addBox(-2.0F, -14.0F, -3.0F, 4.0F, 1.0F, 6.0F, 0.0F, false);

        Body = new ModelRenderer(this);
        Body.setRotationPoint(0.0F, 13.0F, 0.0F);
        Body.setTextureOffset(0, 0).addBox(3.0F, -11.0F, -2.0F, 1.0F, 11.0F, 4.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(1.0F, -11.0F, -1.0F, 2.0F, 11.0F, 3.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(1.0F, -5.0F, -2.0F, 2.0F, 5.0F, 3.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(1.0F, -11.0F, -2.0F, 2.0F, 4.0F, 3.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(1.0F, -7.0F, -2.0F, 1.0F, 1.0F, 3.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-4.0F, -6.0F, -2.0F, 4.0F, 1.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-4.0F, -11.0F, -2.0F, 5.0F, 5.0F, 4.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-3.0F, -10.0F, 2.0F, 1.0F, 4.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-4.0F, -7.0F, 2.0F, 1.0F, 4.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(1.0F, -9.0F, 2.0F, 1.0F, 4.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-2.0F, -10.0F, 2.0F, 3.0F, 5.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-1.4F, -9.0F, 3.0F, 2.0F, 3.0F, 0.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-4.0F, -6.0F, -1.0F, 5.0F, 1.0F, 3.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(0.0F, -5.0F, -1.7F, 1.0F, 1.0F, 3.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(0.0F, -4.0F, -2.0F, 1.0F, 4.0F, 4.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-4.0F, -5.0F, -2.0F, 4.0F, 5.0F, 4.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-3.0F, -3.0F, -3.0F, 4.0F, 2.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-4.0F, -1.0F, -3.0F, 3.0F, 1.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-3.0F, -7.0F, -3.0F, 2.0F, 4.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-3.0F, -4.0F, -3.5F, 2.0F, 1.0F, 0.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-2.0F, -6.0F, -3.5F, 1.0F, 2.0F, 0.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-4.0F, -6.0F, -3.0F, 1.0F, 3.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-1.0F, -10.0F, -3.0F, 1.0F, 3.0F, 1.0F, 0.0F, false);
        Body.setTextureOffset(0, 0).addBox(-1.0F, -5.0F, -3.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);

        bone2 = new ModelRenderer(this);
        bone2.setRotationPoint(-9.0F, -6.0F, 19.0F);
        Body.addChild(bone2);
        setRotationAngle(bone2, 0.1745F, -0.4363F, 0.0F);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -8.0F, -28.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -10.0F, -29.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -7.0F, -27.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -6.0F, -26.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -5.0F, -25.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -7.0F, -23.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -8.0F, -24.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -9.0F, -25.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -10.0F, -26.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -13.0F, -27.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -12.0F, -28.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -11.0F, -29.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -12.0F, -30.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -14.0F, -32.0F, 1.0F, 2.0F, 2.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -10.0F, -30.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -9.0F, -31.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -13.0F, -26.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -8.0F, -31.0F, 1.0F, 1.0F, 2.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -11.0F, -28.0F, 1.0F, 1.0F, 2.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -4.0F, -24.0F, 1.0F, 1.0F, 3.0F, 0.0F, false);
        bone2.setTextureOffset(0, 0).addBox(1.0F, -6.0F, -22.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);

        LeftArm = new ModelRenderer(this);
        LeftArm.setRotationPoint(0.0F, 24.0F, 0.0F);
        LeftArm.setTextureOffset(0, 0).addBox(-5.0F, -22.0F, -2.0F, 1.0F, 7.0F, 4.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-6.0F, -22.0F, -2.0F, 1.0F, 4.0F, 4.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-7.0F, -22.0F, -2.0F, 1.0F, 1.0F, 4.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-8.0F, -21.0F, -2.0F, 2.0F, 6.0F, 4.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-8.0F, -15.0F, -2.0F, 1.0F, 1.0F, 4.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-8.0F, -14.0F, -2.0F, 1.0F, 1.0F, 2.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-9.0F, -13.0F, -2.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-5.0F, -13.0F, -2.0F, 1.0F, 1.0F, 4.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-5.0F, -12.0F, 1.0F, 1.0F, 1.0F, 2.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-6.0F, -11.0F, 2.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-6.0F, -15.0F, -2.0F, 2.0F, 2.0F, 4.0F, 0.0F, false);
        LeftArm.setTextureOffset(0, 0).addBox(-7.0F, -19.0F, -1.0F, 2.0F, 8.0F, 2.0F, 0.0F, false);

        RightArm = new ModelRenderer(this);
        RightArm.setRotationPoint(0.0F, 24.0F, 0.0F);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -11.0F, 1.0F, 3.0F, 1.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -11.0F, 0.0F, 2.0F, 1.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -11.0F, -1.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -11.0F, -2.0F, 3.0F, 1.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -17.0F, -2.0F, 2.0F, 6.0F, 4.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -18.0F, -2.0F, 1.0F, 1.0F, 4.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -18.2F, -2.0F, 2.0F, 1.0F, 3.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(6.0F, -19.0F, -2.0F, 1.0F, 8.0F, 3.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -19.0F, -2.0F, 2.0F, 1.0F, 3.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(6.0F, -16.0F, 1.0F, 1.0F, 5.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -11.0F, -3.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(7.0F, -11.0F, -3.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(7.0F, -11.0F, 1.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(8.0F, -9.0F, 1.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(5.0F, -9.0F, -4.0F, 1.0F, 2.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -21.0F, -2.0F, 2.0F, 2.0F, 4.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(6.0F, -21.0F, 1.4F, 1.0F, 2.0F, 0.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(6.0F, -21.0F, -2.1F, 1.0F, 2.0F, 0.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(7.0F, -21.0F, -2.0F, 1.0F, 9.0F, 4.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(-2.0F, -29.0F, -1.0F, 2.0F, 5.0F, 2.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(-1.5F, -28.0F, -1.5F, 3.0F, 1.0F, 3.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -21.4F, 0.0F, 3.0F, 0.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -21.4F, 1.0F, 2.0F, 0.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -21.4F, -1.0F, 1.0F, 0.0F, 1.0F, 0.0F, false);
        RightArm.setTextureOffset(0, 0).addBox(4.0F, -21.4F, -2.0F, 3.0F, 0.0F, 1.0F, 0.0F, false);

        LeftLeg = new ModelRenderer(this);
        LeftLeg.setRotationPoint(0.0F, 24.0F, 0.0F);
        LeftLeg.setTextureOffset(0, 0).addBox(0.0F, -6.0F, -2.0F, 3.0F, 1.0F, 3.0F, 0.0F, false);
        LeftLeg.setTextureOffset(0, 0).addBox(0.0F, -11.0F, -2.0F, 4.0F, 5.0F, 4.0F, 0.0F, false);
        LeftLeg.setTextureOffset(0, 0).addBox(3.0F, -6.0F, -1.0F, 0.0F, 1.0F, 1.0F, 0.0F, false);
        LeftLeg.setTextureOffset(0, 0).addBox(0.0F, -6.0F, -0.4F, 4.0F, 6.0F, 4.0F, 0.0F, false);

        RightLeg = new ModelRenderer(this);
        RightLeg.setRotationPoint(0.0F, 24.0F, 0.0F);
        RightLeg.setTextureOffset(0, 0).addBox(-4.0F, -11.0F, -2.0F, 4.0F, 11.0F, 4.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-4.1F, -2.0F, -2.1F, 4.0F, 2.0F, 4.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-3.1F, -3.0F, -2.3F, 2.0F, 1.0F, 0.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-4.1F, -1.0F, -3.1F, 4.0F, 1.0F, 1.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-3.1F, -1.0F, -4.1F, 2.0F, 1.0F, 1.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-4.2F, -6.8F, -2.0F, 0.0F, 0.0F, 4.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-0.1F, -6.8F, -2.0F, 0.0F, 0.0F, 4.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-3.6F, -7.4F, -2.6F, 3.0F, 1.0F, 0.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-3.0F, -6.8F, -2.2F, 3.0F, 0.0F, 0.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-4.0F, -7.8F, -2.4F, 3.0F, 2.0F, 0.0F, 0.0F, false);
        RightLeg.setTextureOffset(0, 0).addBox(-4.0F, -6.8F, 2.0F, 4.0F, 0.0F, 0.0F, 0.0F, false);
    }

    @Override
    public void setRotationAngles(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float netHeadYaw, float headPitch){
        //previously the render function, render code was moved to a method below
    }

    @Override
    public void render(MatrixStack matrixStack, IVertexBuilder buffer, int packedLight, int packedOverlay, float red, float green, float blue, float alpha){
        Head.render(matrixStack, buffer, packedLight, packedOverlay);
        Body.render(matrixStack, buffer, packedLight, packedOverlay);
        LeftArm.render(matrixStack, buffer, packedLight, packedOverlay);
        RightArm.render(matrixStack, buffer, packedLight, packedOverlay);
        LeftLeg.render(matrixStack, buffer, packedLight, packedOverlay);
        RightLeg.render(matrixStack, buffer, packedLight, packedOverlay);
    }

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

Joined Sep 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Never mind: found the answer…
Sun, 09/20/2020 - 09:44

Never mind: found the answer.
For thosewho have the same issue: Remove the first three lines of comments 

So the part "

// Made with Blockbench 3.6.6
// Exported for Minecraft version 1.12.2
// Paste this class into your mod and generate all required imports
"

has to be removed!  After that, all will be okey dokey!