data remove entity @s Item.components."minecraft:item_name"
data remove entity @s Item.components."minecraft:lore"
data modify entity @s Item.components."minecraft:stored_enchantments" set from entity @n[type=item,nbt={Item:{components:{"minecraft:enchantments":{}}}},distance=...3,tag=!dechant] Item.components."minecraft:enchantments"
data remove entity @n[type=item,nbt={Item:{components:{"minecraft:enchantments":{}}}},distance=...3,tag=!dechant] Item.components."minecraft:repair_cost"
data remove entity @n[type=item,nbt={Item:{components:{"minecraft:enchantments":{}}}},distance=...3,tag=!dechant] Item.components."minecraft:enchantments"
tag @s remove dechant
particle minecraft:enchanted_hit ~ ~.2 ~ 0 0 0 .2 10
playsound minecraft:entity.player.levelup player @a ~ ~ ~ .5 2