playsound minecraft:block.fire.extinguish block @a ~ ~ ~ .8 2
fill ~ ~ ~ ~ ~ ~ campfire[facing=north,lit=false] replace campfire[facing=north]
fill ~ ~ ~ ~ ~ ~ campfire[facing=east,lit=false] replace campfire[facing=east]
fill ~ ~ ~ ~ ~ ~ campfire[facing=south,lit=false] replace campfire[facing=south]
fill ~ ~ ~ ~ ~ ~ campfire[facing=west,lit=false] replace campfire[facing=west]