Food mechanics

It has been suggested that this page be merged with Food.
 [discuss]
If this merge affects many pages or may potentially be controversial, do not merge the page until a consensus is reached.
Reason: This page is largely just a better version of the Food page.
The hunger bar is shown above the hotbar to the right of the health bar. The saturation bar is invisible.

This article is about the mechanics of food, including eating, hunger, saturation, exhaustion, and status effects. The mechanics of food are exclusively used by players.

Eating

The consumption time difference between a honey bottle (2 seconds), bread (1.6 seconds), and dried kelp (0.8 seconds).

Eating is the process of consuming food items. Eating a food item requires holding use, and takes an amount of time dependent on the food's consumption time value.

Consumption time

Eating (or drinking) a consumable takes 32 game ticks (1.6 seconds), with the exceptions of dried kelp which takes half of the time (16 game ticks (0.8 seconds)), and honey bottles which take 25% longer (40 game ticks (2 seconds)). Cake is a block and thus cannot be eaten in the hand, requiring the player to place it down and then use it.

Eating while at full hunger

In Survival, food cannot be eaten while already at full hunger, with the exception of chorus fruit, golden apples, enchanted golden apples, honey bottles, and suspicious stew. This also applies to potions, water bottles, and milk buckets. In Creative mode and Peaceful difficultyโ€Œ[Bedrock Edition only], any food can be consumed at any time.

Hunger

"Hunger" redirects here. For the status effect, see Hunger (effect).

Hunger is a value that determines healing, whether or not the player can sprint, and whether or not the player is starving. Hunger is restored by eating food items. Hunger is lost by healing or by performing energy-intensive actions that exhaust the player, and is the second value to be consumed by it, after saturation.

The player's current hunger value is represented by the hunger bar (๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—), which displays above the hotbar on the right side, opposite of the health bar. Each hunger point is represented by half a hunger icon (๐Ÿ–), and the maximum hunger value is 20. Hunger points can also be restored by applying the Saturation status effect. The hunger value does not drain on Peaceful difficulty, and always remains at the maximum value of 20.

Natural regeneration

Gaining natural regeneration by being at ๐Ÿฆด๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ— or above.

If the hunger value is at 18 (๐Ÿฆด๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—) or above, or the saturation value is non-zero, the player's health naturally regenerates every 4 seconds (80 ticks). Saturation is used first, and then once fully drained, hunger is used instead. When the hunger value drops to 17 (๐Ÿฆด๐Ÿ–๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—) or below, natural regeneration stops.

Sprinting

If the hunger value is at 6 (๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿ—๐Ÿ—๐Ÿ—) or below, the player loses the ability to sprint.

Starvation

Taking starvation damage due to being at ๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด.

If the hunger value reaches 0 (๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด), the player will begin to lose health due to starvation. Starvation damages the player by 1HP๐Ÿ’” every 4 seconds (80 ticks). Starvation damage ignores armor and armor toughness, the Protection enchantment, and the Resistance effect.[1] Starvation damage stops taking effect when reaching certain health thresholds on certain difficulties.

  • On Easy difficulty, starvation damage stops when the player's health is at 10HPโค๏ธโค๏ธโค๏ธโค๏ธโค๏ธ๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค or below.
  • On Normal difficulty, starvation damage stops when the player's health is at 1HP๐Ÿ’”๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค or below.
  • On Hard difficulty, starvation damage does not stop at any health threshhold, and will kill the player by bringing them to 0HP๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค๐Ÿ–ค.

Food hunger values

