Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import net.minecraft.client.model.ModelBase;
- import net.minecraft.client.model.ModelRenderer;
- import net.minecraft.client.renderer.GlStateManager;
- import net.minecraft.entity.Entity;
- import net.minecraftforge.fml.relauncher.Side;
- import net.minecraftforge.fml.relauncher.SideOnly;
- import org.lwjgl.opengl.GL11;
- /**
- * Triceratops by ttflea for MLGPigPlayz TM Mod V1.0.3
- */
- @SideOnly(Side.CLIENT)
- public class Triceratops extends ModelBase {
- public ModelRenderer Bodyhips;
- public ModelRenderer BodyMAIN;
- public ModelRenderer Bodyshoulders;
- public ModelRenderer Neck1;
- public ModelRenderer Neck2;
- public ModelRenderer Neck3;
- public ModelRenderer Head;
- public ModelRenderer JawUPPER1;
- public ModelRenderer JawUPPER2;
- public ModelRenderer JawUPPER3;
- public ModelRenderer JawUPPER4Beak;
- public ModelRenderer FacialSlope;
- public ModelRenderer NasalCREST;
- public ModelRenderer Chin;
- public ModelRenderer JawLOWER;
- public ModelRenderer HornLOWERLEFT;
- public ModelRenderer OrbitalHornLeftLOWER;
- public ModelRenderer OrbitalHornLEFTUPPER;
- public ModelRenderer ObitalHornLeftTip;
- public ModelRenderer HornLOWERRIGHT;
- public ModelRenderer OrbitalHornRIGHTLOWER;
- public ModelRenderer OrbitalHornRIGHTUPPER;
- public ModelRenderer ObitalHornRIGHTTip;
- public ModelRenderer FrillMAIN;
- public ModelRenderer FrillBump9;
- public ModelRenderer FrillBump7;
- public ModelRenderer FrillBump8;
- public ModelRenderer Frillright1;
- public ModelRenderer Frillright2;
- public ModelRenderer Frillright3;
- public ModelRenderer FrillBump1;
- public ModelRenderer FrillBump2;
- public ModelRenderer FrillBump3;
- public ModelRenderer FrillBump4;
- public ModelRenderer FrillBump5;
- public ModelRenderer FrillBump6;
- public ModelRenderer Frillleft1;
- public ModelRenderer Frillleft2;
- public ModelRenderer Frillleft3;
- public ModelRenderer FrillBump12;
- public ModelRenderer FrillBump13;
- public ModelRenderer FrillBump14;
- public ModelRenderer FrillBump15;
- public ModelRenderer FrillBump11;
- public ModelRenderer FrillBump10;
- public ModelRenderer FrontLegUpperLeft;
- public ModelRenderer FrontLegMIDLeft;
- public ModelRenderer FrontLegFOOTLeft;
- public ModelRenderer FrontLegUpperRight;
- public ModelRenderer FrontLegMIDRight;
- public ModelRenderer FrontLegFOOTRight;
- public ModelRenderer Tail1;
- public ModelRenderer Tail2;
- public ModelRenderer Tail3;
- public ModelRenderer Tail4;
- public ModelRenderer Tail5;
- public ModelRenderer Tail6;
- public ModelRenderer RearLegUpperRight;
- public ModelRenderer RearLegMiddleRight;
- public ModelRenderer RearLegFootRight;
- public ModelRenderer RearLegUpperLeft;
- public ModelRenderer RearLegMiddleLeft;
- public ModelRenderer RearLegFootLeft;
- public Triceratops() {
- this.textureWidth = 2048;
- this.textureHeight = 2048;
- this.Bodyhips = new ModelRenderer(this, 7, 149);
- this.Bodyhips.setRotationPoint(0.0F, -14.0F, 10.0F);
- this.Bodyhips.addBox(-8.0F, -6.0F, -6.0F, 16, 22, 13);
- this.setRotationAngles(this.Bodyhips, 0.07002949366169327F, 0.0F, 0.0F);
- this.BodyMAIN = new ModelRenderer(this, 75, 144);
- this.BodyMAIN.setRotationPoint(0.0F, -5.5F, -5.8F);
- this.BodyMAIN.addBox(-8.5F, -1.0F, -16.0F, 17, 24, 16);
- this.setRotationAngles(this.BodyMAIN, 0.07382742769225528F, 0.0F, 0.0F);
- this.Bodyhips.addChild(this.BodyMAIN);
- this.Bodyshoulders = new ModelRenderer(this, 147, 146);
- this.Bodyshoulders.setRotationPoint(0.0F, 1.6F, -15.4F);
- this.Bodyshoulders.addBox(-8.0F, -2.0F, -10.0F, 16, 22, 10);
- this.setRotationAngles(this.Bodyshoulders, 0.09878564132209637F, 0.0F, 0.0F);
- this.BodyMAIN.addChild(this.Bodyshoulders);
- this.Neck1 = new ModelRenderer(this, 11, 192);
- this.Neck1.setRotationPoint(0.0F, -0.1F, -6.4F);
- this.Neck1.addBox(-6.0F, 0.0F, -6.0F, 12, 17, 6);
- this.setRotationAngles(this.Neck1, 0.021062489572408142F, 0.0F, 0.0F);
- this.Bodyshoulders.addChild(this.Neck1);
- this.Neck2 = new ModelRenderer(this, 62, 195);
- this.Neck2.setRotationPoint(0.0F, 1.7F, -4.0F);
- this.Neck2.addBox(-4.5F, 0.0F, -4.3F, 9, 14, 4);
- this.setRotationAngles(this.Neck2, 0.05497787310229706F, 0.0F, -0.008377580222319268F);
- this.Neck1.addChild(this.Neck2);
- this.Neck3 = new ModelRenderer(this, 98, 192);
- this.Neck3.setRotationPoint(0.0F, 3.1F, 1.6F);
- this.Neck3.addBox(-4.0F, 0.0F, -10.0F, 8, 11, 10);
- this.setRotationAngles(this.Neck3, -0.2275909337942703F, 0.0F, 0.0F);
- this.Neck2.addChild(this.Neck3);
- this.Head = new ModelRenderer(this, 39, 112);
- this.Head.setRotationPoint(0.0F, 0.7F, -9.8F);
- this.Head.addBox(-4.5F, -1.5F, -8.0F, 9, 11, 8);
- this.setRotationAngles(this.Head, 0.2759242615887117F, 0.0F, 0.0F);
- this.Neck3.addChild(this.Head);
- this.JawUPPER1 = new ModelRenderer(this, 79, 109);
- this.JawUPPER1.setRotationPoint(-0.5F, 3.0F, -10.0F);
- this.JawUPPER1.addBox(-4.0F, -3.5F, -2.0F, 9, 8, 4);
- this.Head.addChild(this.JawUPPER1);
- this.JawUPPER2 = new ModelRenderer(this, 110, 112);
- this.JawUPPER2.setRotationPoint(0.0F, 0.0F, -5.0F);
- this.JawUPPER2.addBox(-3.5F, -3.5F, 0.0F, 8, 6, 3);
- this.JawUPPER1.addChild(this.JawUPPER2);
- this.JawUPPER3 = new ModelRenderer(this, 135, 113);
- this.JawUPPER3.setRotationPoint(0.0F, 0.0F, -1.0F);
- this.JawUPPER3.addBox(-3.0F, -3.5F, 0.0F, 7, 6, 1);
- this.JawUPPER2.addChild(this.JawUPPER3);
- this.JawUPPER4Beak = new ModelRenderer(this, 152, 125);
- this.JawUPPER4Beak.setRotationPoint(0.5F, -1.5F, -2.0F);
- this.JawUPPER4Beak.addBox(-3.0F, -2.0F, 0.0F, 6, 7, 2);
- this.JawUPPER3.addChild(this.JawUPPER4Beak);
- this.FacialSlope = new ModelRenderer(this, 160, 104);
- this.FacialSlope.setRotationPoint(0.0F, -1.0F, 0.6F);
- this.FacialSlope.addBox(-2.5F, -1.0F, 0.0F, 5, 2, 11);
- this.setRotationAngles(this.FacialSlope, 0.0911061832922575F, 0.0F, 0.0F);
- this.JawUPPER4Beak.addChild(this.FacialSlope);
- this.NasalCREST = new ModelRenderer(this, 42, 97);
- this.NasalCREST.setRotationPoint(0.0F, 1.3F, 2.3F);
- this.NasalCREST.addBox(-1.0F, -3.0F, 0.0F, 2, 3, 3);
- this.setRotationAngles(this.NasalCREST, 0.9105382388075086F, 0.0F, 0.0F);
- this.FacialSlope.addChild(this.NasalCREST);
- this.Chin = new ModelRenderer(this, 82, 130);
- this.Chin.setRotationPoint(-1.5F, 7.7F, -6.1F);
- this.Chin.addBox(-2.5F, -1.0F, -8.0F, 8, 3, 7);
- this.setRotationAngles(this.Chin, -0.25795965878423F, 0.0F, 0.0F);
- this.Head.addChild(this.Chin);
- this.JawLOWER = new ModelRenderer(this, 127, 131);
- this.JawLOWER.setRotationPoint(-1.0F, -0.1F, -7.2F);
- this.JawLOWER.addBox(0.0F, 0.0F, -4.0F, 5, 2, 4);
- this.setRotationAngles(this.JawLOWER, 0.166812620936375F, 0.0F, 0.0F);
- this.Chin.addChild(this.JawLOWER);
- this.HornLOWERLEFT = new ModelRenderer(this, 41, 81);
- this.HornLOWERLEFT.setRotationPoint(2.9F, -2.1F, -9.4F);
- this.HornLOWERLEFT.addBox(-1.5F, 0.0F, -1.5F, 3, 3, 3);
- this.setRotationAngles(this.HornLOWERLEFT, 0.7285004590772052F, 0.0F, 0.3642502295386026F);
- this.Head.addChild(this.HornLOWERLEFT);
- this.OrbitalHornLeftLOWER = new ModelRenderer(this, 41, 68);
- this.OrbitalHornLeftLOWER.setRotationPoint(0.0F, -5.0F, 0.0F);
- this.OrbitalHornLeftLOWER.addBox(-1.0F, 0.0F, -1.0F, 2, 5, 2);
- this.HornLOWERLEFT.addChild(this.OrbitalHornLeftLOWER);
- this.OrbitalHornLEFTUPPER = new ModelRenderer(this, 41, 68);
- this.OrbitalHornLEFTUPPER.setRotationPoint(0.0F, 0.4F, 0.1F);
- this.OrbitalHornLEFTUPPER.addBox(-1.0F, -6.0F, -1.0F, 2, 6, 2);
- this.setRotationAngles(this.OrbitalHornLEFTUPPER, 0.45535640450848164F, 0.0F, 0.0F);
- this.OrbitalHornLeftLOWER.addChild(this.OrbitalHornLEFTUPPER);
- this.ObitalHornLeftTip = new ModelRenderer(this, 41, 68);
- this.ObitalHornLeftTip.setRotationPoint(0.0F, -5.7F, -0.05F);
- this.ObitalHornLeftTip.addBox(-1.0F, -3.0F, -1.0F, 2, 3, 2);
- this.setRotationAngles(this.ObitalHornLeftTip, -0.27314403792396663F, 0.0F, 0.0F);
- this.OrbitalHornLEFTUPPER.addChild(this.ObitalHornLeftTip);
- this.HornLOWERRIGHT = new ModelRenderer(this, 41, 81);
- this.HornLOWERRIGHT.setRotationPoint(-2.9F, -2.1F, -9.4F);
- this.HornLOWERRIGHT.addBox(-1.5F, 0.0F, -1.5F, 3, 3, 3);
- this.setRotationAngles(this.HornLOWERRIGHT, 0.7285004590772052F, 0.0F, -0.3642502295386026F);
- this.Head.addChild(this.HornLOWERRIGHT);
- this.OrbitalHornRIGHTLOWER = new ModelRenderer(this, 41, 68);
- this.OrbitalHornRIGHTLOWER.setRotationPoint(0.0F, -5.0F, 0.0F);
- this.OrbitalHornRIGHTLOWER.addBox(-1.0F, 0.0F, -1.0F, 2, 5, 2);
- this.HornLOWERRIGHT.addChild(this.OrbitalHornRIGHTLOWER);
- this.OrbitalHornRIGHTUPPER = new ModelRenderer(this, 41, 68);
- this.OrbitalHornRIGHTUPPER.setRotationPoint(0.0F, 0.4F, 0.1F);
- this.OrbitalHornRIGHTUPPER.addBox(-1.0F, -6.0F, -1.0F, 2, 6, 2);
- this.setRotationAngles(this.OrbitalHornRIGHTUPPER, 0.45535640450848164F, 0.0F, 0.0F);
- this.OrbitalHornRIGHTLOWER.addChild(this.OrbitalHornRIGHTUPPER);
- this.ObitalHornRIGHTTip = new ModelRenderer(this, 41, 68);
- this.ObitalHornRIGHTTip.setRotationPoint(0.0F, -5.7F, -0.05F);
- this.ObitalHornRIGHTTip.addBox(-1.0F, -3.0F, -1.0F, 2, 3, 2);
- this.setRotationAngles(this.ObitalHornRIGHTTip, -0.27314403792396663F, 0.0F, 0.0F);
- this.OrbitalHornRIGHTUPPER.addChild(this.ObitalHornRIGHTTip);
- this.FrillMAIN = new ModelRenderer(this, 101, 10);
- this.FrillMAIN.setRotationPoint(0.0F, -3.6F, -0.8F);
- this.FrillMAIN.addBox(-4.5F, -10.0F, -1.0F, 9, 16, 2);
- this.setRotationAngles(this.FrillMAIN, -0.6832963622083637F, 0.0F, 0.0F);
- this.Head.addChild(this.FrillMAIN);
- this.FrillBump9 = new ModelRenderer(this, 50, 3);
- this.FrillBump9.setRotationPoint(4.4F, -8.4F, 0.0F);
- this.FrillBump9.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump9, 0.0F, 0.0F, 0.8970992621566962F);
- this.FrillMAIN.addChild(this.FrillBump9);
- this.FrillBump7 = new ModelRenderer(this, 50, 3);
- this.FrillBump7.setRotationPoint(-4.6F, -8.4F, 0.0F);
- this.FrillBump7.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump7, 0.0F, 0.0F, 0.6736971312172275F);
- this.FrillMAIN.addChild(this.FrillBump7);
- this.FrillBump8 = new ModelRenderer(this, 50, 3);
- this.FrillBump8.setRotationPoint(0.0F, -8.5F, 0.0F);
- this.FrillBump8.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump8, 0.0F, 0.0F, 0.7853981633974483F);
- this.FrillMAIN.addChild(this.FrillBump8);
- this.Frillright1 = new ModelRenderer(this, 84, 10);
- this.Frillright1.setRotationPoint(-2.5F, -10.4F, -1.5F);
- this.Frillright1.addBox(-6.0F, 0.0F, 0.0F, 4, 19, 2);
- this.setRotationAngles(this.Frillright1, 0.0F, 0.2682571040341576F, -0.19844393395438445F);
- this.FrillMAIN.addChild(this.Frillright1);
- this.Frillright2 = new ModelRenderer(this, 68, 10);
- this.Frillright2.setRotationPoint(-6.9F, 1.0F, 0.0F);
- this.Frillright2.addBox(-2.0F, 0.0F, 0.0F, 3, 19, 2);
- this.setRotationAngles(this.Frillright2, 0.0F, -0.09320057639727988F, 0.0F);
- this.Frillright1.addChild(this.Frillright2);
- this.Frillright3 = new ModelRenderer(this, 55, 10);
- this.Frillright3.setRotationPoint(-1.9F, 1.5F, 0.0F);
- this.Frillright3.addBox(-2.0F, 0.0F, 0.0F, 2, 16, 2);
- this.setRotationAngles(this.Frillright3, 0.0F, -0.06981317007977318F, 0.0F);
- this.Frillright2.addChild(this.Frillright3);
- this.FrillBump1 = new ModelRenderer(this, 50, 3);
- this.FrillBump1.setRotationPoint(0.2F, 15.4F, 1.0F);
- this.FrillBump1.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump1, 0.0F, 0.0F, -1.6910495016046616F);
- this.Frillright3.addChild(this.FrillBump1);
- this.FrillBump2 = new ModelRenderer(this, 50, 3);
- this.FrillBump2.setRotationPoint(-2.0F, 13.7F, 1.0F);
- this.FrillBump2.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump2, 0.0F, 0.0F, 0.7853981633974483F);
- this.Frillright3.addChild(this.FrillBump2);
- this.FrillBump3 = new ModelRenderer(this, 50, 3);
- this.FrillBump3.setRotationPoint(-2.0F, 9.4F, 1.0F);
- this.FrillBump3.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump3, 0.0F, 0.0F, 0.7853981633974483F);
- this.Frillright3.addChild(this.FrillBump3);
- this.FrillBump4 = new ModelRenderer(this, 50, 3);
- this.FrillBump4.setRotationPoint(-2.0F, 4.8F, 1.0F);
- this.FrillBump4.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump4, 0.0F, 0.0F, 0.7853981633974483F);
- this.Frillright3.addChild(this.FrillBump4);
- this.FrillBump5 = new ModelRenderer(this, 50, 3);
- this.FrillBump5.setRotationPoint(0.3F, 0.7F, 1.0F);
- this.FrillBump5.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump5, 0.0F, 0.0F, 0.009075712817772679F);
- this.Frillright3.addChild(this.FrillBump5);
- this.FrillBump6 = new ModelRenderer(this, 50, 3);
- this.FrillBump6.setRotationPoint(-5.1F, 0.3F, 1.0F);
- this.FrillBump6.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump6, 0.0F, 0.0F, -1.0538298209963037F);
- this.Frillright1.addChild(this.FrillBump6);
- this.Frillleft1 = new ModelRenderer(this, 129, 10);
- this.Frillleft1.setRotationPoint(4.5F, -10.0F, -1.0F);
- this.Frillleft1.addBox(0.0F, 0.0F, 0.0F, 4, 19, 2);
- this.setRotationAngles(this.Frillleft1, 0.0F, -0.2682571040341576F, 0.19844393395438445F);
- this.FrillMAIN.addChild(this.Frillleft1);
- this.Frillleft2 = new ModelRenderer(this, 147, 10);
- this.Frillleft2.setRotationPoint(3.9F, 1.0F, 0.0F);
- this.Frillleft2.addBox(0.0F, 0.0F, 0.0F, 3, 19, 2);
- this.setRotationAngles(this.Frillleft2, 0.0F, 0.09320057639727988F, 0.0F);
- this.Frillleft1.addChild(this.Frillleft2);
- this.Frillleft3 = new ModelRenderer(this, 162, 10);
- this.Frillleft3.setRotationPoint(2.9F, 1.5F, 0.0F);
- this.Frillleft3.addBox(0.0F, 0.0F, 0.0F, 2, 16, 2);
- this.setRotationAngles(this.Frillleft3, 0.0F, 0.06981317007977318F, 0.0F);
- this.Frillleft2.addChild(this.Frillleft3);
- this.FrillBump12 = new ModelRenderer(this, 50, 3);
- this.FrillBump12.setRotationPoint(2.0F, 2.1F, 0.5F);
- this.FrillBump12.addBox(0.0F, 0.0F, 0.0F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump12, 0.0F, 0.0F, 0.7853981633974483F);
- this.Frillleft3.addChild(this.FrillBump12);
- this.FrillBump13 = new ModelRenderer(this, 50, 3);
- this.FrillBump13.setRotationPoint(2.0F, 9.4F, 1.0F);
- this.FrillBump13.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump13, 0.0F, 0.0F, 0.7853981633974483F);
- this.Frillleft3.addChild(this.FrillBump13);
- this.FrillBump14 = new ModelRenderer(this, 50, 3);
- this.FrillBump14.setRotationPoint(2.0F, 13.7F, 1.0F);
- this.FrillBump14.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump14, 0.0F, 0.0F, 0.7853981633974483F);
- this.Frillleft3.addChild(this.FrillBump14);
- this.FrillBump15 = new ModelRenderer(this, 50, 3);
- this.FrillBump15.setRotationPoint(-0.4F, 17.4F, 1.0F);
- this.FrillBump15.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump15, 0.0F, 0.0F, 1.6910495016046616F);
- this.Frillleft3.addChild(this.FrillBump15);
- this.FrillBump11 = new ModelRenderer(this, 50, 3);
- this.FrillBump11.setRotationPoint(4.6F, 2.2F, 1.0F);
- this.FrillBump11.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump11, 0.0F, 0.0F, -0.009075712817772679F);
- this.Frillleft2.addChild(this.FrillBump11);
- this.FrillBump10 = new ModelRenderer(this, 50, 3);
- this.FrillBump10.setRotationPoint(3.9F, 2.0F, 1.0F);
- this.FrillBump10.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
- this.setRotationAngles(this.FrillBump10, 0.0F, 0.0F, 1.0538298209963037F);
- this.Frillleft1.addChild(this.FrillBump10);
- this.FrontLegUpperLeft = new ModelRenderer(this, 170, 37);
- this.FrontLegUpperLeft.setRotationPoint(6.0F, 13.4F, -5.7F);
- this.FrontLegUpperLeft.addBox(0.0F, -2.0F, -4.0F, 6, 10, 7);
- this.setRotationAngles(this.FrontLegUpperLeft, 0.05305309423038831F, 0.0F, 0.0F);
- this.Bodyshoulders.addChild(this.FrontLegUpperLeft);
- this.FrontLegMIDLeft = new ModelRenderer(this, 170, 59);
- this.FrontLegMIDLeft.setRotationPoint(3.0F, 6.2F, -0.2F);
- this.FrontLegMIDLeft.addBox(-2.5F, 0.0F, -2.5F, 5, 9, 5);
- this.setRotationAngles(this.FrontLegMIDLeft, -0.673856854303605F, 0.0F, 0.0F);
- this.FrontLegUpperLeft.addChild(this.FrontLegMIDLeft);
- this.FrontLegFOOTLeft = new ModelRenderer(this, 170, 81);
- this.FrontLegFOOTLeft.setRotationPoint(0.0F, 8.0F, -0.2F);
- this.FrontLegFOOTLeft.addBox(-2.5F, 0.0F, -2.5F, 5, 5, 5);
- this.setRotationAngles(this.FrontLegFOOTLeft, 0.41455071791698783F, 0.0F, 0.0F);
- this.FrontLegMIDLeft.addChild(this.FrontLegFOOTLeft);
- this.FrontLegUpperRight = new ModelRenderer(this, 140, 37);
- this.FrontLegUpperRight.setRotationPoint(-6.0F, 13.4F, -5.7F);
- this.FrontLegUpperRight.addBox(-6.0F, -2.0F, -4.0F, 6, 10, 7);
- this.setRotationAngles(this.FrontLegUpperRight, 0.05305309423038831F, 0.0F, 0.0F);
- this.Bodyshoulders.addChild(this.FrontLegUpperRight);
- this.FrontLegMIDRight = new ModelRenderer(this, 140, 59);
- this.FrontLegMIDRight.setRotationPoint(-3.0F, 6.2F, -0.2F);
- this.FrontLegMIDRight.addBox(-2.5F, 0.0F, -2.5F, 5, 9, 5);
- this.setRotationAngles(this.FrontLegMIDRight, -0.673856854303605F, 0.0F, 0.0F);
- this.FrontLegUpperRight.addChild(this.FrontLegMIDRight);
- this.FrontLegFOOTRight = new ModelRenderer(this, 147, 81);
- this.FrontLegFOOTRight.setRotationPoint(0.0F, 8.0F, -0.2F);
- this.FrontLegFOOTRight.addBox(-2.5F, 0.0F, -2.5F, 5, 5, 5);
- this.setRotationAngles(this.FrontLegFOOTRight, 0.41455071791698783F, 0.0F, 0.0F);
- this.FrontLegMIDRight.addChild(this.FrontLegFOOTRight);
- this.Tail1.setRotationPoint(0.0F, 0.2F, 11.7F);
- this.Tail1.addBox(-7.5F, -5.0F, -5.2F, 15, 16, 8);
- this.setRotationAngles(this.Tail1, -0.09434180750340608F, -0.010824917593331453F, 0.0F);
- this.Bodyhips.addChild(this.Tail1);
- this.Tail2 = new ModelRenderer(this, 0, 33);
- this.Tail2.setRotationPoint(0.0F, -4.4F, -0.2F);
- this.Tail2.addBox(-6.0F, 0.0F, 2.0F, 12, 13, 7);
- this.setRotationAngles(this.Tail2, -0.006250691870660069F, -0.006249654174102509F, 0.0F);
- this.Tail1.addChild(this.Tail2);
- this.Tail3 = new ModelRenderer(this, 0, 58);
- this.Tail3.setRotationPoint(0.0F, 0.9F, 8.2F);
- this.Tail3.addBox(-5.0F, 0.0F, 0.0F, 10, 10, 8);
- this.setRotationAngles(this.Tail3, -0.054391927728209194F, 1.5308086000422977E-18F, 0.0F);
- this.Tail2.addChild(this.Tail3);
- this.Tail4 = new ModelRenderer(this, 0, 83);
- this.Tail4.setRotationPoint(0.0F, 0.8F, 6.4F);
- this.Tail4.addBox(-4.0F, 0.0F, 0.0F, 8, 8, 8);
- this.setRotationAngles(this.Tail4, -0.05637860845070547F, 0.006250691870660069F, 0.0F);
- this.Tail3.addChild(this.Tail4);
- this.Tail5 = new ModelRenderer(this, 0, 107);
- this.Tail5.setRotationPoint(0.0F, 0.8F, 7.2F);
- this.Tail5.addBox(-3.0F, 0.0F, 0.0F, 6, 6, 7);
- this.setRotationAngles(this.Tail5, -0.10318046465435078F, 0.010825517844874023F, 0.0F);
- this.Tail4.addChild(this.Tail5);
- this.Tail6 = new ModelRenderer(this, 0, 129);
- this.Tail6.setRotationPoint(0.0F, 0.6F, 5.7F);
- this.Tail6.addBox(-2.0F, 0.0F, 0.0F, 4, 4, 7);
- this.setRotationAngles(this.Tail6, -0.08754915714942839F, 0.012500000145910057F, 0.0F);
- this.Tail5.addChild(this.Tail6);
- this.RearLegUpperRight = new ModelRenderer(this, 46, 32);
- this.RearLegUpperRight.setRotationPoint(-7.0F, -14.0F, 10.0F);
- this.RearLegUpperRight.addBox(-6.0F, -2.0F, -4.0F, 6, 18, 13);
- this.setRotationAngles(this.RearLegUpperRight, -0.3642502295386026F, 0.0F, 0.0F);
- this.RearLegMiddleRight = new ModelRenderer(this, 60, 65);
- this.RearLegMiddleRight.setRotationPoint(-3.0F, 11.9F, -0.5F);
- this.RearLegMiddleRight.addBox(-2.5F, -3.0F, 0.0F, 5, 7, 16);
- this.setRotationAngles(this.RearLegMiddleRight, -0.8651597048872669F, 0.0F, 0.0F);
- this.RearLegUpperRight.addChild(this.RearLegMiddleRight);
- this.RearLegFootRight = new ModelRenderer(this, 61, 91);
- this.RearLegFootRight.setRotationPoint(0.0F, -0.2F, 14.9F);
- this.RearLegFootRight.addBox(-2.5F, -3.0F, 0.0F, 5, 7, 6);
- this.setRotationAngles(this.RearLegFootRight, -0.3490658503988659F, 0.0F, 0.0F);
- this.RearLegMiddleRight.addChild(this.RearLegFootRight);
- this.RearLegUpperLeft = new ModelRenderer(this, 90, 32);
- this.RearLegUpperLeft.setRotationPoint(7.0F, -14.0F, 10.0F);
- this.RearLegUpperLeft.addBox(0.0F, -2.0F, -4.0F, 6, 18, 13);
- this.setRotationAngles(this.RearLegUpperLeft, -0.3642502295386026F, 0.0F, 0.0F);
- this.RearLegMiddleLeft = new ModelRenderer(this, 104, 65);
- this.RearLegMiddleLeft.setRotationPoint(3.0F, 11.9F, -0.5F);
- this.RearLegMiddleLeft.addBox(-2.5F, -3.0F, 0.0F, 5, 7, 16);
- this.setRotationAngles(this.RearLegMiddleLeft, -0.8651597048872669F, 0.0F, 0.0F);
- this.RearLegUpperLeft.addChild(this.RearLegMiddleLeft);
- this.RearLegFootLeft = new ModelRenderer(this, 88, 91);
- this.RearLegFootLeft.setRotationPoint(0.0F, -0.2F, 14.9F);
- this.RearLegFootLeft.addBox(-2.5F, -3.0F, 0.0F, 5, 7, 6);
- this.setRotationAngles(this.RearLegFootLeft, -0.3490658503988659F, 0.0F, 0.0F);
- this.RearLegMiddleLeft.addChild(this.RearLegFootLeft);
- }
- @Override
- public void render(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float rotationYaw, float rotationPitch, float scale) {
- GlStateManager.pushMatrix();
- GlStateManager.translate(this.Bodyhips.offsetX, this.Bodyhips.offsetY, this.Bodyhips.offsetZ);
- GlStateManager.translate(this.Bodyhips.rotationPointX * scale, this.Bodyhips.rotationPointY * scale, this.Bodyhips.rotationPointZ * scale);
- GlStateManager.scale(1.0F, 1.0F, 1.0F);
- GlStateManager.translate(-this.Bodyhips.offsetX, -this.Bodyhips.offsetY, -this.Bodyhips.offsetZ);
- GlStateManager.translate(-this.Bodyhips.rotationPointX * scale, -this.Bodyhips.rotationPointY * scale, -this.Bodyhips.rotationPointZ * scale);
- GlStateManager.enableBlend();
- GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
- GlStateManager.color(1.0F, 1.0F, 1.0F, 0.0F);
- this.Bodyhips.render(scale);
- GlStateManager.disableBlend();
- GlStateManager.popMatrix();
- GlStateManager.pushMatrix();
- GlStateManager.translate(this.RearLegUpperRight.offsetX, this.RearLegUpperRight.offsetY, this.RearLegUpperRight.offsetZ);
- GlStateManager.translate(this.RearLegUpperRight.rotationPointX * scale, this.RearLegUpperRight.rotationPointY * scale, this.RearLegUpperRight.rotationPointZ * scale);
- GlStateManager.scale(1.0F, 1.0F, 1.0F);
- GlStateManager.translate(-this.RearLegUpperRight.offsetX, -this.RearLegUpperRight.offsetY, -this.RearLegUpperRight.offsetZ);
- GlStateManager.translate(-this.RearLegUpperRight.rotationPointX * scale, -this.RearLegUpperRight.rotationPointY * scale, -this.RearLegUpperRight.rotationPointZ * scale);
- GlStateManager.enableBlend();
- GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
- GlStateManager.color(1.0F, 1.0F, 1.0F, 0.0F);
- this.RearLegUpperRight.render(scale);
- GlStateManager.disableBlend();
- GlStateManager.popMatrix();
- GlStateManager.pushMatrix();
- GlStateManager.translate(this.RearLegUpperLeft.offsetX, this.RearLegUpperLeft.offsetY, this.RearLegUpperLeft.offsetZ);
- GlStateManager.translate(this.RearLegUpperLeft.rotationPointX * scale, this.RearLegUpperLeft.rotationPointY * scale, this.RearLegUpperLeft.rotationPointZ * scale);
- GlStateManager.scale(1.0F, 1.0F, 1.0F);
- GlStateManager.translate(-this.RearLegUpperLeft.offsetX, -this.RearLegUpperLeft.offsetY, -this.RearLegUpperLeft.offsetZ);
- GlStateManager.translate(-this.RearLegUpperLeft.rotationPointX * scale, -this.RearLegUpperLeft.rotationPointY * scale, -this.RearLegUpperLeft.rotationPointZ * scale);
- GlStateManager.enableBlend();
- GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
- GlStateManager.color(1.0F, 1.0F, 1.0F, 0.0F);
- this.RearLegUpperLeft.render(scale);
- GlStateManager.disableBlend();
- GlStateManager.popMatrix();
- }
- public void setRotationAngles(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