Added ore vein config

This commit is contained in:
modmuss50 2016-08-01 15:30:55 +01:00
parent f03fbef70e
commit bbc5a636f1
3 changed files with 12 additions and 13 deletions

View file

@ -146,6 +146,8 @@ public class ConfigTechReborn
public static boolean enableGemArmorAndTools;
public static boolean veinOres;
public static Configuration config;
private static ConfigTechReborn instance = null;
@ -199,6 +201,10 @@ public class ConfigTechReborn
.get(CATEGORY_WORLD, "Steel Ingots Loot", true, "Allow Steel Ingots to generate in loot chests")
.getBoolean(true);
veinOres = config
.get(CATEGORY_WORLD, "Custom Ore veins", false, "Use the new style GT vein ore generation - game restart required")
.getBoolean(false);
FortuneSecondaryOreMultiplierPerLevel = config.get(CATEGORY_WORLD, "FortuneSecondaryOreMultiplierPerLevel", 0.5,
"FortuneSecondaryOreMultiplierPerLevel").getDouble();