Topic category: Help with modding (Java Edition)
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.