My mod is made for Hypixel, when you type /tip all or when you get a kill, usually there's a booster on and it fills your chat with a long message, this mod gets all the coins collected and compacts it to one small message. The error when I try to go to Hypixel or a World is:
The game crashed whilst unexpected error Error: java.lang.NoSuchMethodError: net.minecraft.client.Minecraft.getMinecraft()Lnet/minecraft/client/Minecraft;
The lines probably causing this is:
@SubscribeEvent public void render(RenderGameOverlayEvent event) { if (event.isCancelable() || event.type != ElementType.EXPERIENCE) { return; } FontRenderer fRender = Minecraft.getMinecraft().fontRendererObj; fRender.drawString(EnumChatFormatting.GREEN + "Coins: " + EnumChatFormatting.WHITE + totalCoins, 5, 5, 0); }
Please help!