Posted August 9, 20205 yr In 1.8.9, I can use addChatMeesage of EntityPlayer to add information to the chat bar, but in 1.16.1, I did not find such a method? I only found the sendChatMessage method in ClientPlayerEntity, but this method is used to send messages to the server. How can I send messages to the chat bar instead of the server?
August 9, 20205 yr Author 4 hours ago, poopoodice said: player.sendMessage(); thank you! but I have found a better way to send a message to the Chat Box. this.mc.ingameGUI.getChatGUI().printChatMessage(component);
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.