Help! How to put potion effects on only one piece of armor?

Started by Kiko07 on Sun, 07/14/2019 - 18:40

Topic category: Help with MCreator modding

Last seen on 15:51, 27. Oct 2019
Joined Apr 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Help! How to put potion effects on only one piece of armor?
Sun, 07/14/2019 - 18:44 (edited)

I am new to MCreator and I would like to know how to put potion effects on a piece of armor, in this case a helmet. How do I put potion effects  permanently when I wear the helmet and then when I take off my helmet the effects stop ?
Thanks for your time!

Edited by Kiko07 on Sun, 07/14/2019 - 18:44
0Upvote this forum topic
Last seen on 00:46, 15. Nov 2019
Joined Jun 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
You just have to make a…
Mon, 08/05/2019 - 15:40

You just have to make a procedure that tests for whether a certain piece of armor is in its slot, then if true then add potion effect duration 0 or 1. Then the potion effect will be given when armor on, but when taken off, will almost immediately run out.

0Upvote this forum topic
Last seen on 15:51, 27. Oct 2019
Joined Apr 2019
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Thanks, could you send me a…
Wed, 08/28/2019 - 17:22

Thanks, could you send me a picture please?

0Upvote this forum topic