updated for MC 1.6.4