Contains additional options for configuring a block raycast query.

Hierarchy

Properties

excludePermutations?: BlockPermutation[]

Remarks

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

excludeTags?: string[]

Remarks

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

excludeTypes?: string[]

Remarks

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

includeLiquidBlocks?: boolean

Remarks

If true, liquid blocks will be considered as blocks that 'stop' the raycast.

includePassableBlocks?: boolean

Remarks

If true, passable blocks like vines and flowers will be considered as blocks that 'stop' the raycast.

includePermutations?: BlockPermutation[]

Remarks

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

includeTags?: string[]

Remarks

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

includeTypes?: string[]

Remarks

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

maxDistance?: number

Remarks

Maximum distance, in blocks, to process the raycast.