@minecraft
    Preparing search index...

    Interface BlockSearchOptions

    Options for finding blocks.

    interface BlockSearchOptions {
        excludePermutations?: BlockPermutation[];
        excludeTags?: string[];
        excludeTypes?: string[];
        includeLiquidBlocks?: boolean;
        includePassableBlocks?: boolean;
        includePermutations?: BlockPermutation[];
        includeTags?: string[];
        includeTypes?: string[];
        maxDistance?: number;
    }

    Hierarchy (View Summary)

    Index
    excludePermutations?: BlockPermutation[]

    Array of block permutations that the filter should reject if any matches.

    excludeTags?: string[]

    Array of block tags that the filter should reject if any matches.

    excludeTypes?: string[]

    Array of block types that the filter should reject if any matches.

    includeLiquidBlocks?: boolean

    When true, includes liquid blocks.

    includePassableBlocks?: boolean

    When true, includes passable blocks, such as vines and flowers.

    includePermutations?: BlockPermutation[]

    Array of block permutations that the filter should select if at least one matches.

    includeTags?: string[]

    Array of block tags that the filter should select if at least one matches.

    includeTypes?: string[]

    Array of block types that the filter should select if at least one matches.

    maxDistance?: number

    Maximum search distance, in blocks. Vertical searches use whole blocks.