Making Fire and Lava do Half the damage

Started by itzyaboi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making Fire and Lava do Half the damage

i have a potion effect that makes it so players take half the damage from fire and lava. but i cant get it to work.


https://imgur.com/a/SmcwEhN

here is the procedure i have, its not optimized i was just trying to get it to do anything,

i had put some debug markers in it to see what wasnt activating, and the part that isnt activating is the "provided damage source" part, even if i had been fully submerged in lava or fire it would not activate.

help would be greatly appreciated!!

Joined May 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I guess you need to cancel…
Wed, 01/22/2025 - 10:13

I guess you need to cancel the event first, and then deal damage to the entity with the corresponding damage type/2 damage, but the event you're using doesn't support canceling (and you didn't use it wrong), I think it's a bug