Added Jacaranda trees to the Mystic Grove

This commit is contained in:
Matt Caughey 2013-11-05 21:44:43 -05:00
parent 1f43271faf
commit bc0d953aac
3 changed files with 7 additions and 6 deletions

View file

@ -14,7 +14,7 @@ import biomesoplenty.configuration.configfile.BOPConfigurationMain;
import biomesoplenty.configuration.configfile.BOPConfigurationMisc;
import biomesoplenty.interfaces.IBOPFog;
import biomesoplenty.worldgen.realtree.WorldGenRealMagic;
import biomesoplenty.worldgen.tree.WorldGenMystic1;
import biomesoplenty.worldgen.tree.WorldGenJacaranda;
import biomesoplenty.worldgen.tree.WorldGenMystic2;
import biomesoplenty.worldgen.tree.WorldGenSwampTall;
@ -68,7 +68,7 @@ public class BiomeGenMysticGrove extends BiomeGenBase implements IBOPFog
return new WorldGenRealMagic();
}
return par1Random.nextInt(4) == 0 ? new WorldGenMystic2(false) : (par1Random.nextInt(3) == 0 ? this.worldGeneratorBigTree : ((par1Random.nextInt(8) == 0 ? new WorldGenSwampTall() : this.worldGeneratorTrees)));
return par1Random.nextInt(4) == 0 ? new WorldGenMystic2(false) : (par1Random.nextInt(3) == 0 ? new WorldGenJacaranda(false) : ((par1Random.nextInt(3) == 0 ? this.worldGeneratorBigTree : ((par1Random.nextInt(8) == 0 ? new WorldGenSwampTall() : this.worldGeneratorTrees)))));
}
/**

View file

@ -14,6 +14,7 @@ import biomesoplenty.configuration.configfile.BOPConfigurationMain;
import biomesoplenty.configuration.configfile.BOPConfigurationMisc;
import biomesoplenty.interfaces.IBOPFog;
import biomesoplenty.worldgen.realtree.WorldGenRealMagic;
import biomesoplenty.worldgen.tree.WorldGenJacaranda;
import biomesoplenty.worldgen.tree.WorldGenMystic1;
import biomesoplenty.worldgen.tree.WorldGenMystic2;
import biomesoplenty.worldgen.tree.WorldGenSwampTall;
@ -68,7 +69,7 @@ public class BiomeGenMysticGroveThin extends BiomeGenBase implements IBOPFog
return new WorldGenRealMagic();
}
return par1Random.nextInt(3) == 0 ? new WorldGenMystic2(false) : (par1Random.nextInt(6) == 0 ? this.worldGeneratorBigTree : ((par1Random.nextInt(6) == 0 ? new WorldGenSwampTall() : this.worldGeneratorTrees)));
return par1Random.nextInt(4) == 0 ? new WorldGenMystic2(false) : (par1Random.nextInt(2) == 0 ? new WorldGenJacaranda(false) : ((par1Random.nextInt(6) == 0 ? this.worldGeneratorBigTree : ((par1Random.nextInt(5) == 0 ? new WorldGenSwampTall() : this.worldGeneratorTrees)))));
}
/**

View file

@ -59,9 +59,9 @@ public class BOPConfigurationMisc
promisedLandSkyColor = config.get("Hard-Coded Colors", "Promised Land Sky Color", 50175, null).getInt();
grassColourSmoothingArea = config.get("Biome Transition Colour Smoothing", "Grass Colour Smoothing Area", 5, "In Vanilla this is 1.").getInt();
leavesColourSmoothingArea = config.get("Biome Transition Colour Smoothing", "Leaves Colour Smoothing Area", 5, "In Vanilla this is 1.").getInt();
waterColourSmoothingArea = config.get("Biome Transition Colour Smoothing", "Water Colour Smoothing Area", 5, "In Vanilla this is 1.").getInt();
grassColourSmoothingArea = config.get("Biome Transition Colour Smoothing", "Grass Colour Smoothing Area", 1, "In Vanilla this is 1. Set to 5 for optimal smoothing").getInt();
leavesColourSmoothingArea = config.get("Biome Transition Colour Smoothing", "Leaves Colour Smoothing Area", 1, "In Vanilla this is 1. Set to 5 for optimal smoothing").getInt();
waterColourSmoothingArea = config.get("Biome Transition Colour Smoothing", "Water Colour Smoothing Area", 1, "In Vanilla this is 1. Set to 5 for optimal smoothing").getInt();
FMLCommonHandler.instance().getFMLLogger().log(Level.INFO, "[BiomesOPlenty] Generated Misc Config!");
}