Help with detecting armor slots

Started by aidanete on Mon, 07/01/2019 - 17:43

Topic category: Help with MCreator modding

Last seen on 16:01, 22. Aug 2019
Joined Dec 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Help with detecting armor slots
Mon, 07/01/2019 - 17:43

I'm trying to detect if the player has a full armor of specific material from my mod, if true, it will null damage from certain blocks and some more. However, it doesn't pull anything, doesn't matter I have the full armor, partial, other or none armor.

Here is the image of the code. It detects if the armor is not full, and if it's not full, do all the bad things:

Procedure Screenshot

Can anyone help me?

Last seen on 10:07, 23. Aug 2019
Joined Apr 2010
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
  • wiki contributor
  • moderator
  • developer
Slot 0 is for boots and 3…
Tue, 07/02/2019 - 08:37

Slot 0 is for boots and 3 for helmet. You have turned them around.

Last seen on 16:01, 22. Aug 2019
Joined Dec 2013
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Ah, sorry! I thought that…
Tue, 07/02/2019 - 12:07

Ah, sorry! I thought that but I felt it like no sense. Thank you very much :)