Hunger values
Food type Hunger restored
Invicon Cake.png: Inventory sprite for Cake in Minecraft as shown in-game linking to Cake with description: Cake[note 1] 14 (๐Ÿ— ร— 7)
Invicon Suspicious Stew.png: Inventory sprite for Suspicious Stew in Minecraft as shown in-game linking to Suspicious Stew with description: Suspicious Stew[note 2] 13 (๐Ÿ— ร— 6.5)
Invicon Rabbit Stew.png: Inventory sprite for Rabbit Stew in Minecraft as shown in-game linking to Rabbit Stew with description: Rabbit Stew 10 (๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—)
Invicon Cooked Porkchop.png: Inventory sprite for Cooked Porkchop in Minecraft as shown in-game linking to Cooked Porkchop with description: Cooked PorkchopInvicon Pumpkin Pie.png: Inventory sprite for Pumpkin Pie in Minecraft as shown in-game linking to Pumpkin Pie with description: Pumpkin PieInvicon Steak.png: Inventory sprite for Steak in Minecraft as shown in-game linking to Steak with description: Steak 8 (๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—)
Invicon Beetroot Soup.png: Inventory sprite for Beetroot Soup in Minecraft as shown in-game linking to Beetroot Soup with description: Beetroot SoupInvicon Cooked Chicken.png: Inventory sprite for Cooked Chicken in Minecraft as shown in-game linking to Cooked Chicken with description: Cooked ChickenInvicon Cooked Mutton.png: Inventory sprite for Cooked Mutton in Minecraft as shown in-game linking to Cooked Mutton with description: Cooked MuttonInvicon Cooked Salmon.png: Inventory sprite for Cooked Salmon in Minecraft as shown in-game linking to Cooked Salmon with description: Cooked SalmonInvicon Golden Carrot.png: Inventory sprite for Golden Carrot in Minecraft as shown in-game linking to Golden Carrot with description: Golden CarrotInvicon Honey Bottle.png: Inventory sprite for Honey Bottle in Minecraft as shown in-game linking to Honey Bottle with description: Honey BottleInvicon Mushroom Stew.png: Inventory sprite for Mushroom Stew in Minecraft as shown in-game linking to Mushroom Stew with description: Mushroom StewInvicon Suspicious Stew.png: Inventory sprite for Suspicious Stew in Minecraft as shown in-game linking to Suspicious Stew with description: Suspicious Stew 6 (๐Ÿ—๐Ÿ—๐Ÿ—)
Invicon Baked Potato.png: Inventory sprite for Baked Potato in Minecraft as shown in-game linking to Baked Potato with description: Baked PotatoInvicon Bread.png: Inventory sprite for Bread in Minecraft as shown in-game linking to Bread with description: BreadInvicon Cooked Cod.png: Inventory sprite for Cooked Cod in Minecraft as shown in-game linking to Cooked Cod with description: Cooked CodInvicon Cooked Rabbit.png: Inventory sprite for Cooked Rabbit in Minecraft as shown in-game linking to Cooked Rabbit with description: Cooked RabbitInvicon Rotten Flesh.png: Inventory sprite for Rotten Flesh in Minecraft as shown in-game linking to Rotten Flesh with description: Rotten Flesh 5 (๐Ÿ–๐Ÿ—๐Ÿ—)
Invicon Apple.png: Inventory sprite for Apple in Minecraft as shown in-game linking to Apple with description: AppleInvicon Chorus Fruit.png: Inventory sprite for Chorus Fruit in Minecraft as shown in-game linking to Chorus Fruit with description: Chorus FruitInvicon Enchanted Golden Apple.png: Inventory sprite for Enchanted Golden Apple in Minecraft as shown in-game linking to Enchanted Golden Apple with description: Enchanted Golden AppleInvicon Golden Apple.png: Inventory sprite for Golden Apple in Minecraft as shown in-game linking to Golden Apple with description: Golden Apple 4 (๐Ÿ—๐Ÿ—)
Invicon Carrot.png: Inventory sprite for Carrot in Minecraft as shown in-game linking to Carrot with description: CarrotInvicon Raw Beef.png: Inventory sprite for Raw Beef in Minecraft as shown in-game linking to Raw Beef with description: Raw BeefInvicon Raw Porkchop.png: Inventory sprite for Raw Porkchop in Minecraft as shown in-game linking to Raw Porkchop with description: Raw PorkchopInvicon Raw Rabbit.png: Inventory sprite for Raw Rabbit in Minecraft as shown in-game linking to Raw Rabbit with description: Raw Rabbit 3 (๐Ÿ–๐Ÿ—)
Invicon Cookie.png: Inventory sprite for Cookie in Minecraft as shown in-game linking to Cookie with description: CookieInvicon Glow Berries.png: Inventory sprite for Glow Berries in Minecraft as shown in-game linking to Glow Berries with description: Glow BerriesInvicon Melon Slice.png: Inventory sprite for Melon Slice in Minecraft as shown in-game linking to Melon Slice with description: Melon SliceInvicon Poisonous Potato.png: Inventory sprite for Poisonous Potato in Minecraft as shown in-game linking to Poisonous Potato with description: Poisonous PotatoInvicon Raw Chicken.png: Inventory sprite for Raw Chicken in Minecraft as shown in-game linking to Raw Chicken with description: Raw ChickenInvicon Raw Cod.png: Inventory sprite for Raw Cod in Minecraft as shown in-game linking to Raw Cod with description: Raw CodInvicon Raw Mutton.png: Inventory sprite for Raw Mutton in Minecraft as shown in-game linking to Raw Mutton with description: Raw MuttonInvicon Raw Salmon.png: Inventory sprite for Raw Salmon in Minecraft as shown in-game linking to Raw Salmon with description: Raw SalmonInvicon Spider Eye.png: Inventory sprite for Spider Eye in Minecraft as shown in-game linking to Spider Eye with description: Spider EyeInvicon Sweet Berries.png: Inventory sprite for Sweet Berries in Minecraft as shown in-game linking to Sweet Berries with description: Sweet BerriesInvicon Cake.png: Inventory sprite for Cake in Minecraft as shown in-game linking to Cake with description: Cake[note 3] 2 (๐Ÿ—)
Invicon Beetroot.png: Inventory sprite for Beetroot in Minecraft as shown in-game linking to Beetroot with description: BeetrootInvicon Dried Kelp.png: Inventory sprite for Dried Kelp in Minecraft as shown in-game linking to Dried Kelp with description: Dried KelpInvicon Potato.png: Inventory sprite for Potato in Minecraft as shown in-game linking to Potato with description: PotatoInvicon Pufferfish.png: Inventory sprite for Pufferfish in Minecraft as shown in-game linking to Pufferfish with description: PufferfishInvicon Tropical Fish.png: Inventory sprite for Tropical Fish in Minecraft as shown in-game linking to Tropical Fish with description: Tropical Fish 1 (๐Ÿ–)

