How do i make it so on my custom armor any negative status effects go away

Started by Jett Parks on

Topic category: Help with modding (Java Edition)

Last seen on 01:18, 26. Dec 2023
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do i make it so on my custom armor any negative status effects go away

well the tittle is pretty self explanatory How do i make it so on my custom armor any negative status effects go away. i made custom armor and i want to make it so its immune to any status effects, but i dont know how.

Last seen on 12:53, 26. Jul 2024
Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't know if it's…
Mon, 12/18/2023 - 12:33

I don't know if it's possible to target negative effects in general, but on armor update tick, you can select specific potion effects and remove them (however, I don't think it's gonna work on instant effect, like Instant Damage): 

 

Last seen on 19:05, 23. Jul 2024
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, you technically can,…
Wed, 01/31/2024 - 20:14

Well, you technically can, you just have to list every negative effect in the game.