@minecraft/server / BlockEventOptions
Interface: BlockEventOptions ​
Defined in: @minecraft/server/index.d.ts:22539
Contains optional parameters for registering a block event.
Properties ​
blockTypes? ​
optionalblockTypes?:string[]
Defined in: @minecraft/server/index.d.ts:22546
Remarks ​
If this value is set, this event will only fire if the impacted block's type matches this parameter.
permutations? ​
optionalpermutations?:BlockPermutation[]
Defined in: @minecraft/server/index.d.ts:22553
Remarks ​
If this value is set, this event will only fire if the impacted block's permutation matches this parameter.