Posted August 30, 20178 yr I am trying to make a 1.12.1 mod but forge isn't cooperating right now.. I have encountered the error "SideOnly" error while using 2 classes,ScaledResolution and FontRenderer. Basically this happens: http://prntscr.com/gf447s Thanks in advance. Edited August 30, 20178 yr by MangoCoder Solved
August 30, 20178 yr Author 7 minutes ago, diesieben07 said: That's a feature of the Minecraft IntelliJ plugin. So do I just uninstall the plugin? EDIT: Yes that worked,thank you.The problem now is that the string that I want to render doesn't actually render.. My code: public class RenderHandler { public RenderHandler(){ MinecraftForge.EVENT_BUS.register(this); } private static Minecraft minecraft = Minecraft.getMinecraft(); public void RenderGameOverlayEvent(RenderGameOverlayEvent event){ if(event.getType() == RenderGameOverlayEvent.ElementType.TEXT){ minecraft.fontRenderer.drawString("Hello",1,1,0xfff); } } } Edit #2: I fixed it,I just had to add @SubscribeEvent over the event. Edited August 30, 20178 yr by MangoCoder
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.