Add recipe chance to bookmarks (#903)

This commit is contained in:
slprime authored and GitHub committed 2026-03-30 20:36:55 +03:00
1 parent b60769864f
commit 10a3109714
20 files changed
+586 -327

No files matched your search

@@ -266,6 +266,9 @@ public class NEIClientConfig {
tag.getTag("inventory.guirecipe.profile").getBooleanValue(false);
API.addOption(new OptionToggleButton("inventory.guirecipe.profile", true));
tag.getTag("inventory.guirecipe.chance").getBooleanValue(false);
API.addOption(new OptionToggleButton("inventory.guirecipe.chance", true));
tag.getTag("inventory.guirecipe.handlerInfo").setComment("ADVANCED: Handler Info Widget")
.getBooleanValue(false);
API.addOption(new OptionToggleButton("inventory.guirecipe.handlerInfo", true));
@@ -1140,6 +1143,10 @@ public class NEIClientConfig {
return getBooleanSetting("inventory.guirecipe.shiftOverlayRecipe");
}
public static boolean showRecipeItemChances() {
return getBooleanSetting("inventory.guirecipe.chance");
}
public static boolean isEnabled() {
return enabledOverride && getBooleanSetting("inventory.widgetsenabled");
}