function getBlockAtPosition(bot, x=0, y=0, z=0) {
     /**
     * Get a block from the bot's relative position 
     * @param {Bot} bot - The bot to get the block for.
     * @param {number} x - The relative x offset to serach, default 0.
     * @param {number} y - The relative y offset to serach, default 0.
     * @param {number} y - The relative z offset to serach, default 0. 
     * @returns {Block} - The nearest block.
     * @example
     * let blockBelow = world.getBlockAtPosition(bot, 0, -1, 0);
     * let blockAbove = world.getBlockAtPosition(bot, 0, 2, 0); since minecraft position is at the feet
     **/
    let block = bot.blockAt(bot.entity.position.offset(x, y, z));
    if (!block) block = {name: 'air'};
       
    return block;
}
Get the nearest empty space with solid blocks beneath it of the given size.
@param {Bot} bot - The bot to get the nearest free space for.
@param {number} size - The (size x size) of the space to find, default 1.
@param {number} distance - The maximum distance to search, default 8.
@returns {Vec3} - The south west corner position of the nearest free space.
@example
let position = world.getNearestFreeSpace(bot, 1, 8);