mirror of
https://github.com/GTNewHorizons/NotEnoughItems.git
synced 2026-11-17 11:05:07 +00:00
Recipe search improvement (#706)
Co-authored-by: Martin Robertz <[email protected]>
This commit is contained in:
1 parent
bba0a11466
commit
b1bedcf403
38 files changed
+733
-664
No files matched your search
@@ -37,12 +37,8 @@ class SearchRecipeHandler<H extends IRecipeHandler> {
|
||||
}
|
||||
}
|
||||
|
||||
protected static boolean mathRecipe(IRecipeHandler handler, int recipe, IRecipeFilter filter) {
|
||||
return filter.matches(
|
||||
handler,
|
||||
handler.getIngredientStacks(recipe),
|
||||
handler.getResultStack(recipe),
|
||||
handler.getOtherStacks(recipe));
|
||||
protected static boolean mathRecipe(IRecipeHandler handler, int recipeIndex, IRecipeFilter filter) {
|
||||
return filter.matches(handler, recipeIndex);
|
||||
}
|
||||
|
||||
public boolean searchingAvailable() {
|
||||
|
||||
Reference in new issue
Block a user