Config for ICompatibility
This commit is contained in:
parent
349efbd510
commit
72d4c5e135
5 changed files with 22 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue