diff options
Diffstat (limited to 'Danker/handlers/TextRenderer.java')
-rw-r--r-- | Danker/handlers/TextRenderer.java | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/Danker/handlers/TextRenderer.java b/Danker/handlers/TextRenderer.java deleted file mode 100644 index 262f932..0000000 --- a/Danker/handlers/TextRenderer.java +++ /dev/null @@ -1,13 +0,0 @@ -package me.Danker.handlers; - -import net.minecraft.client.Minecraft; -import net.minecraft.client.gui.Gui; - -public class TextRenderer extends Gui { - public TextRenderer(Minecraft mc, String text, int x, int y, int colour) { - y -= mc.fontRendererObj.FONT_HEIGHT; - for (String line : text.split("\n")) { - drawString(mc.fontRendererObj, line, x, y += mc.fontRendererObj.FONT_HEIGHT, colour); - } - } -} |