Started by
FiveNights2161
on
Topic category: Help with MCreator software
I'm making a mod that has it's own HP Variable, but I can't figure out how to make it so that damage won't touch the Vanilla HP until the Player's Variable HP is at 0, I tried using Return, but that doesn't seem to help.
What do I do?
I'm using specifically a Return Number Value, which makes this even more confusing
I'm using 2026.1 on Neoforge 1.21.1 by the way
You need to cancel or use event result procedures for this
Return only stops your procedure from running further, not the entire game event chain, cancel is for this
Ah, gotcha, thanks!
How would you recommend doing it?
I'm not really trying to stop the player from getting hit entirely, I'm just trying to set the damage to the player's vanilla health that would normally be taken to zero
Nevermind, I found the block in question
Thanks!