package minefantasy.mf2.client.render.mob; import minefantasy.mf2.entity.mob.EntityDragon; import net.minecraft.client.model.ModelBase; import net.minecraft.client.model.ModelRenderer; import net.minecraft.entity.Entity; import net.minecraft.util.MathHelper; public class ModelDragon extends ModelBase { public ModelRenderer Body; public ModelRenderer Tail1; public ModelRenderer Neckbase; public ModelRenderer shape16; public ModelRenderer Wingshoulderleft; public ModelRenderer Shoulderleft; public ModelRenderer Shoulderleft_1; public ModelRenderer Spikebase1; public ModelRenderer Spikebase2; public ModelRenderer Spkebase3; public ModelRenderer Spikebase4; public ModelRenderer Wingshoulderright; public ModelRenderer Tail3; public ModelRenderer Righthip; public ModelRenderer Lefthip; public ModelRenderer Spikebase5; public ModelRenderer Spikebase6; public ModelRenderer Spikebase7; public ModelRenderer Spiketop10; public ModelRenderer Tail4; public ModelRenderer Spiketop11; public ModelRenderer Spiketop12; public ModelRenderer Spiketop13; public ModelRenderer Tail6; public ModelRenderer Spiketop14; public ModelRenderer Spiketop15; public ModelRenderer Spiketop16; public ModelRenderer Tail7; public ModelRenderer Spiketop17; public ModelRenderer Spiketop18; public ModelRenderer Spiketop19; public ModelRenderer Tail8; public ModelRenderer LTailSpike; public ModelRenderer RTailSpike; public ModelRenderer LTailMembrane; public ModelRenderer RTailMembrane; public ModelRenderer RightLeg; public ModelRenderer RightFoot; public ModelRenderer Righttoemid; public ModelRenderer Righttoeleft; public ModelRenderer Righttoeright; public ModelRenderer Outertoelowerright; public ModelRenderer Righttoelowermid; public ModelRenderer Righttoelowerleft; public ModelRenderer Righttoelowerright; public ModelRenderer Outertoelowerright_1; public ModelRenderer Rightleg; public ModelRenderer Rightfoot; public ModelRenderer Lefttoemid; public ModelRenderer Lefttoeright; public ModelRenderer Lefttoeleft; public ModelRenderer Outertoeleft; public ModelRenderer Lefttoelowermid; public ModelRenderer Lefttoelowerright; public ModelRenderer Lefttoelowerleft; public ModelRenderer Outertoelowerleft; public ModelRenderer Spiketop7; public ModelRenderer Spiketop8; public ModelRenderer Spiketop9; public ModelRenderer Neckmid; public ModelRenderer Spiketop2; public ModelRenderer Neckend; public ModelRenderer Spiketop1; public ModelRenderer Headback; public ModelRenderer Snout; public ModelRenderer Lowerjaw; public ModelRenderer Headlargehornlowerleft; public ModelRenderer Headlargehornlowerright; public ModelRenderer Smallheadhornleft2; public ModelRenderer Smallheadhornright2; public ModelRenderer Smallheadhornleft1; public ModelRenderer Smallheadhornright1; public ModelRenderer Headmidhornlowerleft; public ModelRenderer Headmidhornlowerright; public ModelRenderer Tooth5; public ModelRenderer Tooth4; public ModelRenderer Tooth3; public ModelRenderer Tooth2; public ModelRenderer Tooth1; public ModelRenderer Tooth6; public ModelRenderer Tooth7; public ModelRenderer Tooth8; public ModelRenderer Tooth9; public ModelRenderer Tooth10; public ModelRenderer Headlargehornupperleft; public ModelRenderer Headlargehornupperright; public ModelRenderer Smallheadhornleft3; public ModelRenderer Smallheadhornright3; public ModelRenderer Headmidhornupperleft; public ModelRenderer Headmidhornupperright; public ModelRenderer Wingupperarmleft; public ModelRenderer Winglowerarmleft; public ModelRenderer Wingmembramesmallleft; public ModelRenderer Wingfinger1left; public ModelRenderer Wingmembramemidleft; public ModelRenderer Wingfingerlower1left; public ModelRenderer Wingfinger2left; public ModelRenderer Wingfinger3left; public ModelRenderer Wingmembramelargeleft; public ModelRenderer Wingfingerlower2left; public ModelRenderer Wingfingerlower3left; public ModelRenderer Lowerarmleft; public ModelRenderer Lefthandrightfinger; public ModelRenderer Lefthandmidfinger; public ModelRenderer Lefthandrightfinger_1; public ModelRenderer Thumbtoeupperleft; public ModelRenderer Clawlefthandright; public ModelRenderer Clawlefthandmid; public ModelRenderer Clawlefthandleft; public ModelRenderer Thumbtoelowerleft; public ModelRenderer Lowerarmleft_1; public ModelRenderer Righthandleftfinger; public ModelRenderer Righthandmidfinger; public ModelRenderer Righthandrightfinger; public ModelRenderer Thumbtoeupperright; public ModelRenderer Clawrighthandleft; public ModelRenderer Clawrighthandmid; public ModelRenderer Clawrighthandright; public ModelRenderer Thumbtoelowerright; public ModelRenderer Spiketop3; public ModelRenderer Spiketop4; public ModelRenderer Spiketop5; public ModelRenderer Spiketop6; public ModelRenderer Wingupperarmright; public ModelRenderer Winglowerarmright; public ModelRenderer Wingmembramesmallright; public ModelRenderer Wingfinger1right; public ModelRenderer Wingmembramemidright; public ModelRenderer Wingfinger2right; public ModelRenderer Wingfinger3right; public ModelRenderer Wingfingerlower1right; public ModelRenderer Wingmembramelargeright; public ModelRenderer Wingfingerlower2right; public ModelRenderer Wingfingerlower3right; public ModelDragon() { this.textureWidth = 512; this.textureHeight = 512; this.Righttoeleft = new ModelRenderer(this, 290, 280); this.Righttoeleft.setRotationPoint(-1.0F, 7.0F, 0.2F); this.Righttoeleft.addBox(-1.0F, 0.0F, 0.0F, 2, 6, 3, 0.0F); this.setRotateAngle(Righttoeleft, -0.136659280431156F, -0.091106186954104F, -0.36425021489121656F); this.Spiketop6 = new ModelRenderer(this, 300, 460); this.Spiketop6.setRotationPoint(0.0F, 0.0F, 0.1F); this.Spiketop6.addBox(-0.5F, -14.0F, 0.0F, 1, 14, 2, 0.0F); this.setRotateAngle(Spiketop6, -0.136659280431156F, 0.0F, 0.0F); this.Thumbtoelowerright = new ModelRenderer(this, 315, 270); this.Thumbtoelowerright.setRotationPoint(0.0F, 4.0F, 0.0F); this.Thumbtoelowerright.addBox(-2.0F, 0.0F, 0.0F, 2, 4, 2, 0.0F); this.setRotateAngle(Thumbtoelowerright, 0.0F, 0.0F, -0.3272492347489368F); this.Spiketop4 = new ModelRenderer(this, 300, 460); this.Spiketop4.setRotationPoint(0.0F, -3.0F, 0.1F); this.Spiketop4.addBox(-0.5F, -14.0F, 0.0F, 1, 14, 2, 0.0F); this.setRotateAngle(Spiketop4, -0.27314402793711257F, 0.0F, 0.0F); this.Wingmembramesmallleft = new ModelRenderer(this, 420, 255); this.Wingmembramesmallleft.setRotationPoint(20.0F, -0.6F, -1.0F); this.Wingmembramesmallleft.addBox(0.0F, 0.0F, 0.0F, 21, 0, 22, 0.0F); this.setRotateAngle(Wingmembramesmallleft, 0.0F, -1.392423677241076F, 0.0F); this.Spiketop1 = new ModelRenderer(this, 300, 460); this.Spiketop1.setRotationPoint(0.0F, 0.0F, -5.0F); this.Spiketop1.addBox(-0.5F, -7.0F, 0.0F, 1, 7, 2, 0.0F); this.setRotateAngle(Spiketop1, -0.091106186954104F, 0.0F, 0.0F); this.Snout = new ModelRenderer(this, 120, 365); this.Snout.setRotationPoint(0.0F, 0.01F, -8.0F); this.Snout.addBox(-3.0F, 0.0F, -12.0F, 6, 6, 12, 0.0F); this.setRotateAngle(Snout, 0.045553093477052F, 0.0F, 0.015485315777647711F); this.Thumbtoeupperleft = new ModelRenderer(this, 305, 280); this.Thumbtoeupperleft.setRotationPoint(-5.0F, 8.0F, 2.7F); this.Thumbtoeupperleft.addBox(0.0F, 0.0F, 0.0F, 3, 5, 2, 0.0F); this.setRotateAngle(Thumbtoeupperleft, 0.091106186954104F, 0.4553564018453205F, 0.5009094953223726F); this.Rightfoot = new ModelRenderer(this, 260, 255); this.Rightfoot.setRotationPoint(-2.5F, 9.6F, 4.0F); this.Rightfoot.addBox(0.0F, 0.0F, 0.0F, 5, 10, 5, 0.0F); this.setRotateAngle(Rightfoot, -1.0471975511965976F, 0.0F, 0.0F); this.Smallheadhornleft1 = new ModelRenderer(this, 190, 420); this.Smallheadhornleft1.setRotationPoint(0.4F, 0.0F, -1.0F); this.Smallheadhornleft1.addBox(0.0F, 0.0F, 0.0F, 1, 1, 5, 0.0F); this.setRotateAngle(Smallheadhornleft1, 0.18203784098300857F, 0.22759093446006054F, 0.18203784098300857F); this.Wingfinger3left = new ModelRenderer(this, 390, 170); this.Wingfinger3left.setRotationPoint(0.0F, 0.0F, 0.0F); this.Wingfinger3left.addBox(0.0F, 0.0F, 0.0F, 35, 1, 2, 0.0F); this.setRotateAngle(Wingfinger3left, 0.0F, -1.1383037381507017F, 0.0F); this.Tooth10 = new ModelRenderer(this, 180, 500); this.Tooth10.setRotationPoint(-2.7F, 4.8F, -10.7F); this.Tooth10.addBox(0.0F, 0.0F, -1.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth10, 0.6829473363053812F, -1.9123572614101867F, -0.31869712141416456F); this.Headmidhornupperleft = new ModelRenderer(this, 190, 430); this.Headmidhornupperleft.setRotationPoint(0.0F, 0.1F, 3.9F); this.Headmidhornupperleft.addBox(-1.0F, 0.0F, 0.0F, 2, 1, 7, 0.0F); this.setRotateAngle(Headmidhornupperleft, 0.136659280431156F, -0.136659280431156F, 0.0F); this.Righttoeright = new ModelRenderer(this, 290, 280); this.Righttoeright.setRotationPoint(-4.0F, 7.0F, 0.1F); this.Righttoeright.addBox(-1.0F, 0.0F, 0.0F, 2, 5, 3, 0.0F); this.setRotateAngle(Righttoeright, -0.045553093477052F, 0.136659280431156F, 0.31869712141416456F); this.Headmidhornlowerright = new ModelRenderer(this, 190, 450); this.Headmidhornlowerright.setRotationPoint(-3.0F, 2.0F, -4.0F); this.Headmidhornlowerright.addBox(-1.0F, 0.0F, 0.0F, 2, 2, 5, 0.0F); this.setRotateAngle(Headmidhornlowerright, -0.136659280431156F, -0.5462880558742251F, 0.0F); this.Spikebase6 = new ModelRenderer(this, 300, 440); this.Spikebase6.setRotationPoint(0.0F, 1.0F, 12.0F); this.Spikebase6.addBox(-1.0F, -5.0F, 0.0F, 2, 5, 3, 0.0F); this.setRotateAngle(Spikebase6, -0.27314402793711257F, 0.0F, 0.0F); this.Outertoelowerright_1 = new ModelRenderer(this, 315, 270); this.Outertoelowerright_1.setRotationPoint(-0.01F, 5.0F, 0.0F); this.Outertoelowerright_1.addBox(-2.0F, 0.0F, -1.0F, 2, 4, 2, 0.0F); this.setRotateAngle(Outertoelowerright_1, 0.0F, 0.0F, -0.36425021489121656F); this.Spiketop14 = new ModelRenderer(this, 300, 460); this.Spiketop14.setRotationPoint(0.0F, 0.0F, 4.5F); this.Spiketop14.addBox(-0.5F, -6.0F, 0.0F, 1, 6, 2, 0.0F); this.setRotateAngle(Spiketop14, -0.40980330836826856F, 0.0F, 0.0F); this.Headlargehornupperleft = new ModelRenderer(this, 190, 470); this.Headlargehornupperleft.setRotationPoint(1.1F, 0.1F, 6.7F); this.Headlargehornupperleft.addBox(0.0F, 0.0F, 0.0F, 2, 2, 7, 0.0F); this.setRotateAngle(Headlargehornupperleft, 0.0F, -0.5918411493512771F, 0.0F); this.Spiketop3 = new ModelRenderer(this, 300, 460); this.Spiketop3.setRotationPoint(0.0F, -1.0F, 0.1F); this.Spiketop3.addBox(-0.5F, -12.0F, 0.0F, 1, 12, 2, 0.0F); this.setRotateAngle(Spiketop3, -0.22759093446006054F, 0.0F, 0.0F); this.Wingfinger3right = new ModelRenderer(this, 390, 170); this.Wingfinger3right.setRotationPoint(0.0F, 0.0F, 0.0F); this.Wingfinger3right.addBox(-35.0F, 0.0F, 0.0F, 35, 1, 2, 0.0F); this.setRotateAngle(Wingfinger3right, 0.0F, 1.1383037381507017F, 0.0F); this.Tooth1 = new ModelRenderer(this, 180, 500); this.Tooth1.setRotationPoint(2.8F, 5.0F, -5.2F); this.Tooth1.addBox(-1.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth1, 0.0F, 0.091106186954104F, -0.31869712141416456F); this.Lefttoelowerleft = new ModelRenderer(this, 290, 270); this.Lefttoelowerleft.setRotationPoint(-0.01F, 4.0F, 0.0F); this.Lefttoelowerleft.addBox(-1.0F, 0.0F, 0.0F, 2, 4, 3, 0.0F); this.setRotateAngle(Lefttoelowerleft, -0.31869712141416456F, 0.0F, 0.0F); this.Smallheadhornright3 = new ModelRenderer(this, 190, 410); this.Smallheadhornright3.setRotationPoint(1.0F, 1.0F, 0.0F); this.Smallheadhornright3.addBox(-1.0F, 0.0F, 0.0F, 1, 1, 4, 0.0F); this.setRotateAngle(Smallheadhornright3, -0.27314402793711257F, 0.0F, 0.0F); this.Lefthandrightfinger_1 = new ModelRenderer(this, 220, 260); this.Lefthandrightfinger_1.setRotationPoint(-2.0F, 12.0F, 0.0F); this.Lefthandrightfinger_1.addBox(0.0F, 0.0F, 0.0F, 2, 5, 2, 0.0F); this.setRotateAngle(Lefthandrightfinger_1, -0.22759093446006054F, -0.31869712141416456F, -0.22759093446006054F); this.Righthip = new ModelRenderer(this, 260, 300); this.Righthip.setRotationPoint(-6.0F, 3.0F, 15.0F); this.Righthip.addBox(-4.0F, 0.0F, 0.0F, 8, 15, 10, 0.0F); this.setRotateAngle(Righthip, -0.27314402793711257F, -0.27314402793711257F, 0.18203784098300857F); this.Smallheadhornleft3 = new ModelRenderer(this, 190, 410); this.Smallheadhornleft3.setRotationPoint(-1.0F, 1.0F, 0.0F); this.Smallheadhornleft3.addBox(0.0F, 0.0F, 0.0F, 1, 1, 4, 0.0F); this.setRotateAngle(Smallheadhornleft3, -0.27314402793711257F, 0.0F, 0.0F); this.Spiketop12 = new ModelRenderer(this, 300, 460); this.Spiketop12.setRotationPoint(0.0F, 1.5F, 12.0F); this.Spiketop12.addBox(-0.5F, -10.0F, 0.0F, 1, 10, 2, 0.0F); this.setRotateAngle(Spiketop12, -0.36425021489121656F, 0.0F, 0.0F); this.Headmidhornupperright = new ModelRenderer(this, 190, 430); this.Headmidhornupperright.setRotationPoint(0.0F, 0.1F, 3.9F); this.Headmidhornupperright.addBox(-1.0F, 0.0F, 0.0F, 2, 1, 7, 0.0F); this.setRotateAngle(Headmidhornupperright, 0.136659280431156F, 0.136659280431156F, 0.0F); this.Tooth6 = new ModelRenderer(this, 180, 500); this.Tooth6.setRotationPoint(-0.5F, 5.0F, -11.0F); this.Tooth6.addBox(-1.0F, 0.0F, -1.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth6, -0.22759093446006054F, 0.0F, 0.045553093477052F); this.Wingfingerlower3left = new ModelRenderer(this, 390, 150); this.Wingfingerlower3left.setRotationPoint(34.0F, 0.0F, 0.0F); this.Wingfingerlower3left.addBox(0.0F, 0.0F, 0.0F, 31, 1, 2, 0.0F); this.setRotateAngle(Wingfingerlower3left, 0.0F, -0.31869712141416456F, 0.0F); this.Body = new ModelRenderer(this, 5, 460); this.Body.setRotationPoint(0.0F, -4.0F, -20.0F); this.Body.addBox(-9.0F, 0.0F, 0.0F, 18, 18, 23, 0.0F); this.setRotateAngle(Body, 0.5462880558742251F, 0.0F, 0.0F); this.Lefthandmidfinger = new ModelRenderer(this, 220, 260); this.Lefthandmidfinger.setRotationPoint(-2.5F, 12.0F, 0.0F); this.Lefthandmidfinger.addBox(-1.0F, 0.0F, 0.0F, 2, 6, 2, 0.0F); this.setRotateAngle(Lefthandmidfinger, -0.5009094953223726F, -0.136659280431156F, 0.091106186954104F); this.Spiketop15 = new ModelRenderer(this, 300, 460); this.Spiketop15.setRotationPoint(0.0F, 3.6F, 9.0F); this.Spiketop15.addBox(-0.5F, -8.0F, 0.0F, 1, 8, 2, 0.0F); this.setRotateAngle(Spiketop15, -0.18203784098300857F, 0.0F, 0.0F); this.Lowerarmleft_1 = new ModelRenderer(this, 220, 275); this.Lowerarmleft_1.setRotationPoint(-3.01F, 8.0F, -2.0F); this.Lowerarmleft_1.addBox(0.0F, 0.0F, 0.0F, 5, 15, 5, 0.0F); this.setRotateAngle(Lowerarmleft_1, -1.0471975511965976F, 0.0F, 0.0F); this.Headlargehornlowerright = new ModelRenderer(this, 190, 500); this.Headlargehornlowerright.setRotationPoint(-1.6F, 0.0F, -2.0F); this.Headlargehornlowerright.addBox(-3.0F, 0.0F, 0.0F, 3, 2, 8, 0.0F); this.setRotateAngle(Headlargehornlowerright, 0.18203784098300857F, -0.22759093446006054F, -0.36425021489121656F); this.Wingshoulderright = new ModelRenderer(this, 470, 230); this.Wingshoulderright.setRotationPoint(-5.0F, 2.0F, 12.0F); this.Wingshoulderright.addBox(-5.0F, 0.0F, 0.0F, 5, 7, 8, 0.0F); this.setRotateAngle(Wingshoulderright, 0.091106186954104F, -0.091106186954104F, 0.4553564018453205F); this.Spiketop11 = new ModelRenderer(this, 300, 460); this.Spiketop11.setRotationPoint(0.0F, 1.5F, 8.0F); this.Spiketop11.addBox(-0.5F, -11.0F, -1.0F, 1, 11, 2, 0.0F); this.setRotateAngle(Spiketop11, -0.36425021489121656F, 0.0F, 0.0F); this.Clawrighthandright = new ModelRenderer(this, 200, 260); this.Clawrighthandright.setRotationPoint(-1.0F, 4.0F, 0.0F); this.Clawrighthandright.addBox(-0.5F, 0.0F, 0.0F, 1, 3, 2, 0.0F); this.setRotateAngle(Clawrighthandright, -0.36425021489121656F, 0.0F, 0.0F); this.Lefttoelowermid = new ModelRenderer(this, 290, 270); this.Lefttoelowermid.setRotationPoint(-0.01F, 5.2F, 0.2F); this.Lefttoelowermid.addBox(-1.0F, 0.0F, 0.0F, 2, 4, 3, 0.0F); this.setRotateAngle(Lefttoelowermid, -0.27314402793711257F, 0.0F, 0.0F); this.Smallheadhornleft2 = new ModelRenderer(this, 190, 420); this.Smallheadhornleft2.setRotationPoint(4.0F, 5.0F, -3.0F); this.Smallheadhornleft2.addBox(-1.0F, 0.0F, 0.0F, 1, 1, 5, 0.0F); this.setRotateAngle(Smallheadhornleft2, -0.18203784098300857F, 0.31869712141416456F, 0.0F); this.Clawlefthandright = new ModelRenderer(this, 200, 260); this.Clawlefthandright.setRotationPoint(0.0F, 4.0F, 0.0F); this.Clawlefthandright.addBox(-0.5F, 0.0F, 0.0F, 1, 3, 2, 0.0F); this.setRotateAngle(Clawlefthandright, -0.091106186954104F, 0.0F, 0.0F); this.Spiketop8 = new ModelRenderer(this, 300, 460); this.Spiketop8.setRotationPoint(0.0F, -3.0F, 0.1F); this.Spiketop8.addBox(-0.5F, -12.0F, 0.0F, 1, 12, 2, 0.0F); this.setRotateAngle(Spiketop8, -0.045553093477052F, 0.0F, 0.0F); this.RTailMembrane = new ModelRenderer(this, 381, 270); this.RTailMembrane.setRotationPoint(-1.0F, 0.21F, 0.0F); this.RTailMembrane.addBox(-5.0F, 0.0F, 0.0F, 5, 1, 15, 0.0F); this.setRotateAngle(RTailMembrane, -0.091106186954104F, -0.022514747350726852F, -0.022514747350726852F); this.Righthandrightfinger = new ModelRenderer(this, 220, 260); this.Righthandrightfinger.setRotationPoint(2.0F, 12.0F, 0.0F); this.Righthandrightfinger.addBox(-2.0F, 0.0F, 0.0F, 2, 5, 2, 0.0F); this.setRotateAngle(Righthandrightfinger, -0.22759093446006054F, 0.31869712141416456F, 0.22759093446006054F); this.Wingmembramemidleft = new ModelRenderer(this, 350, 340); this.Wingmembramemidleft.setRotationPoint(21.0F, 2.7F, 5.0F); this.Wingmembramemidleft.addBox(0.0F, 0.0F, 0.0F, 49, 0, 15, 0.0F); this.setRotateAngle(Wingmembramemidleft, 0.0F, -109.29251775988492F, 0.0F); this.Tail1 = new ModelRenderer(this, 5, 370); this.Tail1.setRotationPoint(0.0F, 1.0F, 23.0F); this.Tail1.addBox(-7.0F, 0.0F, 0.0F, 14, 14, 28, 0.0F); this.setRotateAngle(Tail1, -0.8196066167365371F, 0.0F, 0.0F); this.Smallheadhornright2 = new ModelRenderer(this, 190, 420); this.Smallheadhornright2.setRotationPoint(-4.0F, 5.0F, -3.0F); this.Smallheadhornright2.addBox(0.0F, 0.0F, 0.0F, 1, 1, 5, 0.0F); this.setRotateAngle(Smallheadhornright2, -0.18203784098300857F, -0.31869712141416456F, 0.0F); this.Spiketop5 = new ModelRenderer(this, 300, 460); this.Spiketop5.setRotationPoint(0.0F, -7.0F, 2.1F); this.Spiketop5.addBox(-0.5F, -13.0F, 0.0F, 1, 13, 2, 0.0F); this.setRotateAngle(Spiketop5, -0.136659280431156F, 0.0F, 0.0F); this.Lefttoelowerright = new ModelRenderer(this, 290, 270); this.Lefttoelowerright.setRotationPoint(-0.01F, 6.0F, 0.0F); this.Lefttoelowerright.addBox(-1.0F, -1.0F, 0.0F, 2, 4, 3, 0.0F); this.setRotateAngle(Lefttoelowerright, -0.31869712141416456F, 0.0F, 0.0F); this.Wingmembramelargeright = new ModelRenderer(this, 270, 430); this.Wingmembramelargeright.setRotationPoint(0.0F, 0.5F, 0.0F); this.Wingmembramelargeright.addBox(-74.0F, 0.0F, 0.0F, 74, 0, 61, 0.0F); this.Spiketop9 = new ModelRenderer(this, 300, 460); this.Spiketop9.setRotationPoint(0.0F, -0.5F, 0.1F); this.Spiketop9.addBox(-0.5F, -13.0F, 0.0F, 1, 13, 2, 0.0F); this.setRotateAngle(Spiketop9, -0.045553093477052F, 0.0F, 0.0F); this.Winglowerarmleft = new ModelRenderer(this, 400, 215); this.Winglowerarmleft.setRotationPoint(18.4F, -3.9F, 1.0F); this.Winglowerarmleft.addBox(-2.0F, 2.0F, 0.0F, 26, 3, 4, 0.0F); this.setRotateAngle(Winglowerarmleft, -0.03316125578789226F, 1.0927506446736497F, 0.0F); this.Tail8 = new ModelRenderer(this, 5, 220); this.Tail8.setRotationPoint(0.0F, 1.0F, 18.0F); this.Tail8.addBox(-1.0F, 0.0F, 0.0F, 2, 3, 16, 0.0F); this.setRotateAngle(Tail8, 0.31869712141416456F, 0.0F, 0.0F); this.Tooth4 = new ModelRenderer(this, 180, 500); this.Tooth4.setRotationPoint(2.6F, 4.8F, -10.7F); this.Tooth4.addBox(-1.0F, 0.0F, -1.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth4, 0.6829473363053812F, 1.8668041679331349F, 0.31869712141416456F); this.Wingfingerlower1left = new ModelRenderer(this, 380, 140); this.Wingfingerlower1left.setRotationPoint(35.1F, 0.1F, 0.0F); this.Wingfingerlower1left.addBox(0.0F, 0.0F, -1.0F, 41, 1, 2, 0.0F); this.setRotateAngle(Wingfingerlower1left, 0.0F, -0.22759093446006054F, 0.0F); this.RTailSpike = new ModelRenderer(this, 350, 300); this.RTailSpike.setRotationPoint(0.0F, 0.0F, -2.0F); this.RTailSpike.addBox(-7.0F, 0.0F, 0.0F, 7, 1, 3, 0.0F); this.setRotateAngle(RTailSpike, 0.0F, 0.18203784098300857F, -0.091106186954104F); this.Outertoelowerright = new ModelRenderer(this, 320, 280); this.Outertoelowerright.setRotationPoint(0.0F, 5.0F, 1.0F); this.Outertoelowerright.addBox(-3.0F, 0.0F, -1.0F, 3, 6, 2, 0.0F); this.setRotateAngle(Outertoelowerright, 0.9560913642424937F, 0.31869712141416456F, -0.40980330836826856F); this.Wingfinger1left = new ModelRenderer(this, 350, 200); this.Wingfinger1left.setRotationPoint(23.0F, 2.1F, 3.0F); this.Wingfinger1left.addBox(0.0F, 0.0F, -1.0F, 36, 2, 3, 0.0F); this.setRotateAngle(Wingfinger1left, 0.0F, -0.9105382707654417F, 0.0F); this.Clawlefthandmid = new ModelRenderer(this, 200, 260); this.Clawlefthandmid.setRotationPoint(0.0F, 5.0F, 0.0F); this.Clawlefthandmid.addBox(-0.5F, 0.0F, 0.0F, 1, 3, 2, 0.0F); this.setRotateAngle(Clawlefthandmid, -0.22759093446006054F, 0.0F, 0.0F); this.Righttoelowerleft = new ModelRenderer(this, 290, 270); this.Righttoelowerleft.setRotationPoint(0.01F, 6.0F, 0.0F); this.Righttoelowerleft.addBox(-1.0F, -1.0F, 0.0F, 2, 4, 3, 0.0F); this.setRotateAngle(Righttoelowerleft, -0.31869712141416456F, 0.0F, 0.0F); this.Shoulderleft = new ModelRenderer(this, 220, 300); this.Shoulderleft.setRotationPoint(8.0F, 8.0F, 6.0F); this.Shoulderleft.addBox(-4.0F, 0.0F, -5.0F, 6, 13, 8, 0.0F); this.setRotateAngle(Shoulderleft, 0.091106186954104F, -0.091106186954104F, -0.18203784098300857F); this.Wingupperarmleft = new ModelRenderer(this, 390, 230); this.Wingupperarmleft.setRotationPoint(3.0F, 3.0F, 1.0F); this.Wingupperarmleft.addBox(0.0F, -2.0F, 0.0F, 21, 4, 5, 0.0F); this.setRotateAngle(Wingupperarmleft, -0.5009094953223726F, -0.5009094953223726F, 0.091106186954104F); this.LTailMembrane = new ModelRenderer(this, 380, 250); this.LTailMembrane.setRotationPoint(1.0F, 0.21F, 0.0F); this.LTailMembrane.addBox(0.0F, 0.0F, 0.0F, 5, 1, 15, 0.0F); this.setRotateAngle(LTailMembrane, -0.091106186954104F, 0.022514747350726852F, -0.022514747350726852F); this.Tooth3 = new ModelRenderer(this, 180, 500); this.Tooth3.setRotationPoint(2.7F, 5.0F, -9.1F); this.Tooth3.addBox(-1.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth3, 0.091106186954104F, 0.091106186954104F, -0.31869712141416456F); this.Tooth2 = new ModelRenderer(this, 180, 500); this.Tooth2.setRotationPoint(2.8F, 5.0F, -7.0F); this.Tooth2.addBox(-1.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth2, -0.045553093477052F, 0.045553093477052F, -0.31869712141416456F); this.Neckend = new ModelRenderer(this, 120, 420); this.Neckend.setRotationPoint(0.0F, 0.0F, -11.0F); this.Neckend.addBox(-3.5F, 1.0F, -7.0F, 7, 9, 10, 0.0F); this.setRotateAngle(Neckend, 0.27314402793711257F, 0.0F, 0.0F); this.Spiketop16 = new ModelRenderer(this, 300, 460); this.Spiketop16.setRotationPoint(0.0F, 3.5F, 14.0F); this.Spiketop16.addBox(-0.5F, -7.0F, 0.0F, 1, 7, 2, 0.0F); this.setRotateAngle(Spiketop16, -0.091106186954104F, 0.0F, 0.0F); this.Headlargehornupperright = new ModelRenderer(this, 190, 470); this.Headlargehornupperright.setRotationPoint(-1.1F, 0.1F, 6.7F); this.Headlargehornupperright.addBox(-2.0F, 0.0F, 0.0F, 2, 2, 7, 0.0F); this.setRotateAngle(Headlargehornupperright, 0.0F, 0.5918411493512771F, 0.0F); this.Righttoelowermid = new ModelRenderer(this, 290, 270); this.Righttoelowermid.setRotationPoint(0.01F, 5.2F, 0.2F); this.Righttoelowermid.addBox(-1.0F, 0.0F, 0.0F, 2, 4, 3, 0.0F); this.setRotateAngle(Righttoelowermid, -0.27314402793711257F, 0.0F, 0.0F); this.Neckmid = new ModelRenderer(this, 120, 445); this.Neckmid.setRotationPoint(0.0F, 1.0F, -12.0F); this.Neckmid.addBox(-4.5F, 0.0F, -9.0F, 9, 11, 12, 0.0F); this.setRotateAngle(Neckmid, -0.22759093446006054F, 0.0F, 0.0F); this.Thumbtoeupperright = new ModelRenderer(this, 305, 280); this.Thumbtoeupperright.setRotationPoint(5.0F, 8.0F, 2.7F); this.Thumbtoeupperright.addBox(-3.0F, 0.0F, 0.0F, 3, 5, 2, 0.0F); this.setRotateAngle(Thumbtoeupperright, 0.091106186954104F, -0.4553564018453205F, -0.5009094953223726F); this.Tail7 = new ModelRenderer(this, 5, 240); this.Tail7.setRotationPoint(0.0F, 1.0F, 13.0F); this.Tail7.addBox(-2.0F, 0.0F, 0.0F, 4, 5, 20, 0.0F); this.setRotateAngle(Tail7, 0.22759093446006054F, 0.0F, 0.0F); this.Spikebase1 = new ModelRenderer(this, 300, 440); this.Spikebase1.setRotationPoint(0.0F, 0.0F, 1.0F); this.Spikebase1.addBox(-1.0F, -3.0F, 0.0F, 2, 3, 3, 0.0F); this.setRotateAngle(Spikebase1, -0.36425021489121656F, 0.0F, 0.0F); this.Righttoemid = new ModelRenderer(this, 290, 280); this.Righttoemid.setRotationPoint(-2.5F, 7.0F, -0.1F); this.Righttoemid.addBox(-1.0F, 0.0F, 0.0F, 2, 6, 3, 0.0F); this.setRotateAngle(Righttoemid, -0.22759093446006054F, 0.0F, 0.0F); this.Lefttoeleft = new ModelRenderer(this, 290, 280); this.Lefttoeleft.setRotationPoint(4.0F, 7.0F, 0.1F); this.Lefttoeleft.addBox(-1.0F, 0.0F, 0.0F, 2, 5, 3, 0.0F); this.setRotateAngle(Lefttoeleft, -0.045553093477052F, -0.136659280431156F, -0.31869712141416456F); this.Clawrighthandleft = new ModelRenderer(this, 200, 260); this.Clawrighthandleft.setRotationPoint(0.0F, 4.0F, 0.0F); this.Clawrighthandleft.addBox(-0.5F, 0.0F, 0.0F, 1, 3, 2, 0.0F); this.setRotateAngle(Clawrighthandleft, -0.091106186954104F, 0.0F, 0.0F); this.Spiketop7 = new ModelRenderer(this, 300, 460); this.Spiketop7.setRotationPoint(0.0F, -6.0F, 0.1F); this.Spiketop7.addBox(-0.5F, -14.0F, 0.0F, 1, 14, 2, 0.0F); this.setRotateAngle(Spiketop7, -0.136659280431156F, 0.0F, 0.0F); this.Headback = new ModelRenderer(this, 120, 390); this.Headback.setRotationPoint(-0.01F, 0.0F, -5.0F); this.Headback.addBox(-4.0F, 0.0F, -9.0F, 8, 9, 9, 0.0F); this.setRotateAngle(Headback, 0.36425021489121656F, 0.0F, 0.0F); this.Lowerjaw = new ModelRenderer(this, 120, 345); this.Lowerjaw.setRotationPoint(0.0F, 6.15F, -8.0F); this.Lowerjaw.addBox(-2.5F, 0.0F, -11.0F, 5, 2, 11, 0.0F); this.setRotateAngle(Lowerjaw, -0.045553093477052F, 0.0F, 0.0F); this.Lowerarmleft = new ModelRenderer(this, 220, 275); this.Lowerarmleft.setRotationPoint(1.01F, 8.0F, -2.0F); this.Lowerarmleft.addBox(-5.0F, 0.0F, 0.0F, 5, 15, 5, 0.0F); this.setRotateAngle(Lowerarmleft, -1.0471975511965976F, 0.0F, 0.0F); this.Thumbtoelowerleft = new ModelRenderer(this, 305, 270); this.Thumbtoelowerleft.setRotationPoint(0.0F, 4.0F, 0.0F); this.Thumbtoelowerleft.addBox(0.0F, 0.0F, 0.0F, 2, 4, 2, 0.0F); this.setRotateAngle(Thumbtoelowerleft, 0.0F, 0.0F, 0.31869712141416456F); this.Shoulderleft_1 = new ModelRenderer(this, 220, 300); this.Shoulderleft_1.setRotationPoint(-6.0F, 8.0F, 6.0F); this.Shoulderleft_1.addBox(-4.0F, 0.0F, -5.0F, 6, 13, 8, 0.0F); this.setRotateAngle(Shoulderleft_1, 0.091106186954104F, 0.091106186954104F, 0.18203784098300857F); this.Wingfinger1right = new ModelRenderer(this, 350, 200); this.Wingfinger1right.setRotationPoint(-23.0F, 2.1F, 3.0F); this.Wingfinger1right.addBox(-36.0F, 0.0F, -1.0F, 36, 2, 3, 0.0F); this.setRotateAngle(Wingfinger1right, 0.0F, 0.9105382707654417F, 0.0F); this.Wingfingerlower2right = new ModelRenderer(this, 390, 150); this.Wingfingerlower2right.setRotationPoint(-2.0F, 0.0F, 39.5F); this.Wingfingerlower2right.addBox(0.0F, 0.0F, -2.0F, 31, 1, 2, 0.0F); this.setRotateAngle(Wingfingerlower2right, 0.0F, -1.4114477660878142F, 0.0F); this.RightFoot = new ModelRenderer(this, 260, 255); this.RightFoot.setRotationPoint(2.5F, 9.6F, 4.0F); this.RightFoot.addBox(-5.0F, 0.0F, 0.0F, 5, 10, 5, 0.0F); this.setRotateAngle(RightFoot, -1.0471975511965976F, 0.0F, 0.0F); this.Wingfingerlower2left = new ModelRenderer(this, 390, 150); this.Wingfingerlower2left.setRotationPoint(2.0F, 0.0F, 39.5F); this.Wingfingerlower2left.addBox(-31.0F, 0.0F, -2.0F, 31, 1, 2, 0.0F); this.setRotateAngle(Wingfingerlower2left, 0.0F, 1.4114477660878142F, 0.0F); this.Winglowerarmright = new ModelRenderer(this, 400, 215); this.Winglowerarmright.setRotationPoint(-18.4F, -3.9F, 1.0F); this.Winglowerarmright.addBox(-24.0F, 2.0F, 0.0F, 26, 3, 4, 0.0F); this.setRotateAngle(Winglowerarmright, -0.03316125578789226F, -1.0927506446736497F, 0.0F); this.Righttoelowerright = new ModelRenderer(this, 290, 270); this.Righttoelowerright.setRotationPoint(0.01F, 4.0F, 0.0F); this.Righttoelowerright.addBox(-1.0F, 0.0F, 0.0F, 2, 4, 3, 0.0F); this.setRotateAngle(Righttoelowerright, -0.31869712141416456F, 0.0F, 0.0F); this.Rightleg = new ModelRenderer(this, 260, 275); this.Rightleg.setRotationPoint(1.0F, 14.6F, 0.0F); this.Rightleg.addBox(-3.0F, 0.0F, 0.0F, 6, 14, 7, 0.0F); this.setRotateAngle(Rightleg, 0.7988371986378046F, -0.22759093446006054F, 0.136659280431156F); this.Tooth5 = new ModelRenderer(this, 180, 500); this.Tooth5.setRotationPoint(0.5F, 5.0F, -11.0F); this.Tooth5.addBox(0.0F, 0.0F, -1.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth5, -0.22759093446006054F, 0.0F, -0.045553093477052F); this.Spiketop17 = new ModelRenderer(this, 300, 460); this.Spiketop17.setRotationPoint(0.0F, 3.5F, 2.0F); this.Spiketop17.addBox(-0.5F, -7.0F, 0.0F, 1, 7, 2, 0.0F); this.setRotateAngle(Spiketop17, -0.18203784098300857F, 0.0F, 0.0F); this.Spiketop18 = new ModelRenderer(this, 300, 460); this.Spiketop18.setRotationPoint(0.0F, 2.5F, 7.0F); this.Spiketop18.addBox(-0.5F, -5.0F, 0.0F, 1, 5, 2, 0.0F); this.Outertoeleft = new ModelRenderer(this, 305, 280); this.Outertoeleft.setRotationPoint(0.0F, 5.0F, 1.0F); this.Outertoeleft.addBox(0.0F, 0.0F, -1.0F, 3, 6, 2, 0.0F); this.setRotateAngle(Outertoeleft, 0.9560913642424937F, -0.22759093446006054F, 0.40980330836826856F); this.Wingfinger2right = new ModelRenderer(this, 330, 150); this.Wingfinger2right.setRotationPoint(2.0F, 0.0F, 0.0F); this.Wingfinger2right.addBox(-2.0F, 0.0F, 0.0F, 2, 1, 40, 0.0F); this.setRotateAngle(Wingfinger2right, 0.0F, -0.9560913642424937F, 0.0F); this.Tooth8 = new ModelRenderer(this, 180, 500); this.Tooth8.setRotationPoint(-2.8F, 5.0F, -7.0F); this.Tooth8.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth8, 0.045553093477052F, -0.045553093477052F, 0.31869712141416456F); this.Spikebase4 = new ModelRenderer(this, 280, 440); this.Spikebase4.setRotationPoint(0.0F, -2.0F, 25.0F); this.Spikebase4.addBox(-1.0F, 0.0F, 0.0F, 2, 6, 4, 0.0F); this.setRotateAngle(Spikebase4, -0.8651597102135892F, 0.0F, 0.0F); this.Spikebase5 = new ModelRenderer(this, 280, 440); this.Spikebase5.setRotationPoint(0.0F, 3.0F, 4.5F); this.Spikebase5.addBox(-1.0F, -7.0F, 0.0F, 2, 7, 4, 0.0F); this.setRotateAngle(Spikebase5, -0.18203784098300857F, 0.0F, 0.0F); this.LTailSpike = new ModelRenderer(this, 350, 300); this.LTailSpike.setRotationPoint(0.0F, 0.0F, -2.0F); this.LTailSpike.addBox(0.0F, 0.0F, 0.0F, 7, 1, 3, 0.0F); this.setRotateAngle(LTailSpike, 0.0F, -0.18203784098300857F, 0.091106186954104F); this.Clawrighthandmid = new ModelRenderer(this, 200, 260); this.Clawrighthandmid.setRotationPoint(0.0F, 5.0F, 0.0F); this.Clawrighthandmid.addBox(-0.5F, 0.0F, 0.0F, 1, 3, 2, 0.0F); this.setRotateAngle(Clawrighthandmid, -0.22759093446006054F, 0.0F, 0.0F); this.Tooth9 = new ModelRenderer(this, 180, 500); this.Tooth9.setRotationPoint(-2.7F, 5.0F, -9.1F); this.Tooth9.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth9, 0.091106186954104F, -0.091106186954104F, 0.31869712141416456F); this.Wingfingerlower1right = new ModelRenderer(this, 380, 140); this.Wingfingerlower1right.setRotationPoint(-35.1F, 0.1F, 0.0F); this.Wingfingerlower1right.addBox(-41.0F, 0.0F, -1.0F, 41, 1, 2, 0.0F); this.setRotateAngle(Wingfingerlower1right, 0.0F, 0.22759093446006054F, 0.0F); this.Wingmembramesmallright = new ModelRenderer(this, 420, 280); this.Wingmembramesmallright.setRotationPoint(-20.0F, -0.6F, -1.0F); this.Wingmembramesmallright.addBox(-21.0F, 0.0F, 0.0F, 21, 0, 22, 0.0F); this.setRotateAngle(Wingmembramesmallright, 0.0F, 1.392423677241076F, 0.0F); this.Spiketop2 = new ModelRenderer(this, 300, 460); this.Spiketop2.setRotationPoint(0.0F, 1.0F, -12.5F); this.Spiketop2.addBox(-0.5F, -9.0F, 0.0F, 1, 9, 2, 0.0F); this.setRotateAngle(Spiketop2, -0.22759093446006054F, 0.0F, 0.0F); this.Headlargehornlowerleft = new ModelRenderer(this, 190, 500); this.Headlargehornlowerleft.setRotationPoint(1.6F, 0.0F, -2.0F); this.Headlargehornlowerleft.addBox(0.0F, 0.0F, 0.0F, 3, 2, 8, 0.0F); this.setRotateAngle(Headlargehornlowerleft, 0.18203784098300857F, 0.22759093446006054F, 0.36425021489121656F); this.Wingmembramelargeleft = new ModelRenderer(this, 270, 365); this.Wingmembramelargeleft.setRotationPoint(0.0F, 0.5F, 0.0F); this.Wingmembramelargeleft.addBox(0.0F, 0.0F, 0.0F, 74, 0, 61, 0.0F); this.Wingfingerlower3right = new ModelRenderer(this, 390, 150); this.Wingfingerlower3right.setRotationPoint(-34.0F, 0.0F, 0.0F); this.Wingfingerlower3right.addBox(-31.0F, 0.0F, 0.0F, 31, 1, 2, 0.0F); this.setRotateAngle(Wingfingerlower3right, 0.0F, 0.31869712141416456F, 0.0F); this.Tail4 = new ModelRenderer(this, 5, 300); this.Tail4.setRotationPoint(0.0F, 1.0F, 18.0F); this.Tail4.addBox(-4.0F, 0.0F, 0.0F, 8, 9, 19, 0.0F); this.setRotateAngle(Tail4, 0.22759093446006054F, 0.0F, 0.0F); this.Tail3 = new ModelRenderer(this, 5, 335); this.Tail3.setRotationPoint(0.0F, 1.0F, 24.0F); this.Tail3.addBox(-5.0F, 0.0F, 0.0F, 10, 11, 21, 0.0F); this.setRotateAngle(Tail3, 0.091106186954104F, 0.0F, 0.0F); this.Wingupperarmright = new ModelRenderer(this, 390, 230); this.Wingupperarmright.setRotationPoint(-3.0F, 3.0F, 1.0F); this.Wingupperarmright.addBox(-21.0F, -2.0F, 0.0F, 21, 4, 5, 0.0F); this.setRotateAngle(Wingupperarmright, -0.5009094953223726F, 0.5009094953223726F, -0.091106186954104F); this.Outertoelowerleft = new ModelRenderer(this, 305, 270); this.Outertoelowerleft.setRotationPoint(-0.01F, 5.0F, 0.0F); this.Outertoelowerleft.addBox(0.0F, 0.0F, -1.0F, 2, 4, 2, 0.0F); this.setRotateAngle(Outertoelowerleft, 0.0F, 0.0F, 0.36425021489121656F); this.Spkebase3 = new ModelRenderer(this, 280, 440); this.Spkebase3.setRotationPoint(0.0F, 0.0F, 11.5F); this.Spkebase3.addBox(-1.0F, -7.0F, 2.0F, 2, 7, 4, 0.0F); this.setRotateAngle(Spkebase3, -0.7285004297824331F, 0.0F, 0.0F); this.Wingshoulderleft = new ModelRenderer(this, 470, 230); this.Wingshoulderleft.setRotationPoint(5.0F, 2.0F, 12.0F); this.Wingshoulderleft.addBox(0.0F, 0.0F, 0.0F, 5, 7, 8, 0.0F); this.setRotateAngle(Wingshoulderleft, 0.091106186954104F, 0.091106186954104F, -0.4553564018453205F); this.Wingfinger2left = new ModelRenderer(this, 330, 150); this.Wingfinger2left.setRotationPoint(-2.0F, 0.0F, 0.0F); this.Wingfinger2left.addBox(0.0F, 0.0F, 0.0F, 2, 1, 40, 0.0F); this.setRotateAngle(Wingfinger2left, 0.0F, 0.9560913642424937F, 0.0F); this.Lefthip = new ModelRenderer(this, 260, 300); this.Lefthip.setRotationPoint(6.0F, 3.0F, 15.0F); this.Lefthip.addBox(-4.0F, 0.0F, 0.0F, 8, 15, 10, 0.0F); this.setRotateAngle(Lefthip, -0.27314402793711257F, 0.27314402793711257F, -0.18203784098300857F); this.Righthandmidfinger = new ModelRenderer(this, 220, 260); this.Righthandmidfinger.setRotationPoint(2.5F, 12.0F, 0.0F); this.Righthandmidfinger.addBox(-1.0F, 0.0F, 0.0F, 2, 6, 2, 0.0F); this.setRotateAngle(Righthandmidfinger, -0.5009094953223726F, 0.136659280431156F, -0.091106186954104F); this.Righthandleftfinger = new ModelRenderer(this, 220, 260); this.Righthandleftfinger.setRotationPoint(4.0F, 12.0F, 0.0F); this.Righthandleftfinger.addBox(-1.0F, 0.0F, 0.0F, 2, 5, 2, 0.0F); this.setRotateAngle(Righthandleftfinger, -0.5009094953223726F, -0.136659280431156F, -0.31869712141416456F); this.Headmidhornlowerleft = new ModelRenderer(this, 190, 450); this.Headmidhornlowerleft.setRotationPoint(3.0F, 2.0F, -4.0F); this.Headmidhornlowerleft.addBox(-1.0F, 0.0F, 0.0F, 2, 2, 5, 0.0F); this.setRotateAngle(Headmidhornlowerleft, -0.136659280431156F, 0.5462880558742251F, 0.0F); this.Tail6 = new ModelRenderer(this, 5, 275); this.Tail6.setRotationPoint(0.0F, 1.0F, 17.0F); this.Tail6.addBox(-3.0F, 0.0F, 0.0F, 6, 7, 17, 0.0F); this.setRotateAngle(Tail6, 0.27314402793711257F, 0.0F, 0.0F); this.Lefttoeright = new ModelRenderer(this, 290, 280); this.Lefttoeright.setRotationPoint(1.0F, 7.0F, 0.1F); this.Lefttoeright.addBox(-1.0F, 0.0F, 0.0F, 2, 6, 3, 0.0F); this.setRotateAngle(Lefttoeright, -0.136659280431156F, 0.091106186954104F, 0.36425021489121656F); this.Spiketop13 = new ModelRenderer(this, 300, 460); this.Spiketop13.setRotationPoint(0.0F, 1.9F, 17.0F); this.Spiketop13.addBox(-0.5F, -9.0F, 0.0F, 1, 9, 2, 0.0F); this.setRotateAngle(Spiketop13, -0.27314402793711257F, 0.0F, 0.0F); this.Tooth7 = new ModelRenderer(this, 180, 500); this.Tooth7.setRotationPoint(-2.8F, 5.0F, -5.2F); this.Tooth7.addBox(0.0F, 0.0F, 0.0F, 1, 2, 1, 0.0F); this.setRotateAngle(Tooth7, 0.0F, -0.091106186954104F, 0.31869712141416456F); this.Spikebase2 = new ModelRenderer(this, 280, 440); this.Spikebase2.setRotationPoint(0.0F, 0.0F, 7.0F); this.Spikebase2.addBox(-1.0F, -4.0F, 0.0F, 2, 4, 4, 0.0F); this.setRotateAngle(Spikebase2, -0.4553564018453205F, 0.0F, 0.0F); this.Smallheadhornright1 = new ModelRenderer(this, 190, 420); this.Smallheadhornright1.setRotationPoint(-0.4F, 0.0F, -1.0F); this.Smallheadhornright1.addBox(-1.0F, 0.0F, 0.0F, 1, 1, 5, 0.0F); this.setRotateAngle(Smallheadhornright1, 0.18203784098300857F, -0.22759093446006054F, -0.18203784098300857F); this.Wingmembramemidright = new ModelRenderer(this, 350, 320); this.Wingmembramemidright.setRotationPoint(-21.0F, 2.7F, 5.0F); this.Wingmembramemidright.addBox(-49.0F, 0.0F, 0.0F, 49, 0, 15, 0.0F); this.setRotateAngle(Wingmembramemidright, 0.0F, 109.29251775988492F, 0.0F); this.shape16 = new ModelRenderer(this, 5, 415); this.shape16.setRotationPoint(0.0F, 18.0F, 2.0F); this.shape16.addBox(-6.5F, -10.0F, 0.0F, 13, 10, 30, 0.0F); this.setRotateAngle(shape16, -0.31869712141416456F, 0.0F, 0.0F); this.Neckbase = new ModelRenderer(this, 120, 470); this.Neckbase.setRotationPoint(0.0F, 4.0F, 8.0F); this.Neckbase.addBox(-6.0F, 0.0F, -14.0F, 12, 14, 14, 0.0F); this.setRotateAngle(Neckbase, -0.4553564018453205F, 0.0F, 0.0F); this.Lefthandrightfinger = new ModelRenderer(this, 220, 260); this.Lefthandrightfinger.setRotationPoint(-4.0F, 12.0F, 0.0F); this.Lefthandrightfinger.addBox(-1.0F, 0.0F, 0.0F, 2, 5, 2, 0.0F); this.setRotateAngle(Lefthandrightfinger, -0.5009094953223726F, 0.136659280431156F, 0.31869712141416456F); this.Spiketop10 = new ModelRenderer(this, 300, 460); this.Spiketop10.setRotationPoint(0.0F, 1.0F, 25.0F); this.Spiketop10.addBox(-0.5F, -12.0F, 0.0F, 1, 12, 2, 0.0F); this.setRotateAngle(Spiketop10, -0.31869712141416456F, 0.0F, 0.0F); this.RightLeg = new ModelRenderer(this, 260, 275); this.RightLeg.setRotationPoint(-1.0F, 14.6F, 0.0F); this.RightLeg.addBox(-3.0F, 0.0F, 0.0F, 6, 14, 7, 0.0F); this.setRotateAngle(RightLeg, 0.7988371986378046F, 0.23911010752322312F, -0.091106186954104F); this.Lefttoemid = new ModelRenderer(this, 290, 280); this.Lefttoemid.setRotationPoint(2.5F, 7.0F, 0.0F); this.Lefttoemid.addBox(-1.0F, 0.0F, 0.0F, 2, 6, 3, 0.0F); this.setRotateAngle(Lefttoemid, -0.22759093446006054F, 0.0F, 0.0F); this.Spikebase7 = new ModelRenderer(this, 300, 440); this.Spikebase7.setRotationPoint(0.0F, 1.0F, 18.5F); this.Spikebase7.addBox(-1.0F, -4.0F, 0.0F, 2, 4, 3, 0.0F); this.setRotateAngle(Spikebase7, -0.27314402793711257F, 0.0F, 0.0F); this.Clawlefthandleft = new ModelRenderer(this, 200, 260); this.Clawlefthandleft.setRotationPoint(1.0F, 4.0F, 0.0F); this.Clawlefthandleft.addBox(-0.5F, 0.0F, 0.0F, 1, 3, 2, 0.0F); this.setRotateAngle(Clawlefthandleft, -0.36425021489121656F, 0.0F, 0.0F); this.Spiketop19 = new ModelRenderer(this, 300, 460); this.Spiketop19.setRotationPoint(0.0F, 5.0F, 11.0F); this.Spiketop19.addBox(-0.5F, -7.0F, 0.0F, 1, 7, 2, 0.0F); //Grouping this.RightFoot.addChild(this.Righttoeleft); this.Spikebase4.addChild(this.Spiketop6); this.Thumbtoeupperright.addChild(this.Thumbtoelowerright); this.Spikebase2.addChild(this.Spiketop4); this.Wingupperarmleft.addChild(this.Wingmembramesmallleft); this.Neckmid.addChild(this.Spiketop1); this.Headback.addChild(this.Snout); this.Lowerarmleft.addChild(this.Thumbtoeupperleft); this.Rightleg.addChild(this.Rightfoot); this.Headback.addChild(this.Smallheadhornleft1); this.Wingfinger1left.addChild(this.Wingfinger3left); this.Snout.addChild(this.Tooth10); this.Headmidhornlowerleft.addChild(this.Headmidhornupperleft); this.RightFoot.addChild(this.Righttoeright); this.Headback.addChild(this.Headmidhornlowerright); this.Tail1.addChild(this.Spikebase6); this.Outertoelowerright.addChild(this.Outertoelowerright_1); this.Tail4.addChild(this.Spiketop14); this.Headlargehornlowerleft.addChild(this.Headlargehornupperleft); this.Spikebase1.addChild(this.Spiketop3); this.Wingfinger1right.addChild(this.Wingfinger3right); this.Snout.addChild(this.Tooth1); this.Lefttoeleft.addChild(this.Lefttoelowerleft); this.Smallheadhornright2.addChild(this.Smallheadhornright3); this.Lowerarmleft.addChild(this.Lefthandrightfinger_1); this.Tail1.addChild(this.Righthip); this.Smallheadhornleft2.addChild(this.Smallheadhornleft3); this.Tail3.addChild(this.Spiketop12); this.Headmidhornlowerright.addChild(this.Headmidhornupperright); this.Snout.addChild(this.Tooth6); this.Wingfinger3left.addChild(this.Wingfingerlower3left); this.Lowerarmleft.addChild(this.Lefthandmidfinger); this.Tail4.addChild(this.Spiketop15); this.Shoulderleft_1.addChild(this.Lowerarmleft_1); this.Headback.addChild(this.Headlargehornlowerright); this.Body.addChild(this.Wingshoulderright); this.Tail3.addChild(this.Spiketop11); this.Righthandrightfinger.addChild(this.Clawrighthandright); this.Lefttoemid.addChild(this.Lefttoelowermid); this.Headback.addChild(this.Smallheadhornleft2); this.Lefthandrightfinger.addChild(this.Clawlefthandright); this.Spikebase6.addChild(this.Spiketop8); this.RTailSpike.addChild(this.RTailMembrane); this.Lowerarmleft_1.addChild(this.Righthandrightfinger); this.Winglowerarmleft.addChild(this.Wingmembramemidleft); this.Body.addChild(this.Tail1); this.Headback.addChild(this.Smallheadhornright2); this.Spkebase3.addChild(this.Spiketop5); this.Lefttoeright.addChild(this.Lefttoelowerright); this.Wingfinger1right.addChild(this.Wingmembramelargeright); this.Spikebase7.addChild(this.Spiketop9); this.Wingupperarmleft.addChild(this.Winglowerarmleft); this.Tail7.addChild(this.Tail8); this.Snout.addChild(this.Tooth4); this.Wingfinger1left.addChild(this.Wingfingerlower1left); this.Tail8.addChild(this.RTailSpike); this.RightFoot.addChild(this.Outertoelowerright); this.Winglowerarmleft.addChild(this.Wingfinger1left); this.Lefthandmidfinger.addChild(this.Clawlefthandmid); this.Righttoeleft.addChild(this.Righttoelowerleft); this.Body.addChild(this.Shoulderleft); this.Wingshoulderleft.addChild(this.Wingupperarmleft); this.LTailSpike.addChild(this.LTailMembrane); this.Snout.addChild(this.Tooth3); this.Snout.addChild(this.Tooth2); this.Neckmid.addChild(this.Neckend); this.Tail4.addChild(this.Spiketop16); this.Headlargehornlowerright.addChild(this.Headlargehornupperright); this.Righttoemid.addChild(this.Righttoelowermid); this.Neckbase.addChild(this.Neckmid); this.Lowerarmleft_1.addChild(this.Thumbtoeupperright); this.Tail6.addChild(this.Tail7); this.Body.addChild(this.Spikebase1); this.RightFoot.addChild(this.Righttoemid); this.Rightfoot.addChild(this.Lefttoeleft); this.Righthandleftfinger.addChild(this.Clawrighthandleft); this.Spikebase5.addChild(this.Spiketop7); this.Neckend.addChild(this.Headback); this.Headback.addChild(this.Lowerjaw); this.Shoulderleft.addChild(this.Lowerarmleft); this.Thumbtoeupperleft.addChild(this.Thumbtoelowerleft); this.Body.addChild(this.Shoulderleft_1); this.Winglowerarmright.addChild(this.Wingfinger1right); this.Wingfinger2right.addChild(this.Wingfingerlower2right); this.RightLeg.addChild(this.RightFoot); this.Wingfinger2left.addChild(this.Wingfingerlower2left); this.Wingupperarmright.addChild(this.Winglowerarmright); this.Righttoeright.addChild(this.Righttoelowerright); this.Lefthip.addChild(this.Rightleg); this.Snout.addChild(this.Tooth5); this.Tail6.addChild(this.Spiketop17); this.Tail6.addChild(this.Spiketop18); this.Rightfoot.addChild(this.Outertoeleft); this.Wingfinger1right.addChild(this.Wingfinger2right); this.Snout.addChild(this.Tooth8); this.Body.addChild(this.Spikebase4); this.Tail1.addChild(this.Spikebase5); this.Tail8.addChild(this.LTailSpike); this.Righthandmidfinger.addChild(this.Clawrighthandmid); this.Snout.addChild(this.Tooth9); this.Wingfinger1right.addChild(this.Wingfingerlower1right); this.Wingupperarmright.addChild(this.Wingmembramesmallright); this.Neckbase.addChild(this.Spiketop2); this.Headback.addChild(this.Headlargehornlowerleft); this.Wingfinger1left.addChild(this.Wingmembramelargeleft); this.Wingfinger3right.addChild(this.Wingfingerlower3right); this.Tail3.addChild(this.Tail4); this.Tail1.addChild(this.Tail3); this.Wingshoulderright.addChild(this.Wingupperarmright); this.Outertoeleft.addChild(this.Outertoelowerleft); this.Body.addChild(this.Spkebase3); this.Body.addChild(this.Wingshoulderleft); this.Wingfinger1left.addChild(this.Wingfinger2left); this.Tail1.addChild(this.Lefthip); this.Lowerarmleft_1.addChild(this.Righthandmidfinger); this.Lowerarmleft_1.addChild(this.Righthandleftfinger); this.Headback.addChild(this.Headmidhornlowerleft); this.Tail4.addChild(this.Tail6); this.Rightfoot.addChild(this.Lefttoeright); this.Tail3.addChild(this.Spiketop13); this.Snout.addChild(this.Tooth7); this.Body.addChild(this.Spikebase2); this.Headback.addChild(this.Smallheadhornright1); this.Winglowerarmright.addChild(this.Wingmembramemidright); this.Body.addChild(this.shape16); this.Body.addChild(this.Neckbase); this.Lowerarmleft.addChild(this.Lefthandrightfinger); this.Tail1.addChild(this.Spiketop10); this.Righthip.addChild(this.RightLeg); this.Rightfoot.addChild(this.Lefttoemid); this.Tail1.addChild(this.Spikebase7); this.Lefthandrightfinger_1.addChild(this.Clawlefthandleft); this.Tail6.addChild(this.Spiketop19); } public void setRotateAngle(ModelRenderer modelRenderer, float x, float y, float z) { modelRenderer.rotateAngleX = x; modelRenderer.rotateAngleY = y; modelRenderer.rotateAngleZ = z; } 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((EntityDragon) entity, f, f1, f2, f3, f4, f5); this.Body.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(EntityDragon dragon, float step1, float step2, float head1, float neckY, float neckX, float head4) { super.setRotationAngles(step1, step2, head1, neckY, neckX, head4, dragon); float wingFlap = (float) Math.toRadians(dragon.wingFlap()); float jawAngle = (float)Math.toRadians(dragon.getJawMove()); float neckAngle = -(float)Math.toRadians(4.5F * dragon.getNeckAngle()); this.Headback.rotateAngleX = neckX / (180F / (float) Math.PI) + neckAngle; this.Headback.rotateAngleY = neckY / (180F / (float) Math.PI); this.Lowerjaw.rotateAngleX = -0.045553093477052F - jawAngle; //this.Tail1.rotateAngleY = (float) Math.toRadians(dragon.prevRotationYaw-dragon.rotationYaw)*1.5F; //this.Tail3.rotateAngleY = (float) Math.toRadians(dragon.prevRotationYaw-dragon.rotationYaw)*1.5F; //this.Tail4.rotateAngleY = (float) Math.toRadians(dragon.prevRotationYaw-dragon.rotationYaw)*1.5F; if (!dragon.isTerrestrial()) //Fly { if(!dragon.onGround) { float angle = (float) Math.toRadians(dragon.getVertTailAngle()); this.Body.rotateAngleX = 0.546F - angle; } else { this.Body.rotateAngleX = 0.5462880558742251F; } if(dragon.motionY < -0.01F)//Glide { wingFlap = 0; } else if (dragon.motionX == 0 && dragon.motionZ == 0) //Hover { wingFlap = (float) Math.toRadians(dragon.wingFlap()); } else { wingFlap = MathHelper.cos(step1 * 0.6662F) * 1.4F * step2;//Move } this.Wingshoulderright.rotateAngleZ = (float) (wingFlap*0.75F); this.Wingshoulderleft.rotateAngleZ = (float) -(wingFlap*0.75F); this.Wingupperarmright.rotateAngleZ = (float) (wingFlap*0.25F); this.Wingupperarmleft.rotateAngleZ = (float) -(wingFlap*0.25F); } else //Walk { this.Body.rotateAngleX = 0.5462880558742251F; this.Wingshoulderright.rotateAngleZ = (float) -Math.toRadians(40); this.Wingshoulderleft.rotateAngleZ = (float) Math.toRadians(40); // this.Winglowerarmright.rotateAngleZ = (float) Math.toRadians(180); //this.Winglowerarmleft.rotateAngleZ = (float) -Math.toRadians(180); this.Righthip.rotateAngleX = MathHelper.cos(step1 * 0.6662F) * 1.4F * step2; this.Lefthip.rotateAngleX = MathHelper.cos(step1 * 0.6662F + (float) Math.PI) * 1.4F * step2; this.Shoulderleft_1.rotateAngleX = MathHelper.cos(step1 * 0.6662F + (float) Math.PI) * 1.4F * step2; this.Shoulderleft.rotateAngleX = MathHelper.cos(step1 * 0.6662F) * 1.4F * step2; } } }