From f6ca23fcc1d13389ab9460c843a0f2126eb84443 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Thu, 18 Aug 2022 13:31:23 +0200 Subject: Blur (#94) * blurring * api * update optifine hook --- src/main/java/cc/polyfrost/oneconfig/utils/gui/OneUIScreen.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main/java/cc/polyfrost/oneconfig/utils') diff --git a/src/main/java/cc/polyfrost/oneconfig/utils/gui/OneUIScreen.java b/src/main/java/cc/polyfrost/oneconfig/utils/gui/OneUIScreen.java index 45242b2..2eb3349 100644 --- a/src/main/java/cc/polyfrost/oneconfig/utils/gui/OneUIScreen.java +++ b/src/main/java/cc/polyfrost/oneconfig/utils/gui/OneUIScreen.java @@ -91,6 +91,13 @@ public abstract class OneUIScreen extends UScreen implements GuiPause { */ public abstract void draw(long vg, float partialTicks, InputHandler inputHandler); + /** + * @return If this gui has background blur + */ + public boolean hasBackgroundBlur() { + return false; + } + @Override public boolean doesGuiPauseGame() { return false; -- cgit