We have begun migration of most wikis to our new host, Amazon Web Services. All but the top 100 wikis are in read-only mode until the migration is complete. Estimated completion: TBD -- Update: Fri 10/20 11pm UTC - We have encountered some unexpected issues. Our staff is working around the clock to complete this process as quickly as possible. Thank you for your patience.

Hunger

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

Hunger is an aspect of Minecraft that governs several aspects of gameplay. Eating food fills up the food bar, which is constantly drained by the player's actions. The food bar is located on the HUD opposite to the player's health bar on the bottom of the screen, represented by ten drumsticks (Hunger.svg), and each is equal to 2 half-units of food.

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

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.

While the player is sprinting, the food bar depletes very quickly. 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 difficulty. If it somehow gets depleted, such as by allowing it to deplete by switching to another difficulty and back again, it will quickly regenerate. Additionally, the food bar will not drain if the player remains completely stationary, or is simply walking.

Certain foods have a chance of inflicting Hunger status effect on the player upon consumption, which causes the player's food bar to deplete faster.

Effects[edit | edit source]

  • When the food bar is at 20 (Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg) or greater and there is still some saturation left, health regenerates at 1 (Half Heart.svg) health point each 12-second, costing 1.5 food points (6 units of exhaustion) per point healed.
  • When the food bar is at 18 (Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg) to 19 (Half Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg) points, or at 20 (Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg) with no saturation remaining, the player's health will slowly regenerate at a rate of 1 (Half Heart.svg) every 4 seconds, costing 1.5 food points (6 units of exhaustion) per point healed.
  • When the food bar is at 17 (Half Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg) points or below, the player will not naturally regenerate health unless difficulty is switched to Peaceful.
  • If the food bar is at 6 (Hunger.svgHunger.svgHunger.svg) points or below, then the player will not be able to sprint unless difficulty is switched to Peaceful.
  • 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.[1]

Food poisoning[edit | edit source]

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 (as well as Nausea and Poison). Eating a spider eye or poisonous potato actually deals the player Poison. The rest of the foods will not cause food poisoning. Hunger can also be caused when the player takes damage from a Husk.

Name Icon Chance to Hunger
Raw Chicken
30%
Rotten Flesh
80%
Husk HuskFace.png 100%
Pufferfish
100%

Behavior[edit | edit source]

Hunger from food poisoning adds 15.0 to the player's exhaustion level over the course of 30 seconds, draining Hunger.svg × 1⅞. In Peaceful difficulty, the food bar will change color, but will not drain out. Greenish swirls will also emit from the player, indicating that the player has food poisoning. When a pufferfish is eaten, it induces level III Hunger, but only for 15 seconds. In this time, 22.5 exhaustion points are added, draining Hunger.svg × 2 1316.

The duration of Hunger does not stack. So, if the player eats many poisonous foods at once, they 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 afflicted by Hunger.

Mechanics[edit | edit source]

Saturation[edit | edit source]

  • The player starts with 20 food points, i.e. a full hunger bar, and 5 saturation points. The starting exhaustion is 0.
  • Some actions increase the player's exhaustion (table see below). The exhaustion gets added up until it reaches 4. For example, sprinting generates 0.1 exhaustion points per meter, meaning that the full exhaustion is reached after 40 meters.
  • When the maximum exhaustion is reached, the saturation is decreased by one point, and the exhaustion is reset to 0. Therefore, after 200 meters of sprinting, the initial saturation is used up.
  • If the player's saturation is below 1 point, but not zero, it still resets the exhaustion to zero on consumption. This can be used to increase the efficiency by eating cookies, melons etc. one at a time.
  • As a visible sign that the saturation is used up, the hunger bar starts to shake or jitter periodically.
  • Once the saturation is empty, whenever the exhaustion reaches four, one visible point of hunger will disappear from the hunger bar. The player is now hungry.
  • Increasing hunger causes effects, culminating in the reduction of hitpoints.
  • When the player eats, they get back both hunger and saturation (table see below).
  • The total saturation never gets higher than the total number of hunger points. This means that, with a very low hunger bar, strongly saturating food will not give their full saturation. The best example is the golden carrot, giving 6 points of hunger plus 14.4 points of saturation. If the player is already very hungry, e.g. having only 2 points of hunger left over, the golden carrot would give the full 6 points of hunger but only 8 points of saturation, as the saturation is now 8. In order to provide the full 14.4 saturation, the hunger must already be 9, as 9 and 6 equals 15.
