For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /server/interfaces/BlockRaycastOptions.md.

Interface: BlockRaycastOptions

block

Beta

包含配置方块射线投射查询的额外选项。

Contains additional options for configuring a block raycast query.

Extends

Properties

excludePermutations?

optional excludePermutations?: BlockPermutation[]

Beta

Remarks

如果匹配其中任何一个,过滤器应拒绝的方块置换数组。

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

Inherited from

BlockFilter.excludePermutations


excludeTags?

optional excludeTags?: string[]

Beta

Remarks

如果匹配其中任何一个,过滤器应拒绝的方块标签数组。

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

Inherited from

BlockFilter.excludeTags


excludeTypes?

optional excludeTypes?: string[]

Beta

Remarks

如果匹配其中任何一个,过滤器应拒绝的方块类型数组。

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

Inherited from

BlockFilter.excludeTypes


includeLiquidBlocks?

optional includeLiquidBlocks?: boolean

Beta

Remarks

如果为 true,液体方块将被视为可以"阻挡"射线投射的方块。

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


includePassableBlocks?

optional includePassableBlocks?: boolean

Beta

Remarks

如果为 true,像藤蔓和花朵这类可穿过的方块将被视为可以"阻挡"射线投射的方块。

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


includePermutations?

optional includePermutations?: BlockPermutation[]

Beta

Remarks

如果至少匹配其中一个,过滤器应选择的方块置换数组。

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

Inherited from

BlockFilter.includePermutations


includeTags?

optional includeTags?: string[]

Beta

Remarks

如果至少匹配其中一个,过滤器应选择的方块标签数组。

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

Inherited from

BlockFilter.includeTags


includeTypes?

optional includeTypes?: string[]

Beta

Remarks

如果至少匹配其中一个,过滤器应选择的方块类型数组。

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

Inherited from

BlockFilter.includeTypes


maxDistance?

optional maxDistance?: number

Beta

Remarks

处理射线投射的最大距离,以方块为单位。

Maximum distance, in blocks, to process the raycast.

同领域相关