mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-17 02:55:04 +00:00
Slot Highlighting Overlay Option (#458)
* Add option to highlight the entire slot instead of showing an icon for recipe overlay * Move skip to full slot highlight only
This commit is contained in:
1 parent
94ca7f3134
commit
db1fd255bb
4 files changed
+30
-4
No files matched your search
@@ -289,6 +289,11 @@ public class NEIClientConfig {
|
||||
.setComment("Require holding shift to move items when overlaying recipe").getBooleanValue(true);
|
||||
API.addOption(new OptionToggleButton("inventory.shift_overlay_recipe", true));
|
||||
|
||||
tag.getTag("inventory.slotHighlight")
|
||||
.setComment("Highlight the entire slot instead of just showing an icon for the recipe overlay")
|
||||
.getBooleanValue(true);
|
||||
API.addOption(new OptionToggleButton("inventory.slotHighlight", true));
|
||||
|
||||
tag.getTag("tools.handler_load_from_config").setComment("ADVANCED: Load handlers from config")
|
||||
.getBooleanValue(false);
|
||||
API.addOption(new OptionToggleButton("tools.handler_load_from_config", true) {
|
||||
@@ -629,6 +634,10 @@ public class NEIClientConfig {
|
||||
return getBooleanSetting("inventory.shift_overlay_recipe");
|
||||
}
|
||||
|
||||
public static boolean isSlotHighlightEnabled() {
|
||||
return getBooleanSetting("inventory.slotHighlight");
|
||||
}
|
||||
|
||||
public static boolean isEnabled() {
|
||||
return enabledOverride && getBooleanSetting("inventory.widgetsenabled");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user