Saturation

"Saturation" redirects here. For the status effect, see Saturation (effect).

Saturation is a value that determines healing, as well as the time until hunger begins to deplete. Saturation is lost by healing or performing energy-intensive actions that exhaust the player, and is the first value to be consumed by it, before hunger.

The player's current saturation value is not visually displayed as a bar, unlike the hunger value. Instead, when saturation reaches zero, the hunger bar starts to shake or jitter periodically.

Saturation boost

Gaining saturation boost from reaching full hunger, consuming the saturation gained from the cooked porkchop to heal.
This feature is exclusive to Java Edition.
 

Saturation boost[2] is a mechanic exclusive to Java Edition that regenerates health when the player's hunger bar is full (๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—). Saturation boost heals 1HP๐Ÿ’” and consumes 1.5 (๐Ÿ–) saturation points every 0.5 seconds (10 ticks).

Food saturation values

Saturation values
Food type Saturation restored Saturation boostโ€Œ[Java Edition only]
Health restored Duration
Invicon Suspicious Stew.png: Inventory sprite for Suspicious Stew in Minecraft as shown in-game linking to Suspicious Stew with description: Suspicious Stew[note 4] 21.2 (๐Ÿ— ร— 10.6) 14.133HPโค๏ธ ร— 7.0665 7.067 seconds (141 ticks)
Invicon Golden Carrot.png: Inventory sprite for Golden Carrot in Minecraft as shown in-game linking to Golden Carrot with description: Golden Carrot 14.4 (๐Ÿ— ร— 7.2) 9.6HPโค๏ธ ร— 4.8 4.8 seconds (96 ticks)
Invicon Cooked Porkchop.png: Inventory sprite for Cooked Porkchop in Minecraft as shown in-game linking to Cooked Porkchop with description: Cooked PorkchopInvicon Steak.png: Inventory sprite for Steak in Minecraft as shown in-game linking to Steak with description: Steak 12.8 (๐Ÿ— ร— 6.4) 8.533HPโค๏ธ ร— 4.2665 4.267 seconds (85 ticks)
Invicon Rabbit Stew.png: Inventory sprite for Rabbit Stew in Minecraft as shown in-game linking to Rabbit Stew with description: Rabbit Stew 12 (๐Ÿ— ร— 6) 8HPโค๏ธโค๏ธโค๏ธโค๏ธ 4 seconds (80 ticks)
Invicon Cooked Mutton.png: Inventory sprite for Cooked Mutton in Minecraft as shown in-game linking to Cooked Mutton with description: Cooked MuttonInvicon Cooked Salmon.png: Inventory sprite for Cooked Salmon in Minecraft as shown in-game linking to Cooked Salmon with description: Cooked SalmonInvicon Enchanted Golden Apple.png: Inventory sprite for Enchanted Golden Apple in Minecraft as shown in-game linking to Enchanted Golden Apple with description: Enchanted Golden AppleInvicon Golden Apple.png: Inventory sprite for Golden Apple in Minecraft as shown in-game linking to Golden Apple with description: Golden Apple 9.6 (๐Ÿ–๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—) 6.4HPโค๏ธ ร— 3.2 3.2 seconds (64 ticks)
Invicon Beetroot Soup.png: Inventory sprite for Beetroot Soup in Minecraft as shown in-game linking to Beetroot Soup with description: Beetroot SoupInvicon Cooked Chicken.png: Inventory sprite for Cooked Chicken in Minecraft as shown in-game linking to Cooked Chicken with description: Cooked ChickenInvicon Mushroom Stew.png: Inventory sprite for Mushroom Stew in Minecraft as shown in-game linking to Mushroom Stew with description: Mushroom StewInvicon Suspicious Stew.png: Inventory sprite for Suspicious Stew in Minecraft as shown in-game linking to Suspicious Stew with description: Suspicious Stew 7.2 (๐Ÿ–๐Ÿ—๐Ÿ—๐Ÿ—) 4.8HPโค๏ธ ร— 2.4 2.4 seconds (48 ticks)
Invicon Baked Potato.png: Inventory sprite for Baked Potato in Minecraft as shown in-game linking to Baked Potato with description: Baked PotatoInvicon Bread.png: Inventory sprite for Bread in Minecraft as shown in-game linking to Bread with description: BreadInvicon Cooked Cod.png: Inventory sprite for Cooked Cod in Minecraft as shown in-game linking to Cooked Cod with description: Cooked CodInvicon Cooked Rabbit.png: Inventory sprite for Cooked Rabbit in Minecraft as shown in-game linking to Cooked Rabbit with description: Cooked Rabbit 6 (๐Ÿ—๐Ÿ—๐Ÿ—) 4HPโค๏ธโค๏ธ 2 seconds (40 ticks)
Invicon Pumpkin Pie.png: Inventory sprite for Pumpkin Pie in Minecraft as shown in-game linking to Pumpkin Pie with description: Pumpkin Pie 4.8 (๐Ÿ–๐Ÿ—๐Ÿ—) 3.2HPโค๏ธ ร— 1.6 1.6 seconds (32 ticks)
Invicon Carrot.png: Inventory sprite for Carrot in Minecraft as shown in-game linking to Carrot with description: Carrot 3.6 (๐Ÿ–๐Ÿ—) 2.4HPโค๏ธ ร— 1.2 1.2 seconds (24 ticks)
Invicon Spider Eye.png: Inventory sprite for Spider Eye in Minecraft as shown in-game linking to Spider Eye with description: Spider Eye 3.2 (๐Ÿ–๐Ÿ—) 2.133HPโค๏ธ ร— 1.0665 1.067 seconds (21 ticks)
Invicon Cake.png: Inventory sprite for Cake in Minecraft as shown in-game linking to Cake with description: Cake[note 5] 2.8 (๐Ÿ–๐Ÿ—) 1.867HPโค๏ธ ร— 0.9335 0.933 seconds (19 ticks)
Invicon Apple.png: Inventory sprite for Apple in Minecraft as shown in-game linking to Apple with description: AppleInvicon Chorus Fruit.png: Inventory sprite for Chorus Fruit in Minecraft as shown in-game linking to Chorus Fruit with description: Chorus Fruit 2.4 (๐Ÿ–๐Ÿ—) 1.6HPโค๏ธ ร— 0.8 0.8 seconds (16 ticks)
Invicon Raw Beef.png: Inventory sprite for Raw Beef in Minecraft as shown in-game linking to Raw Beef with description: Raw BeefInvicon Raw Porkchop.png: Inventory sprite for Raw Porkchop in Minecraft as shown in-game linking to Raw Porkchop with description: Raw PorkchopInvicon Raw Rabbit.png: Inventory sprite for Raw Rabbit in Minecraft as shown in-game linking to Raw Rabbit with description: Raw Rabbit 1.8 (๐Ÿ–) 1.2HPโค๏ธ ร— 0.6 0.6 seconds (12 ticks)
Invicon Beetroot.png: Inventory sprite for Beetroot in Minecraft as shown in-game linking to Beetroot with description: BeetrootInvicon Honey Bottle.png: Inventory sprite for Honey Bottle in Minecraft as shown in-game linking to Honey Bottle with description: Honey BottleInvicon Melon Slice.png: Inventory sprite for Melon Slice in Minecraft as shown in-game linking to Melon Slice with description: Melon SliceInvicon Poisonous Potato.png: Inventory sprite for Poisonous Potato in Minecraft as shown in-game linking to Poisonous Potato with description: Poisonous PotatoInvicon Raw Chicken.png: Inventory sprite for Raw Chicken in Minecraft as shown in-game linking to Raw Chicken with description: Raw ChickenInvicon Raw Mutton.png: Inventory sprite for Raw Mutton in Minecraft as shown in-game linking to Raw Mutton with description: Raw MuttonInvicon Sweet Berries.png: Inventory sprite for Sweet Berries in Minecraft as shown in-game linking to Sweet Berries with description: Sweet Berriesโ€Œ[Bedrock Edition only] 1.2 (๐Ÿ–) 0.8HPโค๏ธ ร— 0.4 0.4 seconds (8 ticks)
Invicon Rotten Flesh.png: Inventory sprite for Rotten Flesh in Minecraft as shown in-game linking to Rotten Flesh with description: Rotten Flesh 0.8 (๐Ÿ–) 0.533HPโค๏ธ ร— 0.2665 0.267 seconds (5 ticks)
Invicon Potato.png: Inventory sprite for Potato in Minecraft as shown in-game linking to Potato with description: PotatoInvicon Dried Kelp.png: Inventory sprite for Dried Kelp in Minecraft as shown in-game linking to Dried Kelp with description: Dried Kelpโ€Œ[Java Edition only] 0.6 (๐Ÿ–) 0.4HPโค๏ธ ร— 0.2 0.2 seconds (4 ticks)
Invicon Cookie.png: Inventory sprite for Cookie in Minecraft as shown in-game linking to Cookie with description: CookieInvicon Glow Berries.png: Inventory sprite for Glow Berries in Minecraft as shown in-game linking to Glow Berries with description: Glow BerriesInvicon Raw Cod.png: Inventory sprite for Raw Cod in Minecraft as shown in-game linking to Raw Cod with description: Raw CodInvicon Raw Salmon.png: Inventory sprite for Raw Salmon in Minecraft as shown in-game linking to Raw Salmon with description: Raw SalmonInvicon Sweet Berries.png: Inventory sprite for Sweet Berries in Minecraft as shown in-game linking to Sweet Berries with description: Sweet Berriesโ€Œ[Java Edition only]Invicon Cake.png: Inventory sprite for Cake in Minecraft as shown in-game linking to Cake with description: Cake[note 6] 0.4 (๐Ÿ–) 0.267HPโค๏ธ ร— 0.1335 0.133 seconds (3 ticks)
Invicon Pufferfish.png: Inventory sprite for Pufferfish in Minecraft as shown in-game linking to Pufferfish with description: PufferfishInvicon Tropical Fish.png: Inventory sprite for Tropical Fish in Minecraft as shown in-game linking to Tropical Fish with description: Tropical FishInvicon Dried Kelp.png: Inventory sprite for Dried Kelp in Minecraft as shown in-game linking to Dried Kelp with description: Dried Kelpโ€Œ[Bedrock Edition only] 0.2 (๐Ÿ–) 0.133HPโค๏ธ ร— 0.0665 0.067 seconds (2 ticks)

