Posted May 7, 201411 yr The method requires an IChatComponent, but I can't figure out how to use this. Actually any way to send a player a message would be appreciated. Thanks in advance!
May 7, 201411 yr The method requires an IChatComponent, but I can't figure out how to use this. Actually any way to send a player a message would be appreciated. Thanks in advance! To just add chat messages, type this: EntityPlayer.addChatMessage(new ChatComponentText("Hello World!"))
March 26, 20169 yr To just add chat messages, type this: EntityPlayer.addChatMessage(new ChatComponentText("Hello World!")) Eclipse responds with: Cannot make a static reference to the non-static method addChatMessage(IChatComponent) from the type Entity Anyone knows what that means/how to avoid it?
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.