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