Share

Share

Hunger

From Minecraft Wiki
(Redirected from Food Bar)
Jump to: navigation, search
The Food Bar is seen on the right, opposite the Health Bar.

Hunger is an aspect of Minecraft added in the Adventure Update that governs several aspects of gameplay. Instead of directly restoring the player's health as it did prior to the Adventure Update, eating food now fills up the food bar, which is constantly drained by the player's actions. The food bar is located opposite to the player's health bar on the bottom of the screen and is represented by ten shanks, which look like chicken legs and are equal to 2 half-units of food.

Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg

While the player is sprinting, the food bar depletes much faster. The player is not able to sprint if their food level is 6 (Hunger.svgHunger.svgHunger.svg) or less.

The food bar does not drain when playing on Peaceful mode. However, its effects on the player's health level remain, and switching difficulties has no effect on the Food Bar's current level. Thus, if the player changes the difficulty level to Peaceful while his or her Food Bar is empty, it will not restore his or her hunger level and the player will continue to starve while healing.

Certain foods have a chance of inflicting hunger on the player upon consumption, which causes the player's hunger to deplete faster.

Effects[edit]

  • When the Food Bar is at 18 (Hunger.svg × 9) points or above, the player's health will slowly regenerate at a rate of 1 health point every 4 seconds.[1] Note that as of version 1.6, each point healed will cost 3/4 food points (3 units of exhaustion)
  • If the Food Bar is at 6 (Hunger.svgHunger.svgHunger.svg) points or below, then the player will not be able to sprint.
  • When the Food Bar is at 0 (Empty Hunger.svg), the player's health will deplete at a rate of 1 (Half Heart.svg) every 4 seconds (this makes sleeping impossible). On easy difficulty, the player's health stops dropping at 10 (Heart.svgHeart.svgHeart.svgHeart.svgHeart.svg), on normal it stops at 1 (Half Heart.svg), and on hard it keeps draining until either the player eats something or starves to death.[2]

Food poisoning[edit]

Poisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svgPoisoned Hunger.svg

Hunger, or food poisoning, is an effect induced by eating certain foods, which turns the food bar a sickly yellow-green and drains food more rapidly. The only foods, however, to inflict Hunger are rotten flesh, which can cause Hunger 80% of the time, raw Chicken, which causes Hunger only 30% of the time and Pufferfish, which will always cause Hunger (and normal poisoning too). Eating a spider eye or poisonous potato actually deals the player Poison. The rest of the foods will not cause food poisoning.

Name Icon Chance to poison
Raw Chicken Raw Chicken 30%
Rotten Flesh Rotten Flesh 80%
Pufferfish Pufferfish 100%

Behavior[edit]

Hunger from food poisoning adds 15.0 to the player's exhaustion level over the course of 30 seconds. This is slightly less than Hunger.svgHunger.svg. In Peaceful mode, the food bar will change color, but will not drain out. Green-like swirls will also emit from the player, indicating that the player is food poisoned. When a pufferfish is eaten, it induces level III Hunger, but only for 15 seconds. In this time, 22.5 exhaustion points are added, and little less than Hunger.svgHunger.svgHunger.svg is lost.

The duration of Hunger does not stack. So, if the player eats many poisonous foods at once, he or she will only feel the negative effects of the most recent poisonous food, plus the consumption time of each other food. Also, drinking milk will negate the effect, allowing the player to potentially eat more poisonous food and constantly drink milk to fill the bar without being inflicted by Hunger.

Mechanics[edit]

The ten drumsticks shown at the bottom of the screen next to the health bar show the status of the player's food level. Each drumstick represents two food level points. Therefore, the maximum food level is 20.

There is another aspect of hunger that is not visible to the player. This is called the food saturation level. The player's hunger will not decrease until their food saturation level reaches zero. When the saturation level is at zero, the food bar will shake or jitter periodically. The maximum value of the food saturation level is equal to the current value of your food level. This means that if, for example, your food level is 20/20 (All your drumsticks are full) then your maximum food saturation level is also 20.

