diff options
| author | shedaniel <daniel@shedaniel.me> | 2021-03-16 01:47:33 +0800 |
|---|---|---|
| committer | shedaniel <daniel@shedaniel.me> | 2021-03-16 01:47:33 +0800 |
| commit | d60fd316cc872c8e2d6500f071598ebf79364d4a (patch) | |
| tree | b0400b9e73758c86519cdc7a1f4434a818212247 /runtime/src/main/java/me/shedaniel/rei/gui/AbstractRecipeViewingScreen.java | |
| parent | de461fde691f593b85ffeae837b5b419a9abf7cc (diff) | |
| download | RoughlyEnoughItems-d60fd316cc872c8e2d6500f071598ebf79364d4a.tar.gz RoughlyEnoughItems-d60fd316cc872c8e2d6500f071598ebf79364d4a.tar.bz2 RoughlyEnoughItems-d60fd316cc872c8e2d6500f071598ebf79364d4a.zip | |
Implement IGuiIngredientGroup, wrap FluidStack to arch FluidStack properly
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'runtime/src/main/java/me/shedaniel/rei/gui/AbstractRecipeViewingScreen.java')
| -rw-r--r-- | runtime/src/main/java/me/shedaniel/rei/gui/AbstractRecipeViewingScreen.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/src/main/java/me/shedaniel/rei/gui/AbstractRecipeViewingScreen.java b/runtime/src/main/java/me/shedaniel/rei/gui/AbstractRecipeViewingScreen.java index fd8007d19..02deb5231 100644 --- a/runtime/src/main/java/me/shedaniel/rei/gui/AbstractRecipeViewingScreen.java +++ b/runtime/src/main/java/me/shedaniel/rei/gui/AbstractRecipeViewingScreen.java @@ -25,6 +25,7 @@ package me.shedaniel.rei.gui; import com.google.common.collect.Lists; import me.shedaniel.math.Rectangle; +import me.shedaniel.rei.api.gui.widgets.Slot; import me.shedaniel.rei.api.gui.widgets.Widget; import me.shedaniel.rei.api.ingredient.EntryStack; import me.shedaniel.rei.api.registry.display.Display; @@ -110,11 +111,11 @@ public abstract class AbstractRecipeViewingScreen extends Screen implements Reci } protected void transformIngredientNotice(List<Widget> setupDisplay, EntryStack<?> noticeStack) { - transformNotice(1, setupDisplay, noticeStack); + transformNotice(Slot.INPUT, setupDisplay, noticeStack); } protected void transformResultNotice(List<Widget> setupDisplay, EntryStack<?> noticeStack) { - transformNotice(2, setupDisplay, noticeStack); + transformNotice(Slot.OUTPUT, setupDisplay, noticeStack); } private static void transformNotice(int marker, List<Widget> setupDisplay, EntryStack<?> noticeStack) { |
