aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/RecipeHelper.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/RecipeHelper.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
index 19d411cfd..18c074121 100644
--- a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
+++ b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
@@ -26,6 +26,10 @@ public interface RecipeHelper {
return RoughlyEnoughItemsCore.getRecipeHelper();
}
+ AutoCraftingHandler registerAutoCraftingHandler(AutoCraftingHandler handler);
+
+ List<AutoCraftingHandler> getSortedAutoCraftingHandler();
+
/**
* Gets the total recipe count registered
*
@@ -204,7 +208,7 @@ public interface RecipeHelper {
* @param liveRecipeGenerator the generator to register
* @apiNote Still work in progress
*/
- void registerLiveRecipeGenerator(LiveRecipeGenerator liveRecipeGenerator);
+ void registerLiveRecipeGenerator(LiveRecipeGenerator<?> liveRecipeGenerator);
<T extends Recipe<?>> void registerRecipes(Identifier category, Class<T> recipeClass, Function<T, RecipeDisplay> mappingFunction);