@minecraft/server / BlockFilter
Interface: BlockFilter ​
Defined in: @minecraft/server/index.d.ts:22585
Options to include or exclude blocks based on type, tag or permutation. If no include options are added it will select all blocks that are not rejected by the exclude options. If at least one include option is added the block must match one of the include options to not be rejected.
Extended by ​
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.
excludeTags? ​
optionalexcludeTags?:string[]
Defined in: @minecraft/server/index.d.ts:22599
Remarks ​
Array of block tags that the filter should reject if any matches.
excludeTypes? ​
optionalexcludeTypes?:string[]
Defined in: @minecraft/server/index.d.ts:22606
Remarks ​
Array of block types that the filter should reject if any matches.
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.
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.
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.