public static class ExtendableRecipeCategoryHelper.RecipeHandler<T,W extends IRecipeCategoryExtension>
extends java.lang.Object
Constructor and Description |
---|
RecipeHandler(java.lang.Class<? extends T> recipeClass,
java.util.function.Predicate<T> filter,
java.util.function.Function<T,W> factory) |
Modifier and Type | Method and Description |
---|---|
W |
apply(T t) |
java.lang.Class<? extends T> |
getRecipeClass() |
boolean |
test(T t) |