Hunger is a player-specific feature of Minecraft that regulates player's certain abilities (health regeneration and the ability to sprint) the value of which is managed by the player's activity.
Contents
- 1 Description
- 2 Mechanics
- 2.1 Effects of hunger
- 2.2 Exhaustion level increase
- 2.3 Food level and saturation level restoration
- 3 Food poisoning
- 4 Achievements
- 5 Video
- 6 History
- 7 Issues
- 8 References
Description[]
The player's hunger value is shown on the heads-up display in the form of a hunger bar (or food bar), which is similar to the health bar (located above the hotbar), located opposite to it and represented by ten drumsticks (
Various levels of player's hunger control health regeneration (or depletion) and the ability to sprint. When hunger is at 18 (
An important aspect of hunger not shown on the hunger bar is called food saturation and controls the decreasing of the hunger value. It depends on what the player has eaten last. There is also a food exhaustion value that controls the decreasing of the food saturation level. How exactly they control the overall hunger value is described in more depth in the Mechanics section.
See also: § Food poisoning
Certain foods have a chance of inflicting the Hunger effect on the player upon consumption, causing the player's food bar to deplete faster and turn a yellow-green color (
Mechanics[]
The hunger system utilizes four variables to control players' abilities, the values of which are stored in the player.dat format:
- foodLevel: The player's current hunger level, shown on the hunger bar. Its initial value on world creation or respawn is 20 (× 10).
- foodSaturationLevel: The player's current saturation level, which determines how fast foodLevel depletes and is controlled by the kinds of food the player has eaten. Its maximum value always equals foodLevel's value and decreases with foodLevel. Its initial value on world creation or respawn is 5.
- foodTickTimer: This variable is used when foodLevel either exceeds 17 (), or is at zero. It increases on every tick, and whenever it reaches 80 (4 seconds), it resets to zero and 1is added or deducted, depending on whether the player is saturated or starving. If the player has a full 20 (× 10), 1⁄6 of 1times the player's foodSaturationLevel is restored, up to a maximum of 1, when foodTickTimer reaches 10 (1⁄2 second), and foodTickTimer is reset to zero.
- foodSaturationLevel0: The player's current exhaustion level, which determines how fast the foodSaturationLevel depletes. Its value is increased by the player's actions (see Exhaustion level increase for specific values). The initial value is zero. When it reaches a value of at least 4, the total value is decreased by 4 and one point is subtracted from foodSaturationLevel, or foodLevel if foodSaturationLevel is at zero.
The above variables can be queried in-game with the following command: foodSaturationLevel5[Java Edition only].
As a visible sign that the saturation is used up, the hunger bar starts to shake or jitter periodically. When the saturation level is at zero, once the exhaustion value reaches 4, the total hunger value is decreased by 1 (
Effects of hunger[]
Various hunger levels lead to various effects on the player:
- When the hunger bar is at 20 () and there is any saturation left, health regenerates 1every 1⁄2 second.[Java Edition only]
- When the hunger bar is at 18 () or more, health slowly regenerates 1every 4 seconds.
- When the player is damaged with 18 (× 9) or more, health regenerates 2for one time.[Bedrock Edition only]
- When the player is damaged with 18 (
- When the hunger bar is at 17 () points or below, the player does not naturally regenerate health.
- If the hunger bar is at 6 () points or below, then the player cannot sprint.
- When the hunger bar is at 0 (), the player's health depletes at a rate of 1every 4 seconds (this makes sleeping impossible). On Easy difficulty, the player's health stops dropping at 10, on Normal, it stops at 1, and on Hard, it keeps draining until either the player eats something or starves to death. Resistance and armor do not reduce starvation damage.[1]
Switching to Peaceful difficulty eliminates all penalties above, and rapidly restores the player's hunger bar and health.
Exhaustion level increase[]
Any action not listed here does not increase exhaustion level. For example, normal walking doesn't increase exhaustion, and therefore does not decrease saturation or the food bar.
ActionExhaustionlevel increaseUnitsSwimming0.01per meterBreaking a block0.005per block brokenSprinting0.1per meterJumping0.05per jumpAttacking an enemy0.1per attack landedTaking damage that is normally protected by armor0.1per distinct instance of damage being receivedHunger0.005per tick, per Hunger status effect levelJumping while sprinting0.2per jumpRegenerating health by having
having gamerule foodSaturationLevel6 set to foodSaturationLevel76.0per 1
Food level and saturation level restoration[]
Main article: Food
NameIconFood pointsSaturation restoredEffective quality[note 1]Saturation ratioEffect(s)Source(s)Apple4 (
- Destroyed/despawned oak or dark oak leaves
- Stronghold altar and storeroom, village weaponsmith and plains house, igloo and bonus chests
- Receive 4 for 1 emerald at apprentice-level trade of farmer villager
- Harvesting beetroot crops
- Farmer villager who drop beetroot after harvesting beetroot crop
- Crafting a bowl together with beetroots
- village snowy tundra house chest
- Crafting from wheat
- Dungeon, stronghold altar and storeroom, village, mineshaft, woodland mansion and bonus chests
- Receive 6 for 1 emerald at novice-level trade of farmer villager
- Farmer villager who drop bread after harvesting wheat
- Raid gift from farmer villager[Java Edition only]
- Crafting from wheat, eggs, sugar, and milk
- Receive 1 for 1 emerald at expert-level trade of farmer villager
- Buried treasure chest[Bedrock Edition only]
- Killing zombies
- Harvesting carrot crops
- pillager outpost and Shipwreck supply chest
- bonus chest[Bedrock Edition only]
- Farmer villager who drop carrot after harvesting carrot crop
- Cooking a raw chicken
- Killing chickens with fire
- Receive 4[BE only] or 8[JE only] for 1 emerald at novice-level trade from Butcher villager
- Raid gift from butcher villager[Java Edition only]
- Cooking a raw cod
- Killing cod with fire[Java Edition only]
- Killing dolphin with fire
- Rare drop from guardians and elder guardians when killed with fire[Java Edition only]
- Receive 6 for 1 emerald + 6 raw cod at novice-level trade from fisherman villager
- buried treasure chest[Java Edition only]
- Cooking raw mutton
- Killing sheep with fire
- Receive 4 for 1 emerald at apprentice-level trade from butcher villager
- Raid gift from butcher villager[Java Edition only]
- Cooking a raw porkchop
- Killing pigs or hoglins with fire
- Receive 3[BE only] or 5[JE only] for 1 emerald at apprentice-level trade from butcher villager
- Raid gift from butcher villager[Java Edition only]
- Cooking raw rabbit
- Killing rabbits with fire
- Receive 5 for 1 emerald at apprentice-level trade from butcher villager[Bedrock Edition only]
- Raid gift from butcher villager[Java Edition only]
- Cooking a raw salmon
- Killing salmon with fire[Java Edition only]
- buried treasure chest[Java Edition only]
- Receive 6 for 1 emerald + 1 raw salmon at apprentice-level trade from fisherman villager
- Crafting from wheat and cocoa beans
- Receive 18 for 3 emerald at journeyman-level trade from farmer villager
0.2[BE only]1.6[JE only]
1.2[BE only]0.6[JE only]
0.2[BE only]None
- Smelting kelp in a furnace, smoker, or campfire
- Crafting from dried kelp block
- Raid gift from farmer villager[Java Edition only]
- Regeneration IV for 30 seconds[Bedrock Edition only]
- Absorption IV for 2 minutes
- Resistance for 5 minutes
- Fire Resistance for 5 minutes
- Desert pyramid, dungeon, woodland mansion, mineshaft, and ancient city chests. This is the only food item in the game that is not renewable.
- Absorption for 2 minutes
- Crafting from an apple and gold ingots
- Desert pyramid, dungeon, mineshaft, stronghold altar, woodland mansion, igloo, and big underwater ruins chests
- Collected from cave vines
- Crafting a carrot with gold nuggets
- Receive 3 for 3 emerald at master-level trade from farmer villager
- Crafting from honey block
- Collecting from beehives or bee nests
- Harvesting a melon block
- Crafting with a bowl and one of each mushroom
- Using a bowl on a mooshroom
- Harvesting potato crops
- Shipwreck supply chest
- Killing zombies
- Harvesting potato crops
- Farmer villager who drop potato after harvesting potato crop
- bonus chest[Bedrock Edition only]
- village plains and taiga house, pillager outpost, and shipwreck supply chest
(−4.8)[note 2]* Hunger III for 15 seconds
- Nausea for 15 seconds
- Poison II for 60 seconds
- Fishing
- Killing pufferfish
- Rare drop from guardians and elder guardian
- Crafting with a pumpkin, an egg, and sugar
- Receive 4 for 1 emerald at apprentice-level trade from farmer villager
- village taiga house chest
- Raid gift from farmer villager[Java Edition only]
- Crafting with a bowl, carrot, baked potato, mushroom, and cooked rabbit
- Receive 1 for 1 emerald at novice-level trade from butcher villager
- Killing cows, red mooshrooms, and brown mooshroom
- village butcher chest
(-2.075)[note 2]Hunger for 30 seconds (30% chance)
- Killing chickens
- Cat gift
- Fishing
- Killing cod, guardians, elder guardians, dolphins, polar bears
- Rare drop from guardians and elder guardians
- village fisher barrel
- Raid gift from fisherman villager[Java Edition only]
- Killing sheep
- village butcher chest
- Killing pigs or hoglins
- village butcher chest
- Killing rabbits
- Fishing
- Killing salmon and polar bears
- Rare drop from guardians and elder guardians
- Raid gift from fisherman villager[Java Edition only]
- village fisher barrel[Java Edition only]
- bonus chest
(-1.8)[note 2]Hunger for 30 seconds (80% chance)
- Killing zombies, zombified piglins, zombie villagers, husks, drowned, and zombie horses
- dungeon, igloo, woodland mansion, small underwater ruins, village temple, shipwreck supply, desert, and jungle pyramid chests
- Caught as junk from fishing
- Cat gift
(-2.2)[note 3]Poison for 5 seconds
- Killing spiders and cave spiders
- Killing a witch
- Cooking raw beef
- Killing cows, red mooshrooms, or brown mooshrooms with fire
- Receive 3 for 1 emerald at journeyman-level trade from butcher villager
- Raid gift from butcher villager[Java Edition only]
- Regeneration
- Jump Boost
- Poison
- Wither
- Weakness
- Blindness
- Fire Resistance
- Saturation
- Night Vision
- Crafting with a bowl, red mushroom, brown mushroom, and any flower
- Feed brown mooshroom any flower then using a bowl on brown mooshroom
- Crafting with a bowl, red mushroom, brown mushroom, and Dandelion or Blue Orchid
- Feed brown mooshroom a dandelion or blue orchid then using a bowl on brown mooshroom
1.2[BE only]2.4[JE only]
3.2[BE only]0.2[JE only]
0.6[BE only]None
- Breaking sweet berry bushes
- Picking ripe berries from sweet berry bushes (right-click)
- Taiga village house chests.[Java Edition only]
- Fishing
- Killing tropical fish
- Rare drop from guardians and elder guardians
- ↑ Food Points + Saturation, which gives roughly how long the food can last. See hunger for details. This value is reduced if the player is near the food or saturation cap, as excess points of either type are wasted.
- ↑ 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.
Can you starve to death in Minecraft peaceful mode?
Additionally, while you can't die of starvation in peaceful, you still can lose health if you don't eat regularly enough.How to starve in Minecraft?
Here are the actions players can perform that will cause their hunger to drain:.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 when wearing armor - 0.1 per attack taken..Does hunger go down in Easy mode?
When you are starving on Easy mode, you'll lose health until you are left with five hearts. This will go down to half a heart if you are starving on Normal difficulty. Hard difficulty is when you have to worry about hunger the most, as starvation will eventually kill you. So don't forget to eat!How long does it take to run out of hunger in Minecraft?
When the hunger bar is empty, a player's health decreases by half a heart every four seconds. On "Hard" mode, the draining health does not stop until either a player dies or eats something to replenish their hunger bar.