execute at @s positioned ~-.99 ~-.99 ~-.99 unless entity @e[type=player,dx=0] run particle minecraft:campfire_cosy_smoke ~.99 ~.99 ~.99 0 0 0 0 1 force
execute at @s[nbt={inGround:1b}] run summon tnt ~ ~ ~ {fuse:0s}
data modify entity @n[type=tnt] Owner set from entity @s Owner
execute as @n[type=tnt,predicate=survivalplus:adventuremode] at @s run function survivalplus:tools/archer/arrow/noboom
kill @s[nbt={inGround:1b}]