
#execute unless score temp refresh_count matches -2147483648.. run function vanilla_refresh:wand/z/used
loot spawn ~ ~.5 ~ loot vanilla_refresh:drop/cookie
playsound entity.item.pickup block @a[distance=..32] ~ ~ ~ 1 1