Started by
Lord Makishi
on
Topic category: Help with Minecraft modding (Java Edition)
Hello everyone,
I wanted to make an potion effect that deals damage to the Player, but it can't kill it. I've tried this https://imgur.com/a/2Uk3WUe . I've also tried the same but with "Current health of event target entity ≥ 2" but it still kills me :/
If you have any suggestions, ideas or tutorials i could look at then please send them to me, that would be very appreciated. Thanks in advance.
Edited by Lord Makishi on Mon, 09/05/2022 - 13:43
If (Current Health-Damage Dealt >= 1)
Set Current Health to (Current Health - Damage Dealt);
else
Set Current Health to (1);
Rikurob hmm, I've tried what you told me but it didn't really work https://imgur.com/a/gJeRJsT . I also didn't really understood if you meant current health or Damage dealt (i just started again with Mcreator since a long time). Thanks for your quick reply though.
Lol I'm just stupid nevermind....