How to give item with damage already in place

Started by DGCrafter on Thu, 07/01/2021 - 05:33

Topic category: Help with modding (Java Edition)

Last seen on 01:34, 15. Sep 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to give item with damage already in place
Thu, 07/01/2021 - 05:33

I have nearly made the perfect gun magazine system but i cant figure out how to do the last piece, is there any way to give an item in inventory with a set amount of damage already on it (With the same damage as in what is in your main hand currently). it will help a lot!

 

Last seen on 21:51, 20. Aug 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think I can help you, but…
Sat, 07/31/2021 - 01:28

I think I can help you, but I need a better explanation.

Last seen on 01:34, 15. Sep 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
oh its alright, i figured it…
Sat, 07/31/2021 - 21:18

oh its alright, i figured it out myself!