diff options
| author | shedaniel <daniel@shedaniel.me> | 2020-10-17 12:10:15 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2020-10-17 12:10:15 +0800 |
| commit | b7f8fc61dcaa6d202809651d46cf0946b63beef7 (patch) | |
| tree | 31ddc7dcf995a2107e28e8ab58fcce62f41155ab /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ConfigObjectImpl.java | |
| parent | cfd5c2a5b41388036b3e67f237bb8c18bf5bb1c2 (diff) | |
| download | RoughlyEnoughItems-b7f8fc61dcaa6d202809651d46cf0946b63beef7.tar.gz RoughlyEnoughItems-b7f8fc61dcaa6d202809651d46cf0946b63beef7.tar.bz2 RoughlyEnoughItems-b7f8fc61dcaa6d202809651d46cf0946b63beef7.zip | |
Close #423
Signed-off-by: shedaniel <daniel@shedaniel.me>
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.java | 7 |
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 { |
