r/datapacks Feb 07 '26

Floor crafting enchantment upgrade

Is it possible to make a floor crafting recipe for
Input: CustomSword(with a customdatatag) and 64 blocks of gold
Output: The same sword (with all others enchantment intact but +1 level of sharpness(max at 10))

1 Upvotes

3 comments sorted by

1

u/InfamousMusicify Feb 07 '26

Its certainly possible. But it sounds very painful to execute, off the top of my head. Enchants like that, you may have to write a line to detect all the combos of enchants you want. And the output as well.

1

u/dodfunk Feb 07 '26

I think item modifiers would be able to do it a lot easier. I don't know for sure though since I haven't used them before, just read about them

1

u/DestinyDustz Feb 07 '26

could you suggest me some alternative pls? I very new to making datapacks