Advertisement
Guest User

ModelTronCycle3.java

a guest
Sep 12th, 2014
233
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. //This File was created with the Minecraft-SMP Modelling Toolbox 2.0.0.0
  2. // Copyright (C) 2014 Minecraft-SMP.de
  3. // This file is for Flan's Flying Mod Version 4.0.x+
  4.  
  5. package com.flansmod.client.model.TronCycle3;
  6.  
  7. import com.flansmod.client.model.ModelVehicle;
  8. import com.flansmod.client.tmt.Coord2D;
  9. import com.flansmod.client.tmt.ModelRendererTurbo;
  10. import com.flansmod.client.tmt.Shape2D;
  11.  
  12. public class ModelTronCycle3 extends ModelVehicle
  13. {
  14. int textureX = 512;
  15. int textureY = 512;
  16.  
  17. public ModelTronCycle3()
  18. {
  19. bodyModel = new ModelRendererTurbo[10];
  20. bodyModel[0] = new ModelRendererTurbo(this, 14, 130, textureX, textureY);
  21. bodyModel[1] = new ModelRendererTurbo(this, 14, 145, textureX, textureY);
  22. bodyModel[2] = new ModelRendererTurbo(this, 14, 163, textureX, textureY);
  23. bodyModel[3] = new ModelRendererTurbo(this, 14, 178, textureX, textureY);
  24. bodyModel[4] = new ModelRendererTurbo(this, 14, 193, textureX, textureY);
  25. bodyModel[5] = new ModelRendererTurbo(this, 14, 207, textureX, textureY);
  26. bodyModel[6] = new ModelRendererTurbo(this, 14, 325, textureX, textureY);
  27. bodyModel[7] = new ModelRendererTurbo(this, 14, 392, textureX, textureY);
  28. bodyModel[8] = new ModelRendererTurbo(this, 14, 357, textureX, textureY);
  29. bodyModel[9] = new ModelRendererTurbo(this, 14, 375, textureX, textureY);
  30.  
  31. bodyModel[0].addBox(-9F, 0F, 0F, 30, 1, 12, 0F); // Floorboard
  32. bodyModel[0].setRotationPoint(-7F, -4F, -6F);
  33.  
  34. bodyModel[1].addBox(0F, 0F, 0F, 30, 7, 10, 0F); // SeatMainBlock
  35. bodyModel[1].setRotationPoint(-16F, -11F, -5F);
  36.  
  37. bodyModel[2].addBox(0F, 0F, 0F, 5, 3, 10, 0F); // SeatRearBlock
  38. bodyModel[2].setRotationPoint(-16F, -14F, -5F);
  39.  
  40. bodyModel[3].addBox(0F, 0F, -6F, 5, 3, 10, 0F); // SeatRearSlope
  41. bodyModel[3].setRotationPoint(-11F, -14F, 1F);
  42. bodyModel[3].rotateAngleZ = -0.66322512F;
  43.  
  44. bodyModel[4].addBox(0F, 0F, 0F, 4, 2, 10, 0F); // SeatFrontBlock
  45. bodyModel[4].setRotationPoint(10F, -13F, -5F);
  46.  
  47. bodyModel[5].addBox(-10F, 0F, 0F, 10, 2, 10, 0F); // SeatFrontSlope
  48. bodyModel[5].setRotationPoint(10F, -13F, -5F);
  49. bodyModel[5].rotateAngleZ = 0.20943951F;
  50.  
  51. bodyModel[6].addBox(0F, 0F, 0F, 2, 16, 14, 0F); // RearWheelForward
  52. bodyModel[6].setRotationPoint(-18F, -16F, -7F);
  53.  
  54. bodyModel[7].addBox(0F, 0F, 0F, 2, 16, 14, 0F); // RearWheelBack
  55. bodyModel[7].setRotationPoint(-34F, -16F, -7F);
  56.  
  57. bodyModel[8].addBox(0F, 0F, 0F, 14, 2, 14, 0F); // RearWheelBottom
  58. bodyModel[8].setRotationPoint(-32F, -2F, -7F);
  59.  
  60. bodyModel[9].addBox(0F, 0F, 0F, 14, 2, 14, 0F); // RearWheelTop
  61. bodyModel[9].setRotationPoint(-32F, -16F, -7F);
  62.  
  63.  
  64. steeringWheelModel = new ModelRendererTurbo[6];
  65. steeringWheelModel[0] = new ModelRendererTurbo(this, 14, 317, textureX, textureY);
  66. steeringWheelModel[1] = new ModelRendererTurbo(this, 14, 321, textureX, textureY);
  67. steeringWheelModel[2] = new ModelRendererTurbo(this, 14, 221, textureX, textureY);
  68. steeringWheelModel[3] = new ModelRendererTurbo(this, 14, 252, textureX, textureY);
  69. steeringWheelModel[4] = new ModelRendererTurbo(this, 14, 269, textureX, textureY);
  70. steeringWheelModel[5] = new ModelRendererTurbo(this, 14, 286, textureX, textureY);
  71.  
  72. steeringWheelModel[0].addBox(-1F, 5F, -9F, 5, 1, 2, 0F); // HandlebarRight
  73. steeringWheelModel[0].setRotationPoint(14F, -16F, 0F);
  74. steeringWheelModel[0].rotateAngleZ = -0.40142573F;
  75.  
  76. steeringWheelModel[1].addBox(-1F, 5F, 7F, 5, 1, 2, 0F); // HandlebarLeft
  77. steeringWheelModel[1].setRotationPoint(14F, -16F, 0F);
  78. steeringWheelModel[1].rotateAngleZ = -0.40142573F;
  79.  
  80. steeringWheelModel[2].addBox(0F, 0F, -7F, 2, 16, 14, 0F); // FrontWheelBack
  81. steeringWheelModel[2].setRotationPoint(14F, -16F, 0F);
  82.  
  83. steeringWheelModel[3].addBox(2F, 0F, -7F, 14, 2, 14, 0F); // FrontWheelTop
  84. steeringWheelModel[3].setRotationPoint(14F, -16F, 0F);
  85.  
  86. steeringWheelModel[4].addBox(2F, 14F, -7F, 14, 2, 14, 0F); // FrontWheelBottom
  87. steeringWheelModel[4].setRotationPoint(14F, -16F, 0F);
  88.  
  89. steeringWheelModel[5].addBox(16F, 0F, -7F, 2, 16, 14, 0F); // FrontWheelForward
  90. steeringWheelModel[5].setRotationPoint(14F, -16F, 0F);
  91.  
  92.  
  93.  
  94. translateAll(0F, 0F, 0F);
  95.  
  96.  
  97. flipAll();
  98. }
  99. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement