particle enchanted_hit ~ ~ ~ .2 .2 .2 .1 5 force
particle dust 0.878 0.878 0.296 1 ~ ~ ~ .1 .1 .1 .1 3 force
particle dust 0.980 0.957 0.241 1 ~ ~ ~ .1 .1 .1 .1 3 force

execute positioned ^ ^ ^.5 unless entity @s[distance=..0.6] run function items:weapon/lightning_hammer/loop
