How do i check if the player has unequipped armor?

Started by nukrei2 on

Topic category: Help with modding (Java Edition)

Last seen on 00:11, 27. Apr 2023
Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i check if the player has unequipped armor?

I'm trying to make an armor (only the chest) so that when it is equipped it gives 2 more hearts to the player, and this part I managed, but I want that when he is without it, he loses these two extra hearts