IBlock Drop Collector
Collects drops from destruction of blocks.
Inheritors
Functions
Link copied to clipboard
abstract fun collect(pos: BlockPos, state: BlockState, tool: ItemStack, droppedStacks: List<ItemStack>)
open fun collect(world: ServerWorld, pos: BlockPos, state: BlockState, blockEntity: BlockEntity?, destroyer: Entity, tool: ItemStack)
Stores the dropped items of a broken block.
Link copied to clipboard
Drops all collected items into the world.