Support Minecraft 1.8

From what I have tested, this works for registering packets from the 1.8 EnumProtocol class. There might be a better way to achieve this, but hopefully it provides some kind of idea of a possible solution to implement :3