aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/test
diff options
context:
space:
mode:
authorDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-27 12:28:30 +0200
committerDeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com>2022-06-27 12:28:30 +0200
commit08f953aa649759f4975f176eb15932a0cd11e3ec (patch)
treed2bb49ef09100af35adceb2b11545a7f26e04073 /src/main/java/cc/polyfrost/oneconfig/test
parent9afbfbc4c41bf8f90b5de901797e18375da2c01a (diff)
downloadOneConfig-08f953aa649759f4975f176eb15932a0cd11e3ec.tar.gz
OneConfig-08f953aa649759f4975f176eb15932a0cd11e3ec.tar.bz2
OneConfig-08f953aa649759f4975f176eb15932a0cd11e3ec.zip
hud things
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/test')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/test/TestHud_Test.java2
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/test/TestHud_Test.java b/src/main/java/cc/polyfrost/oneconfig/test/TestHud_Test.java
index d62f664..ae557c7 100644
--- a/src/main/java/cc/polyfrost/oneconfig/test/TestHud_Test.java
+++ b/src/main/java/cc/polyfrost/oneconfig/test/TestHud_Test.java
@@ -11,7 +11,7 @@ public class TestHud_Test extends SingleTextHud {
public boolean yes;
public TestHud_Test() {
- super("Time");
+ super("Time", true);
}
@Override
diff --git a/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java b/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java
index d3bad28..48ccfb2 100644
--- a/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java
+++ b/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java
@@ -1,18 +1,18 @@
package cc.polyfrost.oneconfig.test;
-import cc.polyfrost.oneconfig.hud.MultiTextHud;
+import cc.polyfrost.oneconfig.hud.TextHud;
import com.google.common.collect.Lists;
import net.minecraft.client.Minecraft;
import java.util.List;
-public class TestMultilineHud_Test extends MultiTextHud {
+public class TestMultilineHud_Test extends TextHud {
public TestMultilineHud_Test() {
super(true);
}
@Override
- public List<String> getLines() {
+ public List<String> update() {
return Lists.newArrayList(String.valueOf(System.currentTimeMillis()), String.valueOf(Minecraft.getSystemTime()));
}
}