Is there anyway to know i am getting hurt during inference stage?

Just like the topic(I mean in intro track), Can i immediately get the attacked information, when i am attacked by zombie or something else? or get my hp is also ok.

just like what i can get when online score.

Hey. There is no API to get this information in MineRL environments right now, so no. That info is just for aicrowd evaluation.