Help with detecting armor slots

Started by aidanete on

Topic category: Help with Minecraft modding (Java Edition)

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?

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 :)

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?

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

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.

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?

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.

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.  

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do you know how to get the…
Tue, 04/23/2024 - 18:35

Do you know how to get the enchantments applied to the armor ?