diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-07-11 00:57:31 -0400 |
---|---|---|
committer | bowser0000 <bowser0000@gmail.com> | 2020-07-11 00:57:31 -0400 |
commit | 8a87957922a40ed3f29356098ee231e3338b1922 (patch) | |
tree | 1124df2c5482777b553e6cc0dd1804c59eafa25d /me/Danker/CoordRenderer.java | |
parent | c0017a23a6aefa6ac779551022b928bca451d46a (diff) | |
download | SkyblockMod-8a87957922a40ed3f29356098ee231e3338b1922.tar.gz SkyblockMod-8a87957922a40ed3f29356098ee231e3338b1922.tar.bz2 SkyblockMod-8a87957922a40ed3f29356098ee231e3338b1922.zip |
Revert "Add tracker and display for all slayer drops"
This reverts commit c0017a23a6aefa6ac779551022b928bca451d46a.
Diffstat (limited to 'me/Danker/CoordRenderer.java')
-rw-r--r-- | me/Danker/CoordRenderer.java | 13 |
1 files changed, 13 insertions, 0 deletions
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));
+ }
+}
|