Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Bedrock Edition. 

Commands/infobox

Counts entities (players, mobs, items, etc.) matching specified conditions.

Syntax

testfor <victim: target>

Arguments

victim: target

Specifies the targets to count. Must be a player name or a target selector.
Permits entities other than players.

Result

Fails if the arguments are not specified correctly, or if victim: target fails to resolve to one or more entities (named players must be online).

On success, produces a success count equal to the number of targets matching victim: target, which can be measured by a redstone comparator facing away from the command block.

Examples

  • To test if Alice is online: testfor Alice
  • To count the number of players in survival mode within a 3-block radius of (0,64,0): testfor @a[x=0,y=64,z=0,r=3,m=0]
  • To count the number of zombies within a 20-block radius of (0,64,0): testfor @e[x=0,y=64,z=0,r=20,type=zombie]


History

Java Edition
1.5
{{Extension DPL}}<ul><li>[[Obsidian Boat|Obsidian Boat]]<br/>{{for|other uses|Obsidian (disambiguation)}} {{for|other kinds of boats|Boat (disambiguation)}}
{{Joke feature}}
{{ItemEntity
|title=Obsidian Boat
|image=Obsidian Boat.png
|image2=Obsidian Boat (item).png
|stackable=No
|renewable=Yes
}}

The '''obsidian boat''' was a joke [[boat]] variant released in an April Fools' joke version.

== Obtaining ==
=== Crafting ===
{{crafting
|A2 = Obsidian                |C2 = Obsidian
|A3 = Obsidian |B3 = Obsidian |C3 = Obsidian
|Output= Obsidian Boat
|ignoreusage=1
}}

== Usage ==
Obsidian boats sank in [[water]] instead of floating. They also sank in lava like other boats but did not get destroyed in it.

== Sounds ==
Obsidian boats used the Friendly Creatures sound category for entity-dependent sound events, although did not have any sounds of their own.

== Data values ==
=== ID ===
{{ID table
|shownumericids=y
|showforms=y
|generatetranslationkeys=java
|displayname=Obsidian Boat
|spritetype=item
|nameid=obsidian_boat
|id=432
|form=item
|translationkey=item.obsidian_boat.name
|foot=1}}
{{ID table
|shownumericids=y
|generatetranslationkeys=java
|displayname=Obsidian Boat
|spritetype=entity
|nameid=boat
|id=41
|translationkey=entity.Boat.name
|foot=1}}

=== Entity data ===
{{/ED}}

== History ==
{{History|java}}
{{History||1.10|snap=15w14a|link=Java Edition 15w14a|[[File:Obsidian_Boat_(item).png|32px]] [[File:Obsidian Boat.png|32px]] Added the obsidian boat.}}
{{History|foot}}

== Issues ==
Obsidian boat is a joke feature and as such issues relating to them cannot be fixed.

{{Items}}
{{Entities}}
{{Jokes}}

[[Category:Joke items]]
[[Category:Joke entities]]