Hunger bar 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
+ Hunger points 6 6 6 6 6 6 6 6 6 6 6 6 6 6 5 4 3 2 1 -
= New hunger bar 7 8 9 10 11 12 13 14 15 16 17 18 19 20 20 20 20 20 20 -
Saturation points 7 8 9 10 11 12 13 14 14.4 14.4 14.4 14.4 14.4 14.4 14.4 14.4 14.4 14.4 14.4 -

The hunger status of a player is saved in the player.dat format using the following parameters:

  • foodLevel: current state of the hunger bar.
  • foodSaturationLevel: current saturation level.
  • foodTickTimer: Increases on every tick, once the hunger bar is at least 18, or completely empty. Whenever it reaches 80, 1 (Half Heart.svg) is added or deducted, depending on whether the player is saturated or starving.
  • foodExhaustionLevel: Sums up the exhaustion.

Exhaustion level increase[edit | edit source]

Any action not listed here will not increase exhaustion level. For example, normal walking doesn't increase exhaustion, and therefore won't decrease saturation or the food bar.

Action Exhaustion
level increase
Units
Swimming 0.01  per meter
Breaking a block 0.005 per block broken
Sprinting 0.1   per meter
Jumping 0.05  per jump
Attacking an enemy 0.1   per attack landed
Taking damage that is normally protected by armor 0.1   per distinct instance of damage being received
Hunger status effect 0.1   per second, per Hunger status effect level
Jumping while sprinting 0.2   per jump
Regenerating health by having Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg or higher,
or with naturalRegeneration=true
6.0   per 1 (Half Heart.svg) healed
Food poisoning from raw chicken or rotten flesh, or taken damage from husks. 3.0   full 0:30 duration of Hunger I, at 0.1 per second
Food poisoning from pufferfish 4.5   full 0:15 duration of Hunger III, at 0.3 per second

Food level and saturation level restoration[edit | edit source]

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

None

Baked Potato
5 (Half Hunger.svgHunger.svgHunger.svg) 6 11 1.2

None

Cooking a potato in a furnace
Beetroot
1 (Half Hunger.svg) 1.2 2.2 1.2

None

Harvesting beetroot crops
Beetroot Soup
6 (Hunger.svgHunger.svgHunger.svg) 7.2 13.2 1.2

None

Crafting a bowl together with beetroots
Bread
5 (Half Hunger.svgHunger.svgHunger.svg) 6 11 1.2

None

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

None

Consume one slice of cake
Cake (whole)
14 (Hunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svgHunger.svg) 2.8 16.8 0.2

None

Carrot
3 (Half Hunger.svgHunger.svg) 3.6 6.6 1.2

None

Chorus Fruit
4 (Hunger.svgHunger.svg) 2.4 6.4 0.6

The player may be teleported randomly, as described at Enderman#Teleportation.

Breaking chorus plants
Clownfish
1 (Half Hunger.svg) 0.2 1.2 0.2

None

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

None

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

None

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

None

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

None

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

None

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

None

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

None

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

None

Crafting a carrot with gold nuggets
Melon
2 (Hunger.svg) 1.2 3.2 0.6

None

  • Harvesting a melon block
Mushroom Stew
6 (Hunger.svgHunger.svgHunger.svg) 7.2 13.2 1.2

None

