diff options
author | nextdaydelivery <79922345+nxtdaydelivery@users.noreply.github.com> | 2022-09-03 12:50:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-03 13:50:40 +0200 |
commit | 4c60b452efda24794c0faa5f300fdd830edcd383 (patch) | |
tree | 06c4d425bdc405af0189f4707ba1302b864f7328 /src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java | |
parent | b7169237c543bf549a4b03dcc9a23b516da635eb (diff) | |
download | OneConfig-4c60b452efda24794c0faa5f300fdd830edcd383.tar.gz OneConfig-4c60b452efda24794c0faa5f300fdd830edcd383.tar.bz2 OneConfig-4c60b452efda24794c0faa5f300fdd830edcd383.zip |
deprecator + Stack trace utilities (#121)
* deprecator
* check for more system packages because iterators n stuff
* add LogScanner, new loader platform features, spam protection
* oop~
* move to Preferences
* diamond review
* add back the exception
* try-catch things and associate OneConfig mods with an ActiveMod
* ok maybe not + api my beloved
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java b/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java index bc0e3a9..874abd2 100644 --- a/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java +++ b/src/main/java/cc/polyfrost/oneconfig/internal/config/Preferences.java @@ -35,10 +35,17 @@ import cc.polyfrost.oneconfig.platform.Platform; import cc.polyfrost.oneconfig.utils.TickDelay; public class Preferences extends InternalConfig { + + @Dropdown( + name = "Release Channel", + options = {"Releases", "Pre-Releases"} + ) + public static int updateChannel = 0; + @Switch( - name = "Enable Blur" + name = "Debug Mode" ) - public static boolean enableBlur = true; + public static boolean DEBUG = false; @KeyBind( name = "OneConfig Keybind", @@ -46,23 +53,21 @@ public class Preferences extends InternalConfig { ) public static OneKeyBind oneConfigKeyBind = new OneKeyBind(UKeyboard.KEY_RSHIFT); - @Dropdown( - name = "Release Channel", - options = {"Releases", "Pre-Releases"}, - size = 2 + @Switch( + name = "Enable Blur", + subcategory = "GUI Settings" ) - public static int updateChannel = 0; + public static boolean enableBlur = true; @Switch( name = "Use custom GUI scale", - subcategory = "GUI Scale", - size = 2 + subcategory = "GUI Settings" ) public static boolean enableCustomScale = false; @Slider( name = "Custom GUI scale", - subcategory = "GUI Scale", + subcategory = "GUI Settings", min = 0.5f, max = 5f ) |