Advertisement
Iggy3434

triceratops

Nov 19th, 2017
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.91 KB | None | 0 0
  1.  
  2.  
  3. import net.minecraft.client.model.ModelBase;
  4. import net.minecraft.client.model.ModelRenderer;
  5. import net.minecraft.client.renderer.GlStateManager;
  6. import net.minecraft.entity.Entity;
  7. import net.minecraftforge.fml.relauncher.Side;
  8. import net.minecraftforge.fml.relauncher.SideOnly;
  9. import org.lwjgl.opengl.GL11;
  10.  
  11. /**
  12. * Triceratops by ttflea for MLGPigPlayz TM Mod V1.0.3
  13. */
  14. @SideOnly(Side.CLIENT)
  15. public class Triceratops extends ModelBase {
  16. public ModelRenderer Bodyhips;
  17. public ModelRenderer BodyMAIN;
  18. public ModelRenderer Bodyshoulders;
  19. public ModelRenderer Neck1;
  20. public ModelRenderer Neck2;
  21. public ModelRenderer Neck3;
  22. public ModelRenderer Head;
  23. public ModelRenderer JawUPPER1;
  24. public ModelRenderer JawUPPER2;
  25. public ModelRenderer JawUPPER3;
  26. public ModelRenderer JawUPPER4Beak;
  27. public ModelRenderer FacialSlope;
  28. public ModelRenderer NasalCREST;
  29. public ModelRenderer Chin;
  30. public ModelRenderer JawLOWER;
  31. public ModelRenderer HornLOWERLEFT;
  32. public ModelRenderer OrbitalHornLeftLOWER;
  33. public ModelRenderer OrbitalHornLEFTUPPER;
  34. public ModelRenderer ObitalHornLeftTip;
  35. public ModelRenderer HornLOWERRIGHT;
  36. public ModelRenderer OrbitalHornRIGHTLOWER;
  37. public ModelRenderer OrbitalHornRIGHTUPPER;
  38. public ModelRenderer ObitalHornRIGHTTip;
  39. public ModelRenderer FrillMAIN;
  40. public ModelRenderer FrillBump9;
  41. public ModelRenderer FrillBump7;
  42. public ModelRenderer FrillBump8;
  43. public ModelRenderer Frillright1;
  44. public ModelRenderer Frillright2;
  45. public ModelRenderer Frillright3;
  46. public ModelRenderer FrillBump1;
  47. public ModelRenderer FrillBump2;
  48. public ModelRenderer FrillBump3;
  49. public ModelRenderer FrillBump4;
  50. public ModelRenderer FrillBump5;
  51. public ModelRenderer FrillBump6;
  52. public ModelRenderer Frillleft1;
  53. public ModelRenderer Frillleft2;
  54. public ModelRenderer Frillleft3;
  55. public ModelRenderer FrillBump12;
  56. public ModelRenderer FrillBump13;
  57. public ModelRenderer FrillBump14;
  58. public ModelRenderer FrillBump15;
  59. public ModelRenderer FrillBump11;
  60. public ModelRenderer FrillBump10;
  61. public ModelRenderer FrontLegUpperLeft;
  62. public ModelRenderer FrontLegMIDLeft;
  63. public ModelRenderer FrontLegFOOTLeft;
  64. public ModelRenderer FrontLegUpperRight;
  65. public ModelRenderer FrontLegMIDRight;
  66. public ModelRenderer FrontLegFOOTRight;
  67. public ModelRenderer Tail1;
  68. public ModelRenderer Tail2;
  69. public ModelRenderer Tail3;
  70. public ModelRenderer Tail4;
  71. public ModelRenderer Tail5;
  72. public ModelRenderer Tail6;
  73. public ModelRenderer RearLegUpperRight;
  74. public ModelRenderer RearLegMiddleRight;
  75. public ModelRenderer RearLegFootRight;
  76. public ModelRenderer RearLegUpperLeft;
  77. public ModelRenderer RearLegMiddleLeft;
  78. public ModelRenderer RearLegFootLeft;
  79.  
  80. public Triceratops() {
  81. this.textureWidth = 2048;
  82. this.textureHeight = 2048;
  83.  
  84. this.Bodyhips = new ModelRenderer(this, 7, 149);
  85. this.Bodyhips.setRotationPoint(0.0F, -14.0F, 10.0F);
  86. this.Bodyhips.addBox(-8.0F, -6.0F, -6.0F, 16, 22, 13);
  87. this.setRotationAngles(this.Bodyhips, 0.07002949366169327F, 0.0F, 0.0F);
  88. this.BodyMAIN = new ModelRenderer(this, 75, 144);
  89. this.BodyMAIN.setRotationPoint(0.0F, -5.5F, -5.8F);
  90. this.BodyMAIN.addBox(-8.5F, -1.0F, -16.0F, 17, 24, 16);
  91. this.setRotationAngles(this.BodyMAIN, 0.07382742769225528F, 0.0F, 0.0F);
  92. this.Bodyhips.addChild(this.BodyMAIN);
  93. this.Bodyshoulders = new ModelRenderer(this, 147, 146);
  94. this.Bodyshoulders.setRotationPoint(0.0F, 1.6F, -15.4F);
  95. this.Bodyshoulders.addBox(-8.0F, -2.0F, -10.0F, 16, 22, 10);
  96. this.setRotationAngles(this.Bodyshoulders, 0.09878564132209637F, 0.0F, 0.0F);
  97. this.BodyMAIN.addChild(this.Bodyshoulders);
  98. this.Neck1 = new ModelRenderer(this, 11, 192);
  99. this.Neck1.setRotationPoint(0.0F, -0.1F, -6.4F);
  100. this.Neck1.addBox(-6.0F, 0.0F, -6.0F, 12, 17, 6);
  101. this.setRotationAngles(this.Neck1, 0.021062489572408142F, 0.0F, 0.0F);
  102. this.Bodyshoulders.addChild(this.Neck1);
  103. this.Neck2 = new ModelRenderer(this, 62, 195);
  104. this.Neck2.setRotationPoint(0.0F, 1.7F, -4.0F);
  105. this.Neck2.addBox(-4.5F, 0.0F, -4.3F, 9, 14, 4);
  106. this.setRotationAngles(this.Neck2, 0.05497787310229706F, 0.0F, -0.008377580222319268F);
  107. this.Neck1.addChild(this.Neck2);
  108. this.Neck3 = new ModelRenderer(this, 98, 192);
  109. this.Neck3.setRotationPoint(0.0F, 3.1F, 1.6F);
  110. this.Neck3.addBox(-4.0F, 0.0F, -10.0F, 8, 11, 10);
  111. this.setRotationAngles(this.Neck3, -0.2275909337942703F, 0.0F, 0.0F);
  112. this.Neck2.addChild(this.Neck3);
  113. this.Head = new ModelRenderer(this, 39, 112);
  114. this.Head.setRotationPoint(0.0F, 0.7F, -9.8F);
  115. this.Head.addBox(-4.5F, -1.5F, -8.0F, 9, 11, 8);
  116. this.setRotationAngles(this.Head, 0.2759242615887117F, 0.0F, 0.0F);
  117. this.Neck3.addChild(this.Head);
  118. this.JawUPPER1 = new ModelRenderer(this, 79, 109);
  119. this.JawUPPER1.setRotationPoint(-0.5F, 3.0F, -10.0F);
  120. this.JawUPPER1.addBox(-4.0F, -3.5F, -2.0F, 9, 8, 4);
  121. this.Head.addChild(this.JawUPPER1);
  122. this.JawUPPER2 = new ModelRenderer(this, 110, 112);
  123. this.JawUPPER2.setRotationPoint(0.0F, 0.0F, -5.0F);
  124. this.JawUPPER2.addBox(-3.5F, -3.5F, 0.0F, 8, 6, 3);
  125. this.JawUPPER1.addChild(this.JawUPPER2);
  126. this.JawUPPER3 = new ModelRenderer(this, 135, 113);
  127. this.JawUPPER3.setRotationPoint(0.0F, 0.0F, -1.0F);
  128. this.JawUPPER3.addBox(-3.0F, -3.5F, 0.0F, 7, 6, 1);
  129. this.JawUPPER2.addChild(this.JawUPPER3);
  130. this.JawUPPER4Beak = new ModelRenderer(this, 152, 125);
  131. this.JawUPPER4Beak.setRotationPoint(0.5F, -1.5F, -2.0F);
  132. this.JawUPPER4Beak.addBox(-3.0F, -2.0F, 0.0F, 6, 7, 2);
  133. this.JawUPPER3.addChild(this.JawUPPER4Beak);
  134. this.FacialSlope = new ModelRenderer(this, 160, 104);
  135. this.FacialSlope.setRotationPoint(0.0F, -1.0F, 0.6F);
  136. this.FacialSlope.addBox(-2.5F, -1.0F, 0.0F, 5, 2, 11);
  137. this.setRotationAngles(this.FacialSlope, 0.0911061832922575F, 0.0F, 0.0F);
  138. this.JawUPPER4Beak.addChild(this.FacialSlope);
  139. this.NasalCREST = new ModelRenderer(this, 42, 97);
  140. this.NasalCREST.setRotationPoint(0.0F, 1.3F, 2.3F);
  141. this.NasalCREST.addBox(-1.0F, -3.0F, 0.0F, 2, 3, 3);
  142. this.setRotationAngles(this.NasalCREST, 0.9105382388075086F, 0.0F, 0.0F);
  143. this.FacialSlope.addChild(this.NasalCREST);
  144. this.Chin = new ModelRenderer(this, 82, 130);
  145. this.Chin.setRotationPoint(-1.5F, 7.7F, -6.1F);
  146. this.Chin.addBox(-2.5F, -1.0F, -8.0F, 8, 3, 7);
  147. this.setRotationAngles(this.Chin, -0.25795965878423F, 0.0F, 0.0F);
  148. this.Head.addChild(this.Chin);
  149. this.JawLOWER = new ModelRenderer(this, 127, 131);
  150. this.JawLOWER.setRotationPoint(-1.0F, -0.1F, -7.2F);
  151. this.JawLOWER.addBox(0.0F, 0.0F, -4.0F, 5, 2, 4);
  152. this.setRotationAngles(this.JawLOWER, 0.166812620936375F, 0.0F, 0.0F);
  153. this.Chin.addChild(this.JawLOWER);
  154. this.HornLOWERLEFT = new ModelRenderer(this, 41, 81);
  155. this.HornLOWERLEFT.setRotationPoint(2.9F, -2.1F, -9.4F);
  156. this.HornLOWERLEFT.addBox(-1.5F, 0.0F, -1.5F, 3, 3, 3);
  157. this.setRotationAngles(this.HornLOWERLEFT, 0.7285004590772052F, 0.0F, 0.3642502295386026F);
  158. this.Head.addChild(this.HornLOWERLEFT);
  159. this.OrbitalHornLeftLOWER = new ModelRenderer(this, 41, 68);
  160. this.OrbitalHornLeftLOWER.setRotationPoint(0.0F, -5.0F, 0.0F);
  161. this.OrbitalHornLeftLOWER.addBox(-1.0F, 0.0F, -1.0F, 2, 5, 2);
  162. this.HornLOWERLEFT.addChild(this.OrbitalHornLeftLOWER);
  163. this.OrbitalHornLEFTUPPER = new ModelRenderer(this, 41, 68);
  164. this.OrbitalHornLEFTUPPER.setRotationPoint(0.0F, 0.4F, 0.1F);
  165. this.OrbitalHornLEFTUPPER.addBox(-1.0F, -6.0F, -1.0F, 2, 6, 2);
  166. this.setRotationAngles(this.OrbitalHornLEFTUPPER, 0.45535640450848164F, 0.0F, 0.0F);
  167. this.OrbitalHornLeftLOWER.addChild(this.OrbitalHornLEFTUPPER);
  168. this.ObitalHornLeftTip = new ModelRenderer(this, 41, 68);
  169. this.ObitalHornLeftTip.setRotationPoint(0.0F, -5.7F, -0.05F);
  170. this.ObitalHornLeftTip.addBox(-1.0F, -3.0F, -1.0F, 2, 3, 2);
  171. this.setRotationAngles(this.ObitalHornLeftTip, -0.27314403792396663F, 0.0F, 0.0F);
  172. this.OrbitalHornLEFTUPPER.addChild(this.ObitalHornLeftTip);
  173. this.HornLOWERRIGHT = new ModelRenderer(this, 41, 81);
  174. this.HornLOWERRIGHT.setRotationPoint(-2.9F, -2.1F, -9.4F);
  175. this.HornLOWERRIGHT.addBox(-1.5F, 0.0F, -1.5F, 3, 3, 3);
  176. this.setRotationAngles(this.HornLOWERRIGHT, 0.7285004590772052F, 0.0F, -0.3642502295386026F);
  177. this.Head.addChild(this.HornLOWERRIGHT);
  178. this.OrbitalHornRIGHTLOWER = new ModelRenderer(this, 41, 68);
  179. this.OrbitalHornRIGHTLOWER.setRotationPoint(0.0F, -5.0F, 0.0F);
  180. this.OrbitalHornRIGHTLOWER.addBox(-1.0F, 0.0F, -1.0F, 2, 5, 2);
  181. this.HornLOWERRIGHT.addChild(this.OrbitalHornRIGHTLOWER);
  182. this.OrbitalHornRIGHTUPPER = new ModelRenderer(this, 41, 68);
  183. this.OrbitalHornRIGHTUPPER.setRotationPoint(0.0F, 0.4F, 0.1F);
  184. this.OrbitalHornRIGHTUPPER.addBox(-1.0F, -6.0F, -1.0F, 2, 6, 2);
  185. this.setRotationAngles(this.OrbitalHornRIGHTUPPER, 0.45535640450848164F, 0.0F, 0.0F);
  186. this.OrbitalHornRIGHTLOWER.addChild(this.OrbitalHornRIGHTUPPER);
  187. this.ObitalHornRIGHTTip = new ModelRenderer(this, 41, 68);
  188. this.ObitalHornRIGHTTip.setRotationPoint(0.0F, -5.7F, -0.05F);
  189. this.ObitalHornRIGHTTip.addBox(-1.0F, -3.0F, -1.0F, 2, 3, 2);
  190. this.setRotationAngles(this.ObitalHornRIGHTTip, -0.27314403792396663F, 0.0F, 0.0F);
  191. this.OrbitalHornRIGHTUPPER.addChild(this.ObitalHornRIGHTTip);
  192. this.FrillMAIN = new ModelRenderer(this, 101, 10);
  193. this.FrillMAIN.setRotationPoint(0.0F, -3.6F, -0.8F);
  194. this.FrillMAIN.addBox(-4.5F, -10.0F, -1.0F, 9, 16, 2);
  195. this.setRotationAngles(this.FrillMAIN, -0.6832963622083637F, 0.0F, 0.0F);
  196. this.Head.addChild(this.FrillMAIN);
  197. this.FrillBump9 = new ModelRenderer(this, 50, 3);
  198. this.FrillBump9.setRotationPoint(4.4F, -8.4F, 0.0F);
  199. this.FrillBump9.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  200. this.setRotationAngles(this.FrillBump9, 0.0F, 0.0F, 0.8970992621566962F);
  201. this.FrillMAIN.addChild(this.FrillBump9);
  202. this.FrillBump7 = new ModelRenderer(this, 50, 3);
  203. this.FrillBump7.setRotationPoint(-4.6F, -8.4F, 0.0F);
  204. this.FrillBump7.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  205. this.setRotationAngles(this.FrillBump7, 0.0F, 0.0F, 0.6736971312172275F);
  206. this.FrillMAIN.addChild(this.FrillBump7);
  207. this.FrillBump8 = new ModelRenderer(this, 50, 3);
  208. this.FrillBump8.setRotationPoint(0.0F, -8.5F, 0.0F);
  209. this.FrillBump8.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  210. this.setRotationAngles(this.FrillBump8, 0.0F, 0.0F, 0.7853981633974483F);
  211. this.FrillMAIN.addChild(this.FrillBump8);
  212. this.Frillright1 = new ModelRenderer(this, 84, 10);
  213. this.Frillright1.setRotationPoint(-2.5F, -10.4F, -1.5F);
  214. this.Frillright1.addBox(-6.0F, 0.0F, 0.0F, 4, 19, 2);
  215. this.setRotationAngles(this.Frillright1, 0.0F, 0.2682571040341576F, -0.19844393395438445F);
  216. this.FrillMAIN.addChild(this.Frillright1);
  217. this.Frillright2 = new ModelRenderer(this, 68, 10);
  218. this.Frillright2.setRotationPoint(-6.9F, 1.0F, 0.0F);
  219. this.Frillright2.addBox(-2.0F, 0.0F, 0.0F, 3, 19, 2);
  220. this.setRotationAngles(this.Frillright2, 0.0F, -0.09320057639727988F, 0.0F);
  221. this.Frillright1.addChild(this.Frillright2);
  222. this.Frillright3 = new ModelRenderer(this, 55, 10);
  223. this.Frillright3.setRotationPoint(-1.9F, 1.5F, 0.0F);
  224. this.Frillright3.addBox(-2.0F, 0.0F, 0.0F, 2, 16, 2);
  225. this.setRotationAngles(this.Frillright3, 0.0F, -0.06981317007977318F, 0.0F);
  226. this.Frillright2.addChild(this.Frillright3);
  227. this.FrillBump1 = new ModelRenderer(this, 50, 3);
  228. this.FrillBump1.setRotationPoint(0.2F, 15.4F, 1.0F);
  229. this.FrillBump1.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  230. this.setRotationAngles(this.FrillBump1, 0.0F, 0.0F, -1.6910495016046616F);
  231. this.Frillright3.addChild(this.FrillBump1);
  232. this.FrillBump2 = new ModelRenderer(this, 50, 3);
  233. this.FrillBump2.setRotationPoint(-2.0F, 13.7F, 1.0F);
  234. this.FrillBump2.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  235. this.setRotationAngles(this.FrillBump2, 0.0F, 0.0F, 0.7853981633974483F);
  236. this.Frillright3.addChild(this.FrillBump2);
  237. this.FrillBump3 = new ModelRenderer(this, 50, 3);
  238. this.FrillBump3.setRotationPoint(-2.0F, 9.4F, 1.0F);
  239. this.FrillBump3.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  240. this.setRotationAngles(this.FrillBump3, 0.0F, 0.0F, 0.7853981633974483F);
  241. this.Frillright3.addChild(this.FrillBump3);
  242. this.FrillBump4 = new ModelRenderer(this, 50, 3);
  243. this.FrillBump4.setRotationPoint(-2.0F, 4.8F, 1.0F);
  244. this.FrillBump4.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  245. this.setRotationAngles(this.FrillBump4, 0.0F, 0.0F, 0.7853981633974483F);
  246. this.Frillright3.addChild(this.FrillBump4);
  247. this.FrillBump5 = new ModelRenderer(this, 50, 3);
  248. this.FrillBump5.setRotationPoint(0.3F, 0.7F, 1.0F);
  249. this.FrillBump5.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  250. this.setRotationAngles(this.FrillBump5, 0.0F, 0.0F, 0.009075712817772679F);
  251. this.Frillright3.addChild(this.FrillBump5);
  252. this.FrillBump6 = new ModelRenderer(this, 50, 3);
  253. this.FrillBump6.setRotationPoint(-5.1F, 0.3F, 1.0F);
  254. this.FrillBump6.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  255. this.setRotationAngles(this.FrillBump6, 0.0F, 0.0F, -1.0538298209963037F);
  256. this.Frillright1.addChild(this.FrillBump6);
  257. this.Frillleft1 = new ModelRenderer(this, 129, 10);
  258. this.Frillleft1.setRotationPoint(4.5F, -10.0F, -1.0F);
  259. this.Frillleft1.addBox(0.0F, 0.0F, 0.0F, 4, 19, 2);
  260. this.setRotationAngles(this.Frillleft1, 0.0F, -0.2682571040341576F, 0.19844393395438445F);
  261. this.FrillMAIN.addChild(this.Frillleft1);
  262. this.Frillleft2 = new ModelRenderer(this, 147, 10);
  263. this.Frillleft2.setRotationPoint(3.9F, 1.0F, 0.0F);
  264. this.Frillleft2.addBox(0.0F, 0.0F, 0.0F, 3, 19, 2);
  265. this.setRotationAngles(this.Frillleft2, 0.0F, 0.09320057639727988F, 0.0F);
  266. this.Frillleft1.addChild(this.Frillleft2);
  267. this.Frillleft3 = new ModelRenderer(this, 162, 10);
  268. this.Frillleft3.setRotationPoint(2.9F, 1.5F, 0.0F);
  269. this.Frillleft3.addBox(0.0F, 0.0F, 0.0F, 2, 16, 2);
  270. this.setRotationAngles(this.Frillleft3, 0.0F, 0.06981317007977318F, 0.0F);
  271. this.Frillleft2.addChild(this.Frillleft3);
  272. this.FrillBump12 = new ModelRenderer(this, 50, 3);
  273. this.FrillBump12.setRotationPoint(2.0F, 2.1F, 0.5F);
  274. this.FrillBump12.addBox(0.0F, 0.0F, 0.0F, 2, 2, 1);
  275. this.setRotationAngles(this.FrillBump12, 0.0F, 0.0F, 0.7853981633974483F);
  276. this.Frillleft3.addChild(this.FrillBump12);
  277. this.FrillBump13 = new ModelRenderer(this, 50, 3);
  278. this.FrillBump13.setRotationPoint(2.0F, 9.4F, 1.0F);
  279. this.FrillBump13.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  280. this.setRotationAngles(this.FrillBump13, 0.0F, 0.0F, 0.7853981633974483F);
  281. this.Frillleft3.addChild(this.FrillBump13);
  282. this.FrillBump14 = new ModelRenderer(this, 50, 3);
  283. this.FrillBump14.setRotationPoint(2.0F, 13.7F, 1.0F);
  284. this.FrillBump14.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  285. this.setRotationAngles(this.FrillBump14, 0.0F, 0.0F, 0.7853981633974483F);
  286. this.Frillleft3.addChild(this.FrillBump14);
  287. this.FrillBump15 = new ModelRenderer(this, 50, 3);
  288. this.FrillBump15.setRotationPoint(-0.4F, 17.4F, 1.0F);
  289. this.FrillBump15.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  290. this.setRotationAngles(this.FrillBump15, 0.0F, 0.0F, 1.6910495016046616F);
  291. this.Frillleft3.addChild(this.FrillBump15);
  292. this.FrillBump11 = new ModelRenderer(this, 50, 3);
  293. this.FrillBump11.setRotationPoint(4.6F, 2.2F, 1.0F);
  294. this.FrillBump11.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  295. this.setRotationAngles(this.FrillBump11, 0.0F, 0.0F, -0.009075712817772679F);
  296. this.Frillleft2.addChild(this.FrillBump11);
  297. this.FrillBump10 = new ModelRenderer(this, 50, 3);
  298. this.FrillBump10.setRotationPoint(3.9F, 2.0F, 1.0F);
  299. this.FrillBump10.addBox(-2.0F, -2.0F, -0.5F, 2, 2, 1);
  300. this.setRotationAngles(this.FrillBump10, 0.0F, 0.0F, 1.0538298209963037F);
  301. this.Frillleft1.addChild(this.FrillBump10);
  302. this.FrontLegUpperLeft = new ModelRenderer(this, 170, 37);
  303. this.FrontLegUpperLeft.setRotationPoint(6.0F, 13.4F, -5.7F);
  304. this.FrontLegUpperLeft.addBox(0.0F, -2.0F, -4.0F, 6, 10, 7);
  305. this.setRotationAngles(this.FrontLegUpperLeft, 0.05305309423038831F, 0.0F, 0.0F);
  306. this.Bodyshoulders.addChild(this.FrontLegUpperLeft);
  307. this.FrontLegMIDLeft = new ModelRenderer(this, 170, 59);
  308. this.FrontLegMIDLeft.setRotationPoint(3.0F, 6.2F, -0.2F);
  309. this.FrontLegMIDLeft.addBox(-2.5F, 0.0F, -2.5F, 5, 9, 5);
  310. this.setRotationAngles(this.FrontLegMIDLeft, -0.673856854303605F, 0.0F, 0.0F);
  311. this.FrontLegUpperLeft.addChild(this.FrontLegMIDLeft);
  312. this.FrontLegFOOTLeft = new ModelRenderer(this, 170, 81);
  313. this.FrontLegFOOTLeft.setRotationPoint(0.0F, 8.0F, -0.2F);
  314. this.FrontLegFOOTLeft.addBox(-2.5F, 0.0F, -2.5F, 5, 5, 5);
  315. this.setRotationAngles(this.FrontLegFOOTLeft, 0.41455071791698783F, 0.0F, 0.0F);
  316. this.FrontLegMIDLeft.addChild(this.FrontLegFOOTLeft);
  317. this.FrontLegUpperRight = new ModelRenderer(this, 140, 37);
  318. this.FrontLegUpperRight.setRotationPoint(-6.0F, 13.4F, -5.7F);
  319. this.FrontLegUpperRight.addBox(-6.0F, -2.0F, -4.0F, 6, 10, 7);
  320. this.setRotationAngles(this.FrontLegUpperRight, 0.05305309423038831F, 0.0F, 0.0F);
  321. this.Bodyshoulders.addChild(this.FrontLegUpperRight);
  322. this.FrontLegMIDRight = new ModelRenderer(this, 140, 59);
  323. this.FrontLegMIDRight.setRotationPoint(-3.0F, 6.2F, -0.2F);
  324. this.FrontLegMIDRight.addBox(-2.5F, 0.0F, -2.5F, 5, 9, 5);
  325. this.setRotationAngles(this.FrontLegMIDRight, -0.673856854303605F, 0.0F, 0.0F);
  326. this.FrontLegUpperRight.addChild(this.FrontLegMIDRight);
  327. this.FrontLegFOOTRight = new ModelRenderer(this, 147, 81);
  328. this.FrontLegFOOTRight.setRotationPoint(0.0F, 8.0F, -0.2F);
  329. this.FrontLegFOOTRight.addBox(-2.5F, 0.0F, -2.5F, 5, 5, 5);
  330. this.setRotationAngles(this.FrontLegFOOTRight, 0.41455071791698783F, 0.0F, 0.0F);
  331. this.FrontLegMIDRight.addChild(this.FrontLegFOOTRight);
  332. this.Tail1.setRotationPoint(0.0F, 0.2F, 11.7F);
  333. this.Tail1.addBox(-7.5F, -5.0F, -5.2F, 15, 16, 8);
  334. this.setRotationAngles(this.Tail1, -0.09434180750340608F, -0.010824917593331453F, 0.0F);
  335. this.Bodyhips.addChild(this.Tail1);
  336. this.Tail2 = new ModelRenderer(this, 0, 33);
  337. this.Tail2.setRotationPoint(0.0F, -4.4F, -0.2F);
  338. this.Tail2.addBox(-6.0F, 0.0F, 2.0F, 12, 13, 7);
  339. this.setRotationAngles(this.Tail2, -0.006250691870660069F, -0.006249654174102509F, 0.0F);
  340. this.Tail1.addChild(this.Tail2);
  341. this.Tail3 = new ModelRenderer(this, 0, 58);
  342. this.Tail3.setRotationPoint(0.0F, 0.9F, 8.2F);
  343. this.Tail3.addBox(-5.0F, 0.0F, 0.0F, 10, 10, 8);
  344. this.setRotationAngles(this.Tail3, -0.054391927728209194F, 1.5308086000422977E-18F, 0.0F);
  345. this.Tail2.addChild(this.Tail3);
  346. this.Tail4 = new ModelRenderer(this, 0, 83);
  347. this.Tail4.setRotationPoint(0.0F, 0.8F, 6.4F);
  348. this.Tail4.addBox(-4.0F, 0.0F, 0.0F, 8, 8, 8);
  349. this.setRotationAngles(this.Tail4, -0.05637860845070547F, 0.006250691870660069F, 0.0F);
  350. this.Tail3.addChild(this.Tail4);
  351. this.Tail5 = new ModelRenderer(this, 0, 107);
  352. this.Tail5.setRotationPoint(0.0F, 0.8F, 7.2F);
  353. this.Tail5.addBox(-3.0F, 0.0F, 0.0F, 6, 6, 7);
  354. this.setRotationAngles(this.Tail5, -0.10318046465435078F, 0.010825517844874023F, 0.0F);
  355. this.Tail4.addChild(this.Tail5);
  356. this.Tail6 = new ModelRenderer(this, 0, 129);
  357. this.Tail6.setRotationPoint(0.0F, 0.6F, 5.7F);
  358. this.Tail6.addBox(-2.0F, 0.0F, 0.0F, 4, 4, 7);
  359. this.setRotationAngles(this.Tail6, -0.08754915714942839F, 0.012500000145910057F, 0.0F);
  360. this.Tail5.addChild(this.Tail6);
  361. this.RearLegUpperRight = new ModelRenderer(this, 46, 32);
  362. this.RearLegUpperRight.setRotationPoint(-7.0F, -14.0F, 10.0F);
  363. this.RearLegUpperRight.addBox(-6.0F, -2.0F, -4.0F, 6, 18, 13);
  364. this.setRotationAngles(this.RearLegUpperRight, -0.3642502295386026F, 0.0F, 0.0F);
  365. this.RearLegMiddleRight = new ModelRenderer(this, 60, 65);
  366. this.RearLegMiddleRight.setRotationPoint(-3.0F, 11.9F, -0.5F);
  367. this.RearLegMiddleRight.addBox(-2.5F, -3.0F, 0.0F, 5, 7, 16);
  368. this.setRotationAngles(this.RearLegMiddleRight, -0.8651597048872669F, 0.0F, 0.0F);
  369. this.RearLegUpperRight.addChild(this.RearLegMiddleRight);
  370. this.RearLegFootRight = new ModelRenderer(this, 61, 91);
  371. this.RearLegFootRight.setRotationPoint(0.0F, -0.2F, 14.9F);
  372. this.RearLegFootRight.addBox(-2.5F, -3.0F, 0.0F, 5, 7, 6);
  373. this.setRotationAngles(this.RearLegFootRight, -0.3490658503988659F, 0.0F, 0.0F);
  374. this.RearLegMiddleRight.addChild(this.RearLegFootRight);
  375. this.RearLegUpperLeft = new ModelRenderer(this, 90, 32);
  376. this.RearLegUpperLeft.setRotationPoint(7.0F, -14.0F, 10.0F);
  377. this.RearLegUpperLeft.addBox(0.0F, -2.0F, -4.0F, 6, 18, 13);
  378. this.setRotationAngles(this.RearLegUpperLeft, -0.3642502295386026F, 0.0F, 0.0F);
  379. this.RearLegMiddleLeft = new ModelRenderer(this, 104, 65);
  380. this.RearLegMiddleLeft.setRotationPoint(3.0F, 11.9F, -0.5F);
  381. this.RearLegMiddleLeft.addBox(-2.5F, -3.0F, 0.0F, 5, 7, 16);
  382. this.setRotationAngles(this.RearLegMiddleLeft, -0.8651597048872669F, 0.0F, 0.0F);
  383. this.RearLegUpperLeft.addChild(this.RearLegMiddleLeft);
  384. this.RearLegFootLeft = new ModelRenderer(this, 88, 91);
  385. this.RearLegFootLeft.setRotationPoint(0.0F, -0.2F, 14.9F);
  386. this.RearLegFootLeft.addBox(-2.5F, -3.0F, 0.0F, 5, 7, 6);
  387. this.setRotationAngles(this.RearLegFootLeft, -0.3490658503988659F, 0.0F, 0.0F);
  388. this.RearLegMiddleLeft.addChild(this.RearLegFootLeft);
  389. }
  390.  
  391. @Override
  392. public void render(Entity entity, float limbSwing, float limbSwingAmount, float ageInTicks, float rotationYaw, float rotationPitch, float scale) {
  393. GlStateManager.pushMatrix();
  394. GlStateManager.translate(this.Bodyhips.offsetX, this.Bodyhips.offsetY, this.Bodyhips.offsetZ);
  395. GlStateManager.translate(this.Bodyhips.rotationPointX * scale, this.Bodyhips.rotationPointY * scale, this.Bodyhips.rotationPointZ * scale);
  396. GlStateManager.scale(1.0F, 1.0F, 1.0F);
  397. GlStateManager.translate(-this.Bodyhips.offsetX, -this.Bodyhips.offsetY, -this.Bodyhips.offsetZ);
  398. GlStateManager.translate(-this.Bodyhips.rotationPointX * scale, -this.Bodyhips.rotationPointY * scale, -this.Bodyhips.rotationPointZ * scale);
  399. GlStateManager.enableBlend();
  400. GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
  401. GlStateManager.color(1.0F, 1.0F, 1.0F, 0.0F);
  402. this.Bodyhips.render(scale);
  403. GlStateManager.disableBlend();
  404. GlStateManager.popMatrix();
  405. GlStateManager.pushMatrix();
  406. GlStateManager.translate(this.RearLegUpperRight.offsetX, this.RearLegUpperRight.offsetY, this.RearLegUpperRight.offsetZ);
  407. GlStateManager.translate(this.RearLegUpperRight.rotationPointX * scale, this.RearLegUpperRight.rotationPointY * scale, this.RearLegUpperRight.rotationPointZ * scale);
  408. GlStateManager.scale(1.0F, 1.0F, 1.0F);
  409. GlStateManager.translate(-this.RearLegUpperRight.offsetX, -this.RearLegUpperRight.offsetY, -this.RearLegUpperRight.offsetZ);
  410. GlStateManager.translate(-this.RearLegUpperRight.rotationPointX * scale, -this.RearLegUpperRight.rotationPointY * scale, -this.RearLegUpperRight.rotationPointZ * scale);
  411. GlStateManager.enableBlend();
  412. GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
  413. GlStateManager.color(1.0F, 1.0F, 1.0F, 0.0F);
  414. this.RearLegUpperRight.render(scale);
  415. GlStateManager.disableBlend();
  416. GlStateManager.popMatrix();
  417. GlStateManager.pushMatrix();
  418. GlStateManager.translate(this.RearLegUpperLeft.offsetX, this.RearLegUpperLeft.offsetY, this.RearLegUpperLeft.offsetZ);
  419. GlStateManager.translate(this.RearLegUpperLeft.rotationPointX * scale, this.RearLegUpperLeft.rotationPointY * scale, this.RearLegUpperLeft.rotationPointZ * scale);
  420. GlStateManager.scale(1.0F, 1.0F, 1.0F);
  421. GlStateManager.translate(-this.RearLegUpperLeft.offsetX, -this.RearLegUpperLeft.offsetY, -this.RearLegUpperLeft.offsetZ);
  422. GlStateManager.translate(-this.RearLegUpperLeft.rotationPointX * scale, -this.RearLegUpperLeft.rotationPointY * scale, -this.RearLegUpperLeft.rotationPointZ * scale);
  423. GlStateManager.enableBlend();
  424. GlStateManager.blendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA);
  425. GlStateManager.color(1.0F, 1.0F, 1.0F, 0.0F);
  426. this.RearLegUpperLeft.render(scale);
  427. GlStateManager.disableBlend();
  428. GlStateManager.popMatrix();
  429. }
  430.  
  431. public void setRotationAngles(ModelRenderer modelRenderer, float x, float y, float z) {
  432. modelRenderer.rotateAngleX = x;
  433. modelRenderer.rotateAngleY = y;
  434. modelRenderer.rotateAngleZ = z;
  435. }
  436. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement