How to cancel damage in 2025.2

Started by 0NullVoid0 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Feb 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to cancel damage in 2025.2

I remember being able to cancel the Entity is Hurt trigger but can't anymore and can't think of a way to do what i'm trying to otherwise. (I'm trying to make a defense attribute which blocks all damage if it's below the attribute's level and if it's above, to be subtracted from it, excluding void damage)