aboutsummaryrefslogtreecommitdiff
path: root/runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2021-03-09 23:17:05 +0800
committershedaniel <daniel@shedaniel.me>2021-03-09 23:17:05 +0800
commitde461fde691f593b85ffeae837b5b419a9abf7cc (patch)
treecec6e08c99427eddf9eef5e19d04edca56d3d0d4 /runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java
parent64bc9937d6ec04c6d66240a84b4fb345026c0b12 (diff)
downloadRoughlyEnoughItems-de461fde691f593b85ffeae837b5b419a9abf7cc.tar.gz
RoughlyEnoughItems-de461fde691f593b85ffeae837b5b419a9abf7cc.tar.bz2
RoughlyEnoughItems-de461fde691f593b85ffeae837b5b419a9abf7cc.zip
Use AbstractRecipeViewingScreen and remove static from ScreenHelper
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java')
-rw-r--r--runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java7
1 files changed, 3 insertions, 4 deletions
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