Exhaustion

Exhaustion is incurred from doing certain energy-intensive actions, and certain actions exhaust the player more than others. Exhaustion first reduces saturation, and then reduces hunger.

Once the exhaustion level reaches 4.0, it resets to 0.0 and reduces the saturation by 1 (๐Ÿ–) if there is any saturation remaining. If the saturation is 0, it reduces the hunger by 1 (๐Ÿ–) instead.

Energy-intensive actions

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 entity 0.1 per attack landed
Attacking with a spear enchanted with Lunge 4.0 ร— (level) per lunge attack, regardless whether it hits
Taking damage that is normally protected by armor 0.1 per distinct instance of damage being received
Hunger 0.005 per tick, per Hunger status effect level
Jumping while sprinting 0.2 per jump
Natural regeneration (requires ๐Ÿ— ร— 9 or higher and having the gamerule naturalRegeneration set to true) 6.0 per 1HP๐Ÿ’” healed
Hunger from raw chicken, rotten flesh, or taking damage from husks. 3.0 full 0:30 duration of Hunger I, at 0.1 per second
Hunger from pufferfish 4.5 full 0:15 duration of Hunger III, at 0.3 per second
Getting pushed by other means (except flowing water, which counts as swimming) - -

Effects

Getting the Hunger effect from eating rotten flesh.

