Recompilation Errors

1 post / 0 new
Offline
Last seen: 1 year 9 months ago
Joined: 02/16/2015 - 20:05
Gems: 0
Recompilation Errors

I'm having trouble with importing custom models for mobs. This particular model keeps giving me 90+ recompilation errors. Could someone tell me what I need to fix?

Spoiler: Highlight to view
package net.minecraft.src;

public class ModelEye Model extends ModelBase
{
  //fields
    ModelRenderer a;
    ModelRenderer b;
    ModelRenderer c;
    ModelRenderer d;
    ModelRenderer e;
    ModelRenderer f;
    ModelRenderer g;
    ModelRenderer h;
    ModelRenderer i;
    ModelRenderer j;
    ModelRenderer k;
    ModelRenderer l;
    ModelRenderer m;
    ModelRenderer n;
    ModelRenderer o;
 
  public ModelEye Model()
  {
    textureWidth = 64;
    textureHeight = 32;
   
      a = new ModelRenderer(this, 28, 0);
      a.addBox(0F, 0F, 0F, 2, 2, 2);
      a.setRotationPoint(12F, 0F, 0F);
      a.setTextureSize(64, 32);
      a.mirror = true;
      setRotation(a, 0F, 0F, 0F);
      b = new ModelRenderer(this, 28, 0);
      b.addBox(0F, 0F, 0F, 4, 2, 2);
      b.setRotationPoint(16F, -2F, 5F);
      b.setTextureSize(64, 32);
      b.mirror = true;
      setRotation(b, 0F, 0F, 0F);
      c = new ModelRenderer(this, 28, 0);
      c.addBox(0F, 0F, 0F, 4, 2, 2);
      c.setRotationPoint(13F, 0F, 5F);
      c.setTextureSize(64, 32);
      c.mirror = true;
      setRotation(c, 0F, 0F, 0F);
      d = new ModelRenderer(this, 0, 4);
      d.addBox(0F, 0F, 0F, 2, 4, 4);
      d.setRotationPoint(2F, -1F, -1F);
      d.setTextureSize(64, 32);
      d.mirror = true;
      setRotation(d, 0F, 0F, 0F);
      e = new ModelRenderer(this, 0, 12);
      e.addBox(0F, 0F, 0F, 2, 8, 8);
      e.setRotationPoint(4F, -3F, -3F);
      e.setTextureSize(64, 32);
      e.mirror = true;
      setRotation(e, 0F, 0F, 0F);
      f = new ModelRenderer(this, 28, 0);
      f.addBox(0F, 0F, 0F, 4, 2, 2);
      f.setRotationPoint(10F, 0F, 3F);
      f.setTextureSize(64, 32);
      f.mirror = true;
      setRotation(f, 0F, 0F, 0F);
      g = new ModelRenderer(this, 0, 12);
      g.addBox(0F, 0F, 0F, 2, 10, 10);
      g.setRotationPoint(6F, -4F, -4F);
      g.setTextureSize(64, 32);
      g.mirror = true;
      setRotation(g, 0F, 0F, 0F);
      h = new ModelRenderer(this, 28, 0);
      h.addBox(0F, 0F, 0F, 8, 2, 2);
      h.setRotationPoint(10F, 3F, 0F);
      h.setTextureSize(64, 32);
      h.mirror = true;
      setRotation(h, 0F, 0F, 0F);
      i = new ModelRenderer(this, 28, 0);
      i.addBox(0F, 0F, 0F, 4, 2, 2);
      i.setRotationPoint(14F, 0F, -5F);
      i.setTextureSize(64, 32);
      i.mirror = true;
      setRotation(i, 0F, 0F, 0F);
      j = new ModelRenderer(this, 24, 16);
      j.addBox(0F, 0F, 0F, 2, 8, 8);
      j.setRotationPoint(8F, -3F, -3F);
      j.setTextureSize(64, 32);
      j.mirror = true;
      setRotation(j, 0F, 0F, 0F);
      k = new ModelRenderer(this, 28, 0);
      k.addBox(0F, 0F, 0F, 6, 2, 2);
      k.setRotationPoint(10F, 0F, -3F);
      k.setTextureSize(64, 32);
      k.mirror = true;
      setRotation(k, 0F, 0F, 0F);
      l = new ModelRenderer(this, 24, 16);
      l.addBox(0F, 0F, 0F, 2, 4, 4);
      l.setRotationPoint(10F, -1F, -1F);
      l.setTextureSize(64, 32);
      l.mirror = true;
      setRotation(l, 0F, 0F, 0F);
      m = new ModelRenderer(this, 28, 0);
      m.addBox(0F, 0F, 0F, 6, 2, 2);
      m.setRotationPoint(12F, -7F, 0F);
      m.setTextureSize(64, 32);
      m.mirror = true;
      setRotation(m, 0F, 0F, 0F);
      n = new ModelRenderer(this, 0, 0);
      n.addBox(0F, 0F, 0F, 2, 2, 2);
      n.setRotationPoint(0F, 0F, 0F);
      n.setTextureSize(64, 32);
      n.mirror = true;
      setRotation(n, 0F, 0F, 0F);
      o = new ModelRenderer(this, 28, 0);
      o.addBox(0F, 0F, 0F, 6, 2, 2);
      o.setRotationPoint(8F, -5F, 0F);
      o.setTextureSize(64, 32);
      o.mirror = true;
      setRotation(o, 0F, 0F, 0F);
  }
 
  public void render(Entity entity, float f, float f1, float f2, float f3, float f4, float f5)
  {
    super.render(entity, f, f1, f2, f3, f4, f5);
    setRotationAngles(f, f1, f2, f3, f4, f5);
    a.render(f5);
    b.render(f5);
    c.render(f5);
    d.render(f5);
    e.render(f5);
    f.render(f5);
    g.render(f5);
    h.render(f5);
    i.render(f5);
    j.render(f5);
    k.render(f5);
    l.render(f5);
    m.render(f5);
    n.render(f5);
    o.render(f5);
  }
 
  private void setRotation(ModelRenderer model, float x, float y, float z)
  {
    model.rotateAngleX = x;
    model.rotateAngleY = y;
    model.rotateAngleZ = z;
  }
 
  public void setRotationAngles(float f, float f1, float f2, float f3, float f4, float f5)
  {
    super.setRotationAngles(f, f1, f2, f3, f4, f5);
  }

}

Thanks.