diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-27 03:54:28 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-06-27 03:54:28 +0700 |
commit | 9afbfbc4c41bf8f90b5de901797e18375da2c01a (patch) | |
tree | 125282f723f1e17a8a077c0a3222f777fd74ca06 /src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java | |
parent | f6bebfc3d14812dfac4592c1b35becf83d46cf76 (diff) | |
download | OneConfig-9afbfbc4c41bf8f90b5de901797e18375da2c01a.tar.gz OneConfig-9afbfbc4c41bf8f90b5de901797e18375da2c01a.tar.bz2 OneConfig-9afbfbc4c41bf8f90b5de901797e18375da2c01a.zip |
cache text
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java')
-rw-r--r-- | src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java b/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java new file mode 100644 index 0000000..d3bad28 --- /dev/null +++ b/src/main/java/cc/polyfrost/oneconfig/test/TestMultilineHud_Test.java @@ -0,0 +1,18 @@ +package cc.polyfrost.oneconfig.test; + +import cc.polyfrost.oneconfig.hud.MultiTextHud; +import com.google.common.collect.Lists; +import net.minecraft.client.Minecraft; + +import java.util.List; + +public class TestMultilineHud_Test extends MultiTextHud { + public TestMultilineHud_Test() { + super(true); + } + + @Override + public List<String> getLines() { + return Lists.newArrayList(String.valueOf(System.currentTimeMillis()), String.valueOf(Minecraft.getSystemTime())); + } +} |