Hunger

Hunger
The hunger bar can be located at the top left corner of the screen. It is green in color, and is the third bar from the top on the HUD.

Performing actions such as swimming, using tools, fighting, and walking all degrade a player's hunger. Additionally, hunger will decrease at a slow rate over time, regardless of a player's actions. If a player reaches 0 hunger, then they will take high damage over time until they either die or consume food. Eating food (such as cooked meat) is the only known way to restore lost hunger.

It is recommended that players stockpile food, as a loss of hunger can often result in near-instant death.