Advertisement
Guest User

Untitled

a guest
May 26th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.52 KB | None | 0 0
  1. #Specify ids
  2. frozenOcean = forBiomes(10)
  3. frozenRiver = forBiomes(11)
  4. icePlains = forBiomes(12)
  5. iceMountain = forBiomes(13)
  6. coldTaiga = forBiomes(30)
  7. coldTaigaHills = forBiomes(31)
  8. alps = forBiomes(40)
  9. glacier1 = forBiomes(110)
  10. alpine = forBiomes(136)
  11. icePlainsSpikes = forBiomes(140
  12. glacier2 = forBiomes(143)
  13. iceWasteland = forBiomes(146)
  14. tundra = forBiomes(175)
  15.  
  16.  
  17. acceptedBiomes = forBiomes(frozenOcean, frozenRiver, icePlains, iceMountain, coldTaiga, coldTaigaHills, alps, glacier1, glacier2, alpine, iceWasteland, tundra, icePlainsSpikes)
  18.  
  19. all = forAllBiomes()
  20.  
  21. #Remove all biomes
  22. all.set("isSpawnBiome", false)
  23. all.remove()
  24.  
  25. #Add acceptedBiomes to WorldGen
  26. acceptedBiomes.addToGeneration("DESERT", 2000)
  27. acceptedBiomes.addToGeneration("WARM", 2000)
  28. acceptedBiomes.addToGeneration("COOL", 2000)
  29. acceptedBiomes.addToGeneration("ICY", 2000)
  30.  
  31. #Replace some hardcoded Biomes
  32. ocean = forBiomes(0, 24, 16, 25, 26)
  33. ocean.registerGenBiomeRep(10)
  34. swamp = forBiomes(6, 134)
  35. swamp.registerGenBiomeRep(57)
  36. plain = forBiomes(1, 129, 12)
  37. plain.registerGenBiomeRep(57)
  38. forrest = forBiomes(4, 18, 132, 27, 28, 155, 156, 29, 157)
  39. forrest.registerGenBiomeRep(57)
  40. jungle = forBiomes(21, 22, 23, 149, 151)
  41. jungle.registerGenBiomeRep(57)
  42. taiga = forBiomes(5, 19, 133, 30, 31, 158, 32, 33, 160, 161)
  43. taiga.registerGenBiomeRep(57)
  44. extremHills = forBiomes(3, 20, 34, 131, 162)
  45. extremHills.registerGenBiomeRep(13)
  46. mesa = forBiomes(37, 39, 38, 165, 167, 166)
  47. mesa.registerGenBiomeRep(13)
  48. savanna = forBiomes(35, 36, 163, 164)
  49. savanna.registerGenBiomeRep(57)
  50. desert = forBiomes(2, 17, 130)
  51. desert.registerGenBiomeRep(57)
  52. mushroom = forBiomes(14, 15)
  53. mushroom.registerGenBiomeRep(140)
  54. river = forBiomes(7)
  55. river.registerGenBiomeRep(11)
  56.  
  57. #Remove Animals and Nature
  58. taigaBiome.removeDecoration("GRASS")
  59. frozenOcean.removeDecoration("GRASS")
  60. frozenRiverremoveDecoration("GRASS")
  61. icePlains.removeDecoration("GRASS")
  62. iceMountain.removeDecoration("GRASS")
  63. coldTaiga.removeDecoration("GRASS")
  64. coldTaigaHills.removeDecoration("GRASS")
  65. alps.removeDecoration("GRASS")
  66. glacier1.removeDecoration("GRASS")
  67. alpine.removeDecoration("GRASS")
  68. glacier2.removeDecoration("GRASS")
  69. iceWasteland.removeDecoration("GRASS")
  70. tundra.removeDecoration("GRASS")
  71. icePlainsSpikes.removeDecoration("GRASS")
  72.  
  73. acceptedBiomes.removeAllSpawns("CREATURE")
  74. acceptedBiomes.removeDecoration("FLOWERS")
  75. acceptedBiomes.removeDecoration("TREE")
  76. acceptedBiomes.removeDecoration("REED")
  77. acceptedBiomes.removeDecoration("PUMPKIN")
  78. acceptedBiomes.set("genVillages", false)
  79. acceptedBiomes.set("genStrongholds", false)
  80.  
  81.  
  82. #Final weighting
  83. frozenOcean.set("genWeight", 350)
  84. frozenRiver.set("genWeight", 100)
  85. icePlains.set("genWeight", 200)
  86. iceMountain.set("genWeight", 100)
  87. coldTaiga.set("genWeight", 200)
  88. coldTaigaHills.set("genWeight", 100)
  89. alps.set("genWeight", 75)
  90. glacier1.set("genWeight", 50)
  91. alpine.set("genWeight", 75)
  92. glacier2.set("genWeight", 50)
  93. iceWasteland.set("genWeight", 200)
  94. tundra.set("genWeight", 200)
  95. icePlainsSpikes.set("genWeight", 50)
  96.  
  97.  
  98. #Set spawn possibility
  99. frozenOcean.set("isSpawnBiome", false)
  100. frozenRiver.set("isSpawnBiome", false)
  101. icePlains.set("isSpawnBiome", false)
  102. iceMountain.set("isSpawnBiome", false)
  103. coldTaiga.set("isSpawnBiome", false)
  104. coldTaigaHills.set("isSpawnBiome", false)
  105. alps.set("isSpawnBiome", false)
  106. glacier1.set("isSpawnBiome", false)
  107. alpine.set("isSpawnBiome", false)
  108. glacier2.set("isSpawnBiome", false)
  109. iceWasteland.set("isSpawnBiome", false)
  110. tundra.set("isSpawnBiome", false)
  111. icePlainsSpikes.set("isSpawnBiome", false)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement