Contains optional parameters for registering a block event.

Hierarchy

  • BlockEventOptions

Properties

blockTypes?: string[]

Remarks

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

permutations?: BlockPermutation[]

Remarks

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