diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-28 20:45:50 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-04-28 20:45:50 +0200 |
commit | 117d80ff0e343eecf260fd363db896166d8061d7 (patch) | |
tree | 8ef0ead687b69caf646874458beefa1d1710a38a /src/main/java/io/polyfrost/oneconfig/test/TestConfig.java | |
parent | 7c5123ff64c751c19411982189321be3511a9815 (diff) | |
download | OneConfig-117d80ff0e343eecf260fd363db896166d8061d7.tar.gz OneConfig-117d80ff0e343eecf260fd363db896166d8061d7.tar.bz2 OneConfig-117d80ff0e343eecf260fd363db896166d8061d7.zip |
better mousepressed handling, some more option types and some other things I forgor
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test/TestConfig.java')
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/test/TestConfig.java | 49 |
1 files changed, 49 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 6cb82da..a7b7b90 100644 --- a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java +++ b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java @@ -17,6 +17,31 @@ public class TestConfig extends Config { public static boolean switchTest; @Option( + name = "Test switch", + description = "Best description", + subcategory = "Test", + type = OptionType.SWITCH + ) + public static boolean switchTest1; + + @Option( + name = "Test switch", + description = "Best description", + subcategory = "Test", + type = OptionType.SWITCH, + size = 2 + ) + public static boolean switchTest2; + + @Option( + name = "Test switch", + description = "Best description", + subcategory = "Test", + type = OptionType.SWITCH + ) + public static boolean switchTest3; + + @Option( name = "Test Page", type = OptionType.PAGE, subcategory = "Test" @@ -31,6 +56,30 @@ public class TestConfig extends Config { ) public static TestPage testPage2 = new TestPage(); + @Option( + name = "Test switch", + description = "Best description", + subcategory = "Other subcategory", + type = OptionType.SWITCH + ) + public static boolean switchTest4; + + @Option( + name = "Test switch", + description = "Best description", + subcategory = "Other subcategory", + type = OptionType.SWITCH + ) + public static boolean switchTest5; + + @Option( + name = "Test switch", + description = "Best description", + subcategory = "Other subcategory", + type = OptionType.SWITCH + ) + public static boolean switchTest6; + public TestConfig() { super(new Mod("hacks", ModType.UTIL_QOL, "ShadyDev", "1.0"), "hacksConfig.json"); } |