The BlockComponentBlockBreakEvent class in @minecraft/server.
Class in @minecraft/server
Extends BlockEvent
import { BlockComponentBlockBreakEvent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”blockDestructionSource
Section titled “blockDestructionSource”read-only optional
readonly blockDestructionSource?: Block;Types
brokenBlockPermutation
Section titled “brokenBlockPermutation”read-only
readonly brokenBlockPermutation: BlockPermutation;Types
entitySource
Section titled “entitySource”read-only optional
readonly entitySource?: Entity;Types
Used by
Section titled “Used by”Inherited
Section titled “Inherited”From BlockEvent: block, dimension