#execute as @e[tag=smokeable,nbt={OnGround:1b}] at @s if block ~ ~ ~ #campfires[lit=true] run function survivalplus:tools/food/burning
execute if entity @e[tag=smokeable,nbt={OnGround:1b}] run function survivalplus:tools/food/burning
execute at @e[tag=smokeable,nbt={OnGround:1b},scores={cooking=..55}] if predicate survivalplus:smoke run particle minecraft:smoke ~ ~.2 ~ .1 .1 .1 .01 5
execute as @e[tag=smokeable,nbt={OnGround:1b},scores={cooking=55}] run function survivalplus:tools/food/smoked
execute as @e[tag=smokeable,nbt={OnGround:1b}] at @s if predicate survivalplus:smoke run scoreboard players add @s cooking 1