cleaned up and fixed mob.gravity