From 117d80ff0e343eecf260fd363db896166d8061d7 Mon Sep 17 00:00:00 2001 From: DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> Date: Thu, 28 Apr 2022 20:45:50 +0200 Subject: better mousepressed handling, some more option types and some other things I forgor --- .../io/polyfrost/oneconfig/test/TestConfig.java | 49 ++++++++++++++++++++++ 1 file changed, 49 insertions(+) (limited to 'src/main/java/io/polyfrost/oneconfig/test/TestConfig.java') 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 @@ -16,6 +16,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, @@ -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"); } -- cgit