aboutsummaryrefslogtreecommitdiff
path: root/RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java
diff options
context:
space:
mode:
authorshedaniel <daniel@shedaniel.me>2020-12-06 19:47:10 +0800
committershedaniel <daniel@shedaniel.me>2020-12-06 19:47:10 +0800
commit1db55469d98948dbffedeaf94d21df5dd58c7496 (patch)
tree156ac1353b1ed08bcdcaf39008ba4b2adbcb1ea3 /RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java
parentd27702349f1ee0dd4222e08dbd133ad7a80589b5 (diff)
downloadRoughlyEnoughItems-1db55469d98948dbffedeaf94d21df5dd58c7496.tar.gz
RoughlyEnoughItems-1db55469d98948dbffedeaf94d21df5dd58c7496.tar.bz2
RoughlyEnoughItems-1db55469d98948dbffedeaf94d21df5dd58c7496.zip
Slow down stack rotating, and allowing users to scroll through the stacks.
Signed-off-by: shedaniel <daniel@shedaniel.me>
Diffstat (limited to 'RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java')
-rw-r--r--RoughlyEnoughItems-runtime/src/main/java/me/shedaniel/rei/impl/ScreenHelper.java2
1 files changed, 2 insertions, 0 deletions
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;