Package hiiragi283.lib.recipe.cache
Class HTSingleInputRecipeCache
-
- All Implemented Interfaces:
public abstract class HTSingleInputRecipeCache<INPUT extends Object, RECIPE extends Predicate<INPUT>> extends HTBasicRecipeCache<RECIPE>
-
-
Constructor Summary
Constructors Constructor Description HTSingleInputRecipeCache(HTRecipeLookup<RECIPE> lookup)
-
Method Summary
Modifier and Type Method Description final RECIPEfindFirstRecipe(INPUT input, ServerLevel level)final RECIPEfindFirstRecipe(INPUT input, ContextMap context)final HTRecipeHolder<RECIPE>findFirstHolder(INPUT input, ContextMap context)-
-
Constructor Detail
-
HTSingleInputRecipeCache
HTSingleInputRecipeCache(HTRecipeLookup<RECIPE> lookup)
-
-
Method Detail
-
findFirstRecipe
final RECIPE findFirstRecipe(INPUT input, ServerLevel level)
-
findFirstRecipe
final RECIPE findFirstRecipe(INPUT input, ContextMap context)
-
findFirstHolder
final HTRecipeHolder<RECIPE> findFirstHolder(INPUT input, ContextMap context)
-
-
-
-