Help Copying Items NBT's

Started by Paradise_Player on

Topic category: Help with MCreator software

Last seen on 14:01, 6. Mar 2024
Joined Jan 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help Copying Items NBT's

Hey guys, how are you?

So, I'm trying to create an oxidizing procedure for a copper sword for a mod I'm developing, and I've successfully managed to create the oxidation by changing one item for another within the procedures. However, I've realized that people can even enchant or change the item name before it is changed to another, and I've been trying to copy them into the new item, but I haven't had any success so far.

Could someone help me here?

The thing is: After some time, the copper sword oxidizes and turns into an oxidized copper sword, but it doesn't keep the original Copper Sword NBTs such as enchantments and name.

 

(for now i'm using the right click button trigger on item, as an action for testing)