Help with detecting armor slots

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

Topic category: Help with modding (Java Edition)

Last seen on 13:01, 21. Jun 2021
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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?

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 13:01, 21. Jun 2021
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
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 :)

Last seen on 12:59, 21. Jun 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I have a question: Why do…
Sun, 02/21/2021 - 17:52

I have a question: Why do you wanna give yourself a Potion Effect with Level 0?

Last seen on 10:48, 20. Jun 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
level 0 is level 1 in index
Sun, 02/28/2021 - 17:51

level 0 is level 1 in index

Last seen on 12:59, 21. Jun 2021
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Oh right, I just wasn't sure…
Sun, 02/28/2021 - 18:05

Oh right, I just wasn't sure if level 0 is level 1 in index, cuz I never tried lvl 0 and didn't even think about it.

Last seen on 20:22, 17. Jun 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I can't find the "get armor…
Fri, 06/11/2021 - 00:49

I can't find the "get armor from item slot" block. Has it been removed from MCreator?