generated from tilera/1710mod
fix: generate Silverwood in classic worlds
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
e5587ebd31
commit
3db4a140e3
|
@ -35,7 +35,7 @@ public abstract class MixinThaumcraftWorldGenerator {
|
||||||
int z = chunkZ * 16 + random.nextInt(16);
|
int z = chunkZ * 16 + random.nextInt(16);
|
||||||
int y = world.getHeightValue(x, z);
|
int y = world.getHeightValue(x, z);
|
||||||
BiomeGenBase bio = world.getBiomeGenForCoords(x, z);
|
BiomeGenBase bio = world.getBiomeGenForCoords(x, z);
|
||||||
if (bio.equals(ThaumcraftWorldGenerator.biomeMagicalForest) || bio.equals(ThaumcraftWorldGenerator.biomeTaint) || !BiomeDictionary.isBiomeOfType(bio, Type.MAGICAL) && bio.biomeID != BiomeGenBase.forestHills.biomeID && bio.biomeID != BiomeGenBase.birchForestHills.biomeID) {
|
if (bio.equals(ThaumcraftWorldGenerator.biomeMagicalForest) || bio.equals(ThaumcraftWorldGenerator.biomeTaint) || !BiomeDictionary.isBiomeOfType(bio, Type.MAGICAL) && BiomeDictionary.isBiomeOfType(bio, Type.FOREST)) {
|
||||||
return false;
|
return false;
|
||||||
} else if (dev.tilera.auracore.Config.replaceSilverwood) {
|
} else if (dev.tilera.auracore.Config.replaceSilverwood) {
|
||||||
boolean t = (new WorldGenSilverwoodTreesOld(false)).generate(world, random, x, y, z);
|
boolean t = (new WorldGenSilverwoodTreesOld(false)).generate(world, random, x, y, z);
|
||||||
|
|
Loading…
Reference in New Issue