package generator oil;
import net.minecraft.client.model.ModelBase;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
/**
* generator oil - Undefined
* Created using Tabula 4.1.1
*/
public class generator oil extends ModelBase {
public ModelRenderer shape1;
public ModelRenderer shape2;
public ModelRenderer shape3;
public ModelRenderer shape4;
public ModelRenderer shape5;
public ModelRenderer shape6;
public ModelRenderer shape7;
public ModelRenderer shape8;
public ModelRenderer shape9;
public ModelRenderer shape10;
public ModelRenderer shape11;
public ModelRenderer shape12;
public ModelRenderer shape13;
public ModelRenderer shape14;
public ModelRenderer shape15;
public ModelRenderer shape16;
public ModelRenderer shape17;
public ModelRenderer shape18;
public ModelRenderer shape19;
public generator oil() {
this.textureWidth = 64;
this.textureHeight = 64;
this.shape18 = new ModelRenderer(this, 46, 31);
this.shape18.setRotationPoint(1.0F, 15.0F, 7.0F);
this.shape18.addBox(0.0F, 0.0F, 0.0F, 1, 1, 8, 0.0F);
this.setRotateAngle(shape18, -0.22759093446006054F, 3.141592653589793F, 0.0F);
this.shape9 = new ModelRenderer(this, 50, 25);
this.shape9.setRotationPoint(-2.0F, 16.0F, 4.0F);
this.shape9.addBox(0.0F, 0.0F, 0.0F, 4, 3, 3, 0.0F);
this.shape11 = new ModelRenderer(this, 4, 41);
this.shape11.setRotationPoint(-2.0F, 16.0F, 7.0F);
this.shape11.addBox(0.0F, 0.0F, 0.0F, 1, 3, 1, 0.0F);
this.shape2 = new ModelRenderer(this, 0, 17);
this.shape2.setRotationPoint(-4.0F, 15.0F, -7.0F);
this.shape2.addBox(0.0F, 0.0F, 0.0F, 8, 8, 7, 0.0F);
this.shape4 = new ModelRenderer(this, 30, 17);
this.shape4.setRotationPoint(3.0F, 22.0F, 0.0F);
this.shape4.addBox(0.0F, 0.0F, 0.0F, 1, 1, 7, 0.0F);
this.shape17 = new ModelRenderer(this, 12, 41);
this.shape17.setRotationPoint(-2.0F, 16.0F, 3.0F);
this.shape17.addBox(0.0F, 0.0F, 0.0F, 1, 3, 1, 0.0F);
this.shape13 = new ModelRenderer(this, 14, 32);
this.shape13.setRotationPoint(-2.0F, 15.0F, 4.0F);
this.shape13.addBox(0.0F, 0.0F, 0.0F, 1, 1, 3, 0.0F);
this.shape7 = new ModelRenderer(this, 30, 25);
this.shape7.setRotationPoint(-3.0F, 17.0F, 5.0F);
this.shape7.addBox(0.0F, 0.0F, 0.0F, 6, 1, 1, 0.0F);
this.shape8 = new ModelRenderer(this, 4, 35);
this.shape8.setRotationPoint(-4.0F, 17.0F, 5.0F);
this.shape8.addBox(0.0F, 0.0F, 0.0F, 1, 5, 1, 0.0F);
this.shape19 = new ModelRenderer(this, 16, 42);
this.shape19.setRotationPoint(0.0F, 15.0F, 7.0F);
this.shape19.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
this.shape10 = new ModelRenderer(this, 0, 41);
this.shape10.setRotationPoint(1.0F, 16.0F, 7.0F);
this.shape10.addBox(0.0F, 0.0F, 0.0F, 1, 3, 1, 0.0F);
this.shape16 = new ModelRenderer(this, 8, 41);
this.shape16.setRotationPoint(1.0F, 16.0F, 3.0F);
this.shape16.addBox(0.0F, 0.0F, 0.0F, 1, 3, 1, 0.0F);
this.shape5 = new ModelRenderer(this, 46, 17);
this.shape5.setRotationPoint(-4.0F, 22.0F, 0.0F);
this.shape5.addBox(0.0F, 0.0F, 0.0F, 1, 1, 7, 0.0F);
this.shape15 = new ModelRenderer(this, 14, 36);
this.shape15.setRotationPoint(-2.0F, 19.0F, 4.0F);
this.shape15.addBox(0.0F, 0.0F, 0.0F, 1, 1, 3, 0.0F);
this.shape14 = new ModelRenderer(this, 22, 36);
this.shape14.setRotationPoint(1.0F, 19.0F, 4.0F);
this.shape14.addBox(0.0F, 0.0F, 0.0F, 1, 1, 3, 0.0F);
this.shape3 = new ModelRenderer(this, 0, 32);
this.shape3.setRotationPoint(1.0F, 13.0F, -4.0F);
this.shape3.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F);
this.shape1 = new ModelRenderer(this, 0, 0);
this.shape1.setRotationPoint(-5.0F, 23.0F, -8.0F);
this.shape1.addBox(0.0F, 0.0F, 0.0F, 10, 1, 16, 0.0F);
this.shape12 = new ModelRenderer(this, 22, 32);
this.shape12.setRotationPoint(1.0F, 15.0F, 4.0F);
this.shape12.addBox(0.0F, 0.0F, 0.0F, 1, 1, 3, 0.0F);
this.shape6 = new ModelRenderer(this, 0, 35);
this.shape6.setRotationPoint(3.0F, 17.0F, 5.0F);
this.shape6.addBox(0.0F, 0.0F, 0.0F, 1, 5, 1, 0.0F);
}
@Override
public void generator oil(Entity entity, float f, float f1, float f2, float f3, float f4, float f5) {
this.shape18.render(f5);
this.shape9.render(f5);
this.shape11.render(f5);
this.shape2.render(f5);
this.shape4.render(f5);
this.shape17.render(f5);
this.shape13.render(f5);
this.shape7.render(f5);
this.shape8.render(f5);
this.shape19.render(f5);
this.shape10.render(f5);
this.shape16.render(f5);
this.shape5.render(f5);
this.shape15.render(f5);
this.shape14.render(f5);
this.shape3.render(f5);
this.shape1.render(f5);
this.shape12.render(f5);
this.shape6.render(f5);
}
/**
* This is a helper function from Tabula to set the rotation of model parts
*/
public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) {
modelRenderer.rotateAngleX = x;
modelRenderer.rotateAngleY = y;
modelRenderer.rotateAngleZ = z;
}
}