package makeo.gadomancy.client.models; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; public class ModelAuraPylonBottom extends ModelBase { // fields ModelRenderer outerpylon; ModelRenderer lowerconduit; ModelRenderer inlower1; ModelRenderer inlower2; ModelRenderer upperconduit; ModelRenderer inupper2; ModelRenderer inupper1; ModelRenderer outuppersmooth1; ModelRenderer outuppersmooth2; ModelRenderer inuppersmooth1; ModelRenderer inuppersmooth2; ModelRenderer outlowersmooth2; ModelRenderer outlowersmooth1; ModelRenderer inlowersmooth1; ModelRenderer inlowersmooth2; ModelRenderer base; ModelRenderer baseornament; ModelRenderer pylonorn1; ModelRenderer pylonorn2; ModelRenderer pylonorn3; ModelRenderer pylonorn4; public ModelAuraPylonBottom() { this.textureWidth = 32; this.textureHeight = 32; this.outerpylon = new ModelRenderer(this, 0, 0); this.outerpylon.addBox(0F, 0F, 0F, 2, 16, 2); this.outerpylon.setRotationPoint(5F, 8F, 5F); this.outerpylon.setTextureSize(64, 32); this.outerpylon.mirror = true; this.setRotation(this.outerpylon, 0F, 0F, 0F); this.lowerconduit = new ModelRenderer(this, 9, 0); this.lowerconduit.addBox(0F, 0F, 0.2F, 6, 1, 1); this.lowerconduit.setRotationPoint(6F, 20F, 7F); this.lowerconduit.setTextureSize(64, 32); this.lowerconduit.mirror = true; this.setRotation(this.lowerconduit, 0F, 2.356194F, 0F); this.inlower1 = new ModelRenderer(this, 9, 3); this.inlower1.addBox(0F, 0F, 0F, 1, 1, 3); this.inlower1.setRotationPoint(3F, 20F, 3F); this.inlower1.setTextureSize(64, 32); this.inlower1.mirror = true; this.setRotation(this.inlower1, 0F, 3.141593F, 0F); this.inlower2 = new ModelRenderer(this, 9, 11); this.inlower2.addBox(0F, 0F, 0F, 3, 1, 1); this.inlower2.setRotationPoint(3F, 20F, 3F); this.inlower2.setTextureSize(64, 32); this.inlower2.mirror = true; this.setRotation(this.inlower2, 0F, 3.141593F, 0F); this.upperconduit = new ModelRenderer(this, 9, 0); this.upperconduit.addBox(0F, 0F, 0.2F, 6, 1, 1); this.upperconduit.setRotationPoint(6F, 11F, 7F); this.upperconduit.setTextureSize(64, 32); this.upperconduit.mirror = true; this.setRotation(this.upperconduit, 0F, 2.356194F, 0F); this.inupper2 = new ModelRenderer(this, 9, 11); this.inupper2.addBox(0F, 0F, 0F, 3, 1, 1); this.inupper2.setRotationPoint(3F, 11F, 3F); this.inupper2.setTextureSize(64, 32); this.inupper2.mirror = true; this.setRotation(this.inupper2, 0F, 3.141593F, 0F); this.inupper1 = new ModelRenderer(this, 9, 3); this.inupper1.addBox(0F, 0F, 0F, 1, 1, 3); this.inupper1.setRotationPoint(3F, 11F, 3F); this.inupper1.setTextureSize(64, 32); this.inupper1.mirror = true; this.setRotation(this.inupper1, 0F, 3.141593F, 0F); this.outuppersmooth1 = new ModelRenderer(this, 9, 8); this.outuppersmooth1.addBox(-0.5F, 0F, 0.2F, 2, 1, 1); this.outuppersmooth1.setRotationPoint(6F, 11F, 6F); this.outuppersmooth1.setTextureSize(64, 32); this.outuppersmooth1.mirror = true; this.setRotation(this.outuppersmooth1, 0F, 2.792527F, 0F); this.outuppersmooth2 = new ModelRenderer(this, 9, 8); this.outuppersmooth2.addBox(0F, 0F, 0.1F, 2, 1, 1); this.outuppersmooth2.setRotationPoint(5F, 11F, 7F); this.outuppersmooth2.setTextureSize(64, 32); this.outuppersmooth2.mirror = true; this.setRotation(this.outuppersmooth2, 0F, 1.919862F, 0F); this.inuppersmooth1 = new ModelRenderer(this, 9, 14); this.inuppersmooth1.addBox(0.25F, 0F, -0.5F, 1, 1, 2); this.inuppersmooth1.setRotationPoint(2F, 11F, 2F); this.inuppersmooth1.setTextureSize(64, 32); this.inuppersmooth1.mirror = true; this.setRotation(this.inuppersmooth1, 0F, 0.3490659F, 0F); this.inuppersmooth2 = new ModelRenderer(this, 9, 14); this.inuppersmooth2.addBox(0.15F, 0F, 0.3F, 1, 1, 2); this.inuppersmooth2.setRotationPoint(1F, 11F, 3F); this.inuppersmooth2.setTextureSize(64, 32); this.inuppersmooth2.mirror = true; this.setRotation(this.inuppersmooth2, 0F, 1.22173F, 0F); this.outlowersmooth2 = new ModelRenderer(this, 9, 8); this.outlowersmooth2.addBox(0F, 0F, 0.1F, 2, 1, 1); this.outlowersmooth2.setRotationPoint(5F, 20F, 7F); this.outlowersmooth2.setTextureSize(64, 32); this.outlowersmooth2.mirror = true; this.setRotation(this.outlowersmooth2, 0F, 1.919862F, 0F); this.outlowersmooth1 = new ModelRenderer(this, 9, 8); this.outlowersmooth1.addBox(-0.5F, 0F, 0.2F, 2, 1, 1); this.outlowersmooth1.setRotationPoint(6F, 20F, 6F); this.outlowersmooth1.setTextureSize(64, 32); this.outlowersmooth1.mirror = true; this.setRotation(this.outlowersmooth1, 0F, 2.792527F, 0F); this.inlowersmooth1 = new ModelRenderer(this, 9, 14); this.inlowersmooth1.addBox(0.25F, 0F, -0.5F, 1, 1, 2); this.inlowersmooth1.setRotationPoint(2F, 20F, 2F); this.inlowersmooth1.setTextureSize(64, 32); this.inlowersmooth1.mirror = true; this.setRotation(this.inlowersmooth1, 0F, 0.3490659F, 0F); this.inlowersmooth2 = new ModelRenderer(this, 9, 14); this.inlowersmooth2.addBox(0.15F, 0F, 0.3F, 1, 1, 2); this.inlowersmooth2.setRotationPoint(1F, 20F, 3F); this.inlowersmooth2.setTextureSize(64, 32); this.inlowersmooth2.mirror = true; this.setRotation(this.inlowersmooth2, 0F, 1.22173F, 0F); this.base = new ModelRenderer(this, 0, 22); this.base.addBox(0F, 0F, 0F, 8, 2, 8); this.base.setRotationPoint(0F, 22F, 0F); this.base.setTextureSize(64, 32); this.base.mirror = true; this.setRotation(this.base, 0F, 0F, 0F); this.baseornament = new ModelRenderer(this, 16, 14); this.baseornament.addBox(0F, 0F, 0.2F, 2, 1, 6); this.baseornament.setRotationPoint(-1F, 21F, 0F); this.baseornament.setTextureSize(64, 32); this.baseornament.mirror = true; this.setRotation(this.baseornament, -0.1630138F, 0F, 0F); this.pylonorn1 = new ModelRenderer(this, 18, 3); this.pylonorn1.addBox(0F, -4F, 0F, 2, 3, 1); this.pylonorn1.setRotationPoint(5F, 23.5F, 7F); this.pylonorn1.setTextureSize(64, 32); this.pylonorn1.mirror = true; this.setRotation(this.pylonorn1, 0.2617994F, 0F, 0F); this.pylonorn2 = new ModelRenderer(this, 18, 3); this.pylonorn2.addBox(0F, -4F, -1F, 2, 3, 1); this.pylonorn2.setRotationPoint(5F, 23.5F, 5F); this.pylonorn2.setTextureSize(64, 32); this.pylonorn2.mirror = true; this.setRotation(this.pylonorn2, -0.2617994F, 0F, 0F); this.pylonorn3 = new ModelRenderer(this, 18, 3); this.pylonorn3.addBox(0F, -4F, 0F, 2, 3, 1); this.pylonorn3.setRotationPoint(7F, 23.5F, 7F); this.pylonorn3.setTextureSize(64, 32); this.pylonorn3.mirror = true; this.setRotation(this.pylonorn3, 0.2617994F, 1.570796F, 0F); this.pylonorn4 = new ModelRenderer(this, 18, 3); this.pylonorn4.addBox(0F, -4F, 0F, 2, 3, 1); this.pylonorn4.setRotationPoint(5F, 23.5F, 5F); this.pylonorn4.setTextureSize(64, 32); this.pylonorn4.mirror = true; this.setRotation(this.pylonorn4, 0.2617994F, -1.570796F, 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); this.setRotationAngles(f, f1, f2, f3, f4, f5, entity); this.outerpylon.render(f5); this.lowerconduit.render(f5); this.inlower1.render(f5); this.inlower2.render(f5); this.upperconduit.render(f5); this.inupper2.render(f5); this.inupper1.render(f5); this.outuppersmooth1.render(f5); this.outuppersmooth2.render(f5); this.inuppersmooth1.render(f5); this.inuppersmooth2.render(f5); this.outlowersmooth2.render(f5); this.outlowersmooth1.render(f5); this.inlowersmooth1.render(f5); this.inlowersmooth2.render(f5); this.base.render(f5); this.baseornament.render(f5); this.pylonorn1.render(f5); this.pylonorn2.render(f5); this.pylonorn3.render(f5); this.pylonorn4.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, Entity entity) { super.setRotationAngles(f, f1, f2, f3, f4, f5, entity); } }