Oceans can now be disabled in the config
This commit is contained in:
parent
6cfec0b7f7
commit
3213dfce16
2 changed files with 4 additions and 3 deletions
|
@ -75,6 +75,7 @@ public class BOPConfiguration {
|
|||
// public static boolean mushroomIslandGen;
|
||||
public static boolean mysticGroveGen;
|
||||
public static boolean oasisGen;
|
||||
public static boolean oceanGen;
|
||||
public static boolean ominousWoodsGen;
|
||||
public static boolean orchardGen;
|
||||
public static boolean originValleyGen;
|
||||
|
@ -556,6 +557,7 @@ public class BOPConfiguration {
|
|||
// mushroomIslandGen = config.get("Biomes To Generate", "MushroomIsland", true).getBoolean(false);
|
||||
mysticGroveGen = config.get("Biomes To Generate", "MysticGrove", true).getBoolean(false);
|
||||
oasisGen = config.get("Biomes To Generate", "Oasis", true).getBoolean(false);
|
||||
oceanGen = config.get("Biomes To Generate", "Ocean", true).getBoolean(false);
|
||||
ominousWoodsGen = config.get("Biomes To Generate", "OminousWoods", true).getBoolean(false);
|
||||
orchardGen = config.get("Biomes To Generate", "Orchard", true).getBoolean(false);
|
||||
originValleyGen = config.get("Biomes To Generate", "OriginValley", true).getBoolean(false);
|
||||
|
|
|
@ -1,15 +1,13 @@
|
|||
package biomesoplenty.world.layer;
|
||||
|
||||
import biomesoplenty.configuration.BOPConfiguration;
|
||||
import net.minecraft.world.gen.layer.IntCache;
|
||||
|
||||
public class BiomeLayerCreate extends BiomeLayer
|
||||
{
|
||||
private boolean ocean;
|
||||
|
||||
public BiomeLayerCreate(long par1, boolean o)
|
||||
{
|
||||
super(par1);
|
||||
ocean = o;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -17,6 +15,7 @@ public class BiomeLayerCreate extends BiomeLayer
|
|||
{
|
||||
int[] var5 = IntCache.getIntCache(par3 * par4);
|
||||
|
||||
boolean ocean = BOPConfiguration.oceanGen;
|
||||
//boolean coral = Biomes.oceanCoral.isPresent();
|
||||
//boolean kelp = Biomes.oceanKelp.isPresent();
|
||||
|
||||
|
|
Loading…
Reference in a new issue