package cc.polyfrost.oneconfig.test; import cc.polyfrost.oneconfig.hud.TextHud; import net.minecraft.client.Minecraft; import java.util.ArrayList; import java.util.List; public class TestHud extends TextHud { public TestHud(boolean enabled, int x, int y) { super(enabled, x, y); } @Override public List getLines() { ArrayList lines = new ArrayList<>(); lines.add("FPS: " + Minecraft.getDebugFPS()); if (hasSecondLine) lines.add(secondLine); return lines; } public boolean hasSecondLine = false; public String secondLine = "Epic text"; }