Minecraft:Food
More actions
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Food refers to consumable Minecraft:items that, when eaten, restore hunger and saturation points, sometimes giving Minecraft:status effects.
Eating
Eating is the process of consuming food items. Eating a food item requires holding Template:Control, and takes an amount of time dependent on the food's consumption time value.
Consumption time
Eating (or drinking) a consumable takes Template:Convert, with the exceptions of Minecraft:dried kelp which takes half of the time (Template:Convert), and Minecraft:honey bottles which take 25% longer (Template:Convert). Minecraft:Cake is a Minecraft:block and thus cannot be eaten in the hand, requiring the player to place it down and then Template:Control it.
Eating while at full hunger
In Minecraft:Survival, food cannot be eaten while already at full hunger, with the exception of Minecraft:chorus fruit, Minecraft:golden apples, Minecraft:enchanted golden apples, Minecraft:honey bottles, and Minecraft:suspicious stew. This also applies to Minecraft:potions, Minecraft:water bottles, and Minecraft:milk buckets. In Minecraft:Creative mode and Peaceful Minecraft:difficultyTemplate:Only, any food can be consumed at any time.
Hunger
Template:Redirect Hunger is a value that determines Minecraft:healing, whether or not the player can Minecraft: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 (Template:Hunger), which displays above the Minecraft:hotbar on the right side, opposite of the Minecraft:health bar. Each hunger point is represented by half a hunger icon (Template:Hunger), 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 Minecraft:Peaceful difficulty, and always remains at the maximum value of 20.
Natural regeneration
If the hunger value is at 18 (Template:Hunger) 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 (Template:Hunger) or below, natural regeneration stops.
Sprinting
Template:Main If the hunger value is at 6 (Template:Hunger) or below, the player loses the ability to Minecraft:sprint.
Starvation
If the hunger value reaches 0 (Template:Hunger), the player will begin to lose health due to starvation. Starvation damages the player by Template:Hp every 4 seconds (80 ticks). Starvation damage ignores Minecraft:armor and Minecraft:armor toughness, the Minecraft:Protection enchantment, and the Minecraft:Resistance effect.<ref>Template:Tweet</ref> Starvation damage stops taking effect when reaching certain health thresholds on certain Minecraft:difficulties.
- On Easy difficulty, starvation damage stops when the player's health is at Template:Hp or below.
- On Normal difficulty, starvation damage stops when the player's health is at Template:Hp or below.
- On Hard difficulty, starvation damage does not stop at any health threshold, and will kill the player by bringing them to Template:Hp.
Food hunger values
| Hunger values | |
|---|---|
| Food type | Hunger restored |
| Template:Slot<ref group="note">All slices together.</ref> | Template:Hunger |
| Template:Slot<ref group="note">The variant with the Saturation status effect.</ref> | Template:Hunger |
| Template:Slot | Template:Hunger |
| Template:SlotTemplate:SlotTemplate:Slot | Template:Hunger |
| Template:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:Slot | Template:Hunger |
| Template:SlotTemplate:SlotTemplate:SlotTemplate:Slot | Template:Hunger |
| Template:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:Slot | Template:Hunger |
| Template:SlotTemplate:SlotTemplate:SlotTemplate:Slot | Template:Hunger |
| Template:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:Slot<ref group="note">Single slice.</ref> | Template:Hunger |
| Template:SlotTemplate:SlotTemplate:SlotTemplate:SlotTemplate:Slot | Template:Hunger |
Saturation
Template:Redirect Saturation is a value that determines healing, as well as the time until hunger begins to deplete. Saturation is lost by healing or performing Minecraft: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
Template:Exclusive Saturation boost<ref>Template:Citation</ref>, also known as saturation healing, is a mechanic exclusive to Template:JE that regenerates health when the player's hunger bar is full (Template:Hungerbar). Saturation boost heals Template:Hp by consuming Template:Hunger saturation, and activates every 0.5 seconds (10 ticks) when at full hunger.
Food saturation values
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 Template:Hunger if there is any saturation remaining. If the saturation is 0, it reduces the hunger by Template:Hunger instead.
Energy-intensive actions
| Action | Exhaustion level increase |
Units |
|---|---|---|
| Minecraft:Swimming | 0.01 | per meter |
| Minecraft:Breaking a block | 0.005 | per block broken |
| Minecraft:Sprinting | 0.1 | per meter |
| Minecraft:Jumping | 0.05 | per jump |
| Attacking an Minecraft:entity | 0.1 | per attack landed |
| Attacking with a Minecraft:spear enchanted with Minecraft:Lunge | 4.0 × (level) | per lunge attack, regardless whether it hits |
| Taking Minecraft:damage that is normally protected by armor | 0.1 | per distinct instance of damage being received |
| Template:EffectLink | 0.005 | per tick, per Hunger status effect level |
| Jumping while sprinting | 0.2 | per jump |
Natural regeneration (requires Template:Hunger or higher and having the Minecraft:gamerule naturalRegeneration set to true)
|
6.0 | per Template:Hp healed |
| Template:EffectLink from Minecraft:raw chicken, Minecraft:rotten flesh, or taking damage from Minecraft:husks. | 3.0 | full 0:30 duration of Hunger I, at 0.1 per second |
| Template:EffectLink 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
Certain foods provide additional effects when eaten, both helpful and harmful. This can come in the form of gaining Minecraft:status effects, clearing status effects, or teleportation.
Food effects
Hunger effect
Template:Main The Hunger effect removes Template:Hunger hunger or Template:Hunger saturation point every <math>\frac{40}\text{level}</math> seconds, and turns the hunger bar to a green color (Template:Hungerbar). It is inflicted by being attacked by a Minecraft:husk, or by eating pufferfish, Minecraft:rotten flesh, or Minecraft:raw chicken.
Saturation effect
Template:Main The Saturation effect replenishes Template:Hunger hunger point and Template:Hunger saturation points every 0.05 seconds (1 tick)Template:Only<ref>Template:Bug</ref> per level. It is applied exclusively through Minecraft:suspicious stew crafted with a Minecraft:blue orchid or Minecraft:dandelion.
Food sources
Ingredients
The following items cannot be eaten on their own. Instead, they are used to craft consumable food items.
Internal variables
Food uses four variables, the values of which are stored in the Minecraft:player.dat format. Variables can be queried in-game with the following command: Template:CmdTemplate:Only.
foodLevel: The player's current hunger level, shown on the hunger bar. Its initial value on Minecraft:world creation or respawn is Template:Hunger.foodSaturationLevel: The player's current saturation level, which determines how fastfoodLeveldepletes and is controlled by the kinds of food the player has eaten. Its maximum value always equalsfoodLevel's value and decreases withfoodLevel. Its initial value on world creation or respawn is 5.foodTickTimer: This variable is used whenfoodLeveleither exceeds 17 (Template:Hunger), or is at zero. It increases on every Minecraft:tick, and whenever it reaches 80 (4 seconds), it resets to zero and Template:Hp is added or deducted, depending on whether the player is saturated or starving. If the player has a full Template:Hunger, Template:Frac of Template:Hp times the player'sfoodSaturationLevelis restored, up to a maximum of Template:Hp, whenfoodTickTimerreaches 10 (Template:Frac second), andfoodTickTimeris reset to zero.foodExhaustionLevel: The player's current exhaustion level, which determines how fast thefoodSaturationLeveldepletes. 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 fromfoodSaturationLevel, orfoodLeveliffoodSaturationLevelis at zero.
Sounds
Achievements
Advancements
History
Development
Java Edition
Bedrock Edition
Legacy Console Edition
Java Edition Combat Tests
Issues
Gallery
Mojang screenshots
-
Food being cooked over a Minecraft:campfire.
Trivia
- Template:IN, a player cannot see their own eating animation while in Minecraft:third-person view.<ref>Template:Bug</ref>
Notes
References
Template:Navbox items Template:Navbox combat
Minecraft:cs:Potraviny Minecraft:de:Hunger Minecraft:es:Comida Minecraft:fr:Nourriture Minecraft:hu:Étel Minecraft:it:Cibo Minecraft:ja:食料 Minecraft:ko:식료품 Minecraft:lzh:食 Minecraft:nl:Voedsel Minecraft:pl:Jedzenie Minecraft:pt:Alimento Minecraft:ru:Еда Minecraft:th:อาหาร Minecraft:uk:Їжа Minecraft:zh:食物