Posted July 4, 201411 yr Hi, I've been updating my mod to 1.7 and want to output a message to chat when something happens. I know how to activate the method I just don't know what to use to actually get my mod to display something in chat. Thanks
July 4, 201411 yr GuiNewChat chat = Minecraft.getMinecraft().ingameGUI.getChatGUI(); chat.printChatMessage(new ChatComponentText("Hi somarani!"));
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.