Food

Foods are items that restore hunger points on consumption (as shown in the Hunger bar) and have a direct bearing on the player's health (see 'hunger' for more on effects). Except for milk, cake, and mushroom stew, food items and ingredients can be stacked in the inventory. Holding the "Use Item" button (default is Button 2, right mouse button) makes the player eat the food in their hand. With the exception of Golden Apples, food may not be eaten when the hunger bar is full. Note that cake must be placed like other blocks on a surface before being eaten.

Food
Eating food partly restores hunger (as shown in the bar) and to a hidden variable, saturation, which is an additional hunger bar, but one whose value will not exceed your current hunger level.

Nourishment Value
Nourishment is defined as the ratio of saturation to food points restored by a certain food item. To avoid wasting saturation points, more nourishing foods should be eaten when the hunger bar is more full.

Ingredients
The following items cannot be eaten on their own. Instead, they are crafted with other ingredients to produce certain food items.

While the following ingredients can be crafted with others, they can be consumed to induce or nullify certain effects on the player.

History
Before Beta 1.8, food did not have an eating animation, simply disappearing from the player's hand as if a block had been placed. Food also restored a set amount of hearts instantly - a player could return from the brink of death during a fight almost immediately by consuming a few porkchops or bowls of stew. To keep a certain level of challenge to the gameplay, Notch prevented players from taking advantage of this instant recovery by ensuring food (with the exception of the ingredients) did not stack in the inventory.

When the Hunger Bar was added in Beta 1.8, food became an even more vital resource as the player was required to eat regularly to avoid dying of starvation and regenerate health after taking damage. With the exception of Cake, Milk and Mushroom Stew, food could now stack to 64 in the player's inventory. Both types of mushroom could now be farmed by using bonemeal on either individual mushroom to produce a Huge Mushroom that dropped more fungi when harvested.

The first Beta 1.9 pre-release revealed two new sources for mushrooms - an entire biome filled with Huge Mushrooms and the Mooshroom, a strange red cow with red mushrooms growing on its back that could be milked with a bowl to collect Mushroom Stew and shorn to harvest the red mushrooms. However Mooshrooms can only be found in Mushroom Biomes which are extremely rare and difficult to find.

In the second pre-release of Beta 1.9, Jeb said that Milk now acted as a "clear-everything drink" to nullify the effects of potions. Spiders also dropped eyes that could be crafted with sugar and a brown mushrooms to produce fermented spider eyes.

Trivia

 * You can continue breaking blocks even while eating, the actions simply occur simultaneously.
 * If eating while climbing vines/ladders or swimming directly up or down, you will not be slowed.
 * You can eat while you are sleeping.
 * The eating animation appears only in the first-person view.
 * When you eat stew, the brown particles of the bowl spray out as well, making it seem like you are eating the bowl.
 * you cannot consume any food/drink in Creative mode.