From 1db55469d98948dbffedeaf94d21df5dd58c7496 Mon Sep 17 00:00:00 2001 From: shedaniel Date: Sun, 6 Dec 2020 19:47:10 +0800 Subject: Slow down stack rotating, and allowing users to scroll through the stacks. Signed-off-by: shedaniel --- .../src/main/java/me/shedaniel/rei/impl/ScreenHelper.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java') diff --git a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java index a57af0f7b..767ef019b 100644 --- a/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java +++ b/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java @@ -64,6 +64,8 @@ import static me.shedaniel.rei.impl.Internals.attachInstance; @ApiStatus.Internal @Environment(EnvType.CLIENT) public class ScreenHelper implements ClientModInitializer, REIHelper { + @ApiStatus.Internal + public static boolean isWithinRecipeViewingScreen = false; private static final ResourceLocation DISPLAY_TEXTURE = new ResourceLocation("roughlyenoughitems", "textures/gui/display.png"); private static final ResourceLocation DISPLAY_TEXTURE_DARK = new ResourceLocation("roughlyenoughitems", "textures/gui/display_dark.png"); private OverlaySearchField searchField; -- cgit