how do i check for

Started by twistcharlie312 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how do i check for
Mon, 12/23/2019 - 17:08 (edited)

how do I check for if the player is wearing certain armour?

Edited by twistcharlie312 on Mon, 12/23/2019 - 17:08
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hey @twistcharlie312, if you…
Tue, 12/24/2019 - 11:10

Hey @twistcharlie312, if you go to the player procedures tab, you can see there is a block called "check player armor slot "0" ".

using the logical operation of item = item(thats the yellow block with diamonds). Place the check block in the first space. Then go to the Minecraft Components tab and take the item block( the one with the diamond). Double click it and select your armor and place the block in the second space. Take the equation block and place it as the condition for an if block. Done!

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
there's only a yellow one…
Tue, 12/24/2019 - 15:07

there's only a yellow one with cube an diamond and it don't work 

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh i know how i think i used…
Tue, 12/24/2019 - 15:08

oh i know how i think i used the wrong armor one lol 

Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
so wat number for the…
Tue, 12/24/2019 - 15:10

so wat number for the chestplate???

 

Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Look at this:  
Thu, 04/09/2020 - 17:40

Look at this:The Picture is missing