execute at @e[type=item,nbt={Item:{id:"minecraft:carrot"}},predicate=survivalplus:cooking_pot] if entity @e[type=item,nbt={Item:{id:"minecraft:potato"}},predicate=survivalplus:cooking_pot,distance=...5] if entity @e[type=item,nbt={Item:{id:"minecraft:milk_bucket"}},predicate=survivalplus:cooking_pot,distance=...5] if entity @e[type=item,nbt={Item:{id:"minecraft:bowl"}},predicate=survivalplus:cooking_pot,distance=...5] run function survivalplus:tools/food/wild_stew_math