Skip to main content

drop_block_loot

Function drop_block_loot 

Source
fn drop_block_loot(
    player: &Player,
    world: &Arc<World>,
    pos: BlockPos,
    state: BlockStateId,
    tool: &ItemStack,
)
Expand description

Drops loot for a destroyed block using its loot table.