Posted March 20, 20187 yr Hello Minecraft Forge modding people, I'm trying to get messages send from the player client-side, and cancel them, all before they are send to the server. I found a tutorial on Youtube, but it involved editing to Minecraft source code, wich is obviously not that easy/maybe impossible. I'm very thankful for any kind of help. Edited March 20, 20187 yr by Fabillo
March 20, 20187 yr This isn't possible in 1.8. Update to 1.11.2+ (ideally 1.12.2) and subscribe to ClientChatEvent. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 21, 20187 yr Author But is there another way, like editing Minecraft#thePlayer? Or using packets.
March 21, 20187 yr Author No, i'm not seven years old, because i probably could not code at that age. Also i don't like the new versions of Minecraft. Edited March 21, 20187 yr by Fabillo
March 21, 20187 yr Author 1. Sorry for that! I'm not only new to Forge modding, but also new to this webside. 2. But i hope for another way of doing that. Maybe like making a class extend EntityPlayerSP and editing a method.
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.