Help with detecting armor slots

Started by aidanete on

Topic category: Help with modding (Java Edition)

Last seen on 11:16, 14. Oct 2021
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with detecting armor slots

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 11:16, 14. Oct 2021
Joined Dec 2013
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 15:38, 1. Dec 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 18:12, 22. Jul 2023
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 15:38, 1. Dec 2022
Joined Oct 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 03:50, 30. Jul 2021
Joined Jun 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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?

Last seen on 10:47, 24. Oct 2022
Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
No, the name was changed…
Wed, 08/25/2021 - 15:17

No, the name was changed.

Keep searching.

Last seen on 23:39, 23. Nov 2023
Joined Nov 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What is the code block named…
Thu, 11/23/2023 - 18:03

What is the code block named now?  I'm very new, and I've searched through all of the entity data and management, all the item procedures, all the player data and management, and everything else I could think of relating to this issue, and I did not find it.