execute align xyz positioned ~.5 ~.5 ~.5 unless entity @e[tag=blazingfire,distance=...1] run summon marker ~ ~ ~ {Tags:[blazingfire,special]}
execute align xyz positioned ~.5 ~.5 ~.5 as @n[tag=blazingfire] run scoreboard players add @s cooking 90

execute if block ~ ~ ~ campfire[lit=true] run particle minecraft:trial_spawner_detection ~ ~ ~ 0 0 0 .1 20
execute if block ~ ~ ~ campfire[lit=true] run particle minecraft:flame ~ ~ ~ 0 0 0 .1 20
execute if block ~ ~ ~ soul_campfire[lit=true] run particle minecraft:trial_spawner_detection_ominous ~ ~ ~ 0 0 0 .1 20
execute if block ~ ~ ~ soul_campfire[lit=true] run particle minecraft:soul_fire_flame ~ ~ ~ 0 0 0 .1 20

playsound minecraft:entity.blaze.shoot block @a ~ ~ ~ 1 .8
playsound minecraft:block.fire.ambient block @a ~ ~ ~ 1 .5
kill @s