From de461fde691f593b85ffeae837b5b419a9abf7cc Mon Sep 17 00:00:00 2001 From: shedaniel Date: Tue, 9 Mar 2021 23:17:05 +0800 Subject: Use AbstractRecipeViewingScreen and remove static from ScreenHelper Signed-off-by: shedaniel --- runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java') diff --git a/runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java b/runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java index dc91068fd..d34eb18a4 100644 --- a/runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java +++ b/runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java @@ -23,21 +23,20 @@ package me.shedaniel.rei.gui; +import me.shedaniel.math.Rectangle; import me.shedaniel.rei.api.ingredient.EntryStack; import net.minecraft.resources.ResourceLocation; import org.jetbrains.annotations.ApiStatus; @ApiStatus.Internal public interface RecipeScreen { - @ApiStatus.Internal + Rectangle getBounds(); + void addIngredientStackToNotice(EntryStack stack); - @ApiStatus.Internal void addResultStackToNotice(EntryStack stack); - @ApiStatus.Internal ResourceLocation getCurrentCategory(); - @ApiStatus.Internal void recalculateCategoryPage(); } \ No newline at end of file -- cgit