execute if entity @s[nbt={Item:{count:1,components:{"minecraft:custom_data":{zombie_snowball:1b}}}}] run function pctf:logic/items/check_snowball/snowballs/zombie/init
execute if entity @s[nbt={Item:{count:1,components:{"minecraft:custom_data":{mega_zombie_snowball:1b}}}}] run function pctf:logic/items/check_snowball/snowballs/mega_zombie/init
execute if entity @s[nbt={Item:{count:1,components:{"minecraft:custom_data":{bridge_snowball:1b}}}}] run function pctf:logic/items/check_snowball/snowballs/bridge/init

tag @s add added