aboutsummaryrefslogtreecommitdiff
path: root/test-common/src/main/java/dev/isxander/yacl3/test/ConfigTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'test-common/src/main/java/dev/isxander/yacl3/test/ConfigTest.java')
-rw-r--r--test-common/src/main/java/dev/isxander/yacl3/test/ConfigTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/test-common/src/main/java/dev/isxander/yacl3/test/ConfigTest.java b/test-common/src/main/java/dev/isxander/yacl3/test/ConfigTest.java
index a61a112..a8f49b0 100644
--- a/test-common/src/main/java/dev/isxander/yacl3/test/ConfigTest.java
+++ b/test-common/src/main/java/dev/isxander/yacl3/test/ConfigTest.java
@@ -4,6 +4,7 @@ import dev.isxander.yacl3.config.v2.api.ConfigClassHandler;
import dev.isxander.yacl3.config.v2.api.SerialEntry;
import dev.isxander.yacl3.config.v2.api.serializer.GsonConfigSerializerBuilder;
import dev.isxander.yacl3.platform.YACLPlatform;
+import net.minecraft.ChatFormatting;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.Items;
@@ -51,6 +52,8 @@ public class ConfigTest {
public String stringSuggestions = "";
@SerialEntry
public Item item = Items.OAK_LOG;
+ @SerialEntry
+ public ChatFormatting formattingOption = ChatFormatting.RED;
@SerialEntry
public List<String> stringList = List.of("This is quite cool.", "You can add multiple items!", "And it is integrated so well into Option groups!");