Started by
Steve0y
on
Topic category: Help with MCreator software
Hi, I was wondering if it's possible to make the Player gain an Advancement when he's low on life. If it's possible, explain it to me, plsss.
Topic category: Help with MCreator software
Hi, I was wondering if it's possible to make the Player gain an Advancement when he's low on life. If it's possible, explain it to me, plsss.
okay so it is possible, but it may result in some lag. You make a new procedure and select the "on player tick update" trigger, then you place an "if" block, put the condition in it and then put the grant advancement block in it, hope that helps
I found a solution for you!
Similar to what @Leptitchoup said, set the global trigger to 'On player tick update', place an 'if' block (the one that doesn't have the 'else' thing) and put the following blocks in the 'if' block like in the image: https://imgur.com/a/Qjee9VI (i just made a placeholder advancement for answering this question)
I tested it myself and it works! (also you don't have to put the text block in there that was just for the comment)
Happy mod making!