Refactored mining chore, made mining chore more efficient, made entity slowly increase its mining search range when it has nothing to mine