Advertisement
Guest User

Untitled

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