Started by
Pexuls
on
Topic category: Help with modding (Java Edition)
So lets say I wanna make it so, when you do a certain procedure, you can turn a sword into another advanced sword. However, I wanna make it so that the original sword's enchants, (if any,) will stay onto the new upgraded sword. Not really good with using NBT datas or enchantments, so any suggestions below would help!
there is a procedure in Item procedures section called "Copy NBT tags of <item> (if it has any) onto <item>". it makes a copy of item 2 with nbts from item 1. if it didnt work, it probably needs custom code, and I may be able to write it for you.
I'll test it out later today.
Tysm!
Did you figure this out? If yes can you please help me? I also made another post, it would be best if you respond there:
https://mcreator.net/forum/105439/how-make-tool-keep-its-enchants-when-…