1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package cc.polyfrost.oneconfig.test; import cc.polyfrost.oneconfig.hud.TextHud; import net.minecraft.client.Minecraft; public class TestHud extends TextHud { public TestHud(boolean enabled, int x, int y) { super(enabled, x, y); } @Override public String getText() { return "FPS: " + Minecraft.getDebugFPS(); } }