Skip to main content

slot_predicate_matches

Function slot_predicate_matches 

Source
fn slot_predicate_matches<R: Rng>(
    predicate: &Option<ToolPredicate>,
    item_stack: Option<&ItemStack>,
    ctx: &LootContext<'_, R>,
) -> bool