Interface: BlockEventOptions
event blockBeta
包含注册方块事件的可选参数。
Contains optional parameters for registering a block event.
Properties
blockTypes?
optionalblockTypes?:string[]
Beta
Remarks
如果设置了此值,则仅当受影响的方块类型与此参数匹配时才会触发此事件。
If this value is set, this event will only fire if the impacted block's type matches this parameter.
permutations?
optionalpermutations?:BlockPermutation[]
Beta
Remarks
如果设置了此值,则仅当受影响的方块置换与此参数匹配时才会触发此事件。
If this value is set, this event will only fire if the impacted block's permutation matches this parameter.
