Updated for 1.7

Now compatible with Minecraft 1.7