aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/dev/isxander/yacl3/gui/DescriptionWithName.java
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/java/dev/isxander/yacl3/gui/DescriptionWithName.java')
-rw-r--r--common/src/main/java/dev/isxander/yacl3/gui/DescriptionWithName.java11
1 files changed, 0 insertions, 11 deletions
diff --git a/common/src/main/java/dev/isxander/yacl3/gui/DescriptionWithName.java b/common/src/main/java/dev/isxander/yacl3/gui/DescriptionWithName.java
deleted file mode 100644
index 6ad72e8..0000000
--- a/common/src/main/java/dev/isxander/yacl3/gui/DescriptionWithName.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package dev.isxander.yacl3.gui;
-
-import dev.isxander.yacl3.api.OptionDescription;
-import net.minecraft.ChatFormatting;
-import net.minecraft.network.chat.Component;
-
-public record DescriptionWithName(Component name, OptionDescription description) {
- public static DescriptionWithName of(Component name, OptionDescription description) {
- return new DescriptionWithName(name.copy().withStyle(ChatFormatting.BOLD), description);
- }
-}