execute if entity @s[type=item,nbt={Item:{components:{"minecraft:custom_data":{speedmod:tag}}}}] run function survivalplus:tools/spawnermod/speed
execute if entity @s[type=item,nbt={Item:{components:{"minecraft:custom_data":{basicmod:tag}}}}] run function survivalplus:tools/spawnermod/basic
execute if entity @s[type=item,nbt={Item:{components:{"minecraft:custom_data":{wipemod:tag}}}}] run function survivalplus:tools/spawnermod/wipe