Interface: BlockRaycastOptions
blockBeta
包含配置方块射线投射查询的额外选项。
Contains additional options for configuring a block raycast query.
Extends
Properties
excludePermutations?
optionalexcludePermutations?:BlockPermutation[]
Beta
Remarks
如果匹配其中任何一个,过滤器应拒绝的方块置换数组。
Array of block permutations that the filter should reject if any matches.
Inherited from
BlockFilter.excludePermutations
excludeTags?
optionalexcludeTags?:string[]
Beta
Remarks
如果匹配其中任何一个,过滤器应拒绝的方块标签数组。
Array of block tags that the filter should reject if any matches.
Inherited from
excludeTypes?
optionalexcludeTypes?:string[]
Beta
Remarks
如果匹配其中任何一个,过滤器应拒绝的方块类型数组。
Array of block types that the filter should reject if any matches.
Inherited from
includeLiquidBlocks?
optionalincludeLiquidBlocks?:boolean
Beta
Remarks
如果为 true,液体方块将被视为可以"阻挡"射线投射的方块。
If true, liquid blocks will be considered as blocks that 'stop' the raycast.
includePassableBlocks?
optionalincludePassableBlocks?:boolean
Beta
Remarks
如果为 true,像藤蔓和花朵这类可穿过的方块将被视为可以"阻挡"射线投射的方块。
If true, passable blocks like vines and flowers will be considered as blocks that 'stop' the raycast.
includePermutations?
optionalincludePermutations?:BlockPermutation[]
Beta
Remarks
如果至少匹配其中一个,过滤器应选择的方块置换数组。
Array of block permutations that the filter should select if at least one matches.
Inherited from
BlockFilter.includePermutations
includeTags?
optionalincludeTags?:string[]
Beta
Remarks
如果至少匹配其中一个,过滤器应选择的方块标签数组。
Array of block tags that the filter should select if at least one matches.
Inherited from
includeTypes?
optionalincludeTypes?:string[]
Beta
Remarks
如果至少匹配其中一个,过滤器应选择的方块类型数组。
Array of block types that the filter should select if at least one matches.
Inherited from
maxDistance?
optionalmaxDistance?:number
Beta
Remarks
处理射线投射的最大距离,以方块为单位。
Maximum distance, in blocks, to process the raycast.
