The BlockEventOptions interface in @minecraft/server.
Interface in @minecraft/server
import type { BlockEventOptions } from '@minecraft/server';Properties
Section titled “Properties”blockTypes
Section titled “blockTypes”optional
blockTypes?: string[];permutations
Section titled “permutations”optional
permutations?: BlockPermutation[];Types
Used by
Section titled “Used by”PlayerBreakBlockAfterEventSignal.subscribe, PlayerBreakBlockBeforeEventSignal.subscribe, PlayerPlaceBlockAfterEventSignal.subscribe