Create Recipe Widget; Recipe GUI: Infinity Scroll; Recipe GUI: Max Height Settings

This commit is contained in:
slprime committed 2025-08-27 01:14:59 +03:00
1 parent e5d55a9bd8
commit 900d8ed828
50 files changed
+4085 -2107

No files matched your search

@@ -126,12 +126,6 @@ public interface IRecipeHandler {
return null;
}
/**
*
* @return The number of recipes that can fit on a page in the viewer (1 or 2)
*/
int recipiesPerPage();
/**
*
* @param gui An instance of the currentscreen
@@ -178,4 +172,12 @@ public interface IRecipeHandler {
default boolean mouseScrolled(GuiRecipe<?> gui, int scroll, int recipe) {
return false;
}
/**
* @deprecated
* @return The number of recipes that can fit on a page in the viewer (1 or 2)
*/
default int recipiesPerPage() {
return 2;
}
}