Certain foods provide additional effects when eaten, both helpful and harmful. This can come in the form of gaining status effects, clearing status effects, or teleportation.

Hunger effect

Main article: Hunger (effect)

The Hunger effect removes 1 (๐Ÿ–) hunger or 1 (๐Ÿ–) saturation point every 40level seconds, and turns the hunger bar to a green color (๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—๐Ÿ—). It is inflicted by being attacked by a husk, or by eating pufferfish, rotten flesh, or raw chicken.

Saturation effect

Main article: Saturation (effect)

The Saturation effect replenishes 1 (๐Ÿ–) hunger point and 2 (๐Ÿ—) saturation points every 0.05 seconds (1 tick)โ€Œ[Java Edition only][3] per level. It is applied exclusively through suspicious stew crafted with a blue orchid or dandelion.

Internal variables

Food mechanics utilize four variables, the values of which are stored in the player.dat format. Variables can be queried in-game with the following command: /data get entity <player's name> <variable>โ€Œ[Java Edition only].

  • 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 1HP๐Ÿ’” is added or deducted, depending on whether the player is saturated or starving. If the player has a full 20 (๐Ÿ— ร— 10), 1โ„6 of 1HP๐Ÿ’” times the player's foodSaturationLevel is restored, up to a maximum of 1HP๐Ÿ’”, when foodTickTimer reaches 10 (1โ„2 second), and foodTickTimer is reset to zero.
  • foodExhaustionLevel: 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.

