scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:diamond_boots",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:diamond_pickaxe",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=6,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:obsidian",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makelavaboots

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:phantom_membrane",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:diamond",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makeslowfallfeather

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:iron_helmet",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=7,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:golden_carrot",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makenightvisiongoggles

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=3,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:enchanting_table",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:clock",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:gold_ingot",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makedawndaylight

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=5,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:allium",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=3,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:gold_block",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makesuspiciousspices

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=6,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:sponge",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:enchanting_table",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makeenchantedshard

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:book",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:gold_block",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{Count:1b,tag:{kyusheet:1b}}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makexpbook

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=3,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:glistering_melon_slice",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=3,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:gold_block",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:ender_eye",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makeeyeofthevoid

scoreboard players set @s KyuDummy 0
execute as @s run execute at @s run execute at @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:brown_wool",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s run execute at @e[limit=4,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:golden_apple",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute as @s run execute at @s[scores={KyuDummy=8..}] run function zzzzdonotuse:modifyarmor/trinkets/makenaturesgift