When you eat food, your food level and your food saturation level increase as long as they aren't already at their maximums. The amount that is replenished depends on the food item being consumed. The amount of food saturation replenished is not dependent on the number of food level points replenished; for instance, if the player eats a steak while missing only half a drumstick (food level 19/20), that player will still gain the full food saturation of the steak (up to saturation 20/20), despite having wasted all but one of the actual food points from the steak. It is not possible to eat food when your food level is at its maximum.

A third component of hunger is the food exhaustion level. This value can range between 0.0 and 4.0. Certain actions the player takes increase this variable. The table below shows how different actions affect the player's exhaustion level. When exhaustion reaches 4.0 or above, it is reduced by 4.0 and the food saturation level is reduced by 1.0; if this brings the food saturation level below zero, it is set to zero instead. If the food saturation level is already at zero, then a point is removed from the player's food level and the player loses half a drumstick.

The last variable involved in the hunger mechanics is the foodTickTimer; this variable essentially times how long the player has had no hunger left or more than 17 points on the foodLevel. When the foodTickTimer reaches 80 (its maximum) then it will either deal the player half a heart of damage (when there is no hunger left) or heal the player half a heart (When the player doesn't have full health and his foodLevel is more than 17 points).

Exhaustion level increase[edit]

Any action not listed here will not increase exhaustion level.  For example, the player can travel several days by boat and the food bar will not decrease.

Action Exhaustion Level increase
Walking and Sneaking
 (per meter)
0.01
Swimming
 (per meter)
0.015
Breaking a block 0.025
Sprinting
 (per meter)
0.1
Jumping 0.2
Attacking an enemy 0.3
Receiving any damage 0.3
Effects of food poisoning 0.5 per second (15.0 over entire duration) for Raw Chicken and Rotten Flesh
1.5 per second (22.5 over entire duration) for Pufferfish
Sprinting jump 0.8
Regenerating 1 health point by having 18 (Hunger.svg × 9) 3.0

Food level and saturation level restoration[edit]

Name Icon Food Points Saturation restored Effective Quality
[note 1]
Saturation ratio Status effect(s) Source(s)
Apple Apple 4 (Hunger.svgHunger.svg) 2.4 6.4 0.6

None

Baked Potato Baked Potato 5 (Half Hunger.svgHunger.svgHunger.svg) 7.2 12.2 1.44

None

Cooking a potato in a furnace
Bread Bread 5 (Half Hunger.svgHunger.svgHunger.svg) 6 11 1.2

None

Cake (slice) Cake 2 (Hunger.svg) 0.4 2.4 0.2

None

Crafting
Cake (whole) Cake 12 (Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg) 2.4 14.4 0.2

None

Crafting
Carrot Carrot 3 (Half Hunger.svgHunger.svg) 4.8 7.8 1.6

None

  • Killing zombies
  • Harvesting carrots
Clownfish Clownfish 1 (Half Hunger.svg) 0.2 1.2 0.2

None

Fishing
Cooked Chicken Cooked Chicken 6 (Hunger.svgHunger.svgHunger.svg) 7.2 13.2 1.2

None

Cooked Fish Cooked Fish 5 (Half Hunger.svgHunger.svgHunger.svg) 6 11 1.2

None

Cooking a raw fish
Cooked Mutton Cooked Mutton 6 (Hunger.svgHunger.svgHunger.svg) 9.6 15.6 1.6

None

Cooked Porkchop Cooked Porkchop 8 (Hunger.svgHunger.svgHunger.svgHunger.svg) 12.8 20.8 1.6

None

Cooked Rabbit Cooked Rabbit 5 (Half Hunger.svgHunger.svgHunger.svg) 6 11 1.2

None

Cooked Salmon Cooked Salmon 6 (Hunger.svgHunger.svgHunger.svg) 9.6 15.6 1.6

None

Cooking a raw salmon
Cookie Cookie 2 (Hunger.svg) 0.4 2.4 0.2

None

Golden Apple Golden Apple 4 (Hunger.svgHunger.svg) 9.6 13.6 2.4
Enchanted Golden Apple Golden Apple 4 (Hunger.svgHunger.svg) 9.6 13.6 2.4 Crafting
Golden Carrot Golden Carrot 6 (Hunger.svgHunger.svgHunger.svg) 14.4 20.4 2.4

None

Crafting
Melon Slice Melon Slice 2 (Hunger.svg) 1.2 3.2 0.6

None

Mushroom Stew Mushroom Stew 6 (Hunger.svgHunger.svgHunger.svg) 7.2 13.2 1.2

None

Poisonous Potato Poisonous Potato 2 (Hunger.svg) 1.2 3.2 0.6


Poison
for 4 seconds (60% chance)

Harvesting potato plants
Potato Potato 1 (Half Hunger.svg) 0.6 1.6 0.6

None

  • Killing zombies
  • Harvesting potato plants
Pufferfish Pufferfish 1 (Half Hunger.svg) 0.2 1.2 0.2
(−4.8)[note 2]
Fishing
Pumpkin Pie Pumpkin Pie 8 (Hunger.svgHunger.svgHunger.svgHunger.svg) 4.8 12.8 0.6

None

Crafting
Rabbit Stew Rabbit Stew 10 (Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svg) 12 22 1.2

None

Crafting
Raw Beef Raw Beef 3 (Half Hunger.svgHunger.svg) 1.8 4.8 0.6

None

Killing cows
Raw Chicken Raw Chicken 2 (Hunger.svg) 1.2 3.2 0.6
(2.075)[note 2]


Hunger
for 30 seconds (30% chance)

Killing chickens
Raw Fish Raw Fish 2 (Hunger.svg) 0.4 2.4 0.2

None

Fishing
Raw Mutton Raw Mutton 2 (Hunger.svg) 1.2 3.2 0.6

None

Killing sheep
Raw Porkchop Raw Porkchop 3 (Half Hunger.svgHunger.svg) 1.8 4.8 0.6

None

Killing pigs
Raw Rabbit Raw Rabbit 2 (Hunger.svg) 1.8 3.8 0.9

None

Killing rabbits
Raw Salmon Raw Salmon 2 (Hunger.svg) 0.4 2.4 0.2

None

Fishing
Rotten Flesh Rotten Flesh 4 (Hunger.svgHunger.svg) 0.8 4.8 0.2
(1.8)[note 2]


Hunger
for 30 seconds (80% chance}

Spider Eye Spider Eye 2 (Hunger.svg) 3.2 5.2 1.6
(2.2)[note 3]


Poison
for 4 seconds

Killing spiders and Cave Spiders
Steak Steak 8 (Hunger.svgHunger.svgHunger.svgHunger.svg) 12.8 20.8 1.6

None

  1. Food Points + Saturation, which gives roughly how 'long' the food will last. See hunger for details. This value will be reduced if you are near your food or saturation caps, as excess points of either type will be wasted.
  2. a b c
    Average expected food quality if food poisoning isn't cured. Food poisoning lasts 30 seconds from the last food that inflicted it, and drains nearly 2 shanks of hunger over that duration. The loss comes from saturation before visible hunger.
  3. Food quality if poison isn't cured; healing the damage from poison quickly drains the hunger bar.

Video[edit]

History[edit]

Beta
1.8 Hunger was introduced. Food no longer restores health directly, but the player can regenerate if the hunger meter is 90% or over.
Official release
1.6.1 Health regeneration from food now increases the exhaustion level significantly, draining three points of food/saturation for every health point regenerated.
Console Edition
TU5 Added the food bar and hunger.

Issues[edit]

Issues relating to "Hunger" are maintained on the issue tracker. Report issues there.

References[edit]