aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java')
-rw-r--r--src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java b/src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java
new file mode 100644
index 0000000..0c45d44
--- /dev/null
+++ b/src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java
@@ -0,0 +1,10 @@
+package io.polyfrost.oneconfig.renderer;
+
+import net.minecraft.client.Minecraft;
+import net.minecraft.client.gui.FontRenderer;
+import net.minecraft.util.ResourceLocation;
+
+public class TextRenderer {
+ public static FontRenderer fontRenderer = new FontRenderer(Minecraft.getMinecraft().gameSettings, new ResourceLocation("oneconfig:font/ascii"),
+ Minecraft.getMinecraft().getTextureManager(), false);
+}