Poisonous Potato
2 (Hunger.svg) 1.2 3.2 0.6


Poison
for 4 seconds (60% chance)

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

None

Pufferfish
1 (Half Hunger.svg) 0.2 1.2 0.2
(−4.8)
Pumpkin Pie
8 (Hunger.svgHunger.svgHunger.svgHunger.svg) 4.8 12.8 0.6

None

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

None

Crafting with a bowl, carrot, baked potato, mushroom and cooked rabbit
Raw Beef
3 (Half Hunger.svgHunger.svg) 1.8 4.8 0.6

None

Killing cows and mooshrooms
Raw Chicken
2 (Hunger.svg) 1.2 3.2 0.6
(-2.075)


Hunger
for 30 seconds (30% chance)

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

None

Raw Mutton
2 (Hunger.svg) 1.2 3.2 0.6

None

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

None

Killing pigs
Raw Rabbit
3 (Half Hunger.svgHunger.svg) 1.8 4.8 0.6

None

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

None

Rotten Flesh
4 (Hunger.svgHunger.svg) 0.8 4.8 0.2
(-1.8)


Hunger
for 30 seconds (80% chance)

Spider Eye
2 (Hunger.svg) 3.2 5.2 1.6
(-2.2)


Poison
for 4 seconds

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.

Achievements[edit | edit source]

Icon Achievement In-game description Actual requirements (if different) Availability Xbox points earned Trophy type (PS)
Xbox PS Bedrock Nintendo

Iron Belly Stop starvation using Rotten Flesh Eat a piece of rotten flesh while starving (zero hunger points). Yes Yes Yes Yes 20G Bronze

Video[edit | edit source]

History[edit | edit source]

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.
1.7.2 The exhaustion cost of sprint jumping is now 0.8 (up from 0.2), meaning that constant sprint jumping is no longer viable as a means of fast long-distance travel in most situations.
1.8 Hunger now regenerates when depleted if the difficulty is set to Peaceful.
1.9 15w40a Health regenerates faster when saturation is non-zero.
Health regeneration increases exhaustion more.
15w44a Health regenerates speed bonus from non-zero saturation only applies when the hunger bar is at 20 or greater.
15w49a Sneaking now increases exhaustion by 0.005/m, decreased from 0.01/m.
1.11 16w32a Exhaustion rates decreased across the board: Swimming decreased from 0.015/m to 0.01/m, breaking blocks decreased from 0.025/block to 0.005/block, jumping decreased from 0.2/jump to 0.05/jump, sprint jumping decreased from 0.8/jump to 0.2/jump, attacking and taking damage both decreased from 0.3/attack to 0.1/attack, Hunger status effect decreased from 0.5/s to 0.1/s.
Sneaking and walking no longer affect exhaustion.
Exhaustion rate from regeneration is increased from 0.4/half-heart to 0.6/half-heart.
Pocket Edition Alpha
0.12.1 build 1 Hunger was introduced. Food no longer restores health directly, but the player can regenerate if the hunger meter is 90% or over.
Legacy Console Edition
TU5 CU1 1.0 Patch 1 Patch 1 Added the food bar and hunger.
TU43 CU33 1.36 Patch 13 Food now regenerates health.
TU54 CU44 1.52 Patch 24 Patch 4 Exhaustion rates decreased across the board: Swimming decreased from 0.015/m to 0.01/m, breaking blocks decreased from 0.025/block to 0.005/block, jumping decreased from 0.2/jump to 0.05/jump, sprint jumping decreased from 0.8/jump to 0.2/jump, attacking and taking damage both decreased from 0.3/attack to 0.1/attack, Hunger status effect decreased from 0.5/s to 0.1/s.
Sneaking and walking no longer affect exhaustion.
Exhaustion rate from regeneration is increased from 0.4/half-heart to 0.6/half-heart.

Issues[edit | edit source]

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

References[edit | edit source]