BrokenBlock

constructor(pos: BlockPos, state: BlockState, tool: ItemStack)(source)

Parameters

pos

The position of the broken block

state

The broken block state

tool

The item used to break the block