aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/test
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-01 13:40:30 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-05-01 13:40:30 +0200
commiteea8a7b60344637df1318b04e11ccf1cdc7c4c12 (patch)
tree06a5d6094631583bd47d3f1f2e2a9ce39e4adeb1 /src/main/java/io/polyfrost/oneconfig/test
parentfb9d2f2633c185faba162d85e4ae71c2a347fbb5 (diff)
downloadOneConfig-eea8a7b60344637df1318b04e11ccf1cdc7c4c12.tar.gz
OneConfig-eea8a7b60344637df1318b04e11ccf1cdc7c4c12.tar.bz2
OneConfig-eea8a7b60344637df1318b04e11ccf1cdc7c4c12.zip
start on dropdown
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/test')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/test/TestConfig.java30
1 files changed, 25 insertions, 5 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
index bd1fb58..f49d958 100644
--- a/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
+++ b/src/main/java/io/polyfrost/oneconfig/test/TestConfig.java
@@ -71,12 +71,32 @@ public class TestConfig extends Config {
public static boolean switchTest5;
@Option(
- name = "Test check",
- subcategory = "Other subcategory",
- type = OptionType.CHECKBOX,
- category = "Test category"
+ name = "Favorite food",
+ subcategory = "Dropdowns",
+ type = OptionType.DROPDOWN,
+ category = "Dropdowns",
+ options = {"Taco", "Pizza", "Hamburger", "Paimon"}
+ )
+ public static int dropdown1;
+
+ @Option(
+ name = "Favorite food",
+ subcategory = "Dropdowns",
+ type = OptionType.DROPDOWN,
+ category = "Dropdowns",
+ options = {"Taco", "Pizza", "Hamburger", "Paimon"}
+ )
+ public static int dropdown2;
+
+ @Option(
+ name = "Favorite food",
+ subcategory = "Dropdowns",
+ type = OptionType.DROPDOWN,
+ category = "Dropdowns",
+ size = 2,
+ options = {"Taco", "Pizza", "Hamburger", "Paimon"}
)
- public static boolean switchTest6;
+ public static int dropdown3;
public TestConfig() {
super(new Mod("hacks", ModType.UTIL_QOL, "ShadyDev", "1.0"), "hacksConfig.json");