mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 07:13:14 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6d64513e59 | ||
|
|
8232130bb2 | ||
|
|
3794eaa8bd |
No files matched your search
+9
-9
@@ -23,20 +23,20 @@
|
||||
*/
|
||||
|
||||
dependencies {
|
||||
api("com.github.GTNewHorizons:waila:1.5.22:dev")
|
||||
api("com.github.GTNewHorizons:CodeChickenLib:1.1.5.7:dev")
|
||||
api("com.github.GTNewHorizons:NotEnoughItems:2.3.21-GTNH:dev")
|
||||
api("com.github.GTNewHorizons:waila:1.5.24:dev")
|
||||
api("com.github.GTNewHorizons:CodeChickenLib:1.1.8:dev")
|
||||
api("com.github.GTNewHorizons:NotEnoughItems:2.3.43-GTNH:dev")
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.41.242:dev") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:GT5-Unofficial:5.09.42.51:dev") {transitive = false }
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:Botania:1.9.14-GTNH:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:ForestryMC:4.5.6:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.3.1:dev") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:Botania:1.9.16-GTNH:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:ForestryMC:4.6.5:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:ForgeMultipart:1.3.2:dev") {transitive = false }
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:Chisel:2.10.16-GTNH:api") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:Chisel:2.10.17-GTNH:api") {transitive = false }
|
||||
|
||||
compileOnly("com.github.GTNewHorizons:ZenScript:1.0.0-GTNH") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.2.9:dev") {transitive = false }
|
||||
compileOnly("com.github.GTNewHorizons:CraftTweaker:3.2.11:dev") {transitive = false }
|
||||
|
||||
compileOnly("thaumcraft:Thaumcraft:1.7.10-4.2.3.5:dev") {transitive = false }
|
||||
compileOnly("curse.maven:guide-api-228832:2287185") {transitive = false }
|
||||
|
||||
+1
-4
@@ -214,7 +214,6 @@ public class RitualEffectBiomeChanger extends RitualEffect {
|
||||
boolean wantsRain = true;
|
||||
int biomeID = 1;
|
||||
BiomeGenBase[] biomeList = BiomeGenBase.getBiomeGenArray();
|
||||
int iteration = 0;
|
||||
|
||||
for (BiomeGenBase biome : biomeList) {
|
||||
if (biome == null) {
|
||||
@@ -227,15 +226,13 @@ public class RitualEffectBiomeChanger extends RitualEffect {
|
||||
humidity = Math.min(2.0f, Math.max(0.0f, humidity));
|
||||
|
||||
if (Math.abs(rainfall - humidity) < acceptableRange && Math.abs(temperature - temp) < acceptableRange) {
|
||||
biomeID = iteration;
|
||||
biomeID = biome.biomeID;
|
||||
if (biomeSkip == 0) {
|
||||
break;
|
||||
} else {
|
||||
biomeSkip--;
|
||||
}
|
||||
}
|
||||
|
||||
iteration++;
|
||||
}
|
||||
|
||||
// Default to Plains if too much biome skip is used
|
||||
|
||||
Reference in new issue
Block a user