Function findBlocks

  • Find blocks around the given location with specific radius.

    Parameters

    • blockId: string

      The Block.typeId to be searched.

    • location: Vector3
    • dimension: Dimension
    • radius: number

    Returns Block[]