How do I check if a player thats holding an item takes damage?

Started by Stewie on Thu, 11/24/2022 - 02:22

Topic category: Help with modding (Java Edition)

Last seen on 21:45, 17. Dec 2022
Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I check if a player thats holding an item takes damage?
Thu, 11/24/2022 - 02:22

Im trying to make a shield that reduces damage and I cant figure out how to check if a player takes damage with it active and deal durability damage to it