I was trying to intercept any outgoing chat messages by changing the EntityClientPlayerMP.sendChatMessage
I know that there is a way to do that with some networking(or SimpleNetworkWrapper/netty/whatever) stuff as you told me before, but the methods I found in the tutorials doesn't seem that there are answers. I found tutorials about sending and receiving packets from and to servers, but I cannot seem to find anything from catching outbound packets.