From 8a87957922a40ed3f29356098ee231e3338b1922 Mon Sep 17 00:00:00 2001 From: bowser0000 Date: Sat, 11 Jul 2020 00:57:31 -0400 Subject: Revert "Add tracker and display for all slayer drops" This reverts commit c0017a23a6aefa6ac779551022b928bca451d46a. --- me/Danker/CoordRenderer.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 me/Danker/CoordRenderer.java (limited to 'me/Danker/CoordRenderer.java') diff --git a/me/Danker/CoordRenderer.java b/me/Danker/CoordRenderer.java new file mode 100644 index 0000000..66cdb5e --- /dev/null +++ b/me/Danker/CoordRenderer.java @@ -0,0 +1,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)); + } +} -- cgit