From bc0d953aacf8e79dcc4036dd42ee030fa14dd91a Mon Sep 17 00:00:00 2001 From: Matt Caughey Date: Tue, 5 Nov 2013 21:44:43 -0500 Subject: [PATCH] Added Jacaranda trees to the Mystic Grove --- common/biomesoplenty/biomes/BiomeGenMysticGrove.java | 4 ++-- common/biomesoplenty/biomes/BiomeGenMysticGroveThin.java | 3 ++- .../configuration/configfile/BOPConfigurationMisc.java | 6 +++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/common/biomesoplenty/biomes/BiomeGenMysticGrove.java b/common/biomesoplenty/biomes/BiomeGenMysticGrove.java index edce971fd..ce63f17c9 100644 --- a/common/biomesoplenty/biomes/BiomeGenMysticGrove.java +++ b/common/biomesoplenty/biomes/BiomeGenMysticGrove.java @@ -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))))); } /** diff --git a/common/biomesoplenty/biomes/BiomeGenMysticGroveThin.java b/common/biomesoplenty/biomes/BiomeGenMysticGroveThin.java index dc7ab89c9..211e8052d 100644 --- a/common/biomesoplenty/biomes/BiomeGenMysticGroveThin.java +++ b/common/biomesoplenty/biomes/BiomeGenMysticGroveThin.java @@ -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))))); } /** diff --git a/common/biomesoplenty/configuration/configfile/BOPConfigurationMisc.java b/common/biomesoplenty/configuration/configfile/BOPConfigurationMisc.java index 4a77737a7..5c1ca6674 100644 --- a/common/biomesoplenty/configuration/configfile/BOPConfigurationMisc.java +++ b/common/biomesoplenty/configuration/configfile/BOPConfigurationMisc.java @@ -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!"); }