MergerBlockDropCollector

A block drop collector, which merges compatible items passed in, and drops them at their (non-weighed) average position.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun collect(pos: BlockPos, state: BlockState, tool: ItemStack, droppedStacks: List<ItemStack>)

Stores the dropped items of a broken block.

Link copied to clipboard
open override fun dropAll(world: ServerWorld)

Drops all collected items into the world.

Inherited functions

Link copied to clipboard
open fun collect(world: ServerWorld, pos: BlockPos, state: BlockState, blockEntity: BlockEntity?, destroyer: Entity, tool: ItemStack)

Stores the dropped items of a broken block.