aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
diff options
context:
space:
mode:
authorUnknown <shekwancheung0528@gmail.com>2019-08-08 00:14:44 +0800
committerUnknown <shekwancheung0528@gmail.com>2019-08-08 00:14:44 +0800
commit3a158fb836655cbf44a5a1982222bf50d4e0c42a (patch)
tree58f7bfe86b85b41a3e8bec34954303bbcb0f58eb /src/main/java/me/shedaniel/rei/api/RecipeHelper.java
parentdbfcb95826fb5d4ac2e213634d5d154b1feae8de (diff)
downloadRoughlyEnoughItems-3a158fb836655cbf44a5a1982222bf50d4e0c42a.tar.gz
RoughlyEnoughItems-3a158fb836655cbf44a5a1982222bf50d4e0c42a.tar.bz2
RoughlyEnoughItems-3a158fb836655cbf44a5a1982222bf50d4e0c42a.zip
Random Updates
Diffstat (limited to 'src/main/java/me/shedaniel/rei/api/RecipeHelper.java')
-rw-r--r--src/main/java/me/shedaniel/rei/api/RecipeHelper.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
index f70f21669..9deec1c0e 100644
--- a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
+++ b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
@@ -6,7 +6,6 @@
package me.shedaniel.rei.api;
import me.shedaniel.rei.RoughlyEnoughItemsCore;
-import me.shedaniel.rei.client.RecipeHelperImpl;
import net.minecraft.client.gui.screen.ingame.AbstractContainerScreen;
import net.minecraft.item.ItemStack;
import net.minecraft.recipe.Recipe;
@@ -215,6 +214,14 @@ public interface RecipeHelper {
<T extends Recipe<?>> void registerRecipes(Identifier category, Function<Recipe, Boolean> recipeFilter, Function<T, RecipeDisplay> mappingFunction);
- List<RecipeHelperImpl.ScreenClickArea> getScreenClickAreas();
+ List<RecipeHelper.ScreenClickArea> getScreenClickAreas();
+
+ interface ScreenClickArea {
+ Class<? extends AbstractContainerScreen> getScreenClass();
+
+ Rectangle getRectangle();
+
+ Identifier[] getCategories();
+ }
}