Make item with attachments keep previous damage on crafting table

Started by JPZamps on

Topic category: Help with modding (Java Edition)

Last seen on 15:41, 28. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make item with attachments keep previous damage on crafting table

I would like to make an item that has attachments, the idea would be that you just combine the item in the crafting table with the supposed attachment and give the combination, the problem is that the item that contains the combination would be a totally new item which would reset the item damage, which would not be very consistent with the mod ideia, I imagine that there is a way to do it through procedures or nbt tags, But I don't know how to start

Last seen on 04:25, 19. Mar 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could use the smithing…
Fri, 05/13/2022 - 19:19

You could use the smithing table instead, it transfers the nbt data to the new item

Last seen on 15:41, 28. Mar 2024
Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It works like a charm! thank…
Fri, 05/13/2022 - 20:36

It works like a charm! thank you my good sir thank you