1.7 update

I updated the mod to 1.7 for personal use. Here is the code, do with it whatever you want.