NoOpBlockDropCollector

public final class NoOpBlockDropCollector implements IBlockDropCollector(source)

A block drop collector that drops nothing.

Constructors

Functions

Link copied to clipboard
public 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
public Unit dropAll(ServerWorld world)

Drops all collected items into the world.