Skip to main content

death_loot_items_with_rng

Function death_loot_items_with_rng 

Source
fn death_loot_items_with_rng<R: Rng, E: LivingEntity + ?Sized>(
    entity: &E,
    loot_table: LootTableRef,
    world: &World,
    source: &DamageSource,
    killed_by_player: bool,
    rng: &mut R,
) -> Vec<ItemStack>