diff options
author | bowser0000 <bowser0000@gmail.com> | 2020-07-06 17:06:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 17:06:40 -0400 |
commit | bd90f8fab6fab609fdf5b58b94b16cb92e879d34 (patch) | |
tree | dd66cbad72ed2990740b7b87f94a78f2bcbcba98 /me/Danker/CoordRenderer.java | |
parent | 06000253a5789a01486cc6580f39084dc61844cb (diff) | |
download | SkyblockMod-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.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));
+ }
+}
|