diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-03-09 23:17:05 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-03-09 23:17:05 +0800 |
| commit | de461fde691f593b85ffeae837b5b419a9abf7cc (patch) | |
| tree | cec6e08c99427eddf9eef5e19d04edca56d3d0d4 /runtime/src/main/java/me/shedaniel/rei/gui/RecipeScreen.java | |
| parent | 64bc9937d6ec04c6d66240a84b4fb345026c0b12 (diff) | |
| download | RoughlyEnoughItems-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.java | 7 |
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 |
