Armor Key Binding

Started by Bananas on

Topic category: Help with modding (Java Edition)

Last seen on 10:42, 27. Mar 2024
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.

Last seen on 10:42, 27. Mar 2024
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.

Last seen on 23:41, 3. Jun 2021
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.

Last seen on 10:42, 27. Mar 2024
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?

Last seen on 22:56, 27. Apr 2022
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

Last seen on 10:42, 27. Mar 2024
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.

Last seen on 10:42, 27. Mar 2024
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.

Last seen on 23:15, 7. Jul 2023
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?