dropBlockLoot

fun dropBlockLoot(pos: BlockPos, tool: ItemStack): List<ItemStack>

Get drops for a block as if it were broken with a tool.

Return

list of ItemStack drops

Parameters

pos

block position

tool

tool ItemStack used to break the block