How to give item with damage already in place

Started by DGCrafter on

Topic category: Help with modding (Java Edition)

Last seen on 01:58, 3. Nov 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to give item with damage already in place

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 00:03, 27. May 2022
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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:58, 3. Nov 2022
Joined Jul 2020
Points:

User statistics:

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

oh its alright, i figured it out myself!