diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-27 12:28:30 +0200 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-06-27 12:28:30 +0200 |
commit | 08f953aa649759f4975f176eb15932a0cd11e3ec (patch) | |
tree | d2bb49ef09100af35adceb2b11545a7f26e04073 /src/main/java/cc/polyfrost/oneconfig/test | |
parent | 9afbfbc4c41bf8f90b5de901797e18375da2c01a (diff) | |
download | OneConfig-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.java | 2 | ||||
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java | 6 |
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())); } } |