content: package thebetweenlands.client.render.model.tile;
  
  import net.minecraft.client.model.ModelBase;
  import net.minecraft.client.model.ModelRenderer;
  import net.minecraftforge.fml.relauncher.Side;
  import net.minecraftforge.fml.relauncher.SideOnly;
  
  @SideOnly(Side.CLIENT)
  public class ModelFishingTackleBox extends ModelBase {
      ModelRenderer base_bottom;
      ModelRenderer support_front_left1a;
      ModelRenderer support_front_right1a;
      ModelRenderer support_back_left1a;
      ModelRenderer support_back_right1a;
      ModelRenderer front1a;
      ModelRenderer left1a;
      ModelRenderer back1a;
      ModelRenderer right1a;
      ModelRenderer support_front_left1b;
      ModelRenderer top_left;
      ModelRenderer top_front;
      ModelRenderer handle_left;
      ModelRenderer top_right;
      ModelRenderer top_back;
      ModelRenderer handle_right;
      ModelRenderer top_lid;
      ModelRenderer lidstrap1a;
      ModelRenderer lidstrap1b;
      ModelRenderer support_front_right1b;
      ModelRenderer support_back_left1b;
      ModelRenderer support_back_right1b;
      ModelRenderer front1b;
      ModelRenderer left1b;
      ModelRenderer back1b;
      ModelRenderer right1b;
  
      public ModelFishingTackleBox() {
          textureWidth = 64;
          textureHeight = 64;
          back1b = new ModelRenderer(this, 21, 32);
          back1b.setRotationPoint(0.0F, -4.0F, 0.0F);
          back1b.addBox(-5.0F, -4.0F, 0.0F, 10, 4, 0, 0.0F);
          setRotateAngle(back1b, 0.18203784098300857F, 0.0F, 0.0F);
          right1b = new ModelRenderer(this, 17, 34);
          right1b.setRotationPoint(0.0F, -4.0F, 0.0F);
          right1b.addBox(0.0F, -4.0F, -4.0F, 0, 4, 8, 0.0F);
          setRotateAngle(right1b, 0.0F, 0.0F, 0.18203784098300857F);
          handle_right = new ModelRenderer(this, 40, 33);
          handle_right.setRotationPoint(-2.0F, 0.0F, 5.0F);
          handle_right.addBox(0.0F, 0.0F, -3.0F, 0, 3, 6, 0.0F);
          setRotateAngle(handle_right, 0.0F, 0.0F, 0.22759093446006054F);
          left1a = new ModelRenderer(this, 0, 29);
          left1a.setRotationPoint(6.5F, -2.0F, 0.0F);
          left1a.addBox(0.0F, -4.0F, -4.0F, 0, 4, 8, 0.0F);
          setRotateAngle(left1a, 0.0F, 0.0F, 0.091106186954104F);
          top_lid = new ModelRenderer(this, 0, 47);
          top_lid.setRotationPoint(0.0F, 13.5F, 4.0F);
          top_lid.addBox(-7.0F, -1.0F, -9.0F, 14, 1, 10, 0.0F);
          top_back = new ModelRenderer(this, 40, 19);
          top_back.setRotationPoint(0.0F, 0.0F, 8.0F);
          top_back.addBox(0.0F, -1.0F, 0.0F, 10, 1, 2, 0.0F);
          base_bottom = new ModelRenderer(this, 0, 0);
          base_bottom.setRotationPoint(0.0F, 24.0F, 0.0F);
          base_bottom.addBox(-7.0F, -2.0F, -5.0F, 14, 2, 10, 0.0F);
          front1a = new ModelRenderer(this, 0, 27);
          front1a.setRotationPoint(0.0F, -2.0F, -4.5F);
          front1a.addBox(-5.0F, -4.0F, 0.0F, 10, 4, 0, 0.0F);
          setRotateAngle(front1a, 0.091106186954104F, 0.0F, 0.0F);
          support_front_left1a = new ModelRenderer(this, 0, 13);
          support_front_left1a.setRotationPoint(7.0F, -2.0F, -3.0F);
          support_front_left1a.addBox(-2.01F, -4.0F, -2.0F, 2, 4, 2, 0.0F);
          setRotateAngle(support_front_left1a, 0.091106186954104F, 0.0F, 0.0F);
          support_front_left1b = new ModelRenderer(this, 0, 20);
          support_front_left1b.setRotationPoint(0.0F, -4.0F, -2.0F);
          support_front_left1b.addBox(-2.0F, -4.0F, 0.0F, 2, 4, 2, 0.0F);
          setRotateAngle(support_front_left1b, -0.18203784098300857F, 0.0F, 0.0F);
          lidstrap1a = new ModelRenderer(this, 0, 0);
          lidstrap1a.setRotationPoint(0.0F, -1.0F, -9.0F);
          lidstrap1a.addBox(-1.0F, 0.0F, 0.0F, 2, 2, 0, 0.0F);
          setRotateAngle(lidstrap1a, -0.045553093477052F, 0.0F, 0.0F);
          top_right = new ModelRenderer(this, 40, 27);
          top_right.setRotationPoint(-10.0F, 0.0F, 0.0F);
          top_right.addBox(-2.0F, -1.0F, 0.0F, 2, 1, 10, 0.0F);
          back1a = new ModelRenderer(this, 21, 27);
          back1a.setRotationPoint(0.0F, -2.0F, 4.5F);
          back1a.addBox(-5.0F, -4.0F, 0.0F, 10, 4, 0, 0.0F);
          setRotateAngle(back1a, -0.091106186954104F, 0.0F, 0.0F);
          support_front_right1b = new ModelRenderer(this, 9, 20);
          support_front_right1b.setRotationPoint(0.0F, -4.0F, -2.0F);
          support_front_right1b.addBox(0.0F, -4.0F, 0.0F, 2, 4, 2, 0.0F);
          setRotateAngle(support_front_right1b, -0.18203784098300857F, 0.0F, 0.0F);
          top_left = new ModelRenderer(this, 40, 3);
          top_left.setRotationPoint(0.0F, -4.0F, 2.0F);
          top_left.addBox(-2.0F, -1.0F, -2.0F, 2, 1, 10, 0.0F);
          setRotateAngle(top_left, 0.091106186954104F, 0.0F, 0.0F);
          front1b = new ModelRenderer(this, 0, 32);
          front1b.setRotationPoint(0.0F, -4.0F, 0.0F);
          front1b.addBox(-5.0F, -4.0F, 0.0F, 10, 4, 0, 0.0F);
          setRotateAngle(front1b, -0.18203784098300857F, 0.0F, 0.0F);
          handle_left = new ModelRenderer(this, 40, 37);
          handle_left.setRotationPoint(0.0F, 0.0F, 3.0F);
          handle_left.addBox(0.0F, 0.0F, -3.0F, 0, 3, 6, 0.0F);
          setRotateAngle(handle_left, 0.0F, 0.0F, -0.22759093446006054F);
          support_back_left1a = new ModelRenderer(this, 18, 13);
          support_back_left1a.setRotationPoint(7.0F, -2.0F, 3.0F);
          support_back_left1a.addBox(-2.01F, -4.0F, 0.0F, 2, 4, 2, 0.0F);
          setRotateAngle(support_back_left1a, -0.091106186954104F, 0.0F, 0.0F);
          right1a = new ModelRenderer(this, 17, 29);
          right1a.setRotationPoint(-6.5F, -2.0F, 0.0F);
          right1a.addBox(0.0F, -4.0F, -4.0F, 0, 4, 8, 0.0F);
          setRotateAngle(right1a, 0.0F, 0.0F, -0.091106186954104F);
          support_back_right1a = new ModelRenderer(this, 27, 13);
          support_back_right1a.setRotationPoint(-7.0F, -2.0F, 3.0F);
          support_back_right1a.addBox(0.01F, -4.0F, 0.0F, 2, 4, 2, 0.0F);
          setRotateAngle(support_back_right1a, -0.091106186954104F, 0.0F, 0.0F);
          left1b = new ModelRenderer(this, 0, 34);
          left1b.setRotationPoint(0.0F, -4.0F, 0.0F);
          left1b.addBox(0.0F, -4.0F, -4.0F, 0, 4, 8, 0.0F);
          setRotateAngle(left1b, 0.0F, 0.0F, -0.18203784098300857F);
          lidstrap1b = new ModelRenderer(this, 0, 3);
          lidstrap1b.setRotationPoint(0.0F, 2.0F, 0.0F);
          lidstrap1b.addBox(-2.0F, 0.0F, 0.0F, 4, 4, 0, 0.0F);
          setRotateAngle(lidstrap1b, 0.136659280431156F, 0.0F, 0.0F);
          support_front_right1a = new ModelRenderer(this, 9, 13);
          support_front_right1a.setRotationPoint(-7.0F, -2.0F, -3.0F);
          support_front_right1a.addBox(0.01F, -4.0F, -2.0F, 2, 4, 2, 0.0F);
          setRotateAngle(support_front_right1a, 0.091106186954104F, 0.0F, 0.0F);
          support_back_right1b = new ModelRenderer(this, 27, 20);
          support_back_right1b.setRotationPoint(0.0F, -4.0F, 2.0F);
          support_back_right1b.addBox(0.0F, -4.0F, -2.0F, 2, 4, 2, 0.0F);
          setRotateAngle(support_back_right1b, 0.18203784098300857F, 0.0F, 0.0F);
          top_front = new ModelRenderer(this, 40, 15);
          top_front.setRotationPoint(-2.0F, 0.0F, -2.0F);
          top_front.addBox(-10.0F, -1.0F, 0.0F, 10, 1, 2, 0.0F);
          support_back_left1b = new ModelRenderer(this, 18, 20);
          support_back_left1b.setRotationPoint(0.0F, -4.0F, 2.0F);
          support_back_left1b.addBox(-2.0F, -4.0F, -2.0F, 2, 4, 2, 0.0F);
          setRotateAngle(support_back_left1b, 0.18203784098300857F, 0.0F, 0.0F);
          top_right.addChild(handle_right);
          base_bottom.addChild(front1a);
          top_front.addChild(top_right);
          base_bottom.addChild(left1a);
          support_front_right1a.addChild(support_front_right1b);
          base_bottom.addChild(right1a);
          top_right.addChild(top_back);
          support_front_left1a.addChild(support_front_left1b);
          top_lid.addChild(lidstrap1a);
          support_front_left1b.addChild(top_left);
          support_back_right1a.addChild(support_back_right1b);
          base_bottom.addChild(back1a);
          front1a.addChild(front1b);
          lidstrap1a.addChild(lidstrap1b);
          support_back_left1a.addChild(support_back_left1b);
          base_bottom.addChild(support_back_right1a);
          base_bottom.addChild(support_front_left1a);
          base_bottom.addChild(support_back_left1a);
          top_left.addChild(handle_left);
          base_bottom.addChild(support_front_right1a);
          right1a.addChild(right1b);
          top_left.addChild(top_front);
          left1a.addChild(left1b);
          back1a.addChild(back1b);
      }
  
  	public void render(float lidAngle) {
  		base_bottom.render(0.0625F);
  		top_lid.rotateAngleX = (float)Math.toRadians(-lidAngle);
  		top_lid.render(0.0625F);
  	}
      public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
          modelRenderer.rotateAngleX = x;
          modelRenderer.rotateAngleY = y;
          modelRenderer.rotateAngleZ = z;
      }
  }
  