particle item ice ~ ~ ~ 0.2 0.1 0.2 0.007 1 force
particle falling_dust ice ~ ~ ~ 0.2 0.1 0.2 0.007 1 force

scoreboard players set duration n_effects 20
execute as @e[tag=!freeze,distance=..0.8,tag=!unspellable,type=!#no_interaction_p] run function effects:freeze/give
