Started by
A_Creativeuser…
on
Topic category: Help with Minecraft modding (Java Edition)
I'm working on an armor set ablility for my mod, you're supposed to self destruct by pressing a key, damaging mobs around you. The Problem is, You also Die in the process. Any way to fix this?
You could try to health boost the player at the moment of the explosion ?
If you boost just the explosion damages the player health should stay the same
Should I put the block which adds the health boost before the explosion block or after?
Health boost for 20 tick > Explosion > Health boost end
I think
Here is the procedure :
Link to the file (grab it while you can) :
https://www.mediafire.com/file/aohnocs0yg9anmk/Autodestruct.zip/file
Make a different Procedure where you check if someone is going to die with a Global player Variable to check if it triggered.
Then cancel it. with this is more secure way of doing this :)
ooh ok, thanks! Ill try to make something similar
Sooo...
You're wearing an explosive... And you expect it NOT to kill you?
I mean, it follows minecraft logic a bit...
Its supposed to help you get out of sticky situations but it would be quite funny if i made a seperate set which does kill you
Here are the Steps to make it work: