Invalid Java Name

Published by Ello.-'_@ on Fri, 05/15/2020 - 23:05
Status
Duplicate
Type
Product/platform
Not applicable
Priority
Normal
Issue description

So when ever I try to import a java model it says, "Your model name is not a valid Java name! Custom mob model names can not contain whitespace, start with number or contain any non ASCII letters. Model name is not filename, but the name inside the model Java code (model class name)!" I read other issues, that were fixed about this, but what does everyone mean?

Issue comments

well thanks but that didnt work. :/ so i just copy and pasted the model in the code. And that didnt work either. After i removed the comments on the model heres what it said, "Your model is not a valid Java model! make sure that all model parts have a valid Java name and that yiur model is in fact Java model with a valid syntax." Please help!!

EntityModel<Entity> {
    private final ModelRenderer armA;
    private final ModelRenderer armB;
    private final ModelRenderer body;
    private final ModelRenderer Head;
    private final ModelRenderer LegA;
    private final ModelRenderer LegB;

    public Golem() {
        textureWidth = 128;
        textureHeight = 128;

        armA = new ModelRenderer(this);
        armA.setRotationPoint(-20.0F, 24.0F, 3.0F);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -48.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -31.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -62.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -62.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -61.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-21.0F, -63.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -31.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -16.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -33.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-10.0F, -49.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-8.0F, -32.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-21.0F, -46.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-25.0F, -16.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-26.0F, -47.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-7.0F, -16.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-8.0F, -16.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-8.0F, -78.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-7.0F, -78.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-26.0F, -109.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-25.0F, -78.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-21.0F, -108.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-8.0F, -94.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-10.0F, -111.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -95.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -78.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -93.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-21.0F, -125.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -123.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -124.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -124.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -93.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -110.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);

        armB = new ModelRenderer(this);
        armB.setRotationPoint(20.0F, 24.0F, 0.0F);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -48.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -31.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -62.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -62.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -61.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(5.0F, -63.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -31.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -16.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -33.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-6.0F, -49.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(-8.0F, -32.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(5.0F, -46.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(9.0F, -16.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(10.0F, -47.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(-9.0F, -16.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-8.0F, -16.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-8.0F, -78.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(-9.0F, -78.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(10.0F, -109.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(9.0F, -78.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(5.0F, -108.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(-8.0F, -94.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-6.0F, -111.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -95.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -78.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -93.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(5.0F, -125.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -123.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -124.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -124.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -93.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -110.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        body = new ModelRenderer(this);
        body.setRotationPoint(0.0F, -73.0F, 0.0F);
        body.setTextureOffset(0, 6).addBox(-40.0F, -45.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-24.0F, -48.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(9.0F, -45.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-7.0F, -44.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-22.0F, -35.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-6.0F, -34.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-38.0F, -37.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(10.0F, -35.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(8.0F, -38.0F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -39.9F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-40.0F, -39.2F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-24.0F, -37.2F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(13.0F, -39.6F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-35.0F, -39.6F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-3.0F, -42.3F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-19.0F, -39.5F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(13.0F, -44.5F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-24.0F, -44.5F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(29.0F, -41.7F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -41.7F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-3.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-40.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(45.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(8.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(8.0F, -46.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-29.0F, -46.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-8.0F, -44.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-45.0F, -44.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(24.0F, -44.1F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-13.0F, -44.1F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(40.0F, -46.0F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(3.0F, -46.0F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(42.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(5.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-6.0F, -47.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-43.0F, -47.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(26.0F, -50.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-11.0F, -50.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(10.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-27.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(25.0F, -39.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-12.0F, -39.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(41.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(4.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(8.0F, -35.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-29.0F, -35.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-45.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        Head = new ModelRenderer(this);
        Head.setRotationPoint(0.0F, -44.0F, 0.0F);
        Head.setTextureOffset(71, 89).addBox(-6.0F, -71.0F, -25.25F, 16.0F, 16.0F, 0.0F, 0.0F, true);
        Head.setTextureOffset(64, 6).addBox(-6.0F, -71.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        Head.setTextureOffset(21, 18).addBox(0.5F, -60.5F, -28.1F, 3.0F, 7.0F, 3.0F, 0.0F, true);

        LegA = new ModelRenderer(this);
        LegA.setRotationPoint(-47.0F, -96.0F, 68.0F);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 32.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 46.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 46.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 45.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(5.0F, 47.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-6.0F, 33.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(5.0F, 30.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(10.0F, 31.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-8.0F, 62.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(-9.0F, 62.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(10.0F, 93.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(9.0F, 62.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(5.0F, 92.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(-8.0F, 78.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-6.0F, 95.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 79.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 62.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 77.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(5.0F, 109.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 107.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 108.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 108.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 77.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 94.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        LegB = new ModelRenderer(this);
        LegB.setRotationPoint(47.0F, -96.0F, 57.0F);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 32.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 46.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 46.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 45.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-21.0F, 47.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-10.0F, 33.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-21.0F, 30.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-26.0F, 31.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-8.0F, 62.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-7.0F, 62.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-26.0F, 93.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-25.0F, 62.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-21.0F, 92.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-8.0F, 78.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-10.0F, 95.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 79.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 62.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 77.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-21.0F, 109.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 107.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 108.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 108.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 77.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 94.0F, -7.0F, 16.0F, 16.0F, 16.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){
        armA.render(matrixStack, buffer, packedLight, packedOverlay);
        armB.render(matrixStack, buffer, packedLight, packedOverlay);
        body.render(matrixStack, buffer, packedLight, packedOverlay);
        Head.render(matrixStack, buffer, packedLight, packedOverlay);
        LegA.render(matrixStack, buffer, packedLight, packedOverlay);
        LegB.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;
    }
}

EntityModel<Entity> {

What is this. What did you do to the model code?

Only remove the comments on the top, not half of the class initialization lines.

this is what it said before, 

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

public class custom_model extends EntityModel<Entity> {
    private final ModelRenderer armA;
    private final ModelRenderer armB;
    private final ModelRenderer body;
    private final ModelRenderer Head;
    private final ModelRenderer LegA;
    private final ModelRenderer LegB;

    public custom_model() {
        textureWidth = 128;
        textureHeight = 128;

        armA = new ModelRenderer(this);
        armA.setRotationPoint(-20.0F, 24.0F, 3.0F);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -48.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -31.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -62.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -62.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -61.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-21.0F, -63.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -31.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -16.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -33.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-10.0F, -49.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-8.0F, -32.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-21.0F, -46.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-25.0F, -16.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-26.0F, -47.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-7.0F, -16.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-8.0F, -16.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-8.0F, -78.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-7.0F, -78.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-26.0F, -109.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-25.0F, -78.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-21.0F, -108.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-8.0F, -94.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-10.0F, -111.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -95.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -78.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -93.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-21.0F, -125.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -123.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -124.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -124.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -93.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -110.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);

        armB = new ModelRenderer(this);
        armB.setRotationPoint(20.0F, 24.0F, 0.0F);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -48.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -31.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -62.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -62.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -61.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(5.0F, -63.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -31.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -16.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -33.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-6.0F, -49.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(-8.0F, -32.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(5.0F, -46.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(9.0F, -16.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(10.0F, -47.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(-9.0F, -16.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-8.0F, -16.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-8.0F, -78.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(-9.0F, -78.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(10.0F, -109.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(9.0F, -78.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(5.0F, -108.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(-8.0F, -94.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-6.0F, -111.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -95.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -78.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -93.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(5.0F, -125.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -123.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -124.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -124.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -93.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -110.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        body = new ModelRenderer(this);
        body.setRotationPoint(0.0F, -73.0F, 0.0F);
        body.setTextureOffset(0, 6).addBox(-40.0F, -45.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-24.0F, -48.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(9.0F, -45.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-7.0F, -44.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-22.0F, -35.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-6.0F, -34.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-38.0F, -37.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(10.0F, -35.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(8.0F, -38.0F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -39.9F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-40.0F, -39.2F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-24.0F, -37.2F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(13.0F, -39.6F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-35.0F, -39.6F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-3.0F, -42.3F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-19.0F, -39.5F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(13.0F, -44.5F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-24.0F, -44.5F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(29.0F, -41.7F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -41.7F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-3.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-40.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(45.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(8.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(8.0F, -46.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-29.0F, -46.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-8.0F, -44.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-45.0F, -44.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(24.0F, -44.1F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-13.0F, -44.1F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(40.0F, -46.0F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(3.0F, -46.0F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(42.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(5.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-6.0F, -47.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-43.0F, -47.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(26.0F, -50.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-11.0F, -50.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(10.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-27.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(25.0F, -39.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-12.0F, -39.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(41.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(4.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(8.0F, -35.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-29.0F, -35.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-45.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        Head = new ModelRenderer(this);
        Head.setRotationPoint(0.0F, -44.0F, 0.0F);
        Head.setTextureOffset(71, 89).addBox(-6.0F, -71.0F, -25.25F, 16.0F, 16.0F, 0.0F, 0.0F, true);
        Head.setTextureOffset(64, 6).addBox(-6.0F, -71.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        Head.setTextureOffset(21, 18).addBox(0.5F, -60.5F, -28.1F, 3.0F, 7.0F, 3.0F, 0.0F, true);

        LegA = new ModelRenderer(this);
        LegA.setRotationPoint(-47.0F, -96.0F, 68.0F);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 32.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 46.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 46.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 45.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(5.0F, 47.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-6.0F, 33.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(5.0F, 30.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(10.0F, 31.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-8.0F, 62.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(-9.0F, 62.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(10.0F, 93.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(9.0F, 62.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(5.0F, 92.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(-8.0F, 78.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-6.0F, 95.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 79.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 62.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 77.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(5.0F, 109.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 107.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 108.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 108.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 77.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 94.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        LegB = new ModelRenderer(this);
        LegB.setRotationPoint(47.0F, -96.0F, 57.0F);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 32.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 46.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 46.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 45.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-21.0F, 47.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-10.0F, 33.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-21.0F, 30.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-26.0F, 31.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-8.0F, 62.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-7.0F, 62.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-26.0F, 93.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-25.0F, 62.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-21.0F, 92.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-8.0F, 78.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-10.0F, 95.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 79.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 62.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 77.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-21.0F, 109.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 107.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 108.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 108.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 77.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 94.0F, -7.0F, 16.0F, 16.0F, 16.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){
        armA.render(matrixStack, buffer, packedLight, packedOverlay);
        armB.render(matrixStack, buffer, packedLight, packedOverlay);
        body.render(matrixStack, buffer, packedLight, packedOverlay);
        Head.render(matrixStack, buffer, packedLight, packedOverlay);
        LegA.render(matrixStack, buffer, packedLight, packedOverlay);
        LegB.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;
    }
}

would it be like this? 

public class custom_model extends EntityModel<Entity> {
    private final ModelRenderer armA;
    private final ModelRenderer armB;
    private final ModelRenderer body;
    private final ModelRenderer Head;
    private final ModelRenderer LegA;
    private final ModelRenderer LegB;

    public custom_model() {
        textureWidth = 128;
        textureHeight = 128;

        armA = new ModelRenderer(this);
        armA.setRotationPoint(-20.0F, 24.0F, 3.0F);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -48.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -31.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -62.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -62.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -61.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-21.0F, -63.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -31.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -16.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -33.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-10.0F, -49.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-8.0F, -32.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-21.0F, -46.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-25.0F, -16.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-26.0F, -47.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-7.0F, -16.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-8.0F, -16.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-8.0F, -78.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-7.0F, -78.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-26.0F, -109.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(1, 41).addBox(-25.0F, -78.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-21.0F, -108.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 41).addBox(-8.0F, -94.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-10.0F, -111.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -95.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -78.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -93.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-21.0F, -125.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -123.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-7.0F, -124.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -124.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-23.0F, -93.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        armA.setTextureOffset(64, 6).addBox(-5.0F, -110.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);

        armB = new ModelRenderer(this);
        armB.setRotationPoint(20.0F, 24.0F, 0.0F);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -48.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -31.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -62.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -62.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -61.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(5.0F, -63.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -31.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -16.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -33.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-6.0F, -49.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(-8.0F, -32.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(5.0F, -46.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(9.0F, -16.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(10.0F, -47.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(-9.0F, -16.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-8.0F, -16.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-8.0F, -78.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(-9.0F, -78.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(10.0F, -109.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(1, 41).addBox(9.0F, -78.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(5.0F, -108.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 41).addBox(-8.0F, -94.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-6.0F, -111.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -95.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -78.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -93.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(5.0F, -125.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -123.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-9.0F, -124.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -124.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(7.0F, -93.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        armB.setTextureOffset(64, 6).addBox(-11.0F, -110.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        body = new ModelRenderer(this);
        body.setRotationPoint(0.0F, -73.0F, 0.0F);
        body.setTextureOffset(0, 6).addBox(-40.0F, -45.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-24.0F, -48.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(9.0F, -45.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-7.0F, -44.3F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-22.0F, -35.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-6.0F, -34.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-38.0F, -37.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(10.0F, -35.0F, 38.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(8.0F, -38.0F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -39.9F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-40.0F, -39.2F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-24.0F, -37.2F, 22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(13.0F, -39.6F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-35.0F, -39.6F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-3.0F, -42.3F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-19.0F, -39.5F, 5.8F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(13.0F, -44.5F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-24.0F, -44.5F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(29.0F, -41.7F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -41.7F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-3.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-40.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(45.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(8.0F, -44.4F, 64.2F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(8.0F, -46.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-29.0F, -46.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-8.0F, -44.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-45.0F, -44.8F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(24.0F, -44.1F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-13.0F, -44.1F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(40.0F, -46.0F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(3.0F, -46.0F, 48.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(42.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(5.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-6.0F, -47.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-43.0F, -47.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(26.0F, -50.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 74).addBox(-11.0F, -50.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(10.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-27.0F, -49.0F, 32.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(25.0F, -39.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-12.0F, -39.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(41.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(4.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(8.0F, -35.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-29.0F, -35.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-8.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        body.setTextureOffset(0, 6).addBox(-45.0F, -38.7F, 80.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        Head = new ModelRenderer(this);
        Head.setRotationPoint(0.0F, -44.0F, 0.0F);
        Head.setTextureOffset(71, 89).addBox(-6.0F, -71.0F, -25.25F, 16.0F, 16.0F, 0.0F, 0.0F, true);
        Head.setTextureOffset(64, 6).addBox(-6.0F, -71.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        Head.setTextureOffset(21, 18).addBox(0.5F, -60.5F, -28.1F, 3.0F, 7.0F, 3.0F, 0.0F, true);

        LegA = new ModelRenderer(this);
        LegA.setRotationPoint(-47.0F, -96.0F, 68.0F);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 32.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 46.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 46.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 45.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(5.0F, 47.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-6.0F, 33.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(5.0F, 30.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(10.0F, 31.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-8.0F, 62.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(-9.0F, 62.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(10.0F, 93.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(1, 41).addBox(9.0F, 62.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(5.0F, 92.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 41).addBox(-8.0F, 78.0F, -6.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-6.0F, 95.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 79.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 62.0F, -22.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 77.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(5.0F, 109.0F, -25.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 107.0F, -24.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-9.0F, 108.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 108.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(7.0F, 77.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);
        LegA.setTextureOffset(64, 6).addBox(-11.0F, 94.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, true);

        LegB = new ModelRenderer(this);
        LegB.setRotationPoint(47.0F, -96.0F, 57.0F);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 32.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 46.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 46.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 45.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-21.0F, 47.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-10.0F, 33.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-21.0F, 30.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-26.0F, 31.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-8.0F, 62.0F, -8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-7.0F, 62.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-26.0F, 93.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(1, 41).addBox(-25.0F, 62.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-21.0F, 92.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 41).addBox(-8.0F, 78.0F, -10.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-10.0F, 95.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 79.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 62.0F, 6.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 77.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-21.0F, 109.0F, 9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 107.0F, 8.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-7.0F, 108.0F, -9.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 108.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-23.0F, 77.0F, -7.0F, 16.0F, 16.0F, 16.0F, 0.0F, false);
        LegB.setTextureOffset(64, 6).addBox(-5.0F, 94.0F, -7.0F, 16.0F, 16.0F, 16.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){
        armA.render(matrixStack, buffer, packedLight, packedOverlay);
        armB.render(matrixStack, buffer, packedLight, packedOverlay);
        body.render(matrixStack, buffer, packedLight, packedOverlay);
        Head.render(matrixStack, buffer, packedLight, packedOverlay);
        LegA.render(matrixStack, buffer, packedLight, packedOverlay);
        LegB.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;
    }
}



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.