[[it:Barca di ossidiana]]
[[ja:黒曜石のボート]]
[[pt:Bote de obsidiana]]
[[uk:Обсидіановий човен]]
[[zh:15w14a]]</li><li>[[Food|Food]]<br/>{{For|food in ''Minecraft Dungeons''|MCD:Food}}
[[File:Eating Steve.png|thumb|right|150px]]
[[File:Eating Alex.png|thumb|right|150px]]
'''Food''' refers to any consumable [[item]]s that, when eaten, restore [[hunger]] points and hunger saturation points, and sometimes cause [[status effect]]s. They are essential to survival, as going without them eventually causes the player to starve, causing damage until reaching {{hp|10}} in Easy [[difficulty]], and {{hp|1}} on Normal. [[Hunger#Effects of hunger|Starvation]] damage kills the player in Hard and [[Hardcore]] Mode.

Food is eaten by holding {{control|use}} while having the food item selected in the hot bar or in the off-hand.

[[Cake]] cannot be eaten this way, and must instead be placed on a surface before being eaten.

With the exception of [[chorus fruit]], [[golden apple]]s, [[honey bottle]]s, [[milk]], and [[suspicious stew]]{{only|Java}}, food cannot be eaten when the hunger bar is completely full. In [[Creative]] Mode, any food can be consumed at any time.

All food items and ingredients can be stacked in the inventory slots, except for [[milk]], [[rabbit stew]], [[mushroom stew]], [[beetroot soup]], [[suspicious stew]], and [[cake]].{{only|Java}}

This page covers food items for players; blocks and items that can be eaten by other [[mob]]s are not included here.

== Hunger and saturation ==
{{main|Hunger#Mechanics}}
{{seealso|Tutorials/Hunger_management}}

[[File:Raw_and_Cooked_Chicken_Comparison.png|thumb|Raw (left) and cooked (right) [[chicken]]. Eating raw chicken can give the [[player]] [[food poisoning]].]]

[[Player]]s have two different food statistics, one of which is visible: The hunger level is visible, and the saturation level is not.

[[Saturation]] is the first statistic to decrease when a player performs energy-intensive actions, and it must be completely depleted before the visible hunger meter begins decreasing. Although the current saturation level is generally hidden, the player can tell that their saturation level is completely depleted if the visible hunger meter begins displaying a jittering effect.

Eating a food item replenishes a fixed number of hunger points and saturation points, based on the item. Some foods have a better ratio of saturation to hunger points replenished than others. Overeating the hunger bar does not overflow to saturation.

A player's current saturation level can never exceed their current hunger level. A player at a hunger level of 5, for example, can be at a maximum of 5 saturation. Food always restores hunger (raising the saturation limit) ''before'' supplying saturation. The most efficient use of food is to eat low-saturation food to fill the hunger bar, followed by high-saturation food to fill saturation.  While a few hunger points may be wasted when eating nourishing food when nearly full, eating nourishing foods on a low hunger bar wastes even more points of saturation.  Maximizing saturation increases the length of time (and/or the amount of damage healed) before the player needs to eat again.

=== Usage ===

Most foods can be eaten by holding down the right-click button with a food item in hand. It takes 1.61 seconds to eat most foods; dried kelp takes 0.865 seconds to eat. Additionally, a player can hold food in their [[offhand]] {{in|Java}}.

While eating, food [[particles]] form from the player's mouth correlated with their respective food item, and produces a munching noise. Eating also slows the user significantly.

Unlike other foods, [[cake]] has to be eaten by placing it, then right-clicking on its block form. Eating cake is instant and it has 7 edible slices, each giving {{hunger|2}} hunger and 0.4 hunger [[saturation]].

=== Nourishment value ===

Nourishment is defined as the ratio of saturation to hunger points restored. Foods with higher nourishment values should be eaten when the hunger bar is more full.

The "nourishment" table below can help by categorizing foods by their saturation-to-hunger restoration ratios. See the more detailed [[#Foods|Foods]] table for the exact hunger and saturation statistics of each food.

<!-- do not change the locations of the food in this table without providing an explanation in the edit summary -->
{| class="wikitable" data-description="Nourishment value"
 |-
!Nourishment
! Value
 !Food
 |- style="text-align: left;"
!Great
| 2.4
 | {{Slot|Enchanted Golden Apple}}{{Slot|Golden Apple}}{{Slot|Golden Carrot}}
 |- style="text-align: left;"
!Good
| 1.6
 | {{Slot|Cooked Mutton}}{{Slot|Cooked Porkchop}}{{Slot|Cooked Salmon}}{{Slot|Steak}}
 |- style="text-align: left;"
!Normal
| 1.2
 | {{Slot|Baked Potato}}{{Slot|Beetroot}}{{Slot|Beetroot Soup}}{{Slot|Bread}}{{Slot|Carrot}}{{Slot|Cooked Chicken}}{{Slot|Cooked Cod}}{{Slot|Cooked Rabbit}}{{Slot|Mushroom Stew}}{{Slot|Rabbit Stew}}{{Slot|Suspicious Stew}}
 |- style="text-align: left;"
! Low
| 0.6
 | {{Slot|Apple}}{{Slot|Chorus Fruit}}{{Slot|Dried Kelp}}<ref group="note" name="Java">{{only|java}}</ref>{{Slot|Melon Slice}}{{Slot|Poisonous Potato}}{{Slot|Potato}}{{Slot|Pumpkin Pie}}{{Slot|Raw Beef}}{{Slot|Raw Chicken}}{{Slot|Raw Mutton}}{{Slot|Raw Porkchop}}{{Slot|Raw Rabbit}}{{Slot|Sweet Berries}}<ref group="note" name="Bedrock">{{only|bedrock}}</ref>
 |- style="text-align: left;"
!Poor 
| 0.2
 | {{Slot|Cake}}{{Slot|Cookie}}{{Slot|Dried Kelp}}<ref group="note" name="Bedrock"/>{{Slot|Glow Berries}}{{Slot|Honey Bottle}}{{Slot|Pufferfish|link=Pufferfish (item)}}{{Slot|Raw Cod}}{{Slot|Raw Salmon}}{{Slot|Rotten Flesh}}{{Slot|Spider Eye}}{{Slot|Sweet Berries}}<ref group="note" name="Java"/>{{Slot|Tropical Fish|link=Tropical Fish (item)}}
 |}

== Foods ==
{{/table}}

=== Ingredients ===

The following items cannot be eaten on their own. Instead, they are used to craft consumable food items.
<!-- 
Please leave spaces between each row in the table - this has no effect on the appearance of the table, but it makes it a lot easier on future wiki editors!
-->

{| class="sortable wikitable list-style-none" data-description="Ingredients"
|-
! Name
! Icon
! Used to make
! Source(s)
! Notes

|- id="Bowl"
! scope="row" | [[Bowl]]
| {{Slot|Bowl}}
| {{itemLink|Mushroom Stew}}
* {{itemLink|Beetroot Soup}}
* {{itemLink|Rabbit Stew}}
* {{itemLink|Suspicious Stew}}
|
* [[Crafting]] from [[planks]]
* [[Fishing Rod#Usage|Fishing]]
* [[Turtle]] killed by [[lightning]]
* Eating food made with them
|

|- id="Cocoa Bean"
! scope="row" | [[Cocoa Beans]]
| {{Slot|Cocoa Beans}}
| {{itemLink|Cookie}}s
|
* Breaking [[cocoa plant]]s
* Bought from [[wandering trader]]
|

|- id="Egg"
! scope="row" | [[Egg]]
| {{Slot|Egg}}
|
* {{itemLink|Cake}}
* {{itemLink|Pumpkin Pie}}
|
* Laid by [[chicken]]s
* Found in village fletcher chests
|

|- id="Milk"
! scope="row" | [[Milk Bucket]]
| {{Slot|Milk Bucket}}
| {{itemLink|Cake}}
|
* Milking a [[cow]], [[mooshroom]]s, or [[goat]]s
* Killing a [[Wandering trader]] drinking it
| Can also be consumed to clear [[status effect]]s

|- id="Mushroom"
! scope="row" | [[Brown Mushroom]] and [[Red Mushroom]]
| {{Slot|Brown Mushroom;Red Mushroom}}
| {{itemLink|Mushroom Stew}}
* {{itemLink|Rabbit Stew}}
* {{itemLink|Suspicious Stew}}
| {{anchor|Brown Mushroom|Red Mushroom}}
* Dark/shady areas
* Swamp [[biome]]s
* [[Mushroom fields]]
* Breaking [[Huge Mushroom|huge brown or red mushrooms]]
* [[The Nether]]
* Using [[shears]] on a [[mooshroom|brown mooshroom or red mushroom]]
* Bought from [[wandering trader]] 
|
|- id="Flower"
! scope="row" | [[Flower]]
| {{Slot|Any Flower}}
|{{itemLink|Suspicious Stew}}
|
* Breaking [[Flower]]
* Using [[Bone Meal]] on a [[Grass Block]]
* Bought from [[wandering trader]]
* Killing [[Iron Golem]] (poppy)
|

|- id="Pumpkin"
! scope="row" | [[Pumpkin]]
| {{Slot|Pumpkin}}
| {{itemLink|Pumpkin Pie}}
|
* Harvesting mature [[pumpkin]]s grown from [[pumpkin seeds]]
* Naturally occurring [[pumpkin]]s
* Taiga and Snowy Taiga [[Village]]s
* Bought from [[wandering trader]]  
|

|- id="Sugar"
! scope="row" | [[Sugar]]
| {{Slot|Sugar}}
|
* {{itemLink|Cake}}
* {{itemLink|Pumpkin Pie}}
|
* Crafting [[sugar cane]]
* Dropped by [[witch]]es
* Creating from its base [[element]]s {{only|bedrock|education}}
* Redeemed from [[honey bottle]] on a crafting table 
|

|- id="Wheat"
! scope="row" | [[Wheat]]
| {{Slot|Wheat}}
|
* {{itemLink|Bread}}
* {{itemLink|Cake}}
* {{itemLink|Cookie}}s
|
* Harvesting mature [[wheat]]
* Found in [[Dungeon#Loot|dungeon]], [[Woodland Mansion#Loot|woodland mansion]], [[Shipwreck#Loot|shipwreck]], [[Igloo#Loot|igloo]], [[Village#Loot|village]], [[Ocean Ruins#Loot|ocean ruins]], and [[Pillager Outpost#Loot|pillager outpost]] chest
* Crafting [[hay bale]]s
|

|- id="Gold Nugget"
! scope="row" | [[Gold Nugget]]
| {{Slot|Gold Nugget}}
| {{itemLink|Golden Carrot}}
|
* Crafting [[gold ingot]]s
* Dropped by [[zombified piglin]]s
* Found in [[Shipwreck#Loot|shipwreck]], [[Igloo#Loot|igloo]], [[Village#Loot|village]], and [[Ocean Ruins#Loot|ocean ruins]] chest
* Smelting golden armor or tools
* Mining [[nether gold ore]] without [[Silk Touch]]
|

|- id="Gold Ingot"
! scope="row" | [[Gold Ingot]]
| {{Slot|Gold Ingot}}
| {{itemLink|Golden Apple}}
|
* Crafting [[gold block]]s or [[gold nugget]]s
* Rarely dropped by [[zombified piglin]]s and by [[Drowned]]
* Smelting [[gold ore]] or [[nether gold ore]]
* Found in [[Shipwreck#Loot|shipwreck]], [[Jungle Pyramid#Structure:Loot|jungle pyramid]], [[Dungeon#Loot|dungeon]], [[Woodland Mansion#Loot|woodland mansion]], [[Nether Fortress#Loot|nether fortress]], [[End city#Loot|end city]], [[Mineshaft#Loot|mineshaft]], [[Village#Structure:Loot|village]], [[Stronghold#Loot|stronghold]], [[Buried Treasure#Loot|buried treasure]] and [[Desert pyramid#Structure:Loot|desert pyramid]] chest
|
|- id="Honey Block"
! scope="row" | [[Honey Block]]
| {{Slot|Honey Block}}
| {{itemLink|Honey Bottle}}
|
* Crafting [[honey bottle]]s
|
|}

== Sounds ==
{{Sound table/Entity/Food}}

== Achievements ==
{{load achievements|Pork Chop;Iron Belly;Rabbit Season;Overpowered;Castaway;Delicious Fish;The Lie;Bake Bread;Time For Stew}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet;A Furious Cocktail;How Did We Get Here;Fishy Business}}

== History ==

{{History|java classic}}
{{History||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."}}
{{History||0.24_SURVIVAL_TEST|[[Mushroom]]s are now edible, making them the first food to be added in the game. At this point, food restores [[health]] instead of [[hunger]], and are eaten instantly without sound or animation. Pigs drop them upon death.}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|Added [[apple]]s, which are currently non-functional.}}
{{History|||snap=20100110|Apples are now edible, and restore {{hp|4}} each.}}
{{History|||snap=?|Mushrooms are no longer edible.}}
{{History|||snap=20100130|Added [[mushroom stew]], which restores {{hp|8}} health.}}
{{History||20100206|Added [[wheat]] and [[bread]].
|Mushroom stew now restores {{hp|10}} health.}}
{{History||20100219|[[Pig]]s now drop [[raw porkchop]]s, which can be [[smelt]]ed to become [[cooked porkchop]]s.}}
{{History|java infdev}}
{{History||20100227-1|Added [[golden apple]]s. At this point, they were crafted with [[block of gold]], and restored {{hp|20}}.}}
{{History|java alpha}}
{{History||v1.0.8|Added [[milk]], which was at this point unobtainable and the player could not use it in any way.}}
{{History||v1.0.11|Milk can now be obtained in the game, by milking a [[cow]] with an empty [[bucket]].}}
{{History||v1.0.14|With the addition of [[chicken]]s, [[egg]]s are now in the game, but have no use. Chickens do not drop raw chicken at this point in time.}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|Added [[pumpkin]]s, but not pumpkin seeds.
|Added [[raw fish]] and [[cooked fish]], obtainable through [[fishing]].}}
{{History||v1.2.3|Eating food now functions correctly in multiplayer.}}
{{History|java beta}}
{{History||1.2|Added [[sugar]] and [[cake]].}}
{{History||1.4|[[Cocoa beans]] now appear naturally in the game; since Beta 1.2, they were available only through inventory editors.
|Added [[cookie]]s.}}
{{History||1.5|Pigs now drop cooked porkchops if killed while on fire.}}
{{History||1.8|snap=Pre-release|Added [[melon]]s, [[melon seeds]], and [[pumpkin seeds]].
|Added [[raw chicken]] as a drop from chickens, which can be smelted into [[cooked chicken]].
|Added [[raw beef]] as a drop from cows, which can be smelted into [[steak]].
|Added [[rotten flesh]] as a new drop from [[zombie]]s.
|Added an eating animation, instead of food simply disappearing from the player's hand as if a block had been placed.
|Added [[hunger bar]]; now food restores hunger instead of health.
|Food now stacks in the inventory, with the exception of cake, mushroom stew, and milk.
|[[Huge mushroom]]s were added as a new source for [[mushroom]]s.
|With the addition of the hunger bar, golden apples now restore {{Hunger|10}} and give 30 seconds of [[regeneration]], but do not heal health directly anymore.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Mushrooms can now be obtained from the mushroom island [[biome]], via the huge mushrooms, random scattered mushrooms, or the new [[mooshroom]]s.
|[[Milk]] can be used to nullify the effects of [[potion]]s.
|[[Spider]]s now drop [[Spider Eye|eyes]].}}
{{History||1.1|snap=release|Golden apples are now made with [[gold nugget]]s instead of blocks of gold, restore {{Hunger|4}} and give 4 seconds of regeneration.}}
{{History||1.3.1|snap=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.
|[[Cocoa Beans]] are now a crop, making all food items a renewable resource.}}
{{History||1.4.2|snap=12w34a|[[Potato]]es and [[carrot]]s can be obtainable from zombies (rare drop) or harvested.
|Potatoes can be cooked to make [[baked potato]]es
|Harvesting potatoes may give 0–2 [[poisonous potato]]es.
|Carrots can be crafted into [[golden carrot]]s.
|Added [[pumpkin pie]], making [[pumpkin]]s a food ingredient.}}
{{History||1.7.2|snap=13w36a|Added [[tropical fish (item)|clownfish]], [[Raw Salmon|raw]] and [[cooked salmon]], and [[pufferfish (item)|pufferfish]].}}
{{History||1.8|snap=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.}}
{{History|||snap=14w27a|Added [[Raw Mutton|raw]] and [[cooked mutton]], [[Raw Rabbit|raw]] and [[cooked rabbit]], and [[rabbit stew]].}}
{{History||1.9|snap=15w31a|Added [[chorus fruit]], [[beetroot]] and [[beetroot soup]].
|Enchanted golden apples are no longer craftable, making them no longer renewable.}}
{{History||1.13|snap=18w07a|Added [[dried kelp]], which is edible.}}
{{History||1.14|snap=18w43a|Added [[suspicious stew]].}}
{{History|||snap=18w49a|Added [[sweet berries]].}}
{{History||1.15|snap=19w34a|Added [[honey bottle]]s.}}
{{History|||snap=19w35a|[[Honey bottle]]s now remove [[poison]] effects when consumed.}}
{{History|||snap=19w46a|All foods can now be consumed in Creative mode, including cake.}}
{{History||1.17|snap=21w05a|Added [[glow berries]].}}


{{History|pocket alpha}}
{{History||v0.4.0|Added the first food items: [[apple]]s, [[bread]], [[mushroom stew]], [[raw beef]], [[steak]], [[raw chicken]], [[cooked chicken]], [[raw porkchop]]s, and [[cooked porkchop]].}}
{{History||v0.5.0|Added [[melon]]s, [[melon slice]]s, and [[melon seeds]].}}
{{History||v0.7.0|Added [[milk]] and [[cake]].}}
{{History||v0.8.0|snap=build 1|Added [[pumpkin pie]], [[carrot]]s, [[potato]]es, and [[baked potato]]es.}}
{{History|||snap=build 2|Added [[beetroot]]s and [[beetroot soup]].}}
{{History||v0.9.0|snap=build 1|[[Potato]]es and [[carrot]]s can be obtainable from zombies (rare drop) or harvested.
|Added [[cookie]]s.}} 
{{History||v0.11.0|snap=build 1|Added [[rotten flesh]] as a new drop from [[zombie]]s, at this time, it inflicts poison.
|Added [[Raw Fish|raw]] and [[cooked fish]], [[clownfish]], [[Raw Salmon|raw]] and [[cooked salmon]], and [[pufferfish]].}}
{{History|||snap=build 4|[[Milk]] can be used to nullify the effects of [[potion]]s.}}
{{History||v0.12.1|snap=build 1|Eating food now restores hunger.
|[[Spider]]s now drop [[Spider Eye|eyes]].
|Added poisonous potatoes, golden apples, enchanted golden apples and golden carrots.}}
{{History||v0.13.0|snap=build 1|Hunger restored by food now matches Minecraft PC.
|Added raw rabbit, cooked rabbit, and [[rabbit stew]].}}
{{History||v0.15.0|snap=build 1|Added raw mutton and cooked mutton.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added chorus fruit.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Added [[dried kelp]], which is edible.}} 
{{History||1.7.0|snap=beta 1.7.0.2|Food can now be eaten in creative mode and on peaceful difficulty.}}
{{History||1.10.0|snap=beta 1.10.0.3|Added [[sweet berries]].}}
{{History||1.13.0|snap=beta 1.13.0.9|Added [[suspicious stew]].}}
{{History||1.14.0|snap=beta 1.14.0.1|Added [[honey bottle]].}}
{{History||1.17.0|snap=beta 1.16.220.52|Added [[glow berries]].}}
{{History|foot}}

{{items}}

[[Category:Food]]

[[cs:Potraviny]]
[[de:Hunger]]
[[es:Comida]]
[[fr:Nourriture]]
[[hu:Étel]]
[[it:Cibo]]
[[ja:食料]]
[[ko:식료품]]
[[nl:Voedsel]]
[[pl:Jedzenie]]
[[pt:Alimento]]
[[ru:Еда]]
[[th:อาหาร]]
[[uk:Їжа]]
[[zh:食物]]</li></ul></nowiki>
13w03aAdded /testfor.
1.8
{{Extension DPL}}<ul><li>[[Carrot on a Stick|Carrot on a Stick]]<br/>{{Item
| image = Carrot on a Stick.png
| rarity = Common
| renewable = Yes
| durability = 25
| stackable = No
}}
A '''carrot on a stick''' is an item that can be used to control saddled [[pig]]s.

== Obtaining ==

=== Crafting ===

It is possible to craft a carrot on a stick without a [[crafting table]].
{{Crafting
|head=1
|showname=0
|showdescription=1
|B2=Fishing Rod; Damaged Fishing Rod
|C3=Carrot
|Output= Carrot on a Stick
|type= Transportation
|description= The fishing rod must be diagonally above the carrot to craft the carrot on a stick.
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Carrot on a Stick
|Damaged Carrot on a Stick
|Output= Carrot on a Stick
|description= The durability of the two carrots on sticks is added together, plus an extra 5% durability.
|type= Transportation
}}

== Usage ==

=== Riding a pig ===

To use a carrot on a stick, the player must first [[saddle]] a [[pig]], and ride it while holding the carrot on a stick. The pig then moves in the direction of the carrot. Also, if the player holds a carrot on a stick, all nearby pigs (but not [[rabbit]]s<ref>{{bug|MC-207993}}</ref>) follow the player, but they can't breed using carrot on a stick.

To make the pig run faster, the player can press {{control|use}} while holding the carrot on a stick. This is called "boosting". Each boost costs 7 durability. If the carrot on a stick's durability is depleted, it turns back into a fishing rod. 

The speed of a mounted pig is 2.42 m/s. Boosting a pig causes its speed to slowly ramp up until it reaches 2.15 times its normal speed, 5.20 m/s. Then speed slowly declines until the pig reaches normal speed again. The boost lasts between 140 and 980 game [[tick]]s (7 seconds and 49 seconds respectively), chosen randomly. No matter how many ticks the boost lasts, the average speed of pig during a full boost cycle is roughly 4.19 m/s. These boosted speeds are applied only while holding the carrot on a stick. These speeds are affected by the [[speed]] effect.

=== Enchantments ===

A carrot on a stick can receive the following enchantments, but only through an [[anvil]]:

{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a carrot on a stick's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Random break.ogg
|source=player
|description=When a carrot on a stick's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Carrot on a Stick
|spritetype=item
|nameid=carrot_on_a_stick
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Carrot on a Stick
|spritetype=item
|nameid=carrot_on_a_stick
|aliasid=carrotonastick
|id=517
|form=item
|translationkey=item.carrotOnAStick.name
|foot=1}}

== Video ==

<div style="text-align:center">{{yt|V7IVYX5Bs48}}</div>

== History ==

{{History|java}}
{{History||August 28, 2012|link={{tweet|Dinner|240428477856231424}}|Dinnerbone released images of saddled pigs being controlled with carrots.<ref>{{tweet|dinner|240428477856231424}}</ref> They start slow but end up traveling up to 5 blocks per second.<ref>{{tweet|dinner|240429280469856256}}</ref> [[Wheat]] was considered as a "fuel" along with carrots,<ref>{{tweet|dinner|240188453789257728}}</ref> and Dinnerbone eventually decided upon [[carrot]]s.<ref>{{tweet|dinner|240355810650247168}}</ref>}}
{{History||1.4.2|snap=12w36a|[[File:Carrot on a Stick JE1 BE1.png|32px]] Added carrot on a stick. 
|The [[player]] does not get back a [[fishing rod]] once the carrot on a stick is used up.}}
{{History|||snap=12w37a|Carrots on sticks now have a [[item durability|durability meter]], and can be used to give [[saddle]]d [[pig]]s a burst of speed when right-clicked. The carrot on a stick no longer needs to be held when pigs have the burst of speed.}}
{{History|||snap=12w38a|Using up a carrot on a stick now returns a [[fishing rod]].}}
{{History||1.4.6|snap=12w50a|A carrot on a stick can now be [[enchanting|enchanted]] with [[Unbreaking]] via an [[enchanted book]] and an [[anvil]].}}
{{History||1.8.2|snap=pre7|Crafting a carrot on a stick now removes all enchantments on the original fishing rod.}}
{{History||1.9|snap=16w05b|[[Item durability|Durability]] is no longer reduced merely by riding a [[pig]], but only by using the speed boost.{{testingame}}}}
{{History||1.13|snap=17w47a|[[Crafting]] a carrot on a stick no longer requires the [[fishing rod]] to be at full durability.<ref>[https://bugs.mojang.com/browse/MC-123196 MC-123196 resolved as "Works as Intended"]</ref>
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 398.}}
{{History||1.14|snap=18w43a|[[File:Carrot on a Stick.png|32px]] The texture of carrot on a stick has been changed.}}
{{History||1.16|snap=20w06a|Carrot on a stick can now be used up.<ref>[https://bugs.mojang.com/browse/MC-112630 MC-112630]</ref>}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Carrot on a Stick JE1 BE1.png|32px]] Added carrot on a stick.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Carrot on a Stick.png|32px]] The texture of carrot on a stick has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of carrot on a stick has been changed from <code>carrotonastick</code> to <code>carrot_on_a_stick</code>.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Carrot on a Stick JE1 BE1.png|32px]] Added carrot on a stick.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Carrot on a Stick.png|32px]] The texture of carrot on a stick has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Carrot on a Stick JE1 BE1.png|32px]] Added carrot on a stick.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
PigControl.png|First image of carrot on a stick released by Dinnerbone.
pigstairs.png|Pigs can climb [[stairs]] and [[slabs]].
Jebpig.png|[[Jeb]] riding a pig.<ref>http://www.mojang.com/2012/09/minecraft-snapshot-12w37a/</ref>
Enchanted Carrot on a Stick.gif|An enchanted carrot on a stick.
Grum Carrot on a Stick 1.png|Image from [[Grum]] of a carrot on a stick's texture changing with its durability.
Grum Carrot on a Stick 2.png|Another image showing the same.
Grum Carrot on a Stick 3.png|Another image.
</gallery>

== See also ==
* [[Warped Fungus on a Stick]]

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Mrkev na prutu]]
[[de:Karottenrute]]
[[es:Caña con zanahoria]]
[[fr:Carotte sur un bâton]]
[[hu:Répa horgászboton]]
[[it:Bastone e carota]]
[[ja:ニンジン付きの棒]]
[[ko:당근 낚싯대]]
[[nl:Wortel aan een stok]]
[[pl:Marchewka na patyku]]
[[pt:Vara com cenoura]]
[[ru:Удочка с морковью]]
[[th:แคร์รอตติดเบ็ด]]
[[uk:Морква на паличці]]
[[zh:胡萝卜钓竿]]</li><li>[[Firework Star|Firework Star]]<br/>{{Item
| image = Firework Star.png
| renewable = 
* '''Trail Effect''': No
* '''All Others''': Yes
| stackable = Yes (64)
}}
'''Firework stars''' are [[items]] used to determine the color, effect, and shape of [[firework rocket]]s.

== Obtaining ==

In [[Survival]] mode, firework stars are obtainable only through crafting. In [[Creative]] mode, they can be found in the creative inventory.

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |ingredients=[[Gunpowder]] +<br>Matching [[Dye]] +<br>Extra ingredients (optional)
  |Gunpowder
  |Matching Dye
  |Head; Gold Nugget; Feather;Fire Charge;
  |Glowstone Dust;
  |Diamond;
  |Output=Matching Firework Star
  |arggroups=1;2,Output;3;4;5
  |description=Up to eight dyes can be added.<br>One head, gold nugget, feather, or fire charge can be added.<br>Both the diamond and the glowstone dust can be added with any of the other ingredients.
  |type=Miscellaneous
}}
{{Crafting
  |ignoreusage=1
  |Matching Firework Star
  |Any Dye
  |Output=Matching Firework Star
  |type=Miscellaneous
  |description=Adds a "fade to color" effect to the firework star, overwriting any existing fades.<br>Up to eight dyes can be added.
  |foot=1
  |arggroups=1,Output
}}
<div style="display:none">
<!--
    This is so the pre-Village & Pillage dyes can have dye-related crafting recipes show on their respective pages.
    They don't need to be displayed on this page because they already intuitively list "Any Matching/Colored Dye".
-->
{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Gunpowder
  |Bone Meal; Lapis Lazuli; Cocoa Beans; Ink Sac
  |Head; Gold Nugget; Feather;Fire Charge;
  |Glowstone Dust;
  |Diamond;
  |Output=White Firework Star; Blue Firework Star; Brown Firework Star; Black Firework Star
  |arggroups=1;2,Output;3;4;5
  |description={{only|bedrock|education}}<br>Up to eight dyes can be added.<br>One head, gold nugget, feather, or fire charge can be added.<br>Both the diamond and the glowstone dust can be added with any of the other ingredients.
  |type=Miscellaneous
}}
{{Crafting
 |showdescription=1
 |White Firework Star; Blue Firework Star; Brown Firework Star; Black Firework Star
 |Bone Meal; Lapis Lazuli; Cocoa Beans; Ink Sac
 |Output=White Firework Star; Blue Firework Star; Brown Firework Star; Black Firework Star
 |type=Decoration block
 |description={{only|bedrock|education}}<br>Adds a "fade to color" effect to the firework star, overwriting any existing fades.<br>Up to eight dyes can be added.
 |foot=1
}}
</div>

== Usage ==

The only usage of firework stars is to create [[firework rocket]]s.

=== Crafting ingredient ===

{{crafting usage|match=end}}

== Effects ==

=== Shape effects ===

A firework star can have only one shape effect.

{| class="wikitable"
|+ Shape Effects
! <abbr title="Type (Byte tag in NBT structure)">Type</abbr>
! Ingredient
! Effect
! Sample Animation
|-
| 0
| None
| Small Ball explosion (default)
| [[File:Firework Star (Small Sphere).gif|200px]]
|-
| 1
| {{ItemLink|Fire Charge}}
| Large Ball explosion and heavy sound.
| [[File:Firework Star (Large Sphere).gif|200px]]
|-
| 2
| {{ItemLink|Gold Nugget}}
| Star-shaped explosion
| [[File:Firework Star (Star Shape).gif|200px]]
|-
| 3
| {{BlockLink|id=Heads|Head}} (any)
| Creeper-shaped (Creeper Face) explosion
| [[File:Firework Star (Creeper Shape).gif|200px]]
|-
| 4
| {{ItemLink|Feather}}
| Burst explosion
| [[File:Firework Star (Burst).gif|200px]]
|}

=== Additional effects ===

In addition to the shape effects, any combination of these additional effects may be added to a firework star.

{| class="wikitable"
|+ Additional Effects
! Ingredient
! Effect
! Sample Animation
|-
| None
| Default
| [[File:Firework Star (Small Sphere).gif|200px]]
|-
| {{ItemLink|Glowstone Dust}}
| Twinkle (Crackle effect and sounds after the explosion)
| [[File:Firework Star (Twinkle effect).gif|200px]]
|-
| {{ItemLink|Diamond}}
| Trail effect after the explosion
| [[File:Firework Star (Trail effect).gif|200px]]
|-
| {{ItemLink|Glowstone Dust}} <br> {{ItemLink|Diamond}}
| Twinkle + Trail effect after the explosion
| [[File:Firework Star (Twinkle and Trail effect).gif|200px]]
|}

== Sounds ==
{{see also|Firework_Rocket#Sounds}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Firework Star
|spritetype=item
|nameid=firework_star
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Firework Star
|spritetype=item
|nameid=firework_star
|aliasid=fireworkscharge
|id=520
|form=item
|translationkey=item.fireworksCharge.name
|foot=1}}

=== Item data ===

{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Firework Stars}}
</div>

{{el|bedrock}}:
: See [[Bedrock Edition level format/Item format]].

== Video ==
<div style="text-align:center">{{yt|fYL1W9aW0UU}}</div>

== History ==
{{History|java}}
{{History||1.4.6|snap=12w49a|[[File:Firework Star JE1 BE1.png|32px]] Added firework stars.
|Firework stars in the [[Creative inventory]] come in only one variation; they do not have any color.}}
{{History||1.13|snap=17w47a|The ID of firework stars has now been changed from <code>firework_charge</code> to <code>firework_star</code>.
|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 402.}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Firework Star JE1 BE1.png|32px]] Added firework stars.
|Firework stars come in all 16 colors in the [[Creative]] [[inventory]].{{verify|type=update}}{{info needed}}}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of firework star has been changed from <code>fireworkscharge</code> to <code>firework_star</code>.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Firework Star JE1 BE1.png|32px]] Added firework stars.
|Firework stars cannot be obtained within the Creative inventory.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The [[crafting]] interface has now been updated to allow the crafting of firework stars and [[firework rocket]]s.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==

* There are 29,617,272,331,290,537 (29.6 quintillion) unique firework stars.
* Putting firework stars on rockets causes the player to take explosion damage when using them for flying with [[elytra]].

== Gallery ==
<gallery>
File:Firework Star (Tricolor Star shaped with Twinkle and Trail effect).gif|Tricolor (Magenta, Pink, White dye) + Star shaped with Twinkle and Trail effect.
</gallery>

{{Items}}

[[cs:Ohňostrojová hvězda]]
[[de:Feuerwerksstern]]
[[es:Estrella de fuegos artificiales]]
[[fr:Étoile de feu d'artifice]]
[[hu:Tűzijáték csillag]]
[[it:Stella pirotecnica]]
[[ja:花火の星]]
[[ko:폭죽 탄약]]
[[nl:Vuurwerkster]]
[[pl:Gwiazdka pirotechniczna]]
[[pt:Estrela de fogo de artifício]]
[[ru:Пиротехническая звезда]]
[[uk:Зірка феєрверку]]
[[zh:烟火之星]]</li></ul>
14w02aAdded dataTag argument to /testfor.
/testfor is no longer exclusive to command blocks.
14w07a/testfor can now test for partial NBT tag matches.
1.13
{{Extension DPL}}<ul><li>[[Black Dye|Black Dye]]<br/>{{Item
| image = Black Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Black dye''' is a [[Dye#Primary|primary color dye]] similar to an [[ink sac]].

== Obtaining ==

=== Trading ===
[[Wandering trader]]s have a chance to [[trading|trade]] 3 black dyes for 1 [[emerald]].{{only|java}}

=== Crafting ===
{{Crafting
  |head=1
  |showname=0
  |Ink Sac
  |Output=Black Dye
  |type=Material
}}
{{Crafting
  |Wither Rose
  |Output=Black Dye
  |type=Material
  |foot=1
}}

== Usage  ==

{{dye usage}}

=== Crafting ingredient ===

{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}

=== Loom ingredient ===
{{Banner loom usage|Black Dye}}

=== Trading ===

Apprentice-level Shepherd villagers have a 20%{{only|bedrock}} or {{frac|2|7}}{{only|java}} chance to buy 12 black dye for an emerald.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Black Dye
|spritetype=item
|nameid=black_dye
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Black Dye
|spritetype=item
|nameid=black_dye
|aliasid=dye / 16
|id=395
|form=item
|translationkey=item.dye.black_new.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.14|snap=18w43a|[[File:Black Dye JE1 BE1.png|32px]] Added black dye.}}
{{History|||snap=18w44a|Black dyes now can changed the text color on the [[sign]]s to black.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell black dyes.}}
{{History|||snap=19w11a|Black dyes can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.15|snap=Pre-release 1|Black dye can now be used to craft [[prismarine|dark prismarine]], just like [[Bedrock Edition]].}}
{{History||1.17|snap=20w45a|Black dyes can now used to craft newly added [[black candle]]s.}}
{{History|||snap=21w19a|Black dyes can no longer used to craft black candles.}}
{{History|||snap=Pre-release 1|Black dyes can once again used to craft black candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Black dyes now can change the text color on [[hanging sign]]s to black.}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Black Dye JE1 BE1.png|32px]] Added black dye.}}
{{History||1.11.0|snap=beta 1.11.0.4|Black dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{history||1.13.0|snap=beta 1.13.0.9|Black dye can now be [[crafting|crafted]] from [[flower|wither roses]].}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of black dye has been changed from <code>dye/16</code> to <code>black_dye</code>.}}

{{History|ps4}}
{{History||1.83|[[File:Black Dye JE1 BE1.png|32px]] Added black dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[Category:Dyes]]
[[Category:Renewable resources]]

[[de:Schwarzer Farbstoff]]
[[es:Tinte negro]]
[[fr:Teinture noire]]
[[ja:黒色の染料]]
[[ko:검은색 염료]]
[[pl:Czarny barwnik]]
[[pt:Corante preto]]
[[th:สีย้อมสีดำ]]
[[zh:黑色染料]]</li><li>[[:Category:Minecraft Dungeons items|Category:Minecraft Dungeons items]]<br/>All items that are in ''[[Minecraft Dungeons]]''.
{{Minecraft Dungeons items}}
[[Category:Minecraft Dungeons]]
[[Category:Items]]
[[ja:カテゴリ:アイテム (Minecraft Dungeons)]]
[[pl:Kategoria:Przedmioty w Minecraft Dungeons]]
[[pt:Categoria:Itens do Minecraft Dungeons]]</li></ul>
17w45aRemoved /testfor.
Pocket Edition
1.0.5
{{Extension DPL}}<ul><li>[[Milk Bucket|Milk Bucket]]<br/>{{Item
| title=Milk Bucket
| image = Milk Bucket.png
| renewable = Yes
| effects = Clears all
| stackable = No
}}
A '''milk bucket'''{{fn|Known as '''Milk Bucket''' {{in|java}} and '''Milk''' {{in|bedrock}}.}} is a [[drink]] obtained from {{Control|use|text=using}} a [[bucket]] on [[cow]]s, [[mooshroom]]s and [[goat]]s that can be consumed to clear all [[Effect|effects]].

== Obtaining ==

=== Harvesting ===
Milk buckets can be obtained from [[cow]]s, [[mooshroom]]s, and [[goat]]s by pressing {{control|use}} while looking at them with an empty [[bucket]].

=== Mob loot ===
A milk bucket has a chance of dropping from a [[wandering trader]], if the trader is killed while holding it.{{only|java}}

== Usage ==

Holding {{control|use}} with a milk bucket starts the drinking sound and animation. {{IN|java}}, the animation is shown only in first-person camera mode.

When consumed, milk immediately removes all status [[effect]]s from the [[player]]. [[Fire]] is not a status effect; therefore, drinking milk doesn't extinguish a burning player.

The benefits of area status effects granted by [[beacon]]s and [[Conduit Power|conduit power]] are restored almost immediately in Bedrock Edition and after a few seconds in ''Java Edition''.

=== Crafting ingredient ===

{{crafting usage|Milk Bucket}}

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Drink.ogg
|subtitle=Sipping
|source=player
|description=While a player is drinking milk
|id=entity.generic.drink
|translationkey=subtitles.entity.generic.drink
|volume=0.5
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Cow milk1.ogg
|sound2=Cow milk2.ogg
|sound3=Cow milk3.ogg
|source=player
|subtitle=Cow gets milked
|description=When a cow is milked
|id=entity.cow.milk
|translationkey=subtitles.entity.cow.milk
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Goat gets milked
|description=When a regular goat is milked
|source=neutral
|id=entity.goat.milk
|translationkey=subtitles.entity.goat.milk
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Goat screaming milk1.ogg
|sound2=Goat screaming milk2.ogg
|sound3=Goat screaming milk3.ogg
|sound4=Goat screaming milk4.ogg
|sound5=Goat screaming milk5.ogg
|subtitle=Goat gets milked
|description=When a screaming goat is milked
|source=neutral
|id=entity.goat.screaming.milk
|translationkey=subtitles.entity.goat.milk
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Wandering trader drink milk1.ogg
|sound2=Wandering trader drink milk2.ogg
|sound3=Wandering trader drink milk3.ogg
|sound4=Wandering trader drink milk4.ogg
|sound5=Wandering trader drink milk5.ogg
|subtitle=Wandering Trader drinks milk
|source=neutral
|description=While a wandering trader is drinking milk to become visible during daytime
|id=entity.wandering_trader.drink_milk
|translationkey=subtitles.entity.wandering_trader.drink_milk
|volume=0.5
|pitch=0.9-1.0
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Drink.ogg
|source=player
|description=While a player is drinking milk
|id=random.drink
|volume=0.35
|pitch=0.9-1.1}}
{{Sound table
|sound=Cow milk1.ogg
|sound2=Cow milk2.ogg
|sound3=Cow milk3.ogg
|source=neutral
|description=When a cow is milked
|id=mob.cow.milk
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|description=When a regular goat is milked
|source=neutral
|id=mob.mooshroom.suspicious_milk
|volume=1.0
|pitch=1.0/0.9/1.1}}
{{Sound table
|sound=Goat screaming milk1.ogg
|sound2=Goat screaming milk2.ogg
|sound3=Goat screaming milk3.ogg
|sound4=Goat screaming milk4.ogg
|sound5=Goat screaming milk5.ogg
|description=When a screaming goat is milked
|source=neutral
|id=mob.goat.milk.screamer
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Wandering trader drink milk1.ogg
|sound2=Wandering trader drink milk2.ogg
|sound3=Wandering trader drink milk3.ogg
|sound4=Wandering trader drink milk4.ogg
|sound5=Wandering trader drink milk5.ogg
|source=neutral
|description=While a wandering trader is drinking milk to become visible during daytime
|id=mob.wanderingtrader.drink_milk
|volume=1.0
|pitch=0.8-1.2
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Milk Bucket
|spritetype=item
|nameid=milk_bucket
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Milk
|spritetype=item
|nameid=milk_bucket
|aliasid=bucket / 1
|id=361
|form=item
|translationkey=item.milk.name
|foot=1}}

== Achievements ==
{{load achievements|The Lie}}

== Advancements ==
{{Load advancements|Husbandry}}

== Video ==

<div style="text-align:center">{{yt|eyxea_d0b3s}}</div>

== History ==

{{History|java alpha}}
{{History||v1.0.8|[[File:Milk Bucket JE1 BE1.png|32px]] Milk has been introduced, but it has no purpose and is obtainable only through inventory editing.}}
{{History||v1.0.11|Milk can now be obtained by {{control|use|text=milking}} a [[cow]] with a [[bucket]]. However, it is not yet drinkable.}}
{{History||v1.0.17|Milk buckets can now be emptied.}}
{{History|java beta}}
{{History||1.2|Milk has been incorporated into the [[crafting]] recipe of [[cake]].}}
{{History||1.2_01|[[Squid]] can now be milked by right-clicking on their mouth if part of their body was exposed to [[air]] or if they were not touching another [[block]]. An easy way to accomplish this is to pull a squid with a [[fishing rod]] away from other blocks and then milk it.}}
{{History||1.3_01|Squid milking has been removed.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Milk can now be obtained by milking [[mooshroom]]s.}}
{{History|||snap=Beta 1.9 Prerelease 2|Milk has been made drinkable.
|According to a tweet by [[Jeb]] on September 30th 2011, milk was made a cure for all status effects.<ref>{{tweet|jeb_|119842906528944129|@Nexusdog_UK I haven't! In beta 1.9 pre2 milk works like a clear-everything drink|September 30, 2011}}</ref>
|Milk is no longer emptiable.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 335.}}
{{History|||snap=18w20a|"Milk" has been renamed to "Milk Bucket".}}
{{History||1.14|snap=18w43a|[[File:Milk Bucket JE2 BE2.png|32px]] The texture of milk buckets has been changed.}}
{{History||1.14|snap=19w06a|[[Wandering trader]]s now drink from milk buckets at dawn, and have a change to drop them.}}
{{History||1.17|snap=21w13a|Milk can now be obtained by milking [[goat]]s.}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|Wander traders now have a chance to [[trading|buy]] a milk bucket from the player.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets. 
|Milk buckets are not yet drinkable.}}
{{History||v0.11.0|snap=build 4|Drinking milk now removes [[status effects]].
|Added milk buckets to the Creative inventory.{{verify|type=update}}{{info needed}}<!---same update?--->}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Moved all bucket items, including milk, from the Equipment tab to the Items tab in the [[Creative inventory]].{{verify|type=update}}{{info needed}}<!---please check snapshots, only 1 major release version was checked each--->}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Milk Bucket JE2 BE2.png|32px]] The texture of milk buckets has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of milk has been changed from <code>bucket/1</code> to <code>milk_bucket</code>.}}
{{History||1.16.200|snap=beta 1.16.200.52|Milk can now be obtained by milking [[goat]]s.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets.}}
{{History|Ps4}}
{{History||1.90|[[File:Milk Bucket JE2 BE2.png|32px]] The texture of milk buckets has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
*[[Water Bucket]]
*[[Lava]]
*[[Food]]
*[[Cake]]
*[[Honey Bottle]] (alternative to remove poison effect)
*[[Medicine]]

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--milk-bucket Taking Inventory: Milk Bucket] – Minecraft.net on October 8, 2019

{{Items}}

[[Category:Food]]
[[Category:Renewable resources]]
[[Category:Tools]]

[[cs:Mléko]]
[[de:Milcheimer]]
[[es:Cubo con leche]]
[[fr:Seau de lait]]
[[hu:Tej]]
[[it:Secchio di latte]]
[[ja:ミルク入りバケツ]]
[[ko:우유 양동이]]
[[nl:Emmer melk]]
[[pl:Wiadro mleka]]
[[pt:Balde de leite]]
[[ru:Ведро с молоком]]
[[th:ถังนม]]
[[uk:Відро молока]]
[[zh:奶桶]]</li><li>[[Gold Nugget|Gold Nugget]]<br/>{{About|the nugget|the block that can drop nuggets|Gilded Blackstone|the ore|Gold Ore|the ingot form|Gold Ingot|the mineral block|Block of Gold}}
{{Item
| image = Gold Nugget.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Gold nuggets''' are items used to make [[gold ingot]]s and other various golden items. One gold nugget is effectively worth one-ninth of a gold ingot.

== Obtaining ==

=== Mob loot ===

[[Zombified Piglin|Zombified piglin]]s, when killed, may drop 0-1 gold nuggets. When killed using a weapon enchanted with [[Looting]], they may drop an additional gold nugget per level of Looting used, up to a maximum of 4.

=== Crafting ===

{{Crafting
|Gold Ingot
|Output= Gold Nugget, 9
|type= Material
}}

=== Smelting ===

{{Smelting
|Golden Sword; {Any golden tools}; {Any golden armor}; Golden Horse Armor
|Gold Nugget
|0,25
}}

=== Chest loot ===

{{LootChestItem|gold-nugget}}

=== Mining ===

[[Nether gold ore]] mined using a [[pickaxe]] drops 2-6 gold nuggets. If the pickaxe is enchanted with [[Fortune]], it has a 33.3% chance to multiply the drops by 2, Fortune II has a 25% chance to multiply the drops by 2 or 3 and Fortune III has a 20% chance each to multiply the drops by 2, 3, or 4 for a maximum possible drop of 24 golden nuggets. The average drop rate for a Fortune III pickaxe is 8.8, while the drop rate for a [[Silk Touch]] pickaxe is a single ingot, or a flat rate of 9. It is slightly more efficient to mine with a Silk Touch pickaxe. 

[[Gilded Blackstone|Gilded blackstone]] mined using a pickaxe has a 10% chance to drop 2-5 gold nuggets. If the pickaxe is enchanted with Fortune I, the chance gold nuggets drop is increased 14.29%, Fortune II increases the drop chance to 25%, and Fortune III guarantees the drop.

== Usage ==

Gold nuggets can be used to craft a [[golden carrot]] or [[glistering melon]] for brewing. Also, gold nuggets can be combined with gunpowder and dye to create a [[firework star]] that bursts in a star-shaped explosion. 

[[Piglin]]s instantly pick up any gold nuggets that are within 1 [[block]] of them. Unlike other gold-related items, they do not intentionally seek out gold nuggets to pick up and only pick them up if they walk near it. Unlike gold ingots, gold nuggets picked up are dropped upon the piglin's death. 

=== Crafting ingredient ===

{{crafting usage}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Gold Nugget
|spritetype=item
|nameid=gold_nugget
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gold Nugget
|spritetype=item
|nameid=gold_nugget
|id=425
|form=item
|foot=1}}

== History ==

{{History|Java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Gold Nugget JE1.png|32px]] Added gold nuggets.
|Gold nuggets are [[drops|dropped]] by [[zombie pigmen]].
|Gold nuggets can be used to craft [[gold ingot]]s.
|Gold nuggets currently do not have a mouseover name.}}
{{History|||snap=Beta 1.9 Prerelease 2|Gold nuggets now have a mouseover name.}}
{{History|||snap=Beta 1.9 Prerelease 4|Gold nuggets are now used to craft [[glistering melon]]s.
|Gold nuggets can now be [[crafting|crafted]] from a single [[gold ingot]].}}
{{History||1.1|snap=release|Normal [[golden apple]]s are now crafted with gold nuggets.}}
{{History||1.3.1|snap=1.3|[[File:Gold Nugget JE2 BE1.png|32px]] The texture of gold nuggets has been changed.}}
{{History||1.4.2|snap=12w34a|Gold nuggets are now used to craft [[golden carrot]]s.}}
{{History||1.4.6|snap=12w49a|Gold nuggets can now be used to craft a [[firework star]] for a star shaped effect on a [[firework rocket|firework]].}}
{{History||1.6.1|snap=13w23a|Gold nuggets can no longer be used to [[crafting|craft]] a [[golden apple]].}}
{{History||1.9|snap=15w43a|Gold nuggets may now be found among the loot in [[igloo]] basement [[chest]]s.}}
{{History||1.11.1|snap=16w50a|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 371.}}
{{History|||snap=18w09a|Gold nuggets can now be found in [[underwater ruins]] loot [[chest]]s.}}
{{History|||snap=18w11a|Gold nuggets now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}
{{History|||snap=18w48a|Gold nuggets can now be found in chests in [[plains]] [[village]] houses.}}
{{History|||snap=18w49a|Gold nuggets can now be found in chests in [[savanna]] village houses.}}
{{History||1.16|snap=20w12a|[[Nether gold ore]] now [[drops]] 2-6 gold nuggets, affected by [[Fortune]].}}
{{History|||snap=20w15a|[[Gilded blackstone]] now has 10% chance to drop 2-5 gold nuggets. Only the drop chance is affected by [[Fortune]].}}
{{History|||snap=20w16a|Gold nuggets now generate in [[bastion remnant]]s and [[ruined portal]] chests.}}
{{History|||snap=Pre-release 1|Gold nuggets can now be used to distract [[piglin]]s.}}
{{History|||snap=Pre-release 3|Gold nuggets can no longer be used to distract [[piglin]]s.}}
{{History||1.20|snap=23w12a|Gold nuggets can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Gold nuggets no longer generate in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], gold nuggets are now common loot.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets. |Gold nuggets can be used to craft [[glistering melon]]s, [[gold ingot]]s and [[golden carrot]]s.|[[Gold ingot]]s can now be [[crafting|crafted]] into 9 gold nuggets.|[[Zombie pigmen]] now [[drops|drop]] gold nuggets upon being killed.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gold nuggets can now be found inside [[igloo]] basement [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Gold nuggets can now be used to craft [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Gold nuggets can now be found in some [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Gold nuggets can now be found in [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|The gold nugget can now be found in [[plains]] [[village]] house chests.|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|The gold nugget can now be found in [[savanna]] village house [[chest]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Nether gold ore]] now [[drops]] 2-6 gold nuggets.|[[Gilded blackstone]] now has 10% chance to drop 2-5 gold nuggets.}}
{{History||1.16.100|snap=beta 1.16.100.50|Gold nuggets can now be used as fuel for a [[furnace]].<ref>{{bug|MCPE-114216}}</ref>}}
{{History||1.18.30|snap=beta 1.18.30.26|Gold nuggets can no longer be used as fuel for a furnace.}}

{{History|Legacy Console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}

{{History|3DS}}
{{History||0.1.0|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets.}}
{{History||1.9.19|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* [[Iron Nugget]]
* [[Gold]]

{{Items}}

[[cs:Zlatý nuget]]
[[de:Goldklumpen]]
[[es:Pepita de oro]]
[[fr:Pépite d'or]]
[[hu:Aranyrög]]
[[it:Pepita d'oro]]
[[ja:金塊]]
[[ko:황금 조각]]
[[nl:Goudklompje]]
[[pl:Bryłka złota]]
[[pt:Pepita de ouro]]
[[ru:Кусочек золота]]
[[uk:Золотий самородок]]
[[zh:金粒]]
[[Category:Renewable resources]]</li></ul>
alpha 1.0.5.0Added /testfor.
Advertisement