I made a mob model for a werewolf and it doesnt compile
here the code
public class arglax2 extends ModelBase {
private final ModelRenderer body;
private final ModelRenderer head;
private final ModelRenderer arm0;
private final ModelRenderer arm1;
private final ModelRenderer leg0;
private final ModelRenderer leg1;
public arglax2() {
textureWidth = 128;
textureHeight = 128;
body = new ModelRenderer(this);
body.setRotationPoint(0.0F, -7.0F, 0.0F);
body.setTextureOffset(0, 0).addBox(-10.0F, -4.0F, -6.0F, 20.0F, 11.0F, 11.0F, 0.0F, false);
body.setTextureOffset(51, 0).addBox(-4.5F, 10.0F, -3.0F, 9.0F, 2.0F, 6.0F, 0.5F, false);
body.setTextureOffset(56, 33).addBox(-7.0F, 7.0F, -5.0F, 14.0F, 3.0F, 9.0F, 0.0F, false);
body.setTextureOffset(49, 22).addBox(-8.0F, 12.0F, -4.0F, 16.0F, 3.0F, 8.0F, 0.0F, false);
head = new ModelRenderer(this);
head.setRotationPoint(0.0F, -7.0F, -2.0F);
head.setTextureOffset(46, 52).addBox(-5.0F, -14.0F, -4.5F, 10.0F, 10.0F, 10.0F, 0.0F, false);
head.setTextureOffset(62, 8).addBox(-4.0F, -9.0F, -11.0F, 8.0F, 1.0F, 7.0F, 0.0F, false);
head.setTextureOffset(56, 45).addBox(-3.0F, -10.0F, -10.0F, 6.0F, 1.0F, 6.0F, 0.0F, false);
head.setTextureOffset(21, 22).addBox(-2.0F, -11.0F, -8.0F, 4.0F, 1.0F, 4.0F, 0.0F, false);
head.setTextureOffset(31, 22).addBox(-3.0F, -11.0F, -11.0F, 5.0F, 1.0F, 3.0F, 0.0F, false);
head.setTextureOffset(0, 0).addBox(-2.0F, -10.0F, -11.0F, 4.0F, 1.0F, 1.0F, 0.0F, false);
head.setTextureOffset(0, 2).addBox(2.0F, -11.0F, -11.0F, 1.0F, 1.0F, 3.0F, 0.0F, false);
head.setTextureOffset(0, 0).addBox(-5.0F, -17.0F, -3.0F, 3.0F, 3.0F, 1.0F, 0.0F, false);
head.setTextureOffset(0, 0).addBox(-3.0F, -7.0F, -10.0F, 6.0F, 1.0F, 6.0F, 0.0F, false);
head.setTextureOffset(0, 0).addBox(2.0F, -17.0F, -3.0F, 3.0F, 3.0F, 1.0F, 0.0F, false);
head.setTextureOffset(0, 0).addBox(-2.0F, -7.0F, -8.0F, 1.0F, 1.0F, 1.0F, 0.0F, false);
arm0 = new ModelRenderer(this);
arm0.setRotationPoint(0.0F, -7.0F, 0.0F);
arm0.setTextureOffset(0, 0).addBox(-18.0F, -5.0F, -5.0F, 9.0F, 7.0F, 9.0F, 0.0F, false);
arm0.setTextureOffset(0, 0).addBox(9.0F, -5.0F, -5.0F, 9.0F, 7.0F, 9.0F, 0.0F, false);
arm0.setTextureOffset(28, 28).addBox(10.0F, 0.5F, -4.0F, 7.0F, 24.0F, 7.0F, 0.0F, false);
arm1 = new ModelRenderer(this);
arm1.setRotationPoint(0.0F, -7.0F, 0.0F);
arm1.setTextureOffset(0, 22).addBox(-17.0F, 0.5F, -4.0F, 7.0F, 24.0F, 7.0F, 0.0F, false);
leg0 = new ModelRenderer(this);
leg0.setRotationPoint(4.0F, 11.0F, 0.0F);
leg0.setTextureOffset(22, 62).addBox(-2.5F, -3.0F, -3.0F, 6.0F, 16.0F, 5.0F, 0.0F, false);
leg1 = new ModelRenderer(this);
leg1.setRotationPoint(-5.0F, 11.0F, 0.0F);
leg1.setTextureOffset(0, 56).addBox(-2.5F, -3.0F, -3.0F, 6.0F, 16.0F, 5.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){
body.render(matrixStack, buffer, packedLight, packedOverlay);
head.render(matrixStack, buffer, packedLight, packedOverlay);
arm0.render(matrixStack, buffer, packedLight, packedOverlay);
arm1.render(matrixStack, buffer, packedLight, packedOverlay);
leg0.render(matrixStack, buffer, packedLight, packedOverlay);
leg1.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;
}
}
Nevermind i resolved it myself