#data modify entity @s Item set value
data modify entity @s Item set value {id:"minecraft:prismarine_shard",Count:1b,tag:{kyutrinket:1b,kyuenchantedshard:1b,display:{Name:"{\"text\":\"Enchanted Shard\"}",Lore:["\"Anyone who holds one of these\"","\"will be granted permanent water-breathing\"","\"and underwater mining haste.\""]},HideFlags:1,Enchantments:[{id:"minecraft:lure",lvl:7}]}}

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

execute at @s run kill @e[limit=6,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:sponge",Count:1b}}]
execute at @s run kill @e[limit=2,distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:enchanting_table",Count:1b}}]
