Advertisement
Guest User

Untitled

a guest
Apr 28th, 2012
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. public void generateSurface(World world, Random rand, int chunkX, int chunkZ)
  2. {
  3.  
  4. for(int a = 0; a < 30; a++)
  5. {
  6. int randPosX = chunkX + rand.nextInt(16);
  7. int randPosY = rand.nextInt(120);
  8. int randPosZ = chunkZ + rand.nextInt(16);
  9. (new WorldGenMinable(mod_tmcoresgalores.zirconore.blockID, 2)).generate(world, rand, randPosX, randPosY, randPosZ);
  10. }
  11.  
  12. for(int b = 0; b < 50; b++)
  13. {
  14. int randPosX = chunkX + rand.nextInt(16);
  15. int randPosY = rand.nextInt(40);
  16. int randPosZ = chunkZ + rand.nextInt(16);
  17. (new WorldGenMinable(mod_tmcoresgalores.fireopalore.blockID, 2)).generate(world, rand, randPosX, randPosY, randPosZ);
  18. }
  19.  
  20. for(int i1 = 0; i1 < 40; i1++)
  21. {
  22. int randPosX = chunkX + rand.nextInt(13);
  23. int randPosY = rand.nextInt(50);
  24. int randPosZ = chunkZ + rand.nextInt(13);
  25. (new WorldGenMinable(mod_tmcoresgalores.volcanicroseore.blockID, 3)).generate(world, rand, randPosX, randPosY, randPosZ);
  26. }
  27.  
  28. for(int j1 = 0; j1 < 50; j1++)
  29. {
  30. int randPosX = chunkX + rand.nextInt(10);
  31. int randPosY = rand.nextInt(120);
  32. int randPosZ = chunkZ + rand.nextInt(10);
  33. (new WorldGenMinable(mod_tmcoresgalores.blackmicaore.blockID, 5)).generate(world, rand, randPosX, randPosY, randPosZ);
  34. }
  35.  
  36. for(int k1 = 0; k1 < 30; k1++)
  37. {
  38. int randPosX = chunkX + rand.nextInt(16);
  39. int randPosY = rand.nextInt(80);
  40. int randPosZ = chunkZ + rand.nextInt(16);
  41. (new WorldGenMinable(mod_tmcoresgalores.zinciteore.blockID, 2)).generate(world, rand, randPosX, randPosY, randPosZ);
  42. }
  43.  
  44. for(int k2 = 0; k2 < 30; k2++)
  45. {
  46. int randPosX = chunkX + rand.nextInt(16);
  47. int randPosY = rand.nextInt(75);
  48. int randPosZ = chunkZ + rand.nextInt(16);
  49. (new WorldGenMinable(mod_tmcoresgalores.chrysocollaore.blockID, 1)).generate(world, rand, randPosX, randPosY, randPosZ);
  50. }
  51.  
  52. for(int k3 = 0; k3 < 30; k3++)
  53. {
  54. int randPosX = chunkX + rand.nextInt(16);
  55. int randPosY = rand.nextInt(64);
  56. int randPosZ = chunkZ + rand.nextInt(16);
  57. (new WorldGenMinable(mod_tmcoresgalores.erythriteore.blockID, 2)).generate(world, rand, randPosX, randPosY, randPosZ);
  58. }
  59.  
  60. for(int l1 = 0; l1< 30; l1++)
  61. {
  62. int randPosX = chunkX + rand.nextInt(16);
  63. int randPosY = rand.nextInt(30);
  64. int randPosZ = chunkZ + rand.nextInt(16);
  65. (new WorldGenMinable(mod_tmcoresgalores.flouriteore.blockID, 2)).generate(world, rand, randPosX, randPosY, randPosZ);
  66. }
  67.  
  68. for(int l2 = 0; l2 < 30; l2++)
  69. {
  70. int randPosX = chunkX + rand.nextInt(16);
  71. int randPosY = rand.nextInt(90);
  72. int randPosZ = chunkZ + rand.nextInt(16);
  73. (new WorldGenMinable(mod_tmcoresgalores.sturmaniteore.blockID, 2)).generate(world, rand, randPosX, randPosY, randPosZ);
  74. }
  75.  
  76. for(int k = 0; k < 30; k++)
  77. {
  78. int randPosX = chunkX + rand.nextInt(12);
  79. int randPosY = rand.nextInt(128);
  80. int randPosZ = chunkZ + rand.nextInt(12);
  81. (new WorldGenMinable(mod_tmcoresgalores.hydrocerussiteore.blockID, 3)).generate(world, rand, randPosX, randPosY, randPosZ);
  82. }
  83.  
  84. for(int i2 = 0; i2 < 40; i2++)
  85. {
  86. int randPosX = chunkX + rand.nextInt(10);
  87. int randPosY = rand.nextInt(50);
  88. int randPosZ = chunkZ + rand.nextInt(10);
  89. (new WorldGenMinable(mod_tmcoresgalores.foolsgoldore.blockID, 2)).generate(world, rand, randPosX, randPosY, randPosZ);
  90. }
  91.  
  92. for(int j3 = 0; j3 < 30; j3++)
  93. {
  94. int randPosX = chunkX + rand.nextInt(10);
  95. int randPosY = rand.nextInt(55);
  96. int randPosZ = chunkZ + rand.nextInt(10);
  97. (new WorldGenMinable(mod_tmcoresgalores.silverore.blockID, 3)).generate(world, rand, randPosX, randPosY, randPosZ);
  98. }
  99.  
  100. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement