aboutsummaryrefslogtreecommitdiff
path: root/src/client/java/dev/isxander/yacl/api/Controller.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/java/dev/isxander/yacl/api/Controller.java')
-rw-r--r--src/client/java/dev/isxander/yacl/api/Controller.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/java/dev/isxander/yacl/api/Controller.java b/src/client/java/dev/isxander/yacl/api/Controller.java
index 7bf7e7f..0b8e2ed 100644
--- a/src/client/java/dev/isxander/yacl/api/Controller.java
+++ b/src/client/java/dev/isxander/yacl/api/Controller.java
@@ -3,7 +3,7 @@ package dev.isxander.yacl.api;
import dev.isxander.yacl.api.utils.Dimension;
import dev.isxander.yacl.gui.AbstractWidget;
import dev.isxander.yacl.gui.YACLScreen;
-import net.minecraft.text.Text;
+import net.minecraft.network.chat.Component;
/**
* Provides a widget to control the option.
@@ -17,7 +17,7 @@ public interface Controller<T> {
/**
* Gets the formatted value based on {@link Option#pendingValue()}
*/
- Text formatValue();
+ Component formatValue();
/**
* Provides a widget to display