From 4d0b2d3f50bf56b83498a3b787ac08afaeb85eff Mon Sep 17 00:00:00 2001 From: Unknown Date: Tue, 18 Jun 2019 16:38:49 +0800 Subject: up to 4x faster search --- src/main/java/me/shedaniel/rei/api/RecipeHelper.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/main/java/me/shedaniel/rei/api/RecipeHelper.java') 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 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); > void registerRecipes(Identifier category, Class recipeClass, Function mappingFunction); -- cgit