Minecraft:Food: Difference between revisions
More actions
Spelling fix |
Remove broken links to missing pages |
||
| Line 1: | Line 1: | ||
{{About|food items for players in the main game|items used for breeding|Breeding|items used for taming|Taming|food in {{MCD}}|MCD:Food}} | {{About|food items for players in the main game|items used for breeding|Breeding|items used for taming|Taming|food in {{MCD}}|MCD:Food}} | ||
[[File:Efe eats porkchop.gif|thumb|[[Efe]] eating a | [[File:Efe eats porkchop.gif|thumb|[[Efe]] eating a cooked porkchop {{in|bedrock}} (third-person front view).]] | ||
[[File:Player eating bread FirstPOV.gif|thumb|[[Steve]] eating [[Minecraft:bread]] {{in|java}} (first-person view).]] | [[File:Player eating bread FirstPOV.gif|thumb|[[Steve]] eating [[Minecraft:bread]] {{in|java}} (first-person view).]] | ||
'''Food''' refers to consumable [[Minecraft:item]]s that, when eaten, restore hunger and saturation points, sometimes giving | '''Food''' refers to consumable [[Minecraft:item]]s that, when eaten, restore hunger and saturation points, sometimes giving status effects. | ||
== Eating == | == Eating == | ||
| Line 10: | Line 10: | ||
=== Consumption time === | === Consumption time === | ||
Eating (or drinking) a consumable takes {{convert|32|gt|s}}, with the exceptions of | Eating (or drinking) a consumable takes {{convert|32|gt|s}}, with the exceptions of dried kelp which takes half of the time ({{convert|16|gt|s}}), and honey bottles which take 25% longer ({{convert|40|gt|s}}). [[Minecraft:Cake]] is a [[Minecraft:block]] and thus cannot be eaten in the hand, requiring the player to place it down and then {{control|use}} it. | ||
=== Eating while at full hunger === | === Eating while at full hunger === | ||
In | 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 [[Minecraft:potion]]s, water bottles, and milk buckets. In Creative mode and Peaceful difficulty{{only|be}}, any food can be consumed at any time. | ||
== Hunger == | == Hunger == | ||
[[File:Hotbar with xp.png|thumb|350px|The hunger bar is shown above the hotbar to the right of the health bar.]] | [[File:Hotbar with xp.png|thumb|350px|The hunger bar is shown above the hotbar to the right of the health bar.]] | ||
{{Redirect|Hunger|the status effect|Hunger (effect)}} | {{Redirect|Hunger|the status effect|Hunger (effect)}} | ||
Hunger is a value that determines | 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|energy-intensive actions]] that exhaust the player, and is the second value to be consumed by it, after [[#Saturation|saturation]]. | ||
The player's current hunger value is represented by the hunger bar ({{hunger|bar=20}}), which displays above the | The player's current hunger value is represented by the hunger bar ({{hunger|bar=20}}), which displays above the hotbar on the right side, opposite of the health bar. Each hunger point is represented by half a hunger icon ({{hunger|1|notag=1}}), 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 === | === Natural regeneration === | ||
| Line 28: | Line 28: | ||
=== Sprinting === | === Sprinting === | ||
{{main|Sprinting#Activating}} | {{main|Sprinting#Activating}} | ||
If the hunger value is at 6 ({{hunger|bar=6}}) or below, the player loses the ability to | If the hunger value is at 6 ({{hunger|bar=6}}) or below, the player loses the ability to sprint. | ||
=== Starvation === | === Starvation === | ||
[[File:Starvation.gif|thumb|Taking starvation damage due to being at {{hunger|bar=0}}.]] | [[File:Starvation.gif|thumb|Taking starvation damage due to being at {{hunger|bar=0}}.]] | ||
If the hunger value reaches 0 ({{hunger|bar=0}}), the player will begin to lose health due to starvation. Starvation damages the player by {{hp|1}} every 4 seconds (80 ticks). Starvation damage ignores [[Minecraft:armor]] and | If the hunger value reaches 0 ({{hunger|bar=0}}), the player will begin to lose health due to starvation. Starvation damages the player by {{hp|1}} every 4 seconds (80 ticks). Starvation damage ignores [[Minecraft:armor]] and armor toughness, the Protection enchantment, and the Resistance effect.<ref>{{tweet|jeb_|111047534318858240|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|September 6, 2011}}</ref> 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 {{hp|10|total=20}} or below. | * On Easy difficulty, starvation damage stops when the player's health is at {{hp|10|total=20}} or below. | ||
* On Normal difficulty, starvation damage stops when the player's health is at {{hp|1|total=20}} or below. | * On Normal difficulty, starvation damage stops when the player's health is at {{hp|1|total=20}} or below. | ||
| Line 45: | Line 45: | ||
|{{Slot|Cake.png}}<ref group="note">All slices together.</ref>||{{hunger|14}} | |{{Slot|Cake.png}}<ref group="note">All slices together.</ref>||{{hunger|14}} | ||
|- | |- | ||
|{{Slot|Suspicious Stew.png}}<ref group="note">The variant with the | |{{Slot|Suspicious Stew.png}}<ref group="note">The variant with the Saturation status effect.</ref>||{{hunger|13}} | ||
|- | |- | ||
|{{Slot|Rabbit Stew.png}}||{{hunger|10}} | |{{Slot|Rabbit Stew.png}}||{{hunger|10}} | ||
| Line 66: | Line 66: | ||
== Saturation == | == Saturation == | ||
{{Redirect|Saturation|the status effect|Saturation (effect)}} | {{Redirect|Saturation|the status effect|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 | 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 [[Minecraft:Food#Hunger|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. | 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. | ||
| Line 73: | Line 73: | ||
[[File:Saturation boost.gif|thumb|Gaining saturation boost from reaching full hunger, consuming the saturation gained from the [[cooked porkchop]] to heal.]] | [[File:Saturation boost.gif|thumb|Gaining saturation boost from reaching full hunger, consuming the saturation gained from the [[cooked porkchop]] to heal.]] | ||
{{exclusive|java|section=1}} | {{exclusive|java|section=1}} | ||
Saturation boost<ref>{{citation|url=https://www.reddit.com/r/Minecraft/comments/epy4hv/experimental_combat_snapshot_version_5/|title=Experimental Combat Snapshot - version 5|section=|website=[https://www.reddit.com/ Reddit]|author= | Saturation boost<ref>{{citation|url=https://www.reddit.com/r/Minecraft/comments/epy4hv/experimental_combat_snapshot_version_5/|title=Experimental Combat Snapshot - version 5|section=|website=[https://www.reddit.com/ Reddit]|author=Jeb|date=January 16, 2020|quote=…food rebalance: Saturation boost…|archive-url=}}</ref>, also known as saturation healing, is a mechanic exclusive to {{JE}} that regenerates health when the player's hunger bar is full ({{Hungerbar|20|9px}}). Saturation boost heals {{hp|1}} by consuming {{hunger|1.5}} saturation, and activates every 0.5 seconds (10 ticks) when at full hunger. | ||
=== Food saturation values === | === Food saturation values === | ||
| Line 83: | Line 83: | ||
!<abbr title="The amount of health restored from the saturation boost, ignoring any effects from the food. Assumes saturation is 0 before eating.">Health restored</abbr>!!<abbr title="The time it takes for saturation boost to fully finish healing, assuming the player does not reach full health before it finishes.">Duration</abbr> | !<abbr title="The amount of health restored from the saturation boost, ignoring any effects from the food. Assumes saturation is 0 before eating.">Health restored</abbr>!!<abbr title="The time it takes for saturation boost to fully finish healing, assuming the player does not reach full health before it finishes.">Duration</abbr> | ||
|- | |- | ||
|{{Slot|Suspicious Stew.png}}<ref group="note">The variant with the | |{{Slot|Suspicious Stew.png}}<ref group="note">The variant with the Saturation status effect.</ref>||{{hunger|21.2}}||{{hp|14.133}}||7.067 seconds (141 ticks) | ||
|- | |- | ||
|{{Slot|Golden Carrot.png}}||{{hunger|14.4}}||{{hp|9.6}}||4.8 seconds (96 ticks) | |{{Slot|Golden Carrot.png}}||{{hunger|14.4}}||{{hp|9.6}}||4.8 seconds (96 ticks) | ||
| Line 131: | Line 131: | ||
!Units | !Units | ||
|- | |- | ||
| | |Swimming | ||
| style="text-align: center;" |0.01 | | style="text-align: center;" |0.01 | ||
|per meter | |per meter | ||
|- | |- | ||
| | |Breaking a block | ||
| style="text-align: center;" |0.005 | | style="text-align: center;" |0.005 | ||
|per block broken | |per block broken | ||
| Line 143: | Line 143: | ||
|per meter | |per meter | ||
|- | |- | ||
| | |Jumping | ||
| style="text-align: center;" |0.05 | | style="text-align: center;" |0.05 | ||
|per jump | |per jump | ||
|- | |- | ||
|Attacking an | |Attacking an entity | ||
| style="text-align: center;" |0.1 | | style="text-align: center;" |0.1 | ||
|per attack landed | |per attack landed | ||
|- | |- | ||
|Attacking with a [[Minecraft:spear]] enchanted with | |Attacking with a [[Minecraft:spear]] enchanted with Lunge | ||
| style="text-align: center;" |4.0 × (level) | | style="text-align: center;" |4.0 × (level) | ||
|per lunge attack, regardless whether it hits | |per lunge attack, regardless whether it hits | ||
|- | |- | ||
|Taking | |Taking damage that is normally [[Minecraft:Armor#Damage types|protected by armor]] | ||
| style="text-align: center;" |0.1 | | style="text-align: center;" |0.1 | ||
|per distinct instance of damage being received | |per distinct instance of damage being received | ||
| Line 167: | Line 167: | ||
|per jump | |per jump | ||
|- | |- | ||
|Natural regeneration (requires {{hunger|18|notag=1}} or higher and having the | |Natural regeneration (requires {{hunger|18|notag=1}} or higher and having the gamerule <code>naturalRegeneration</code> set to <code>true</code>) | ||
| style="text-align: center;" |6.0 | | style="text-align: center;" |6.0 | ||
|per {{hp|1}} healed | |per {{hp|1}} healed | ||
|- | |- | ||
|{{EffectLink|link=Hunger (status effect)|Hunger}} from | |{{EffectLink|link=Hunger (status effect)|Hunger}} from raw chicken, rotten flesh, or taking damage from [[Minecraft:husk]]s. | ||
| style="text-align: center;" |3.0 | | style="text-align: center;" |3.0 | ||
|full 0:30 duration of Hunger I, at 0.1 per second | |full 0:30 duration of Hunger I, at 0.1 per second | ||
| Line 185: | Line 185: | ||
== Effects == | == Effects == | ||
[[File:Eating Rotten Flesh.png|thumb|right|Getting the [[Hunger (effect)|Hunger]] effect from eating | [[File:Eating Rotten Flesh.png|thumb|right|Getting the [[Hunger (effect)|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 | 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. | ||
=== Food effects === | === Food effects === | ||
| Line 202: | Line 202: | ||
|{{Slot|Honey Bottle.png}}||Clears {{EffectLink|Poison}} | |{{Slot|Honey Bottle.png}}||Clears {{EffectLink|Poison}} | ||
|- | |- | ||
|{{Slot|Milk Bucket.png}}||Clears all | |{{Slot|Milk Bucket.png}}||Clears all status effects | ||
|- | |- | ||
|{{Slot|Poisonous Potato.png}}||0:05 {{EffectLink|Poison}} (60% chance) | |{{Slot|Poisonous Potato.png}}||0:05 {{EffectLink|Poison}} (60% chance) | ||
| Line 237: | Line 237: | ||
=== Hunger effect === | === Hunger effect === | ||
{{main|Hunger (effect)}} | {{main|Hunger (effect)}} | ||
The | The Hunger effect removes {{hunger|1}} hunger or {{hunger|1}} saturation point every <math>\frac{40}\text{level}</math> seconds, and turns the hunger bar to a green color ({{hungerbar|20|9px|poisoned=1}}). It is inflicted by being attacked by a [[Minecraft:husk]], or by eating [[Minecraft:Pufferfish (item)|pufferfish]], rotten flesh, or raw chicken. | ||
=== Saturation effect === | === Saturation effect === | ||
{{main|Saturation (effect)}} | {{main|Saturation (effect)}} | ||
The | The Saturation effect replenishes {{hunger|1}} hunger point and {{hunger|2}} saturation points every 0.05 seconds (1 tick){{only|java}}<ref>{{bug|MCPE-52353||Saturation status effect does not restore saturation points}}</ref> per level. It is applied exclusively through suspicious stew crafted with a blue orchid or [[Minecraft:dandelion]]. | ||
== Food sources == | == Food sources == | ||
| Line 249: | Line 249: | ||
!Food type!!Food source | !Food type!!Food source | ||
|- | |- | ||
|{{Slot|Apple.png}}||Destroyed/despawned oak or dark oak [[Minecraft:leaves]]<br/> | |{{Slot|Apple.png}}||Destroyed/despawned oak or dark oak [[Minecraft:leaves]]<br/>Stronghold altar and storeroom, village weaponsmith and plains house, igloo and [[Minecraft:Chest#Bonus chest|bonus]] chests<br/>Receive 4 for 1 [[Minecraft:emerald]] at apprentice-level trade of farmer [[Minecraft:villager]] | ||
|- | |- | ||
|{{Slot|Baked Potato.png}}||[[Minecraft:Trial Spawner#Loot|Trial Spawners]] and [[Minecraft:Ominous Trial Spawner#Loot| ominous trial spawners]] in | |{{Slot|Baked Potato.png}}||[[Minecraft:Trial Spawner#Loot|Trial Spawners]] and [[Minecraft:Ominous Trial Spawner#Loot| ominous trial spawners]] in Trial Chambers<br/>Ancient city ice box and trial chambers supply chests<br/> Trial chambers intersection barrels | ||
|- | |- | ||
|{{Slot|Beetroot.png}}||Harvesting [[Minecraft:Beetroot Seeds|beetroot crops]]<br/>Farmer villager who drop beetroot after harvesting beetroot crop | |{{Slot|Beetroot.png}}||Harvesting [[Minecraft:Beetroot Seeds|beetroot crops]]<br/>Farmer villager who drop beetroot after harvesting beetroot crop | ||
|- | |- | ||
|{{Slot|Beetroot Soup.png}}|| | |{{Slot|Beetroot Soup.png}}||Crafting a [[Minecraft:bowl]] together with [[Minecraft:beetroot]]s<br/>Snowy village house chests | ||
|- | |- | ||
|{{Slot|Bread.png}}||[[Minecraft:Bread#Crafting|Crafting]] from [[Minecraft:wheat]]<br/> | |{{Slot|Bread.png}}||[[Minecraft:Bread#Crafting|Crafting]] from [[Minecraft:wheat]]<br/>Monster room, stronghold altar and storeroom, village, mineshaft, woodland mansion and [[Minecraft:Chest#Bonus chest|bonus]] chests<br/>Receive 6 for 1 [[Minecraft:emerald]] at novice-level trade of farmer villager<br/>Farmer villager who drop bread after harvesting [[Minecraft:wheat]]<br/>Raid gift from farmer villager{{only|wrap=1|java}}<br/>[[Minecraft:Trial Spawner#Loot|Trial spawners]] in trial chambers. | ||
|- | |- | ||
|{{Slot|Cake.png}}||[[Minecraft:Cake#Crafting|Crafting]] from [[Minecraft:wheat]], [[Minecraft:egg]]s, [[Minecraft:sugar]], and [[Minecraft:milk]]<br/>Receive 1 for 1 [[Minecraft:emerald]] at expert-level | |{{Slot|Cake.png}}||[[Minecraft:Cake#Crafting|Crafting]] from [[Minecraft:wheat]], [[Minecraft:egg]]s, [[Minecraft:sugar]], and [[Minecraft:milk]]<br/>Receive 1 for 1 [[Minecraft:emerald]] at expert-level trade of farmer villager<br/>Buried treasure chest{{only|wrap=1|bedrock}}<br/>Trial chamber intersection chests | ||
|- | |- | ||
|{{Slot|Carrot.png}}||Killing [[Minecraft:zombie]]s<br/>Harvesting [[Minecraft:Carrot|carrot crops]]<br/> | |{{Slot|Carrot.png}}||Killing [[Minecraft:zombie]]s<br/>Harvesting [[Minecraft:Carrot|carrot crops]]<br/>pillager outpost and Shipwreck supply chest<br/>[[Minecraft:Chest#Bonus chest|bonus chest]]{{only|wrap=1|bedrock}}<br/>Farmer villagers which drop carrots after harvesting a carrot crop | ||
|- | |- | ||
|{{Slot|Chorus Fruit.png}}||Breaking | |{{Slot|Chorus Fruit.png}}||Breaking chorus plants in [[Minecraft:The End]] | ||
|- | |- | ||
|{{Slot|Cooked Chicken.png}}| | |{{Slot|Cooked Chicken.png}}||Cooking a raw chicken<br/>Killing chickens with [[Minecraft:fire]]<br/>Receive 8 for 1 [[Minecraft:emerald]] at novice-level trade from Butcher villager<br/>Raid gift from butcher villager{{only|wrap=1|java}}<br/>[[Minecraft:Trial Spawner#Loot|Trial spawners]] in trial chambers | ||
|- | |- | ||
|{{Slot|Cooked Cod.png}}| | |{{Slot|Cooked Cod.png}}||Cooking a raw cod<br/>Killing cod with [[Minecraft:fire]]{{only|wrap=1|java}}<br/>Killing dolphin with fire<br/>Rare drop from guardians and elder guardians when killed with [[Minecraft:fire]]{{only|wrap=1|java}}<br/>Receive 6 for 1 [[Minecraft:emerald]] + 6 raw cod at novice-level trade from fisherman villager<br/>Buried treasure chests{{only|wrap=1|java}} | ||
|- | |- | ||
|{{Slot|Cooked Mutton.png}}| | |{{Slot|Cooked Mutton.png}}||Cooking raw mutton<br/>Killing sheep with [[Minecraft:fire]]<br/>Raid gift from butcher villager{{only|wrap=1|java}} | ||
|- | |- | ||
|{{Slot|Cooked Porkchop.png}}| | |{{Slot|Cooked Porkchop.png}}||Cooking a raw porkchop<br/>Killing [[Minecraft:pig]]s or hoglins with [[Minecraft:fire]]<br/>Receive 5 for 1 [[Minecraft:emerald]] at apprentice-level trade from butcher villager<br/>Raid gift from butcher villager{{only|wrap=1|java}}<br/>Bastion remnant chests | ||
|- | |- | ||
|{{Slot|Cooked Rabbit.png}}| | |{{Slot|Cooked Rabbit.png}}||Cooking raw rabbit<br/>Killing rabbits with [[Minecraft:fire]]<br/>Raid gift from butcher villager{{only|wrap=1|java}} | ||
|- | |- | ||
|{{Slot|Cooked Salmon.png}}| | |{{Slot|Cooked Salmon.png}}||Cooking a raw salmon<br/>Killing salmon with [[Minecraft:fire]]{{only|wrap=1|java}}<br/>buried treasure chest{{only|wrap=1|java}}<br/>Receive 6 for 1 [[Minecraft:emerald]] + 1 raw salmon at apprentice-level trade from fisherman villager | ||
|- | |- | ||
|{{Slot|Cookie.png}}||[[Minecraft:Cookie#Crafting|Crafting]] from [[Minecraft:wheat]] and | |{{Slot|Cookie.png}}||[[Minecraft:Cookie#Crafting|Crafting]] from [[Minecraft:wheat]] and cocoa beans<br/>Receive 18 for 3 [[Minecraft:emerald]] at journeyman-level trade from farmer villager<br/>Raid gift from farmer villager{{only|wrap=1|java}} | ||
|- | |- | ||
|{{Slot|Dried Kelp.png}}||Cooking [[Minecraft:kelp]] in a [[Minecraft:furnace]], [[Minecraft:smoker]], or [[Minecraft:campfire]]<br/>Crafting from | |{{Slot|Dried Kelp.png}}||Cooking [[Minecraft:kelp]] in a [[Minecraft:furnace]], [[Minecraft:smoker]], or [[Minecraft:campfire]]<br/>Crafting from dried kelp block<br/>Raid gift from farmer villager{{only|wrap=1|java}} | ||
|- | |- | ||
|{{Slot|Enchanted Golden Apple.png}}| | |{{Slot|Enchanted Golden Apple.png}}||Desert pyramid, monster room, woodland mansion, mineshaft, ruined portal and ancient city chests<br/>[[Minecraft:Ominous Vault#Loot|Ominous vaults]] in trial chambers | ||
|- | |- | ||
|{{Slot|Golden Apple.png}}||[[Minecraft:Golden Apple|Crafting]] from an [[Minecraft:apple]] and | |{{Slot|Golden Apple.png}}||[[Minecraft:Golden Apple|Crafting]] from an [[Minecraft:apple]] and gold ingots.<br/>Desert pyramid, monster room, mineshaft, stronghold altar, woodland mansion, igloo, big ocean ruins, ruined portal and ancient city center chests<br/>[[Minecraft:Ominous Vault#Loot|Ominous vaults]] in trial chambers | ||
|- | |- | ||
|{{Slot|Glow Berries.png}}||Collected from cave vines<br/> | |{{Slot|Glow Berries.png}}||Collected from cave vines<br/>Ancient city and and trial chambers supply chests | ||
|- | |- | ||
|{{Slot|Golden Carrot.png}}||[[Minecraft:Golden Carrot#Crafting|Crafting]] a [[Minecraft:carrot]] with | |{{Slot|Golden Carrot.png}}||[[Minecraft:Golden Carrot#Crafting|Crafting]] a [[Minecraft:carrot]] with gold nuggets<br/>Receive 3 for 3 [[Minecraft:emerald]] at master-level trade from farmer villager<br/>Bastion remnant, ruined portal and ancient city ice box chests<br/>[[Minecraft:Vault#Loot|Vaults]] in trial chambers<br/>[[Minecraft:Ominous Trial Spawner#Loot|Ominous trial spawners]] in trial chambers | ||
|- | |- | ||
|{{Slot|Honey Bottle.png}}||Crafting from | |{{Slot|Honey Bottle.png}}||Crafting from honey block<br/>Collecting from [[Minecraft:beehive]]s or bee nests<br/>[[Minecraft:Vault#Loot|Vaults]] in trial chambers | ||
|- | |- | ||
|{{Slot|Melon Slice.png}}||Harvesting a [[Minecraft:melon]] block | |{{Slot|Melon Slice.png}}||Harvesting a [[Minecraft:melon]] block | ||
|- | |- | ||
|{{Slot|Mushroom Stew.png}}||[[Minecraft:Mushroom Stew#Crafting|Crafting]] with a [[Minecraft:bowl]] and one of each [[Minecraft:mushroom]]<br/>{{Control|Using}} a [[Minecraft:bowl]] on a | |{{Slot|Mushroom Stew.png}}||[[Minecraft:Mushroom Stew#Crafting|Crafting]] with a [[Minecraft:bowl]] and one of each [[Minecraft:mushroom]]<br/>{{Control|Using}} a [[Minecraft:bowl]] on a mooshroom | ||
|- | |- | ||
|{{Slot|Poisonous Potato.png}}||Harvesting [[Minecraft:Potato|potato crops]]<br/> | |{{Slot|Poisonous Potato.png}}||Harvesting [[Minecraft:Potato|potato crops]]<br/>Shipwreck supply chest | ||
|- | |- | ||
|{{Slot|Potato.png}}||Killing [[Minecraft:zombie]]s<br/>Harvesting [[Minecraft:Potato|potato crops]]<br/>Farmer villager who drop potato after harvesting potato crop<br/>[[Minecraft:Chest#Bonus chest|bonus chest]]{{only|wrap=1|bedrock}}<br/> | |{{Slot|Potato.png}}||Killing [[Minecraft:zombie]]s<br/>Harvesting [[Minecraft:Potato|potato crops]]<br/>Farmer villager who drop potato after harvesting potato crop<br/>[[Minecraft:Chest#Bonus chest|bonus chest]]{{only|wrap=1|bedrock}}<br/> Plains and taiga village, pillager outpost, and shipwreck supply chest | ||
|- | |- | ||
|{{Slot|Pufferfish.png}}|| | |{{Slot|Pufferfish.png}}||Fishing<br/>Killing pufferfish<br/>Rare drop from guardians and elder guardian | ||
|- | |- | ||
|{{Slot|Pumpkin Pie.png}}||[[Minecraft:Pumpkin Pie|Crafting]] with a [[Minecraft:pumpkin]], an [[Minecraft:egg]], and [[Minecraft:sugar]]<br/>Receive 4 for 1 [[Minecraft:emerald]] at apprentice-level | |{{Slot|Pumpkin Pie.png}}||[[Minecraft:Pumpkin Pie|Crafting]] with a [[Minecraft:pumpkin]], an [[Minecraft:egg]], and [[Minecraft:sugar]]<br/>Receive 4 for 1 [[Minecraft:emerald]] at apprentice-level trade from farmer villager<br/>village taiga house chest<br/>Raid gift from farmer villager{{only|wrap=1|java}} | ||
|- | |- | ||
|{{Slot|Rabbit Stew.png}}||[[Minecraft:Rabbit Stew#Crafting|Crafting]] with a [[Minecraft:bowl]], [[Minecraft:carrot]], | |{{Slot|Rabbit Stew.png}}||[[Minecraft:Rabbit Stew#Crafting|Crafting]] with a [[Minecraft:bowl]], [[Minecraft:carrot]], baked potato, [[Minecraft:mushroom]], and cooked rabbit<br/>Receive 1 for 1 [[Minecraft:emerald]] at novice-level trade from butcher villager | ||
|- | |- | ||
|{{Slot|Raw Beef.png}}||Killing | |{{Slot|Raw Beef.png}}||Killing cows, red mooshrooms, and brown mooshroom<br/>village butcher chest | ||
|- | |- | ||
|{{Slot|Raw Chicken.png}}||Killing | |{{Slot|Raw Chicken.png}}||Killing chickens<br/>Cat gift | ||
|- | |- | ||
|{{Slot|Raw Cod.png}}|| | |{{Slot|Raw Cod.png}}||Fishing<br/>Killing cod, guardians, elder guardians, dolphins, polar bears<br/>Rare drop from guardians and elder guardians<br/>village fisher [[Minecraft:barrel]]<br/>Raid gift from fisherman villager{{only|wrap=1|java}} | ||
|- | |- | ||
|{{Slot|Raw Mutton.png}}||Killing | |{{Slot|Raw Mutton.png}}||Killing sheep<br/>village butcher chest | ||
|- | |- | ||
|{{Slot|Raw Porkchop.png}}||Killing [[Minecraft:pig]]s or | |{{Slot|Raw Porkchop.png}}||Killing [[Minecraft:pig]]s or hoglins<br/>Village butcher and bastion remnant stable chests | ||
|- | |- | ||
|{{Slot|Raw Rabbit.png}}||Killing | |{{Slot|Raw Rabbit.png}}||Killing rabbits | ||
|- | |- | ||
|{{Slot|Raw Salmon.png}}|| | |{{Slot|Raw Salmon.png}}||Fishing<br/>Killing salmon and polar bears<br/>Rare drop from guardians and elder guardians<br/>Raid gift from fisherman villager{{only|wrap=1|java}}<br/>village fisher barrel{{only|wrap=1|java}}<br/>[[Minecraft:Chest#Bonus chest|bonus chest]] | ||
|- | |- | ||
|{{Slot|Rotten Flesh.png}}||Killing [[Minecraft:zombie]]s, | |{{Slot|Rotten Flesh.png}}||Killing [[Minecraft:zombie]]s, zombified piglins, zombie villagers, [[Minecraft:husk]]s, drowned, and zombie horses<br/>monster room, igloo, woodland mansion, small ocean ruins, village temple, shipwreck supply, desert, and jungle pyramid chests<br/>Caught as junk from fishing<br/>Cat gift | ||
|- | |- | ||
|{{Slot|Spider Eye.png}}||Killing | |{{Slot|Spider Eye.png}}||Killing spiders, cave spiders and [[Minecraft:witch]]es.<br/>Desert pyramid chests. | ||
|- | |- | ||
|{{Slot|Steak.png}}| | |{{Slot|Steak.png}}||Cooking raw beef<br/>Killing cows, red mooshrooms, or brown mooshrooms with [[Minecraft:fire]]<br/>Raid gift from butcher villager{{only|wrap=1|java}}<br/>[[Minecraft:Ominous Trial Spawner#Loot|Ominous trial spawners]] in trial chambers. | ||
|- | |- | ||
|{{Slot|Suspicious Stew.png}}||[[Minecraft:Suspicious Stew#Crafting|Crafting]] with a [[Minecraft:bowl]], | |{{Slot|Suspicious Stew.png}}||[[Minecraft:Suspicious Stew#Crafting|Crafting]] with a [[Minecraft:bowl]], red mushroom, brown mushroom, and any [[Minecraft:flower]]<br/>Feed brown mooshroom any flower then {{Control|using}} a [[Minecraft:bowl]] on brown mooshroom<br/>Receive 1 for 1 [[Minecraft:emerald]] at expert-level trade of farmer [[Minecraft:villager]], excluding Fire Resistance, Regeneration, and Wither<br/> Ancient city ice box chests.<ref group="note">The stew will always grant either 5-7 seconds of Blindness, or 7-10 seconds of Night Vision</ref> | ||
|- | |- | ||
|{{Slot|Sweet Berries.png}}||Breaking | |{{Slot|Sweet Berries.png}}||Breaking sweet berry bushes<br/>Picking ripe berries from sweet berry bushes (right-click)<br/>Taiga village house chests.{{only|wrap=1|java}} | ||
|- | |- | ||
|{{Slot|Tropical Fish.png}}|| | |{{Slot|Tropical Fish.png}}||Fishing<br/>Killing tropical fish<br/>Rare drop from guardians and elder guardians | ||
|} | |} | ||
| Line 351: | Line 351: | ||
| | | | ||
* [[Minecraft:Crafting]] from [[Minecraft:planks]] | * [[Minecraft:Crafting]] from [[Minecraft:planks]] | ||
* | * Fishing | ||
* [[Minecraft:Turtle]] killed by | * [[Minecraft:Turtle]] killed by lightning | ||
* Eating food made with them | * Eating food made with them | ||
| | | | ||
| Line 359: | Line 359: | ||
| {{ItemLink|Cookie|Cookies}} | | {{ItemLink|Cookie|Cookies}} | ||
| | | | ||
* Breaking | * Breaking cocoa plants | ||
| | | | ||
|- | |- | ||
| Line 367: | Line 367: | ||
* {{ItemLink|Pumpkin Pie}} | * {{ItemLink|Pumpkin Pie}} | ||
| | | | ||
* Laid by | * Laid by chickens | ||
* Found in village fletcher chests | * Found in village fletcher chests | ||
| | | | ||
| Line 374: | Line 374: | ||
| {{ItemLink|Cake}} | | {{ItemLink|Cake}} | ||
| | | | ||
* Milking a | * Milking a cow, mooshroom or a goat | ||
* Killing a | * Killing a wandering trader drinking it | ||
|- | |- | ||
| {{BlockLink|Brown Mushroom}} or {{BlockLink|Red Mushroom}} | | {{BlockLink|Brown Mushroom}} or {{BlockLink|Red Mushroom}} | ||
| Line 384: | Line 384: | ||
* Breaking naturally generated mushrooms in: | * Breaking naturally generated mushrooms in: | ||
** Dark/shady areas | ** Dark/shady areas | ||
** | ** Swamp and mushroom fields biomes | ||
** [[Minecraft:The Nether]] | ** [[Minecraft:The Nether]] | ||
* Breaking | * Breaking huge brown or red mushrooms | ||
* Using [[Minecraft:shears]] on a | * Using [[Minecraft:shears]] on a brown mooshroom or red mushroom | ||
* Bought from | * Bought from wandering trader | ||
| | | | ||
|- | |- | ||
| Line 395: | Line 395: | ||
| | | | ||
* Breaking naturally generated flowers | * Breaking naturally generated flowers | ||
* Using | * Using bone meal on a grass block | ||
* Bought from | * Bought from wandering trader | ||
* Killing | * Killing iron golem (poppy) | ||
| | | | ||
|- | |- | ||
| Line 403: | Line 403: | ||
| {{ItemLink|Pumpkin pie}} | | {{ItemLink|Pumpkin pie}} | ||
| | | | ||
* Harvesting mature [[Minecraft:pumpkin]]s grown from | * Harvesting mature [[Minecraft:pumpkin]]s grown from pumpkin seeds | ||
* Naturally occurring [[Minecraft:pumpkin]]s | * Naturally occurring [[Minecraft:pumpkin]]s | ||
* Taiga and snowy taiga | * Taiga and snowy taiga villages | ||
* Bought from | * Bought from wandering trader | ||
| | | | ||
|- | |- | ||
| Line 414: | Line 414: | ||
* {{ItemLink|Pumpkin pie}} | * {{ItemLink|Pumpkin pie}} | ||
| | | | ||
* Crafting from | * Crafting from sugar cane or honey bottle | ||
* Dropped by [[Minecraft:witch]]es | * Dropped by [[Minecraft:witch]]es | ||
* Creating from its base [[Minecraft:element]]s {{only|bedrock|education}} | * Creating from its base [[Minecraft:element]]s {{only|bedrock|education}} | ||
| Line 425: | Line 425: | ||
* {{ItemLink|Cookie}} | * {{ItemLink|Cookie}} | ||
| | | | ||
* Harvesting mature | * Harvesting mature wheat seeds | ||
* Found in | * Found in monster room, woodland mansion, shipwreck, igloo, village, ocean ruins, and pillager outpost chest | ||
* Crafting from | * Crafting from hay bales | ||
| | | | ||
|- | |- | ||
| Line 433: | Line 433: | ||
| {{ItemLink|Golden Carrot}} | | {{ItemLink|Golden Carrot}} | ||
| | | | ||
* Crafting from | * Crafting from gold ingots | ||
* Dropped by | * Dropped by zombified piglins | ||
* Found in | * Found in shipwreck, igloo, village, and ocean ruins chest | ||
* Smelting golden armor or tools | * Smelting golden armor or tools | ||
* Mining | * Mining nether gold ore without [[Minecraft:Silk Touch]] | ||
| | | | ||
|- | |- | ||
| Line 443: | Line 443: | ||
| {{ItemLink|Golden Apple}} | | {{ItemLink|Golden Apple}} | ||
| | | | ||
* Crafting from | * Crafting from gold blocks or gold nuggets | ||
* Rarely dropped by | * Rarely dropped by zombified piglins | ||
* Smelting | * Smelting gold ore or nether gold ore | ||
* Found in | * Found in shipwreck, jungle pyramid, monster room, woodland mansion, nether fortress, end city, mineshaft, village, stronghold, buried treasure and desert pyramid chest | ||
| | | | ||
|- | |- | ||
| Line 452: | Line 452: | ||
| {{ItemLink|Honey Bottle}} | | {{ItemLink|Honey Bottle}} | ||
| | | | ||
* Crafting from | * Crafting from honey bottles | ||
| | | | ||
|} | |} | ||
== Internal variables == | == Internal variables == | ||
Food uses four variables, the values of which are stored in the | Food uses four variables, the values of which are stored in the player.dat format. Variables can be queried in-game with the following command: {{cmd|data get entity <player's name> <variable>}}{{only|je}}. | ||
*<code>foodLevel</code>: The player's current hunger level, shown on the hunger bar. Its initial value on | *<code>foodLevel</code>: The player's current hunger level, shown on the hunger bar. Its initial value on world creation or respawn is {{hunger|20}}. | ||
*<code>foodSaturationLevel</code>: The player's current saturation level, which determines how fast <code>foodLevel</code> depletes and is controlled by the kinds of food the player has eaten. Its maximum value always equals <code>foodLevel</code>'s value and decreases with <code>foodLevel</code>. Its initial value on world creation or respawn is 5. | *<code>foodSaturationLevel</code>: The player's current saturation level, which determines how fast <code>foodLevel</code> depletes and is controlled by the kinds of food the player has eaten. Its maximum value always equals <code>foodLevel</code>'s value and decreases with <code>foodLevel</code>. Its initial value on world creation or respawn is 5. | ||
*<code>foodTickTimer</code>: This variable is used when <code>foodLevel</code> either exceeds 17 ({{hunger|bar=17}}), or is at zero. It increases on every [[Minecraft:tick]], and whenever it reaches 80 (4 seconds), it resets to zero and {{hp|1}} is added or deducted, depending on whether the player is saturated or starving. If the player has a full {{hunger|20}}, {{frac|1|6}} of {{hp|1}} times the player's <code>foodSaturationLevel</code> is restored, up to a maximum of {{hp|1}}, when <code>foodTickTimer</code> reaches 10 ({{frac|1|2}} second), and <code>foodTickTimer</code> is reset to zero. | *<code>foodTickTimer</code>: This variable is used when <code>foodLevel</code> either exceeds 17 ({{hunger|bar=17}}), or is at zero. It increases on every [[Minecraft:tick]], and whenever it reaches 80 (4 seconds), it resets to zero and {{hp|1}} is added or deducted, depending on whether the player is saturated or starving. If the player has a full {{hunger|20}}, {{frac|1|6}} of {{hp|1}} times the player's <code>foodSaturationLevel</code> is restored, up to a maximum of {{hp|1}}, when <code>foodTickTimer</code> reaches 10 ({{frac|1|2}} second), and <code>foodTickTimer</code> is reset to zero. | ||
| Line 475: | Line 475: | ||
=== Development === | === Development === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine||May 20, 2009|link=https://web.archive.org/web/20110302004111/http://notch.tumblr.com/post/110459630/health-and-food| | |{{HistoryLine||May 20, 2009|link=https://web.archive.org/web/20110302004111/http://notch.tumblr.com/post/110459630/health-and-food|Notch mentions adding food, which would be used to heal the player, and could be obtained by farming or hunting.}} | ||
|{{HistoryLine||June 14, 2009|link=https://notch.tumblr.com/post/123343045/my-vision-for-survival| | |{{HistoryLine||June 14, 2009|link=https://notch.tumblr.com/post/123343045/my-vision-for-survival|Notch discussed how food would work in Survival mode: "Monsters will hurt you and take away from your health. The only way to regain health is to eat food. You get food from either hunting or from farming."}} | ||
|{{HistoryLine||July 19, 2011|link={{tweet|notch|93305042941132801}}|The hunger bar is first seen in an image Notch posted to Twitter that showcases his experimentation with world height.}} | |{{HistoryLine||July 19, 2011|link={{tweet|notch|93305042941132801}}|The hunger bar is first seen in an image Notch posted to Twitter that showcases his experimentation with world height.}} | ||
}} | }} | ||
| Line 483: | Line 483: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java classic}} | |{{HistoryLine|java classic}} | ||
|{{HistoryLine||0.24_SURVIVAL_TEST|[[Minecraft:Mushroom]]s are now edible, making them the first food to be added in the game. At the time, food restores | |{{HistoryLine||0.24_SURVIVAL_TEST|[[Minecraft:Mushroom]]s are now edible, making them the first food to be added in the game. At the time, food restores health instead of hunger, and are eaten instantly without sound or animation. | ||
|Brown mushrooms restore {{hp|5}} and red mushrooms take {{hp|3}} hearts.}} | |Brown mushrooms restore {{hp|5}} and red mushrooms take {{hp|3}} hearts.}} | ||
|{{HistoryLine||0.25 SURVIVAL TEST|Pigs now drop 0-2 brown mushrooms upon death.}} | |{{HistoryLine||0.25 SURVIVAL TEST|Pigs now drop 0-2 brown mushrooms upon death.}} | ||
| Line 490: | Line 490: | ||
|{{HistoryLine|||dev=20091231-2147|Added [[Minecraft:apple]]s, which are currently non-functional.}} | |{{HistoryLine|||dev=20091231-2147|Added [[Minecraft:apple]]s, which are currently non-functional.}} | ||
|{{HistoryLine|||dev=20100110|Apples are now edible, and restore {{hp|4}} each.}} | |{{HistoryLine|||dev=20100110|Apples are now edible, and restore {{hp|4}} each.}} | ||
|{{HistoryLine|||dev=20100130|Added | |{{HistoryLine|||dev=20100130|Added mushroom stew, which restores {{hp|8}} health.}} | ||
|{{HistoryLine||20100206-2034|Added [[Minecraft:bread]] which restores {{hp|5}}. | |{{HistoryLine||20100206-2034|Added [[Minecraft:bread]] which restores {{hp|5}}. | ||
|Mushroom stew now restores {{hp|10}} health.}} | |Mushroom stew now restores {{hp|10}} health.}} | ||
|{{HistoryLine||20100219|[[Minecraft:Pig]]s now drop | |{{HistoryLine||20100219|[[Minecraft:Pig]]s now drop raw porkchops, which restore {{hp|3}} and can be smelted to become cooked porkchops, which restore {{hp|8}}.}} | ||
|{{HistoryLine|java infdev}} | |{{HistoryLine|java infdev}} | ||
|{{HistoryLine||20100227-1414|Added | |{{HistoryLine||20100227-1414|Added golden apples. At the time, they were crafted with blocks of gold, and restored {{hp|20}}, but internally {{hp|42}}.}} | ||
|{{HistoryLine||20100625-1917|Golden apples can now be found in dungeons, making the item obtainable.}} | |{{HistoryLine||20100625-1917|Golden apples can now be found in dungeons, making the item obtainable.}} | ||
|{{HistoryLine|java alpha}} | |{{HistoryLine|java alpha}} | ||
|{{HistoryLine||v1.2.0|dev=<nowiki>?</nowiki>|slink=:Category:Information needed requiring unarchived version|Added | |{{HistoryLine||v1.2.0|dev=<nowiki>?</nowiki>|slink=:Category:Information needed requiring unarchived version|Added raw fish which restores {{hp|2}} and cooked fish which restores {{hp|5}}, obtainable through fishing.}} | ||
|{{HistoryLine||v1.2.3|Eating food now functions correctly in multiplayer.}} | |{{HistoryLine||v1.2.3|Eating food now functions correctly in multiplayer.}} | ||
|{{HistoryLine|java beta}} | |{{HistoryLine|java beta}} | ||
| Line 505: | Line 505: | ||
|{{HistoryLine||1.5|Pigs now drop cooked porkchops if killed while on fire.}} | |{{HistoryLine||1.5|Pigs now drop cooked porkchops if killed while on fire.}} | ||
|{{HistoryLine||1.8|dev=Pre-release|Hunger was introduced. Food no longer restores health directly, but the player can regenerate if the hunger meter is 90% or over. | |{{HistoryLine||1.8|dev=Pre-release|Hunger was introduced. Food no longer restores health directly, but the player can regenerate if the hunger meter is 90% or over. | ||
|Added | |Added melons, raw chicken as a drop from chickens, which can be smelted into cooked chicken, raw beef as a drop from cows, which can be smelted into [[Minecraft:steak]], and rotten flesh as a new drop from [[Minecraft:zombie]]s. | ||
|Added an eating animation, instead of food simply disappearing from the player's hand as if a block had been placed. | |Added an eating animation, instead of food simply disappearing from the player's hand as if a block had been placed. | ||
|Added | |Added hunger bar. Food now restores hunger instead of health. | ||
|Food now stacks in the inventory, with the exception of cake and mushroom stew. | |Food now stacks in the inventory, with the exception of cake and mushroom stew. | ||
|With the addition of the hunger bar, all foods restore the same amount of hunger as hearts, except for mushroom stew, which restores {{hunger|8}}, golden apples, which restore {{Hunger|10}} and give 30 seconds of | |With the addition of the hunger bar, all foods restore the same amount of hunger as hearts, except for mushroom stew, which restores {{hunger|8}}, golden apples, which restore {{Hunger|10}} and give 30 seconds of Regeneration and cake, with its slice restoring {{hunger|2}} and the whole cake restoring {{hunger|12}}. | ||
|Apples now generate in the new | |Apples now generate in the new stronghold storeroom chests, making them obtainable.}} | ||
|{{HistoryLine|java}} | |{{HistoryLine|java}} | ||
|{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 2|Added | |{{HistoryLine||1.0.0|dev=Beta 1.9 Prerelease 2|Added spider eyes, as a drop from spiders.}} | ||
|{{HistoryLine||1.1|dev=release|Golden apples are now made with | |{{HistoryLine||1.1|dev=release|Golden apples are now made with gold nuggets instead of blocks of gold, restore {{Hunger|4}} and give 4 seconds of Regeneration.}} | ||
|{{HistoryLine||1.3.1|dev=12w18a|The 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. | |{{HistoryLine||1.3.1|dev=12w18a|The 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. | ||
|Cocoa beans now drop rarely from jungle leaves, making all food renewable.}} | |Cocoa beans now drop rarely from jungle leaves, making all food renewable.}} | ||
|{{HistoryLine|||dev=12w19a|Cookies now restore {{hunger|2}}.}} | |{{HistoryLine|||dev=12w19a|Cookies now restore {{hunger|2}}.}} | ||
|{{HistoryLine|||dev=12w21a|Added | |{{HistoryLine|||dev=12w21a|Added enchanted golden apples, which functioned like golden apples prior to 1.1 and had the same crafting recipe, but also gave resistance and fire resistance for 5 minutes each.}} | ||
|{{HistoryLine||1.4.2|dev=12w34a|Added [[Minecraft:potato]]es and [[Minecraft:carrot]]s, which can be obtained from zombies as a rare drop. | |{{HistoryLine||1.4.2|dev=12w34a|Added [[Minecraft:potato]]es and [[Minecraft:carrot]]s, which can be obtained from zombies as a rare drop. | ||
|Potatoes can be cooked to make | |Potatoes can be cooked to make baked potatoes. | ||
|Harvesting potatoes may give 0–2 | |Harvesting potatoes may give 0–2 poisonous potatoes. | ||
|Carrots can be crafted into | |Carrots can be crafted into golden carrots.}} | ||
|{{HistoryLine|||dev=12w37a|Added | |{{HistoryLine|||dev=12w37a|Added pumpkin pies. | ||
|Mushroom stew now restores {{hunger|6}}.}} | |Mushroom stew now restores {{hunger|6}}.}} | ||
|{{HistoryLine||1.6.1|dev=13w23a|Natural health regeneration now increases the food exhaustion level. | |{{HistoryLine||1.6.1|dev=13w23a|Natural health regeneration now increases the food exhaustion level. | ||
|Golden apples are now crafted with 8 | |Golden apples are now crafted with 8 golden ingots.}} | ||
|{{HistoryLine||1.7.2|dev=13w36a|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. | |{{HistoryLine||1.7.2|dev=13w36a|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. | ||
|Added [[Minecraft:Tropical Fish (item)|clownfish]], | |Added [[Minecraft:Tropical Fish (item)|clownfish]], raw salmon, cooked salmon, and [[Minecraft:Pufferfish (item)|pufferfish]].}} | ||
|{{HistoryLine||1.8|dev=14w02a|Baked potatoes now restore {{Hunger|5}} hunger points instead of 6, with a corresponding reduction in saturation restored. | |{{HistoryLine||1.8|dev=14w02a|Baked potatoes now restore {{Hunger|5}} hunger points instead of 6, with a corresponding reduction in saturation restored. | ||
|Carrots now restore {{Hunger|3}} hunger points instead of 4, with a corresponding reduction in saturation restored.}} | |Carrots now restore {{Hunger|3}} hunger points instead of 4, with a corresponding reduction in saturation restored.}} | ||
|{{HistoryLine|||dev=14w25a|Eating immediately after attacking no longer continues the swinging animation.<ref>{{bug|MC-201394}}</ref>}} | |{{HistoryLine|||dev=14w25a|Eating immediately after attacking no longer continues the swinging animation.<ref>{{bug|MC-201394}}</ref>}} | ||
|{{HistoryLine|||dev=14w27a|Added | |{{HistoryLine|||dev=14w27a|Added raw mutton, cooked mutton, raw rabbit, cooked rabbit, and rabbit stew.}} | ||
|{{HistoryLine|||dev=14w28a|Cake now has one more slice.}} | |{{HistoryLine|||dev=14w28a|Cake now has one more slice.}} | ||
|{{HistoryLine|||dev=14w29a|Hunger now regenerates when depleted if the | |{{HistoryLine|||dev=14w29a|Hunger now regenerates when depleted if the difficulty is set to Peaceful.}} | ||
|{{HistoryLine|||dev=14w30a|Food is now positioned a little higher and further left during the eating animation in first person view.<ref>{{bug|MC-273056}}</ref>}} | |{{HistoryLine|||dev=14w30a|Food is now positioned a little higher and further left during the eating animation in first person view.<ref>{{bug|MC-273056}}</ref>}} | ||
|{{HistoryLine||1.9|dev=15w31a|Added | |{{HistoryLine||1.9|dev=15w31a|Added chorus fruit, [[Minecraft:beetroot]] and beetroot soup.}} | ||
|{{HistoryLine|||dev=15w40a|Added saturation boost, where saturation is consumed to heal faster. | |{{HistoryLine|||dev=15w40a|Added saturation boost, where saturation is consumed to heal faster. | ||
|Regenerating health now increases exhaustion more.}} | |Regenerating health now increases exhaustion more.}} | ||
| Line 545: | Line 545: | ||
|Exhaustion rate from regeneration is increased from 4.0/half-heart to 6.0/half-heart. | |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 [[Minecraft:boat]] or a [[Minecraft:minecart]].}} | |The hunger bar is now visible when riding a [[Minecraft:boat]] or a [[Minecraft:minecart]].}} | ||
|{{HistoryLine||1.13|dev=18w07a|Added | |{{HistoryLine||1.13|dev=18w07a|Added dried kelp.}} | ||
|{{HistoryLine||1.14|dev=18w43a|Added | |{{HistoryLine||1.14|dev=18w43a|Added suspicious stew.}} | ||
|{{HistoryLine|||dev=18w49a|Added | |{{HistoryLine|||dev=18w49a|Added sweet berries.}} | ||
|{{HistoryLine||1.15|dev=19w34a|Added | |{{HistoryLine||1.15|dev=19w34a|Added honey bottles.}} | ||
|{{HistoryLine|||dev=19w35a| | |{{HistoryLine|||dev=19w35a|Honey bottles now remove Poison effect when consumed.}} | ||
|{{HistoryLine|||dev=19w44a|Honey bottles can now be crafted with 4 | |{{HistoryLine|||dev=19w44a|Honey bottles can now be crafted with 4 bottles and 1 honey block.}} | ||
|{{HistoryLine|||dev=19w46a|All foods can now be consumed in Creative mode.}} | |{{HistoryLine|||dev=19w46a|All foods can now be consumed in Creative mode.}} | ||
|{{HistoryLine||1.17|dev=21w05a|Added | |{{HistoryLine||1.17|dev=21w05a|Added glow berries.}} | ||
}} | }} | ||
| Line 558: | Line 558: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|pocket alpha}} | |{{HistoryLine|pocket alpha}} | ||
|{{HistoryLine||v0.4.0|Added the first food items: [[Minecraft:apple]]s, [[Minecraft:bread]], | |{{HistoryLine||v0.4.0|Added the first food items: [[Minecraft:apple]]s, [[Minecraft:bread]], mushroom stew, raw beef, [[Minecraft:steak]], raw chicken, cooked chicken, raw porkchops, and cooked porkchop.}} | ||
|{{HistoryLine||v0.5.0|Added [[Minecraft:melon]]s, | |{{HistoryLine||v0.5.0|Added [[Minecraft:melon]]s, melon slices, and melon seeds.}} | ||
|{{HistoryLine||v0.7.0|Added [[Minecraft:cake]]s.}} | |{{HistoryLine||v0.7.0|Added [[Minecraft:cake]]s.}} | ||
|{{HistoryLine||v0.8.0|dev=build 1|Added | |{{HistoryLine||v0.8.0|dev=build 1|Added pumpkin pie, [[Minecraft:carrot]]s, [[Minecraft:potato]]es, and baked potatoes.}} | ||
|{{HistoryLine|||dev=build 2|Added [[Minecraft:beetroot]]s and | |{{HistoryLine|||dev=build 2|Added [[Minecraft:beetroot]]s and beetroot soup.}} | ||
|{{HistoryLine||v0.9.0|dev=build 1|[[Minecraft:Potato]]es and [[Minecraft:carrot]]s can be obtainable from zombies (rare drop) or harvested. | |{{HistoryLine||v0.9.0|dev=build 1|[[Minecraft:Potato]]es and [[Minecraft:carrot]]s can be obtainable from zombies (rare drop) or harvested. | ||
|Added [[Minecraft:cookie]]s.}} | |Added [[Minecraft:cookie]]s.}} | ||
|{{HistoryLine||v0.11.0|dev=build 1|Added | |{{HistoryLine||v0.11.0|dev=build 1|Added rotten flesh as a new drop from [[Minecraft:zombie]]s. It Poisons the player when eaten.{{Info needed|When was this changed to give Hunger instead?}} | ||
|Added [[Minecraft:Raw Salmon|raw fish]], [[Minecraft:Cooked Salmon|cooked fish]], | |Added [[Minecraft:Raw Salmon|raw fish]], [[Minecraft:Cooked Salmon|cooked fish]], clownfish, and [[Minecraft:pufferfish (item)|pufferfish]].}} | ||
|{{HistoryLine||v0.12.1|dev=build 1|Hunger was introduced. Food no longer restores health directly, but the player can regenerate if the hunger meter is 90% or over. | |{{HistoryLine||v0.12.1|dev=build 1|Hunger was introduced. Food no longer restores health directly, but the player can regenerate if the hunger meter is 90% or over. | ||
|Eating food now restores hunger. | |Eating food now restores hunger. | ||
| | |Spiders now drop spider eyes. | ||
|Added | |Added poisonous potatoes, golden apples, enchanted golden apples and golden carrots.}} | ||
|{{HistoryLine||v0.13.0|dev=build 1|The amount of Hunger restored by food is now the same as {{in|Java}}. | |{{HistoryLine||v0.13.0|dev=build 1|The amount of Hunger restored by food is now the same as {{in|Java}}. | ||
|Added | |Added raw rabbit, cooked rabbit, and rabbit stew.}} | ||
|{{HistoryLine||v0.15.0|dev=build 1|Added | |{{HistoryLine||v0.15.0|dev=build 1|Added raw mutton and cooked mutton.}} | ||
|{{HistoryLine|pocket}} | |{{HistoryLine|pocket}} | ||
|{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Added | |{{HistoryLine||1.0.0|dev=alpha 0.17.0.1|Added chorus fruit.}} | ||
|{{HistoryLine|bedrock}} | |{{HistoryLine|bedrock}} | ||
|{{HistoryLine||1.4.0|dev=beta 1.2.14.2|Added | |{{HistoryLine||1.4.0|dev=beta 1.2.14.2|Added dried kelp, which is the first food item that restores a different amount of hunger than {{in|Java}}.}} | ||
|{{HistoryLine||1.7.0|dev=beta 1.7.0.2|Food can now be eaten in Creative mode and on Peaceful difficulty.}} | |{{HistoryLine||1.7.0|dev=beta 1.7.0.2|Food can now be eaten in Creative mode and on Peaceful difficulty.}} | ||
|{{HistoryLine||1.10.0|dev=beta 1.10.0.3|Added | |{{HistoryLine||1.10.0|dev=beta 1.10.0.3|Added sweet berries, which is the second food item that restores a different amount of hunger than {{in|Java}}.}} | ||
|{{HistoryLine||1.13.0|dev=beta 1.13.0.9|Added | |{{HistoryLine||1.13.0|dev=beta 1.13.0.9|Added suspicious stew.}} | ||
|{{HistoryLine||1.14.0|dev=beta 1.14.0.1|Added | |{{HistoryLine||1.14.0|dev=beta 1.14.0.1|Added honey bottle.}} | ||
|{{HistoryLine||1.17.0|dev=beta 1.16.220.52|Added | |{{HistoryLine||1.17.0|dev=beta 1.16.220.52|Added glow berries.}} | ||
|{{HistoryLine||1.18.30|dev=Preview 1.18.20.26|The rate that hunger decreases has been changed to better match ''[[Minecraft:Java Edition]]'' and can now be changed with behavior packs ([[Minecraft:add-on]]s).<ref>{{cite bug|MCPE|56031|Hunger bar depletes too fast|date=November 7, 2019|resolution=Fixed}}</ref>}} | |{{HistoryLine||1.18.30|dev=Preview 1.18.20.26|The rate that hunger decreases has been changed to better match ''[[Minecraft:Java Edition]]'' and can now be changed with behavior packs ([[Minecraft:add-on]]s).<ref>{{cite bug|MCPE|56031|Hunger bar depletes too fast|date=November 7, 2019|resolution=Fixed}}</ref>}} | ||
}} | }} | ||
| Line 591: | Line 591: | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|console}} | |{{HistoryLine|console}} | ||
|{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added all food from and prior to | |{{HistoryLine||xbox=TU1|xbone=CU1|ps3=1.00|psvita=1.00|ps4=1.00|wiiu=Patch 1|switch=1.0.1|Added all food from and prior to Java Edition Beta 1.6.6.}} | ||
|{{HistoryLine||xbox=TU5|Added the food bar and hunger.|Added an eating animation and | |{{HistoryLine||xbox=TU5|Added the food bar and hunger.|Added an eating animation and sounds.|Changed all the text descriptions for food to show how much they refill the food bar.|Food items are now stackable, except mushroom stew and [[Minecraft:cake]].|Added raw chicken, cooked chicken, raw beef, [[Minecraft:steak]], melons, and rotten flesh.}} | ||
|{{HistoryLine||xbox=TU7|Added | |{{HistoryLine||xbox=TU7|Added spider eyes.}} | ||
|{{HistoryLine||xbox=TU14|ps3=1.04|psvita=1.00|ps4=1.00|Added | |{{HistoryLine||xbox=TU14|ps3=1.04|psvita=1.00|ps4=1.00|Added enchanted golden apples, [[Minecraft:potato]]es, baked potatoes, poisonous potatoes, [[Minecraft:carrot]]s, golden carrots, and pumpkin pie.}} | ||
|{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|Added | |{{HistoryLine||xbox=TU31|xbone=CU19|ps3=1.22|psvita=1.22|ps4=1.22|wiiu=Patch 3|Added clownfish, raw salmon, cooked salmon, [[Minecraft:pufferfish (item)|pufferfish]], raw mutton, cooked mutton, raw rabbit, cooked rabbit, and rabbit stew.|Eating immediately after attacking no longer continues the swinging animation.}} | ||
|{{HistoryLine||xbox=TU43|xbone=CU33|ps3=1.36|psvita=1.36|ps4=1.36|wiiu=Patch 13|Food now regenerates health.|Added [[Minecraft:beetroot]]s and | |{{HistoryLine||xbox=TU43|xbone=CU33|ps3=1.36|psvita=1.36|ps4=1.36|wiiu=Patch 13|Food now regenerates health.|Added [[Minecraft:beetroot]]s and beetroot soup.}} | ||
|{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|Added | |{{HistoryLine||xbox=TU46|xbone=CU36|ps3=1.38|psvita=1.38|ps4=1.38|wiiu=Patch 15|Added chorus fruit.|Chorus fruits, golden apples and enchanted golden apples can now be eaten in creative mode.}} | ||
|{{HistoryLine||xbox=TU48|xbone=CU38|ps3=1.41|psvita=1.41|ps4=1.41|wiiu=Patch 17|Chorus fruits, golden apples and enchanted golden apples are no longer consumed when eaten in creative mode.{{check version}}}} | |{{HistoryLine||xbox=TU48|xbone=CU38|ps3=1.41|psvita=1.41|ps4=1.41|wiiu=Patch 17|Chorus fruits, golden apples and enchanted golden apples are no longer consumed when eaten in creative mode.{{check version}}}} | ||
|{{HistoryLine||xbox=TU49|xbone=CU39|ps3=1.42|psvita=1.42|ps4=1.42|wiiu=Patch 18|switch=1.0.1|Food is now positioned a little higher and further left during the eating animation in first person view.}} | |{{HistoryLine||xbox=TU49|xbone=CU39|ps3=1.42|psvita=1.42|ps4=1.42|wiiu=Patch 18|switch=1.0.1|Food is now positioned a little higher and further left during the eating animation in first person view.}} | ||
| Line 603: | Line 603: | ||
|Sneaking and walking no longer affect exhaustion. | |Sneaking and walking no longer affect exhaustion. | ||
|Exhaustion rate from regeneration is increased from 0.4/half-heart to 0.6/half-heart.}} | |Exhaustion rate from regeneration is increased from 0.4/half-heart to 0.6/half-heart.}} | ||
|{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Added | |{{HistoryLine||xbox=TU69|xbone=none|ps3=1.76|psvita=1.76|ps4=1.76|wiiu=Patch 38|switch=none|Added dried kelp.}} | ||
|{{HistoryLine||xbox=none|ps3=none|psvita=none|ps4=1.91|wiiu=none|Added | |{{HistoryLine||xbox=none|ps3=none|psvita=none|ps4=1.91|wiiu=none|Added sweet berries.}} | ||
}} | }} | ||
| Line 618: | Line 618: | ||
|The player now takes damage from starvation every {{convert|60|ticks|seconds}} instead of every {{convert|80|ticks|seconds}} when the hunger bar is empty. | |The player now takes damage from starvation every {{convert|60|ticks|seconds}} instead of every {{convert|80|ticks|seconds}} when the hunger bar is empty. | ||
|Natural regeneration now always drains food points. | |Natural regeneration now always drains food points. | ||
|The player can now | |The player can now sprint at any hunger value.}} | ||
|{{HistoryLine||6|Reverted food consumption time to 32 ticks (1.6 seconds). | |{{HistoryLine||6|Reverted food consumption time to 32 ticks (1.6 seconds). | ||
|Eating is now interrupted if something hits the | |Eating is now interrupted if something hits the player. | ||
|Natural regeneration now occurs every {{convert|40|ticks|seconds}} instead of every {{convert|60|ticks|seconds}}. | |Natural regeneration now occurs every {{convert|40|ticks|seconds}} instead of every {{convert|60|ticks|seconds}}. | ||
|The player now takes damage from starvation every {{convert|40|ticks|seconds}} instead of every {{convert|60|ticks|seconds}} when the hunger bar is empty. | |The player now takes damage from starvation every {{convert|40|ticks|seconds}} instead of every {{convert|60|ticks|seconds}} when the hunger bar is empty. | ||
|Natural regeneration now drains [[Minecraft:food]] points randomly, at a 50% chance. | |Natural regeneration now drains [[Minecraft:food]] points randomly, at a 50% chance. | ||
|Reintroduced the rule that | |Reintroduced the rule that sprinting requires more than 6 points of food.}} | ||
}} | }} | ||
| Line 637: | Line 637: | ||
== Trivia == | == Trivia == | ||
* {{IN|Java}}, a player cannot see their own eating animation while in | * {{IN|Java}}, a player cannot see their own eating animation while in third-person view.<ref>{{bug|MC-77962||Eating / drinking animation does not work in third person mode|Invalid}}</ref> | ||
== Notes == | == Notes == | ||
| Line 651: | Line 651: | ||
[[Category:Food| ]] | [[Category:Food| ]] | ||
cs:Potraviny | |||
de:Hunger | |||
es:Comida | |||
fr:Nourriture | |||
hu:Étel | |||
it:Cibo | |||
ja:食料 | |||
ko:식료품 | |||
lzh:食 | |||
nl:Voedsel | |||
pl:Jedzenie | |||
pt:Alimento | |||
ru:Еда | |||
th:อาหาร | |||
uk:Їжа | |||
zh:食物 | |||
Revision as of 15:50, 9 April 2026
|
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 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 dried kelp which takes half of the time (Template:Convert), and 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 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 Minecraft:potions, water bottles, and milk buckets. In Creative mode and Peaceful difficultyTemplate:Only, any food can be consumed at any time.
Hunger
Template:Redirect 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 (Template:Hunger), which displays above the hotbar on the right side, opposite of the 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 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 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 armor toughness, the Protection enchantment, and the Resistance effect.<ref>Template:Tweet</ref> 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 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 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 |
|---|---|---|
| Swimming | 0.01 | per meter |
| Breaking a block | 0.005 | per block broken |
| Minecraft:Sprinting | 0.1 | per meter |
| Jumping | 0.05 | per jump |
| Attacking an entity | 0.1 | per attack landed |
| Attacking with a Minecraft: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 |
| 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 gamerule naturalRegeneration set to true)
|
6.0 | per Template:Hp healed |
| Template:EffectLink from raw chicken, 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 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, rotten flesh, or 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 suspicious stew crafted with a blue orchid or Minecraft:dandelion.
Food sources
| Sources | |
|---|---|
| Food type | Food source |
| Template:Slot | Destroyed/despawned oak or dark oak Minecraft:leaves Stronghold altar and storeroom, village weaponsmith and plains house, igloo and bonus chests Receive 4 for 1 Minecraft:emerald at apprentice-level trade of farmer Minecraft:villager |
| Template:Slot | Trial Spawners and ominous trial spawners in Trial Chambers Ancient city ice box and trial chambers supply chests Trial chambers intersection barrels |
| Template:Slot | Harvesting beetroot crops Farmer villager who drop beetroot after harvesting beetroot crop |
| Template:Slot | Crafting a Minecraft:bowl together with Minecraft:beetroots Snowy village house chests |
| Template:Slot | Crafting from Minecraft:wheat Monster room, stronghold altar and storeroom, village, mineshaft, woodland mansion and bonus chests Receive 6 for 1 Minecraft:emerald at novice-level trade of farmer villager Farmer villager who drop bread after harvesting Minecraft:wheat Raid gift from farmer villagerTemplate:Only Trial spawners in trial chambers. |
| Template:Slot | Crafting from Minecraft:wheat, Minecraft:eggs, Minecraft:sugar, and Minecraft:milk Receive 1 for 1 Minecraft:emerald at expert-level trade of farmer villager Buried treasure chestTemplate:Only Trial chamber intersection chests |
| Template:Slot | Killing Minecraft:zombies Harvesting carrot crops pillager outpost and Shipwreck supply chest bonus chestTemplate:Only Farmer villagers which drop carrots after harvesting a carrot crop |
| Template:Slot | Breaking chorus plants in Minecraft:The End |
| Template:Slot | Cooking a raw chicken Killing chickens with Minecraft:fire Receive 8 for 1 Minecraft:emerald at novice-level trade from Butcher villager Raid gift from butcher villagerTemplate:Only Trial spawners in trial chambers |
| Template:Slot | Cooking a raw cod Killing cod with Minecraft:fireTemplate:Only Killing dolphin with fire Rare drop from guardians and elder guardians when killed with Minecraft:fireTemplate:Only Receive 6 for 1 Minecraft:emerald + 6 raw cod at novice-level trade from fisherman villager Buried treasure chestsTemplate:Only |
| Template:Slot | Cooking raw mutton Killing sheep with Minecraft:fire Raid gift from butcher villagerTemplate:Only |
| Template:Slot | Cooking a raw porkchop Killing Minecraft:pigs or hoglins with Minecraft:fire Receive 5 for 1 Minecraft:emerald at apprentice-level trade from butcher villager Raid gift from butcher villagerTemplate:Only Bastion remnant chests |
| Template:Slot | Cooking raw rabbit Killing rabbits with Minecraft:fire Raid gift from butcher villagerTemplate:Only |
| Template:Slot | Cooking a raw salmon Killing salmon with Minecraft:fireTemplate:Only buried treasure chestTemplate:Only Receive 6 for 1 Minecraft:emerald + 1 raw salmon at apprentice-level trade from fisherman villager |
| Template:Slot | Crafting from Minecraft:wheat and cocoa beans Receive 18 for 3 Minecraft:emerald at journeyman-level trade from farmer villager Raid gift from farmer villagerTemplate:Only |
| Template:Slot | Cooking Minecraft:kelp in a Minecraft:furnace, Minecraft:smoker, or Minecraft:campfire Crafting from dried kelp block Raid gift from farmer villagerTemplate:Only |
| Template:Slot | Desert pyramid, monster room, woodland mansion, mineshaft, ruined portal and ancient city chests Ominous vaults in trial chambers |
| Template:Slot | Crafting from an Minecraft:apple and gold ingots. Desert pyramid, monster room, mineshaft, stronghold altar, woodland mansion, igloo, big ocean ruins, ruined portal and ancient city center chests Ominous vaults in trial chambers |
| Template:Slot | Collected from cave vines Ancient city and and trial chambers supply chests |
| Template:Slot | Crafting a Minecraft:carrot with gold nuggets Receive 3 for 3 Minecraft:emerald at master-level trade from farmer villager Bastion remnant, ruined portal and ancient city ice box chests Vaults in trial chambers Ominous trial spawners in trial chambers |
| Template:Slot | Crafting from honey block Collecting from Minecraft:beehives or bee nests Vaults in trial chambers |
| Template:Slot | Harvesting a Minecraft:melon block |
| Template:Slot | Crafting with a Minecraft:bowl and one of each Minecraft:mushroom Template:Control a Minecraft:bowl on a mooshroom |
| Template:Slot | Harvesting potato crops Shipwreck supply chest |
| Template:Slot | Killing Minecraft:zombies Harvesting potato crops Farmer villager who drop potato after harvesting potato crop bonus chestTemplate:Only Plains and taiga village, pillager outpost, and shipwreck supply chest |
| Template:Slot | Fishing Killing pufferfish Rare drop from guardians and elder guardian |
| Template:Slot | Crafting with a Minecraft:pumpkin, an Minecraft:egg, and Minecraft:sugar Receive 4 for 1 Minecraft:emerald at apprentice-level trade from farmer villager village taiga house chest Raid gift from farmer villagerTemplate:Only |
| Template:Slot | Crafting with a Minecraft:bowl, Minecraft:carrot, baked potato, Minecraft:mushroom, and cooked rabbit Receive 1 for 1 Minecraft:emerald at novice-level trade from butcher villager |
| Template:Slot | Killing cows, red mooshrooms, and brown mooshroom village butcher chest |
| Template:Slot | Killing chickens Cat gift |
| Template:Slot | Fishing Killing cod, guardians, elder guardians, dolphins, polar bears Rare drop from guardians and elder guardians village fisher Minecraft:barrel Raid gift from fisherman villagerTemplate:Only |
| Template:Slot | Killing sheep village butcher chest |
| Template:Slot | Killing Minecraft:pigs or hoglins Village butcher and bastion remnant stable chests |
| Template:Slot | Killing rabbits |
| Template:Slot | Fishing Killing salmon and polar bears Rare drop from guardians and elder guardians Raid gift from fisherman villagerTemplate:Only village fisher barrelTemplate:Only bonus chest |
| Template:Slot | Killing Minecraft:zombies, zombified piglins, zombie villagers, Minecraft:husks, drowned, and zombie horses monster room, igloo, woodland mansion, small ocean ruins, village temple, shipwreck supply, desert, and jungle pyramid chests Caught as junk from fishing Cat gift |
| Template:Slot | Killing spiders, cave spiders and Minecraft:witches. Desert pyramid chests. |
| Template:Slot | Cooking raw beef Killing cows, red mooshrooms, or brown mooshrooms with Minecraft:fire Raid gift from butcher villagerTemplate:Only Ominous trial spawners in trial chambers. |
| Template:Slot | Crafting with a Minecraft:bowl, red mushroom, brown mushroom, and any Minecraft:flower Feed brown mooshroom any flower then Template:Control a Minecraft:bowl on brown mooshroom Receive 1 for 1 Minecraft:emerald at expert-level trade of farmer Minecraft:villager, excluding Fire Resistance, Regeneration, and Wither Ancient city ice box chests.<ref group="note">The stew will always grant either 5-7 seconds of Blindness, or 7-10 seconds of Night Vision</ref> |
| Template:Slot | Breaking sweet berry bushes Picking ripe berries from sweet berry bushes (right-click) Taiga village house chests.Template:Only |
| Template:Slot | Fishing Killing tropical fish Rare drop from guardians and elder guardians |
Ingredients
The following items cannot be eaten on their own. Instead, they are used to craft consumable food items.
| Ingredient(s) | Used to make | Source(s) | |
|---|---|---|---|
| Template:ItemLink | Template:ItemLink |
|
|
| Template:ItemLink | Template:ItemLink |
|
|
| Template:ItemLink |
|
||
| Template:ItemLink | Template:ItemLink |
| |
| Template:BlockLink or Template:BlockLink | Template:ItemLink | Template:Anchor
|
|
| Template:BlockLink | Template:ItemLink |
|
|
| Template:BlockLink | Template:ItemLink |
|
|
| Template:ItemLink |
|
||
| Template:ItemLink |
|
||
| Template:ItemLink | Template:ItemLink |
|
|
| Template:ItemLink | Template:ItemLink |
|
|
| Template:BlockLink | Template:ItemLink |
|
Internal variables
Food uses four variables, the values of which are stored in the 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 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 third-person view.<ref>Template:Bug</ref>
Notes
References
Template:Navbox items Template:Navbox combat
cs:Potraviny de:Hunger es:Comida fr:Nourriture hu:Étel it:Cibo ja:食料 ko:식료품 lzh:食 nl:Voedsel pl:Jedzenie pt:Alimento ru:Еда th:อาหาร uk:Їжа zh:食物