Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.micromod.client.model;
- import net.minecraft.client.model.ModelBase;
- import net.minecraft.client.model.ModelBiped;
- import net.minecraft.client.model.ModelRenderer;
- import net.minecraft.entity.Entity;
- import net.minecraft.client.renderer.GlStateManager;
- import org.lwjgl.opengl.GL11;
- import javax.jws.WebParam;
- import java.util.ArrayList;
- public class ModelHelmetArthas extends ModelBiped {
- public ModelRenderer shape13;
- public ModelRenderer shape14;
- public ModelRenderer shape15;
- public ModelRenderer shape16;
- public ModelRenderer shape17;
- public ModelRenderer shape18;
- public ModelRenderer shape19;
- public ModelRenderer shape35;
- public ModelRenderer shape54;
- public ModelRenderer shape55;
- public ModelRenderer shape56;
- public ModelRenderer shape57;
- public ModelRenderer shape58;
- public ModelRenderer shape59;
- public ModelRenderer shape60;
- public ModelRenderer shape61;
- public ModelRenderer shape21;
- public ModelRenderer shape22;
- public ModelRenderer shape23;
- public ModelRenderer shape24;
- public ModelRenderer shape25;
- public ModelRenderer shape26;
- public ModelRenderer shape27;
- public ModelRenderer shape28;
- public ModelRenderer shape29;
- public ModelRenderer shape30;
- public ModelRenderer shape31;
- public ModelRenderer shape32;
- public ModelRenderer shape33;
- public ModelRenderer shape34;
- public ModelRenderer shape48;
- public ModelRenderer shape49;
- public ModelRenderer shape8;
- public ModelRenderer shape9;
- public ModelRenderer shape10;
- public ModelRenderer shape11;
- public ModelRenderer shape12;
- public ModelRenderer shape39;
- public ModelRenderer shape40;
- public ModelRenderer shape41;
- public ModelRenderer shape42;
- public ModelRenderer shape43;
- public ModelRenderer shape44;
- public ModelRenderer shape45;
- public ModelRenderer shape46;
- public ModelRenderer shape47;
- public ModelRenderer shape50;
- public ModelRenderer shape51;
- public ModelRenderer shape52;
- public ModelRenderer shape53;
- private ArrayList<ModelRenderer> modelList = new ArrayList<ModelRenderer>();
- public ModelHelmetArthas() {
- this.textureWidth = 64;
- this.textureHeight = 32;
- this.shape10 = new ModelRenderer(this, 13, 0);
- this.shape10.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape10.addBox(4.0F, -9.0F, -4.0F, 1, 10, 8, 0.0F);
- this.shape55 = new ModelRenderer(this, 1, 22);
- this.shape55.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape55.addBox(3.0F, -5.0F, -7.0F, 2, 1, 2, 0.0F);
- this.shape56 = new ModelRenderer(this, 1, 22);
- this.shape56.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape56.addBox(-6.0F, -6.0F, -3.0F, 1, 1, 7, 0.0F);
- this.shape46 = new ModelRenderer(this, 0, 22);
- this.shape46.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape46.addBox(3.0F, -13.0F, -4.0F, 1, 3, 2, 0.0F);
- this.shape53 = new ModelRenderer(this, 0, 22);
- this.shape53.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape53.addBox(3.0F, -13.0F, 0.0F, 1, 1, 1, 0.0F);
- this.shape23 = new ModelRenderer(this, 0, 10);
- this.shape23.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape23.addBox(-7.0F, 0.0F, -6.0F, 4, 2, 1, 0.0F);
- this.shape14 = new ModelRenderer(this, 1, 21);
- this.shape14.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape14.addBox(1.0F, -7.0F, -7.0F, 5, 1, 2, 0.0F);
- this.shape33 = new ModelRenderer(this, 0, 20);
- this.shape33.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape33.addBox(3.0F, -1.0F, -6.0F, 1, 1, 1, 0.0F);
- this.shape44 = new ModelRenderer(this, 0, 22);
- this.shape44.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape44.addBox(-4.0F, -13.0F, -4.0F, 1, 3, 2, 0.0F);
- this.shape57 = new ModelRenderer(this, 1, 22);
- this.shape57.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape57.addBox(5.0F, -6.0F, -3.0F, 1, 1, 7, 0.0F);
- this.shape43 = new ModelRenderer(this, 0, 22);
- this.shape43.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape43.addBox(-1.0F, -17.0F, -6.0F, 2, 2, 2, 0.0F);
- this.shape50 = new ModelRenderer(this, 0, 22);
- this.shape50.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape50.addBox(-5.0F, -12.0F, -1.0F, 1, 3, 1, 0.0F);
- this.shape51 = new ModelRenderer(this, 0, 22);
- this.shape51.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape51.addBox(-4.0F, -13.0F, 0.0F, 1, 1, 1, 0.0F);
- this.shape25 = new ModelRenderer(this, 13, 15);
- this.shape25.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape25.addBox(-3.0F, 0.0F, -6.0F, 2, 2, 1, 0.0F);
- this.shape26 = new ModelRenderer(this, 0, 20);
- this.shape26.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape26.addBox(-6.0F, -2.0F, -6.0F, 1, 2, 1, 0.0F);
- this.shape12 = new ModelRenderer(this, 11, 0);
- this.shape12.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape12.addBox(-5.0F, -9.0F, 4.0F, 10, 10, 1, 0.0F);
- this.shape29 = new ModelRenderer(this, 0, 20);
- this.shape29.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape29.addBox(1.0F, -2.0F, -6.0F, 1, 2, 1, 0.0F);
- this.shape35 = new ModelRenderer(this, 1, 22);
- this.shape35.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape35.addBox(-6.0F, -7.0F, -5.0F, 1, 1, 2, 0.0F);
- this.shape41 = new ModelRenderer(this, 0, 20);
- this.shape41.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape41.addBox(-4.0F, -9.0F, -6.0F, 8, 1, 1, 0.0F);
- this.shape31 = new ModelRenderer(this, 0, 10);
- this.shape31.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape31.addBox(-7.0F, -3.0F, -6.0F, 1, 3, 1, 0.0F);
- this.shape49 = new ModelRenderer(this, 0, 20);
- this.shape49.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape49.addBox(-2.0F, 1.0F, -7.0F, 1, 1, 1, 0.0F);
- this.shape18 = new ModelRenderer(this, 1, 22);
- this.shape18.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape18.addBox(4.0F, -6.0F, -7.0F, 2, 1, 2, 0.0F);
- this.shape22 = new ModelRenderer(this, 0, 8);
- this.shape22.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape22.addBox(5.0F, -3.0F, -5.0F, 2, 5, 4, 0.0F);
- this.shape8 = new ModelRenderer(this, 3, 2);
- this.shape8.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape8.addBox(-4.0F, -9.0F, -4.0F, 8, 1, 8, 0.0F);
- this.shape11 = new ModelRenderer(this, 0, 0);
- this.shape11.mirror = true;
- this.shape11.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape11.addBox(-5.0F, -9.0F, -5.0F, 10, 10, 1, 0.0F);
- this.shape42 = new ModelRenderer(this, 0, 22);
- this.shape42.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape42.addBox(-1.0F, -15.0F, -7.0F, 2, 4, 2, 0.0F);
- this.shape16 = new ModelRenderer(this, 1, 22);
- this.shape16.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape16.addBox(-1.0F, -5.0F, -6.0F, 2, 1, 1, 0.0F);
- this.shape27 = new ModelRenderer(this, 0, 20);
- this.shape27.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape27.addBox(-4.0F, -1.0F, -6.0F, 1, 1, 1, 0.0F);
- this.shape45 = new ModelRenderer(this, 0, 22);
- this.shape45.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape45.addBox(-3.0F, -15.0F, -3.0F, 1, 2, 1, 0.0F);
- this.shape52 = new ModelRenderer(this, 0, 22);
- this.shape52.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape52.addBox(4.0F, -12.0F, -1.0F, 1, 3, 1, 0.0F);
- this.shape47 = new ModelRenderer(this, 0, 22);
- this.shape47.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape47.addBox(2.0F, -15.0F, -3.0F, 1, 2, 1, 0.0F);
- this.shape54 = new ModelRenderer(this, 1, 22);
- this.shape54.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape54.addBox(-5.0F, -5.0F, -7.0F, 2, 1, 2, 0.0F);
- this.shape17 = new ModelRenderer(this, 1, 20);
- this.shape17.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape17.addBox(-6.0F, -7.0F, -7.0F, 2, 2, 2, 0.0F);
- this.shape21 = new ModelRenderer(this, 0, 9);
- this.shape21.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape21.addBox(-7.0F, -3.0F, -5.0F, 2, 5, 4, 0.0F);
- this.shape9 = new ModelRenderer(this, 11, 0);
- this.shape9.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape9.addBox(-5.0F, -9.0F, -4.0F, 1, 10, 8, 0.0F);
- this.shape60 = new ModelRenderer(this, 0, 20);
- this.shape60.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape60.addBox(-5.0F, -8.0F, -6.0F, 1, 1, 1, 0.0F);
- this.shape30 = new ModelRenderer(this, 13, 15);
- this.shape30.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape30.addBox(1.0F, 0.0F, -6.0F, 2, 2, 1, 0.0F);
- this.shape28 = new ModelRenderer(this, 0, 20);
- this.shape28.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape28.addBox(-2.0F, -2.0F, -6.0F, 1, 2, 1, 0.0F);
- this.shape40 = new ModelRenderer(this, 0, 22);
- this.shape40.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape40.addBox(-1.0F, -12.0F, -6.0F, 2, 3, 2, 0.0F);
- this.shape34 = new ModelRenderer(this, 0, 20);
- this.shape34.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape34.addBox(5.0F, -2.0F, -6.0F, 1, 2, 1, 0.0F);
- this.shape13 = new ModelRenderer(this, 1, 22);
- this.shape13.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape13.addBox(-5.0F, -7.0F, -7.0F, 4, 1, 2, 0.0F);
- this.shape19 = new ModelRenderer(this, 1, 22);
- this.shape19.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape19.addBox(5.0F, -7.0F, -5.0F, 1, 1, 2, 0.0F);
- this.shape61 = new ModelRenderer(this, 0, 20);
- this.shape61.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape61.addBox(4.0F, -8.0F, -6.0F, 1, 1, 1, 0.0F);
- this.shape24 = new ModelRenderer(this, 0, 10);
- this.shape24.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape24.addBox(3.0F, 0.0F, -6.0F, 4, 2, 1, 0.0F);
- this.shape15 = new ModelRenderer(this, 1, 22);
- this.shape15.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape15.addBox(-2.0F, -6.0F, -7.0F, 4, 1, 2, 0.0F);
- this.shape32 = new ModelRenderer(this, 0, 10);
- this.shape32.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape32.addBox(6.0F, -3.0F, -6.0F, 1, 3, 1, 0.0F);
- this.shape39 = new ModelRenderer(this, 4, 9);
- this.shape39.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape39.addBox(-4.0F, -10.0F, -4.0F, 8, 1, 8, 0.0F);
- this.shape59 = new ModelRenderer(this, 1, 22);
- this.shape59.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape59.addBox(-6.0F, -9.0F, -1.0F, 1, 3, 1, 0.0F);
- this.shape58 = new ModelRenderer(this, 1, 22);
- this.shape58.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape58.addBox(5.0F, -9.0F, -1.0F, 1, 3, 1, 0.0F);
- this.shape48 = new ModelRenderer(this, 0, 20);
- this.shape48.setRotationPoint(0.0F, 0.0F, 0.0F);
- this.shape48.addBox(1.0F, 1.0F, -7.0F, 1, 1, 1, 0.0F);
- modelList.add(shape13);
- modelList.add(shape14);
- modelList.add(shape15);
- modelList.add(shape16);
- modelList.add(shape17);
- modelList.add(shape18);
- modelList.add(shape19);
- modelList.add(shape35);
- modelList.add(shape54);
- modelList.add(shape55);
- modelList.add(shape56);
- modelList.add(shape57);
- modelList.add(shape58);
- modelList.add(shape59);
- modelList.add(shape60);
- modelList.add(shape61);
- modelList.add(shape21);
- modelList.add(shape22);
- modelList.add(shape23);
- modelList.add(shape24);
- modelList.add(shape25);
- modelList.add(shape26);
- modelList.add(shape27);
- modelList.add(shape28);
- modelList.add(shape29);
- modelList.add(shape30);
- modelList.add(shape31);
- modelList.add(shape32);
- modelList.add(shape33);
- modelList.add(shape34);
- modelList.add(shape48);
- modelList.add(shape49);
- modelList.add(shape8);
- modelList.add(shape9);
- modelList.add(shape10);
- modelList.add(shape11);
- modelList.add(shape12);
- modelList.add(shape39);
- modelList.add(shape40);
- modelList.add(shape41);
- modelList.add(shape42);
- modelList.add(shape43);
- modelList.add(shape44);
- modelList.add(shape45);
- modelList.add(shape46);
- modelList.add(shape47);
- modelList.add(shape50);
- modelList.add(shape51);
- modelList.add(shape52);
- modelList.add(shape53);
- for (ModelRenderer lol : modelList){
- this.bipedHead.addChild(lol);
- }
- this.bipedHead.showModel = false;
- this.bipedHeadwear.showModel = false;
- this.bipedBody.showModel = false;
- this.bipedLeftArm.showModel = false;
- this.bipedRightArm.showModel = false;
- this.bipedLeftLeg.showModel = false;
- this.bipedRightLeg.showModel = false;
- }
- @Override
- 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, entity);
- }
- /**
- * 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;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement