aboutsummaryrefslogtreecommitdiff
path: root/me/Danker/CoordRenderer.java
blob: 66cdb5ee24797440085d2eb1c135b588442a4fe7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
package me.Danker;

import net.minecraft.client.Minecraft;
import net.minecraft.client.gui.Gui;
import net.minecraft.client.gui.ScaledResolution;

public class CoordRenderer extends Gui {
	public CoordRenderer(Minecraft mc, String text) {
		ScaledResolution scaled = new ScaledResolution(mc);
		int height = scaled.getScaledHeight();
		drawString(mc.fontRendererObj, text, 5, height - 25, Integer.parseInt("FFFFFF", 16));
	}
}