Started by
CharlyMan
on
Topic category: Help with Minecraft modding (Java Edition)
I am trying to make an armor set where if you if you have certain armor equipped it will remove a potion effect and deal damage to the armor.
Here what I have now, but it's not working:
If] [Get item from armor slot [3] of [Event/target entity] = Helmet] [AND] [Get item from armor slot [2] of [Event/target entity] = Chestplate] [AND] [Get item from armor slot [1] of [Event/target entity] = Leggings] [AND] [Get item from armor slot [0] of [Event/target entity] = Boots]
Do] [Remove specific potion effect from [Event/target entity] type [Custom Effect]]
[Deal [1] damage to [Provided itemstack]]
Also this procedure is put on tick event for all the armor pieces.
Edited by CharlyMan on Sun, 05/08/2022 - 16:38
Nevermind, I found out that my boots were set on slot 1 instead of 0. All I need to do now is adjust the tick speed so the armor durability doesn't keep going down like crazy.
Man I'm sorry nobody responded to you but THANK YOU SO MUCH
No problem