destroy Box
public final static Unit destroyBox(ServerWorld world, BlockBox box, IBlockDropCollector dropCollector, LivingEntity destroyer, ItemStack tool, BiPredicate<ServerWorld, BlockPos> destructionPredicate)(source)
Destroys a volume of blocks.
Parameters
world
The world to destroy blocks in
box
The volume to destroy blocks in
drop Collector
The collector of the dropped items
destroyer
The entity destroying the blocks
tool
The tool destroyer destroys blocks with
destruction Predicate
A predicate specifying if a block should be broken