#data modify entity @s Item set value {id:"minecraft:paper",Count:1b,tag:{}}

data modify entity @s Item set value {id:"minecraft:potion",Count:1b,tag:{kyuoverload:1b,nocrossbowpot:1b,display:{Name:'{"text":"Overload","color":"dark_purple"}'},HideFlags:1,Enchantments:[{id:"minecraft:respiration",lvl:1s}],CustomPotionEffects:[{Id:1b,Amplifier:1b,Duration:6600},{Id:3b,Amplifier:0b,Duration:6600},{Id:5b,Amplifier:1b,Duration:6600},{Id:7b,Amplifier:1b,Duration:9},{Id:12b,Amplifier:0b,Duration:6600},{Id:13b,Amplifier:0b,Duration:6600},{Id:15b,Amplifier:0b,Duration:200},{Id:19b,Amplifier:4b,Duration:200},{Id:23b,Amplifier:10b,Duration:100}],Potion:"minecraft:water",CustomPotionColor:1048852}}


execute at @s run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..4] ["",{"text":"Item crafted: Overload.","color":"#8B59FF","italic":true}]

execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:golden_pickaxe",Count:1b}}]
execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:anvil",Count:1b}}]
execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:iron_sword",Count:1b}}]
execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:lava_bucket",Count:1b}}]
execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:kelp",Count:1b}}]
execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:glowstone",Count:1b}}]
execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:redstone_block",Count:1b}}]
execute at @s run kill @e[limit=1,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:fermented_spider_eye",Count:1b}}] 