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 Minecraft modding (Java Edition)

Active 1 year ago
Joined Dec 2023
Points:
171

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 0
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.

Active 2 weeks ago
Joined Oct 2022
Points:
463

User statistics:

  • Modifications: 1
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 41
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): 

 

Active 1 year ago
Joined Dec 2021
Points:
722

User statistics:

  • Modifications: 3
  • Forum topics: 3
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 308
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.