How do i check if the player has unequipped armor?

Started by nukrei2 on

Topic category: Help with Minecraft modding (Java Edition)

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