@minecraft/server / BlockRaycastOptions
Interface: BlockRaycastOptions ​
Defined in: @minecraft/server/index.d.ts:22685
Contains additional options for configuring a block raycast query.
Extends ​
Properties ​
excludePermutations? ​
optionalexcludePermutations?:BlockPermutation[]
Defined in: @minecraft/server/index.d.ts:22592
Remarks ​
Array of block permutations that the filter should reject if any matches.
Inherited from ​
BlockFilter.excludePermutations
excludeTags? ​
optionalexcludeTags?:string[]
Defined in: @minecraft/server/index.d.ts:22599
Remarks ​
Array of block tags that the filter should reject if any matches.
Inherited from ​
excludeTypes? ​
optionalexcludeTypes?:string[]
Defined in: @minecraft/server/index.d.ts:22606
Remarks ​
Array of block types that the filter should reject if any matches.
Inherited from ​
includeLiquidBlocks? ​
optionalincludeLiquidBlocks?:boolean
Defined in: @minecraft/server/index.d.ts:22692
Remarks ​
If true, liquid blocks will be considered as blocks that 'stop' the raycast.
includePassableBlocks? ​
optionalincludePassableBlocks?:boolean
Defined in: @minecraft/server/index.d.ts:22699
Remarks ​
If true, passable blocks like vines and flowers will be considered as blocks that 'stop' the raycast.
includePermutations? ​
optionalincludePermutations?:BlockPermutation[]
Defined in: @minecraft/server/index.d.ts:22613
Remarks ​
Array of block permutations that the filter should select if at least one matches.
Inherited from ​
BlockFilter.includePermutations
includeTags? ​
optionalincludeTags?:string[]
Defined in: @minecraft/server/index.d.ts:22620
Remarks ​
Array of block tags that the filter should select if at least one matches.
Inherited from ​
includeTypes? ​
optionalincludeTypes?:string[]
Defined in: @minecraft/server/index.d.ts:22627
Remarks ​
Array of block types that the filter should select if at least one matches.
Inherited from ​
maxDistance? ​
optionalmaxDistance?:number
Defined in: @minecraft/server/index.d.ts:22705
Remarks ​
Maximum distance, in blocks, to process the raycast.