package io.polyfrost.oneconfig.test; import io.polyfrost.oneconfig.config.annotations.Option; import io.polyfrost.oneconfig.config.data.Mod; import io.polyfrost.oneconfig.config.data.ModType; import io.polyfrost.oneconfig.config.data.OptionType; import io.polyfrost.oneconfig.config.interfaces.Config; public class TestConfig extends Config { @Option( name = "Test switch", description = "Best description", subcategory = "Test", type = OptionType.SWITCH ) 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" ) public static TestPage testPage = new TestPage(); @Option( name = "Test Page But better", type = OptionType.PAGE, subcategory = "Test", description = "The best page to have ever existed" ) 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"); } }