Achievements

IconAchievementIn-game descriptionActual requirements (if different)Gamerscore earnedTrophy type (PS)
PS4Other
Pork ChopCook and eat a pork chop.โ€”10Bronze
Bake BreadTurn wheat into bread.Pick up bread from a crafting table output.15Bronze
The LieBake a cake using: wheat, sugar, milk, and eggs.Pick up a cake from a crafting table output.30Bronze
Delicious FishCatch and cook a fish!Pick up a cooked cod after cooking it in a furnace, smoker, campfire, or soul campfire.
Note: This does not work if the block used is connected to a hopper underneath, as the player is not getting the item directly from the output.
15Silver
Iron BellyStop starvation using Rotten Flesh.Eat a piece of rotten flesh while starving (zero hunger points).20Bronze
Rabbit SeasonCook and Eat Rabbit Meatโ€”15Bronze
Time for StewGive someone a suspicious stew.Drop a suspicious stew. Another player must then pick up this suspicious stew.20Bronze
OverpoweredEat an Enchanted Golden Appleโ€”30Silver
CastawayEat nothing but dried kelp for three in-game daysEat dried kelp once; in the following three in-game days, eat nothing but dried kelp.20Bronze

Advancements

IconAdvancementIn-game descriptionActual requirements (if different)
A Furious CocktailHave every potion effect applied at the same time The source of the effects is irrelevant for the purposes of this advancement. Other status effects may be applied to the player, but are ignored for this advancement.
How Did We Get Here?Have every effect applied at the same time

The source of the effects is irrelevant for the purposes of this advancement. Other status effects may be applied to the player, but are ignored for this advancement.

This is a hidden advancement, meaning that it can be viewed by the player only after completing it, regardless of if its child advancement(s), if any, have been completed.
HusbandryThe world is full of friends and foodConsume anything that can be consumed, except for cake.
Fishy BusinessCatch a fishReel in a fishing rod attached to any of these fish items: The player need not to have actually fished to trigger this advancement.
A Balanced DietEat everything that is edible, even if it's not good for you Other foods and consumables can be eaten, but are ignored for this advancement.

History

Development

