diff options
| author | Unknown <shekwancheung0528@gmail.com> | 2019-01-12 00:45:21 +0800 |
|---|---|---|
| committer | Unknown <shekwancheung0528@gmail.com> | 2019-01-12 00:45:21 +0800 |
| commit | 1ac6e0efb3ef837634e23b897ec9dcd826357462 (patch) | |
| tree | d852845a9a2320b49ece225ce60e23b1fdd167e0 /src/main/java/me/shedaniel/rei/client/GuiHelper.java | |
| parent | c0dd3fc336fdd0fe3dd9a705c2e8256f72de4869 (diff) | |
| download | RoughlyEnoughItems-2.0.0.31.tar.gz RoughlyEnoughItems-2.0.0.31.tar.bz2 RoughlyEnoughItems-2.0.0.31.zip | |
KeyBindsv2.0.0.31
Diffstat (limited to 'src/main/java/me/shedaniel/rei/client/GuiHelper.java')
| -rw-r--r-- | src/main/java/me/shedaniel/rei/client/GuiHelper.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/main/java/me/shedaniel/rei/client/GuiHelper.java b/src/main/java/me/shedaniel/rei/client/GuiHelper.java index 09d05ec2c..21ff9c058 100644 --- a/src/main/java/me/shedaniel/rei/client/GuiHelper.java +++ b/src/main/java/me/shedaniel/rei/client/GuiHelper.java @@ -6,9 +6,18 @@ import net.minecraft.client.gui.ContainerGui; public class GuiHelper { + private static boolean overlayVisible = true; private static ContainerGuiOverlay overlay; public static TextFieldWidget searchField; + public static boolean isOverlayVisible() { + return overlayVisible; + } + + public static void toggleOverlayVisible() { + overlayVisible = !overlayVisible; + } + public static ContainerGuiOverlay getOverlay(ContainerGui lastGui) { if (overlay == null) { overlay = new ContainerGuiOverlay(lastGui); |
