aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-05-09 00:26:18 +0800
committershedaniel <daniel@shedaniel.me>2020-05-09 00:26:18 +0800
commitc27630f0c0eb7e5084f28139aaf2ba45ff3a7e23 (patch)
tree6ffc4062b4207ced1eb17bfdb51c5d2a865e9d06 /src/main/java/me/shedaniel/rei/api/RecipeHelper.java
parent9662f0e452a0e1ac23de3f39861d15db7db5b1cc (diff)
downloadRoughlyEnoughItems-c27630f0c0eb7e5084f28139aaf2ba45ff3a7e23.tar.gz
RoughlyEnoughItems-c27630f0c0eb7e5084f28139aaf2ba45ff3a7e23.tar.bz2
RoughlyEnoughItems-c27630f0c0eb7e5084f28139aaf2ba45ff3a7e23.zip
Welcome back: Container
Signed-off-by: shedaniel <daniel@shedaniel.me>
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, 3 insertions, 3 deletions
diff --git a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
index 9bec4c656..e4b80e915 100644
--- a/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
+++ b/src/main/java/me/shedaniel/rei/api/RecipeHelper.java
@@ -25,7 +25,7 @@ package me.shedaniel.rei.api;
import me.shedaniel.math.Rectangle;
import me.shedaniel.rei.RoughlyEnoughItemsCore;
-import net.minecraft.client.gui.screen.ingame.HandledScreen;
+import net.minecraft.client.gui.screen.ingame.ContainerScreen;
import net.minecraft.recipe.Recipe;
import net.minecraft.recipe.RecipeManager;
import net.minecraft.util.Identifier;
@@ -221,7 +221,7 @@ public interface RecipeHelper {
*/
void registerLiveRecipeGenerator(LiveRecipeGenerator<?> liveRecipeGenerator);
- void registerScreenClickArea(Rectangle rectangle, Class<? extends HandledScreen<?>> screenClass, Identifier... categories);
+ void registerScreenClickArea(Rectangle rectangle, Class<? extends ContainerScreen<?>> screenClass, Identifier... categories);
<T extends Recipe<?>> void registerRecipes(Identifier category, Class<T> recipeClass, Function<T, RecipeDisplay> mappingFunction);
@@ -233,7 +233,7 @@ public interface RecipeHelper {
boolean arePluginsLoading();
interface ScreenClickArea {
- Class<? extends HandledScreen> getScreenClass();
+ Class<? extends ContainerScreen> getScreenClass();
Rectangle getRectangle();