advancement grant @p[advancements={runechant:/=true}] only runechant:/

experience add @p -10 points

playsound minecraft:block.enchantment_table.use block @a ~ ~ ~
particle minecraft:enchant ~ ~ ~ 0.01 0.01 0.01 3 100

function runechant:static/misc/stack_minus

execute as @e[type=minecraft:item,distance=0.01..1] run function runechant:static/misc/stack_minus1

loot spawn ~ ~ ~ loot runechant:fragments/enchanters_crystal_epic

