Started by
Ball-van
on
Topic category: Help with Minecraft modding (Java Edition)
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.
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)
Hello!
Thanks for your help.) I will try to do as you said.
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.
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.