Config for ICompatibility

This commit is contained in:
Nick 2015-12-02 13:28:50 -08:00
parent 349efbd510
commit 72d4c5e135
5 changed files with 22 additions and 2 deletions

View file

@ -87,6 +87,9 @@ public class ConfigHandler {
public static boolean vanillaPotionHealthBoostEnabled;
public static boolean vanillaPotionAbsorptionEnabled;
// Compat
public static boolean compatibilityJustEnoughItems;
public static void init(File file) {
config = new Configuration(file);
syncConfig();
@ -171,6 +174,10 @@ public class ConfigHandler {
config.addCustomCategoryComment(category, "General settings");
BloodMagicAPI.setLoggingEnabled(config.getBoolean("enableLogging", category, true, "Allows logging information to the console. Fatal errors will bypass this"));
category = "Compatibility";
config.addCustomCategoryComment(category, "Compatibility settings");
compatibilityJustEnoughItems = config.getBoolean("compatibilityJustEnoughItems", category, true, "Enables the JEI recipe categories for specialized recipes.");
config.save();
}