staffMod_afterBlockDestroyed
public abstract Unit staffMod_afterBlockDestroyed( ServerWorld world, BlockPos pos, BlockState state, BlockEntity blockEntity, IBlockDropCollector dropCollector, LivingEntity destroyer, ItemStack tool)(source)
Called after a staff destroys a block. Staff mod collects the dropped items, increments stats, and applies exhaustion, so these should not be called here.
Parameters
world
The world to destroy blocks in
pos
The position of the broken block
state
The block state broken
blockEntity
The block entity of the block if any
dropCollector
The collector of the dropped items. Additional drops can be added here
destroyer
The entity destroying the blocks
tool
The tool destroyer destroys blocks with