mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-22 13:09:45 +00:00
Fix Collapsed Recipes in Bookmarks (#905)
This commit is contained in:
1 parent
10a3109714
commit
bcc25d4369
10 files changed
+59
-48
No files matched your search
@@ -30,6 +30,7 @@ public class HandlerInfo {
|
||||
private boolean multipleWidgetsAllowed = false;
|
||||
private boolean showFavoritesButton = true;
|
||||
private boolean showOverlayButton = true;
|
||||
private boolean showChanceInfo = true;
|
||||
private boolean useCustomScroll = false;
|
||||
|
||||
private ItemStack itemStack = null;
|
||||
@@ -142,6 +143,14 @@ public class HandlerInfo {
|
||||
this.showOverlayButton = showOverlayButton;
|
||||
}
|
||||
|
||||
public boolean getShowChanceInfo() {
|
||||
return this.showChanceInfo;
|
||||
}
|
||||
|
||||
public void setShowChanceInfo(boolean showChanceInfo) {
|
||||
this.showChanceInfo = showChanceInfo;
|
||||
}
|
||||
|
||||
public boolean getUseCustomScroll() {
|
||||
return this.useCustomScroll;
|
||||
}
|
||||
@@ -216,6 +225,11 @@ public class HandlerInfo {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder setShowChanceInfo(boolean showChanceInfo) {
|
||||
this.info.showChanceInfo = showChanceInfo;
|
||||
return this;
|
||||
}
|
||||
|
||||
@Deprecated
|
||||
public Builder setMaxRecipesPerPage(int maxRecipesPerPage) {
|
||||
this.info.multipleWidgetsAllowed = maxRecipesPerPage > 1;
|
||||
|
||||
Reference in new issue
Block a user