(java minecraft 1.17) tag snowball based on owner

Solution 1:

I figured it out! If I give the potential thrower a snowball like so: /give selector snowball{tags:["tag"]} then I can search it using @e[type=snowball,nbt={Item:{tag:{tags:["tag"]}}}]!