Is it possible to use command blocks to testfor someone's health? Like if I lose 2 hearts can I have a command block detect that I lost 2 hearts and output a signal? Basically I am trying to make a freeze tag map, I know it's possible to /testfor but I just don't know how.
If you could give me the command(s) for the command block I will love you forever
No, and this isn't avaliable in current Java version either. Unfortunately the testfor command was taken out of minecraft. Idk what a replacement could be, i guess you could try adding a scoreboard for damage taken instead.
If you could give me the command(s) for the command block I will love you forever
Thank you!
Then use this to output when someone looses two hearts: (It has to be in a command block)
There's a better way to do it using the new snapshot, but this works too.
Thank you!
How is it not working? What happens?
Trust me, I'm known where I come from as the resident minecraft genious!
Unfortunately, I just made my account, soooo... I'm stuck with the Newly Spawned title.
You're a redstone genius who can't even spell genius or gravity.
Sorry for the spam :l
Is there any way to do it on bedrock?
No, and this isn't avaliable in current Java version either. Unfortunately the testfor command was taken out of minecraft. Idk what a replacement could be, i guess you could try adding a scoreboard for damage taken instead.