Armor Key Binding

Started by Bananas on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 day ago
Joined Jul 2020
Points:
926

User statistics:

  • Modifications: 0
  • Forum topics: 38
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 243
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.

Active 1 day ago
Joined Jul 2020
Points:
926

User statistics:

  • Modifications: 0
  • Forum topics: 38
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 243
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.

Active 4 years ago
Joined Dec 2019
Points:
964

User statistics:

  • Modifications: 1
  • Forum topics: 36
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 263
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.

Active 1 day ago
Joined Jul 2020
Points:
926

User statistics:

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

So why isn't my key binding procedure compatible?

Active 1 year ago
Joined Nov 2020
Points:
600

User statistics:

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

The chestplate slot is slot 2

Active 1 day ago
Joined Jul 2020
Points:
926

User statistics:

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

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

Active 1 day ago
Joined Jul 2020
Points:
926

User statistics:

  • Modifications: 0
  • Forum topics: 38
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 243
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.

Active 2 years ago
Joined Aug 2020
Points:
662

User statistics:

  • Modifications: 1
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 11
"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?