July 19, 2011The hunger bar is first seen in an image Notch posted to Twitter that showcases his experimentation with world height.

Java Edition

Java Edition Beta
1.8Pre-releaseHunger was introduced. Food no longer restores health directly, but the player can regenerate if the hunger meter is 90% or over.
Java Edition
1.3.112w18aThe exhaustion cost of sprint jumping is now 0.2 from 0.8, meaning that constant sprint jumping is a viable means of fast long-distance travel in most situations.
1.6.113w23aNatural health regeneration now increases the food exhaustion level.
1.7.213w36aThe 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.814w29aHunger now regenerates when depleted if the difficulty is set to Peaceful.
1.915w40aAdded saturation boost, where saturation is consumed to heal faster.
Regenerating health now increases exhaustion more.
15w44aSaturation boost now only takes effect when reaching full hunger (20 (๐Ÿ— ร— 10)).
15w49aSneaking now increases exhaustion by 0.005/m, decreased from 0.01/m.
1.1116w32aExhaustion 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 4.0/half-heart to 6.0/half-heart.
The hunger bar is now visible when riding a boat or a minecart.

Bedrock Edition

Pocket Edition Alpha
v0.12.1build 1Hunger was introduced. Food no longer restores health directly, but the player can regenerate if the hunger meter is 90% or over.
Bedrock Edition
1.18.30Preview 1.18.20.26The rate that hunger decreases has been changed to better match Java Edition and can now be changed with behavior packs (add-ons).[4]

Legacy Console Edition

Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU5CU11.001.001.00Patch 11.0.1Added the food bar and hunger.
TU43CU331.361.361.36Patch 13Food now regenerates health.
TU54CU441.521.521.52Patch 241.0.4Exhaustion 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.

Java Edition Combat Tests

Java Edition Combat Tests
5Saturation is no longer capped by the hunger level of the player.
Upon eating food, the player's saturation is always set to the food's provided saturation amount unless their current saturation level exceeds what is obtainable from the food.
High saturation no longer gives a fast regeneration boost.
Changed food eating speed from 32 game ticks (1.6 seconds) to 40 game ticks (2 seconds).
The player now naturally regenerates health when above a hunger level of 7 (๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿฆด๐Ÿ–๐Ÿ—๐Ÿ—๐Ÿ—) instead of 18 (๐Ÿ— ร— 9)
The player now naturally heals every 60 game ticks (3 seconds) instead of every 80 game ticks (4 seconds).
The player now takes damage from starvation every 60 game ticks (3 seconds) instead of every 80 game ticks (4 seconds) when the hunger bar is empty.
Natural healing now always drains food points.
Saturation is not used when healing damage, and is only relevant to other actions that drain the hunger bar.
The player can now sprint at any hunger value.
6Reverted eating speed to 32 ticks (1.6 seconds).
Eating is now interrupted if something hits the player.
The player now naturally heals every 40 game ticks (2 seconds) instead of every 60 game ticks (3 seconds).
The player now takes damage from starvation every 40 game ticks (2 seconds) instead of every 60 game ticks (3 seconds) when the hunger bar is empty.
Natural healing drains food points 50% slower.
Reintroduced the rule that sprinting requires more than 6 points of food.

Issues

Issues relating to "Food mechanics" are maintained on the bug tracker. Issues should be reported and viewed there.

Notes

  1. โ†‘ All slices together.
  2. โ†‘ The variant with the Saturation status effect.
  3. โ†‘ Single slice.
  4. โ†‘ The variant with the Saturation status effect.
  5. โ†‘ All slices together.
  6. โ†‘ Single slice.

References

  1. โ†‘ "If the the food bar is empty in MC 1.8, it will slowly drop your health to 5 hearts on easy, to 0.5 hearts on normal, and kill you on hard" โ€“ @jeb_ (Jens Bergensten) on X (formerly Twitter), September 6, 2011
  2. โ†‘ "Experimental Combat Snapshot - version 5" by Jeb โ€“ Reddit, January 16, 2020. "โ€ฆfood rebalance: Saturation boostโ€ฆ"
  3. โ†‘ MCPE-52353 โ€” Saturation status effect does not restore saturation points
  4. โ†‘ "[MCPE-56031] Hunger bar depletes too fast - Jira" โ€“ Mojira, November 7, 2019. Resolved as "Fixed".

Navigation