VanillaBlockDropCollector

A block drop collector that drops the items without merging, just like vanilla Minecraft.

Constructors

Functions

Link copied to clipboard
public Unit collect(BlockPos pos, BlockState state, ItemStack tool, List<ItemStack> droppedStacks)

Stores the dropped items of a broken block.

Link copied to clipboard
public Unit dropAll(ServerWorld world)

Drops all collected items into the world.

Inherited functions

Link copied to clipboard
public Unit collect(ServerWorld world, BlockPos pos, BlockState state, BlockEntity blockEntity, Entity destroyer, ItemStack tool)

Stores the dropped items of a broken block.