Conditions with armor not working

Started by Gaming4U_Is_Neat on

Topic category: Help with modding (Java Edition)

Last seen on 23:52, 28. May 2023
Joined Jun 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Conditions with armor not working

Hello, I am making an armor piece that shows an overlay when wearing it. Even when I am not wearing it, it still shows. I can boot up a new world and it will show as soon as the world starts. Help would be nice.

Last seen on 19:28, 16. Aug 2023
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi! I believe that your…
Fri, 07/29/2022 - 09:07

Hi! I believe that your problem is when you're trying to display the overlay it always returns a true value- You should do it like this in the screenshot below:

Just change the mana thing with "If -itemslot- = -armorpiece"

The Screenshot:

If the screenshot doesn't work here is the link: https://pasteboard.co/YpOPUyfTtyTr.png