跳到主要内容

Interface: BlockEventOptions

Contains optional parameters for registering a block event.

Properties

blockTypes?

optional blockTypes: string[]

Remarks

If this value is set, this event will only fire if the impacted block's type matches this parameter.


permutations?

optional permutations: BlockPermutation[]

Remarks

If this value is set, this event will only fire if the impacted block's permutation matches this parameter.