execute as @s at @s run loot spawn ~ ~ ~ loot survivalplus:rng/cursed
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{giggle:tag}}}}] as @s run function survivalplus:tools/cursed/giggle
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{laugh:tag}}}}] as @s run function survivalplus:tools/cursed/laugh
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{whisper:tag}}}}] as @s run function survivalplus:tools/cursed/whisper
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{bite:tag}}}}] as @s run function survivalplus:tools/cursed/bite
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{hurt:tag}}}}] as @s run function survivalplus:tools/cursed/hurt
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{regen:tag}}}}] as @s run function survivalplus:tools/cursed/regen
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{sick:tag}}}}] as @s run function survivalplus:tools/cursed/sick
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{headache:tag}}}}] as @s run function survivalplus:tools/cursed/headache
execute if entity @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{growl:tag}}}}] as @s run function survivalplus:tools/cursed/growl
kill @e[type=item,nbt={Item:{components:{"minecraft:custom_data":{del:tag}}}}]