aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java')
-rw-r--r--RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
index 0be9b9e12..ba9b7701e 100644
--- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
+++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java
@@ -328,12 +328,16 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
}
@Override
- @ApiStatus.Experimental
public boolean isSubsetsEnabled() {
return functionality.isSubsetsEnabled;
}
@Override
+ public boolean isInventoryHighlightingAllowed() {
+ return functionality.allowInventoryHighlighting;
+ }
+
+ @Override
public boolean shouldResizeDynamically() {
return advanced.accessibility.resizeDynamically;
}
@@ -404,6 +408,7 @@ public class ConfigObjectImpl implements ConfigObject, ConfigData {
public static class Functionality {
@Comment("Declares whether REI should remove the recipe book.") private boolean disableRecipeBook = false;
@Comment("Declares whether subsets is enabled.") private boolean isSubsetsEnabled = false;
+ private boolean allowInventoryHighlighting = true;
}
public static class Advanced {