Inspired by remyroy's COPS, a Minecraft client in Python. Protocol implementation based on barneymc