Hello Mojang! My client randomly disconnects form servers randomly, about once every 5 mins, but only from certain servers.
Now, although a complex bug I found the error.
When ever I join a server that spams the chat (Like a scoreboard) with around 10-20 messages in a second, my client will stop receiving packets, but the server will continue to get mine.
In other words. The server can detect me running, shooting, right clicking, but my client wont update chunks, chat or anything until I time out!
I mainly run magic launcher but its with the normal client as well.
Temporary fix: Disable minecraft chat every time you want to play, enable and risk disconnection when you need to type a command.
Thanks! and <3