execute at @s run data modify entity @s Item.tag merge value {kyukineticknockbackmodule:1b}
data modify entity @s Item.tag.display.Lore append value '{"text":"Kinetic Knockback ","color":"#8B59FF"}'

execute at @s run execute at @e[name=CadeyrnCrafting,sort=nearest,limit=1] run tellraw @a[distance=..4] ["",{"text":"Your leggings now have the 'Kinetic Knockback ' module!","color":"#8B59FF","italic":true}]
execute at @s run kill @e[distance=..5,type=item,tag=!SaveMe,nbt={Item:{id:"minecraft:enchanted_book",Count:1b,tag:{StoredEnchantments:[{id:"minecraft:knockback"}]}}},limit=4]
execute at @s run kill @e[distance=..5,nbt={Item:{id:"minecraft:piston",Count:1b}},tag=!SaveMe,limit=4]
