Skip to main content

Interface: BlockRaycastOptions

Contains additional options for configuring a block raycast query.

Extends

Properties

excludePermutations?

optional excludePermutations: BlockPermutation[]

Inherited from

BlockFilter . excludePermutations


excludeTags?

optional excludeTags: string[]

Inherited from

BlockFilter . excludeTags


excludeTypes?

optional excludeTypes: string[]

Inherited from

BlockFilter . excludeTypes


includeLiquidBlocks?

optional includeLiquidBlocks: boolean

Remarks

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


includePassableBlocks?

optional includePassableBlocks: boolean

Remarks

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


includePermutations?

optional includePermutations: BlockPermutation[]

Inherited from

BlockFilter . includePermutations


includeTags?

optional includeTags: string[]

Inherited from

BlockFilter . includeTags


includeTypes?

optional includeTypes: string[]

Inherited from

BlockFilter . includeTypes


maxDistance?

optional maxDistance: number

Remarks

Maximum distance, in blocks, to process the raycast.