Armor Key Binding

Started by Bananas on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Armor Key Binding

Hello,

I've got another stupid amateur problem. I want to make key binding that applies a potion effect on player if they are wearing specific armor. So on the key pressed trigger I made a procedure:

 

If is item in armor slot 1 of source entity MyCustomChestplate, 

 

deal 1 damage to source entity

deal 1 damage to provided itemstack

add effect... to source entity.

 

I also tried to replace the source entity with event/target entity, but it has got missing dependencies for the binding.

I'll be glad for help.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
That's what I do, or not?…
Mon, 11/30/2020 - 16:03

That's what I do, or not? The procedure I use in key binding is up.

Joined Dec 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
is there a way to do this if…
Mon, 11/30/2020 - 17:41

is there a way to do this if you have a specific achievement? I tried and I failed terribly.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So why isn't my key binding…
Sun, 12/06/2020 - 08:25

So why isn't my key binding procedure compatible?

Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The chestplate slot is slot 2
Mon, 12/07/2020 - 18:01

The chestplate slot is slot 2

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yeah, I already fixed it…
Mon, 12/07/2020 - 18:22

Yeah, I already fixed it. But it still doesn't work.

Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
So it doesn't look like I'll…
Sun, 12/20/2020 - 20:28

So it doesn't look like I'll get any other replies.

Joined Aug 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
"Add key binding and use if…
Sat, 12/04/2021 - 02:04

"Add key binding and use if statement to check if proper armor is worn" how do I do this?