updated for mc 1.6