How can i get durability of an item in player's inventory?

Started by Vilinta on Mon, 08/23/2021 - 22:05

Topic category: Help with modding (Java Edition)

Last seen on 15:28, 25. Aug 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How can i get durability of an item in player's inventory?
Mon, 08/23/2021 - 22:05

I created variables, but it didn't work.

Last seen on 18:02, 30. Aug 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Did you try F3 + H ? It…
Mon, 08/23/2021 - 22:42

Did you try F3 + H ? It shows the advanced tooltips (durability, id...)

Last seen on 15:28, 25. Aug 2021
Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
i need to show it in Overlay 
Tue, 08/24/2021 - 09:31

i need to show it in Overlay