How to make a dressed full set of custom armor has an effect.

Started by Ball-van on

Topic category: Help with modding (Java Edition)

Last seen on 18:29, 16. Mar 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make a dressed full set of custom armor has an effect.

Hello everyone!

I want to make it so that when wearing a full set of custom armor, the player gets some effects. I would be grateful if you can tell me if it is possible to do this and how.

Last seen on 17:32, 15. Apr 2024
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could use on player tick…
Fri, 06/25/2021 - 15:04

You could use on player tick procedure trigger event. Check for items in armor slots and then give effect (how to give the effect depends on what kind of effect it is)

Last seen on 18:29, 16. Mar 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello! Thanks for your help…
Mon, 06/28/2021 - 09:16

Hello!
Thanks for your help.) I will try to do as you said.

Last seen on 07:56, 15. Nov 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When creating an armour set,…
Wed, 06/30/2021 - 01:25

When creating an armour set, you can set a tick procedure that checks if you are wearing that specific piece of armour.
Simply create a procedure that does the following
IF {ArmorSlot3=[Helmet]} AND {ArmorSlot2=[Chestplate]} AND {ArmorSlot1=[Leggings]} AND {ArmorSlot0=[Boots]}
Do:
Apply potion effect to Event/Target Entity for {20} ticks

And then bind that procedure to the On Tick trigger for all of the armour pieces. 

Last seen on 18:29, 16. Mar 2024
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hello! Thanks for the answer…
Wed, 06/30/2021 - 17:31

Hello!
Thanks for the answer. But I don't quite understand what block you are using here: "IF {ArmorSlot3 = [Helmet]} AND {ArmorSlot2 = [Chestplate]} AND {ArmorSlot1 = [Leggings]} AND {ArmorSlot0 = [Boots]}".
If you have the opportunity, please send a screenshot here. This is all good for me.