For this you can either set the snowball's name when launching the projectile, and then detect the name by using If Entity , you could also use UUID's and variables but the naming is the simplest option.
I'm trying to make a naming system for my plot, and i'm trying to use an anvil for it, but I cant seem to put an item into the anvil via code. Anyway to do this?
There is an issue with world gen im experiencing where whenever its generating the seed it just sets it to 0 and doesnt generate anything. This is the DFonline link for people curious what the code is https://dfonline.dev/edit/?template=q3lt3ecj2oo713ppxs7q