Fixed all errors in NMS.java.
One method involving minecarts is broken due to new metadata system in mc 1.8