giving an effect when an armor is fully equiped

Started by Kyonn on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
giving an effect when an armor is fully equiped

Hi, i'm new to modding and i want to create armors that gives effects but only when fully equiped, and i don't know how to do it. 

Thanks to anyone answering

Joined Mar 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Create a procedure that look…
Mon, 05/08/2023 - 19:16

Create a procedure that look the armor slots of the player. (0 = boots ; 3 = helmet) and if each of them contain your custom armor, give the effect.

 

If slot 0 of event/target entity = [custom_armor_boots] and slot 1 of event/target entity = [custom_armor_legging] and slot 2 of event/target entity = [custom_armor_chesplate] and slot 3 of event/target entity = [custom_armor_helmet] :
	give [effect] to event/target entity