aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java b/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java
index a2242b2..91d4a98 100644
--- a/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java
+++ b/src/main/java/io/github/cottonmc/cotton/gui/widget/WWidget.java
@@ -9,7 +9,6 @@ import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.screen.Screen;
-import net.minecraft.text.LiteralText;
import net.minecraft.text.Text;
import javax.annotation.Nullable;
@@ -313,12 +312,6 @@ public class WWidget {
List<Text> info = new ArrayList<>();
addTooltip(info);
- List<String> stringInfo = new ArrayList<>();
- addInformation(stringInfo);
- for (String line : stringInfo) {
- info.add(new LiteralText(line));
- }
-
if (info.size() == 0)
return;
@@ -333,15 +326,6 @@ public class WWidget {
public void validate(GuiDescription host) {
//valid = true;
}
-
- /**
- * Adds information to this widget's tooltip. If information remains empty after this call, no tooltip will be drawn.
- * @param information List containing all previous tooltip data.
- * @deprecated Replaced with {@link #addTooltip(List)}
- */
- @Deprecated
- public void addInformation(List<String> information) {
- }
/**
* Adds lines to this widget's tooltip. If the lines remain empty after this call, no tooltip will be drawn.