aboutsummaryrefslogtreecommitdiff
path: root/me/Danker/CoordRenderer.java
diff options
context:
space:
mode:
authorbowser0000 <bowser0000@gmail.com>2020-07-06 17:06:40 -0400
committerGitHub <noreply@github.com>2020-07-06 17:06:40 -0400
commitbd90f8fab6fab609fdf5b58b94b16cb92e879d34 (patch)
treedd66cbad72ed2990740b7b87f94a78f2bcbcba98 /me/Danker/CoordRenderer.java
parent06000253a5789a01486cc6580f39084dc61844cb (diff)
downloadSkyblockMod-bd90f8fab6fab609fdf5b58b94b16cb92e879d34.tar.gz
SkyblockMod-bd90f8fab6fab609fdf5b58b94b16cb92e879d34.tar.bz2
SkyblockMod-bd90f8fab6fab609fdf5b58b94b16cb92e879d34.zip
Upload all files
Features coordinate & angle display, and guild party desktop notifications.
Diffstat (limited to 'me/Danker/CoordRenderer.java')
-rw-r--r--me/Danker/CoordRenderer.java13
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));
+ }
+}