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

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

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

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:water_bucket",Count:1b}}] run scoreboard players add @s KyuDummy 1
execute at @s[scores={KyuDummy=3..},nbt=!{Item:{tag:{kyulavashieldmodule:1b}}}] run execute if entity @e[distance=..5,nbt={Item:{id:"minecraft:blaze_powder",Count:1b}},tag=!SaveMe] run function zzzzdonotuse:modifyarmor/modules/addlavashieldmodule



