Ported code to Minecraft 1.6.x