particle explosion ~ ~ ~ .75 0.2 .75 0.5 5 force
particle cloud ~ ~ ~ 1 .5 1 0.2 20 force

playsound entity.generic.explode ambient @a ~ ~ ~

summon area_effect_cloud ~ ~ ~ {Tags:["unspellable","ef_center"]}
execute as @e[tag=!unspellable,type=!#no_interaction_p,distance=..2.5] run function items:weapon/unstable_sword/explode/explode
