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

Started by Stewie on

Topic category: Help with Minecraft modding (Java Edition)

Joined Nov 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I check if a player thats holding an item takes damage?

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