async function isClearPath(bot, target) {
    /**
     * Check if there is a path to the target that requires no digging or placing blocks.
     * @param {Bot} bot - The bot to get the path for.
     * @param {Entity} target - The target to path to.
     * @returns {boolean} - True if there is a clear path, false otherwise.
     */
    let movements = new pf.Movements(bot)
    movements.canDig = false;
    movements.canPlaceOn = false;
    let goal = new pf.goals.GoalNear(target.position.x, target.position.y, target.position.z, 1);
    let path = await bot.pathfinder.getPathTo(movements, goal, 100);
    return path.status === 'success';
}
Get a list of all nearby block names.
@param {Bot} bot - The bot to get nearby blocks for.
@param {number} distance - The maximum distance to search, default 16.
@returns {string[]} - A list of all nearby blocks.
@example
let blocks = world.getNearbyBlockTypes(bot);