diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-06-06 20:13:29 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-06-06 20:13:29 +0800 |
| commit | 23698d1218bb325596ead0736a7a0636c7796ad7 (patch) | |
| tree | 8283f7bd34518b17560dab9bd8c84d68529c2892 /src/main/java/me/shedaniel/rei/api/RecipeHelper.java | |
| parent | db368a5149b38934e2585ca4ddd75b427d84b8b4 (diff) | |
| download | RoughlyEnoughItems-23698d1218bb325596ead0736a7a0636c7796ad7.tar.gz RoughlyEnoughItems-23698d1218bb325596ead0736a7a0636c7796ad7.tar.bz2 RoughlyEnoughItems-23698d1218bb325596ead0736a7a0636c7796ad7.zip | |
better api for whatever reason
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/RecipeHelper.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/api/RecipeHelper.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java index cb5e3684f..cfbda23f0 100644 --- a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java +++ b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java @@ -211,4 +211,6 @@ public interface RecipeHelper { void registerLiveRecipeGenerator(LiveRecipeGenerator liveRecipeGenerator); <T extends Recipe<?>> void registerRecipes(Identifier category, Class<T> recipeClass, Function<T, RecipeDisplay> mappingFunction); + + <T extends Recipe<?>> void registerRecipes(Identifier category, Function<Recipe, Boolean> recipeFilter, Function<T, RecipeDisplay> mappingFunction); } |
