Update for MC 1.5.1

Updated code to work with the new 1.5.1 version of Minecraft