# limit to only one item by checking if block hasn't been changed already by another item - also here in another function to fix a quirk
execute if block ~ ~ ~ sand if data entity @s Thrower run function customsus:set_sand
execute if block ~ ~ ~ gravel if data entity @s Thrower run function customsus:set_gravel