diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-08-18 13:31:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-18 12:31:23 +0100 |
commit | f6ca23fcc1d13389ab9460c843a0f2126eb84443 (patch) | |
tree | 776a27cc56f2d603bc76b8e08392ebf4d38427b8 /src/main/java/cc/polyfrost/oneconfig/utils | |
parent | 97f788ecd4be15b1556ee1f3d8bd057bdf06bf5f (diff) | |
download | OneConfig-f6ca23fcc1d13389ab9460c843a0f2126eb84443.tar.gz OneConfig-f6ca23fcc1d13389ab9460c843a0f2126eb84443.tar.bz2 OneConfig-f6ca23fcc1d13389ab9460c843a0f2126eb84443.zip |
Blur (#94)
* blurring
* api
* update optifine hook
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/utils')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/utils/gui/OneUIScreen.java | 7 |
1 files changed, 7 insertions, 0 deletions
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; |