Commenting out unused (as of yet) config options
This commit is contained in:
parent
4b1916e3f3
commit
fae2540ef1
|
@ -21,8 +21,6 @@ public class BOPBiomeHelper
|
|||
|
||||
public static BiomeGenBase get(String name)
|
||||
{
|
||||
for (String key : biomeList.keySet()) System.out.println(key);
|
||||
|
||||
return biomeList.get(name).biome;
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ public class BOPConfigurationMisc
|
|||
public static Configuration config;
|
||||
|
||||
public static boolean skyColors;
|
||||
public static boolean achievements;
|
||||
//public static boolean achievements;
|
||||
public static boolean dungeonLoot;
|
||||
|
||||
public static boolean amethystTools;
|
||||
|
@ -24,9 +24,9 @@ public class BOPConfigurationMisc
|
|||
public static boolean enderporterCrafting;
|
||||
public static boolean dartCrafting;
|
||||
public static boolean flowerbandCrafting;
|
||||
public static boolean hotSpringsRegeneration;
|
||||
//public static boolean hotSpringsRegeneration;
|
||||
|
||||
public static int promisedLandSkyColor;
|
||||
//public static int promisedLandSkyColor;
|
||||
|
||||
public static int spawnSearchRadius;
|
||||
public static boolean onlySpawnOnBeaches;
|
||||
|
@ -39,9 +39,9 @@ public class BOPConfigurationMisc
|
|||
{
|
||||
config.load();
|
||||
|
||||
achievements = config.get("Miscellanious Settings", "Add Biomes O\' Plenty Achievements", true).getBoolean(false);
|
||||
//achievements = config.get("Miscellanious Settings", "Add Biomes O\' Plenty Achievements", true).getBoolean(false);
|
||||
dungeonLoot = config.get("Miscellanious Settings", "Add Custom Dungeon Loot", true).getBoolean(false);
|
||||
hotSpringsRegeneration = config.get("Miscellanious Settings", "Enable Spring Water Regeneration Effect", true).getBoolean(true);
|
||||
//hotSpringsRegeneration = config.get("Miscellanious Settings", "Enable Spring Water Regeneration Effect", true).getBoolean(true);
|
||||
|
||||
amethystTools = config.get("Crafting Settings", "Enable Amethyst Tool/Armor Crafting", true).getBoolean(true);
|
||||
mudTools = config.get("Crafting Settings", "Enable Mud Tool/Armor Crafting", true).getBoolean(true);
|
||||
|
@ -58,7 +58,7 @@ public class BOPConfigurationMisc
|
|||
if (spawnSearchRadius < 256) spawnSearchRadius = 256;
|
||||
onlySpawnOnBeaches = config.get("Spawn Settings", "Only Spawn On Beaches", true).getBoolean(true);
|
||||
|
||||
promisedLandSkyColor = config.get("Hard-Coded Colors", "Promised Land Sky Color", 5883101, null).getInt();
|
||||
//promisedLandSkyColor = config.get("Hard-Coded Colors", "Promised Land Sky Color", 5883101, null).getInt();
|
||||
|
||||
FMLCommonHandler.instance().getFMLLogger().log(Level.INFO, "[BiomesOPlenty] Generated Misc Config!");
|
||||
}
|
||||
|
|
|
@ -15,10 +15,10 @@ public class BOPConfigurationTerrainGen
|
|||
|
||||
public static int biomeSize;
|
||||
//public static boolean addToDefault;
|
||||
public static boolean vanillaEnhanced;
|
||||
public static boolean netherOverride;
|
||||
//public static boolean vanillaEnhanced;
|
||||
//public static boolean netherOverride;
|
||||
|
||||
public static int landmassPercentage;
|
||||
//public static int landmassPercentage;
|
||||
|
||||
public static void init(File configFile)
|
||||
{
|
||||
|
@ -30,10 +30,10 @@ public class BOPConfigurationTerrainGen
|
|||
|
||||
biomeSize = config.get("Biomes O\' Plenty World Type Settings", "Biome Size", 4, "Default World Type has 4. Large Biomes World Type has 6.").getInt(4);
|
||||
//addToDefault = config.get("Biome Settings", "Add Biomes To Default World", false).getBoolean(true);
|
||||
vanillaEnhanced = config.get("Biome Settings", "Enhanced Vanilla Biomes", true).getBoolean(false);
|
||||
netherOverride = config.get("Dimension Settings", "Enable Nether Override", true).getBoolean(true);
|
||||
//vanillaEnhanced = config.get("Biome Settings", "Enhanced Vanilla Biomes", true).getBoolean(false);
|
||||
//netherOverride = config.get("Dimension Settings", "Enable Nether Override", true).getBoolean(true);
|
||||
|
||||
landmassPercentage = config.get("Biomes O\' Plenty World Type Settings", "Landmass Percentage", 10, "In Vanilla it is set to 10. Takes values from 0 to 100.").getInt();
|
||||
//landmassPercentage = config.get("Biomes O\' Plenty World Type Settings", "Landmass Percentage", 10, "In Vanilla it is set to 10. Takes values from 0 to 100.").getInt();
|
||||
|
||||
FMLCommonHandler.instance().getFMLLogger().log(Level.INFO, "[BiomesOPlenty] Generated Terrain Gen Config!");
|
||||
}
|
||||
|
|
|
@ -13,11 +13,11 @@ public class BiomeSizeEventHandler
|
|||
{
|
||||
event.newSize = (byte)BOPConfigurationTerrainGen.biomeSize;
|
||||
|
||||
if (BOPConfigurationTerrainGen.netherOverride)
|
||||
{
|
||||
//if (BOPConfigurationTerrainGen.netherOverride)
|
||||
//{
|
||||
//DimensionManager.unregisterProviderType(-1);
|
||||
//DimensionManager.registerProviderType(-1, WorldProviderBOPhell.class, true);
|
||||
}
|
||||
//}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue