Need help handling status effects and armor logic

Started by xlestx_ on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Need help handling status effects and armor logic

I’m trying to make it so that any entity (except those in the undead family), when entering a biome and not wearing the full anti‑radiation suit, is applied the radiation effect. At first it works but once the player removes a single piece of armor, the effect is applied; however, when they put the full suit back on, the radiation effect does not get removed.