diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-01 14:37:58 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-05-01 14:37:58 +0200 |
commit | 727fdcfedf5a15891a7f56b07eaab3e00bee76d1 (patch) | |
tree | e3279af3f53400610db70d45409ea2cad5616e68 /src/main/java/io/polyfrost/oneconfig/test/TestConfig.java | |
parent | 08c0d21db67f27aef7b3c03ec4ad05a78b932670 (diff) | |
download | OneConfig-727fdcfedf5a15891a7f56b07eaab3e00bee76d1.tar.gz OneConfig-727fdcfedf5a15891a7f56b07eaab3e00bee76d1.tar.bz2 OneConfig-727fdcfedf5a15891a7f56b07eaab3e00bee76d1.zip |
slider saving
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test/TestConfig.java')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/test/TestConfig.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java index 08d4153..0cb3308 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java +++ b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java @@ -98,6 +98,29 @@ public class TestConfig extends Config { ) public static int dropdown3; + @Option( + name = "Slider", + subcategory = "Sliders", + type = OptionType.SLIDER, + category = "Sliders", + size = 2, + min = 0, + max = 25 + ) + public static float slider1; + @Option( + name = "Stepped Slider", + subcategory = "Sliders", + type = OptionType.SLIDER, + category = "Sliders", + size = 2, + min = 0, + max = 30, + step = 2 + ) + public static int slider2; + + public TestConfig() { super(new Mod("hacks", ModType.UTIL_QOL, "ShadyDev", "1.0"), "hacksConfig.json"); } |