Template:BlockTileEntity
The Command Block is a block made with the intent to support Adventure mode and allows mapmakers to expand the interaction with the player through server commands. The block can run specified server commands when activated by a redstone current. Considering its great power and possibilities, it can't be normally crafted. Currently, it is not available in the creative mode inventory either. Only players with sufficient privileges to use the 'give' command: /give <player_name> 137 can obtain the block. Furthermore, only players which are in Creative mode and are also an operator on the server are able to edit and successfully save the command of the block. To be able to use this block in multiplayer, you have to set the value of enable-command-block to true in the server.properties file. If this line doesn't exist, you'll have to add it.
In survival mode, command blocks can be broken instantly, even without a tool, but will only drop as an item when mined with a pickaxe. They can't be pushed by pistons, as they have tile entities. The maximum command length is limited to 254 characters.
Usage
The Command Block will execute some useful commands like giving items or experience to a player.[1]
To change the command executed by the block, simply right-click it, and the GUI will open.
In place of player names, it is possible to use multiple different variables:
| Variable | Function |
|---|---|
| @p | Nearest player |
| @r | Random player |
| @a | All players |
Comparators can be used to determine whether or not a command block's command succeeded, as well as the number of times it has succeeded in a single execution. More information on this behavior can be found here, and command success criteria can be found in the Command article.
When using commands, treat them as if entered from the console - you always need to specify the target, so it is not possible to use commands such as "kill" which do not take a player argument. For example, to change the mode to Survival for the nearest player type: /gamemode survival @p. Note that you will have to be in Creative mode to change the command associated with the block.
The command block sends commands through the console in singleplayer and multiplayer, though commands can still be prefixed with a "/". If you want to give the nearest player stone, you can enter /give @p 1 or give @p 1.
For innovative, practical uses of the Command Block, view Tutorials/Command Block.
Examples
- It is possible to make teleporters using the command block. (e.g. code:
/tp @p[r=3] x y z) - If you use the teleport command with the command block, you can use relative coordinates in the destination coordinates by placing an '~' in front of a Coordinate (e.g. code:
/tp @p ~0 ~8 ~0This would teleport the player 8 blocks into the air). - Commands using coordinates (eg. "/tp" or "/spawnpoint") add 0.5 to integers, like usual. To clarify, the number -33 would be interpreted as -32.5, and the number 187 would be interpreted as 187.5.
- The player can make a kind of world guard using the command block. (e.g. code:
/gamemode <gamemode> @a[r=<radius>]) - The commandBlockOutput gamerule does not affect the command block using the
/sayand/me, and/tellcommands. - The commands
/say Hello, @pand/tell @p Hello, @pwill cause the command block to say user name of the nearest player in the message, however/me Hello, @pjust causes it to say "Hello, @p".
Game Rules
Game Rules allow players and command blocks to adjust several base settings.
Usage: /gamerule <gamerule> <true/false>
| Gamerule | Effect |
|---|---|
| commandBlockOutput | Enables/disables text output of command block commands to console |
| doFireTick | Enables/disables fire spread |
| doMobLoot | Enables/disables mob drops |
| doMobSpawning | Enables/disables the spawning of mobs unless you want them to ex: eggs and mob spawners will still spawn mobs |
| doTileDrops | Enables/disables blocks dropping items when broken (includes TNT destroying blocks) |
| keepInventory | Enables/disables keeping inventory on death |
| mobGriefing | Enables/disables creepers, ghasts, and Wither blowing up blocks, endermen picking up blocks and zombies breaking doors |
The following commands cannot be used in a command block for various reasons:
| Category | Reason for Unavailability | Commands |
|---|---|---|
| Disabled for server security | These commands are likely disabled due to limited use in command blocks and the potential for severe, unintended consequences on servers. | ban, ban-ip, deop, kick, op, pardon, pardon-ip, save-all, save-off, save-on, stop, whitelist add/remove/on/off/reload, debug, publish |
| Unavailable to console | These commands require a player to be the executor*. | kill |
| Available, but no apparent effect | These commands output messages to their user only, not to public chat. | help, seed, list, scoreboard objectives/players/teams, list, banlist, whitelist list |
*Some commands, such as /me, /tell, and /say would be expected to require a player as the executor, but work in command blocks and the server console. The command block's "name" defaults to "@", but can be renamed with an anvil.
Arguments
After using a target (@a, @p or @r) you can optionally use arguments.
This is how you use the arguments:
@<selector>[<argument>=<value>,<argument>=<value>]
NOTE: Make sure you do NOT add a space between arguments or commas.
| Argument | Function |
|---|---|
| x | X coordinate for the search center. |
| y | Y coordinate for the search center. |
| z | Z coordinate for the search center. |
| r | Maximum search radius. |
| rm | Minimum search radius. |
| m | A player's game mode. 0=Survival, 1=Creative, 2=Adventure |
| c | Number of players. If negative, uses players from the end of the list first. |
| l | Maximum experience level of players. |
| lm | Minimum experience level of players. |
| score_name | For the objective "name", the maximum score this player has. |
| score_name_min | For the objective "name", the minimum score this player has. |
| team | Checks if player is in the specified team. Inserting an '!' before the team name checks only for players *not* on this team. Providing no team name allows for checking for all players without a team. |
| name | Checks for players with this name. Inserting an '!' before the name checks only for players who do not have this name. |
Example:
@p[x=1,y=30,z=26,r=10,rm=2,m=1,c=3,l=25,lm=3]
Alternatively, the coordinates and maximum (but not minimum!) radius can be provided more concisely as long as they're the first (up to four) arguments without keys, for instance:
@p[1,30,26,10,rm=2,m=1,c=3,l=25,lm=3,score_Kills_min=1,score_Deaths=2,team=Red]
is identical to the previous example.
Because the argument 'c' uses players from the end of a list first when negative, @p[c=-1] may be used to select the farthest player instead of the nearest one.
History
| r | |||||
|---|---|---|---|---|---|
| [[[jebtweet:228811183107493888||27 July 2012]]] | |||||
| Jeb began tweeting of a new block he had created to start expanding Adventure mode. He began posting pictures, ideas and hints of what the block will be able to do. | |||||
| 31 July 2012 | |||||
| During Notch's AMA he hinted the block may be in 1.4. | |||||
1.4.2{{Extension DPL}}<ul><li>[[Glow Stick|Glow Stick]]<br/>{{stub}}
{{education feature}}
{{Item
| image = White Glow Stick.png
| extratext = View [[#Gallery|all renders]]
| renewable = No
| durability = 95
| stackable = No
}}
'''Glow sticks''' are [[Chemistry Update|chemistry]]-related [[item]]s, which can be lit up in the player's hand for a limited time.
== Obtaining ==
{{iN|be}}, glow sticks cannot be obtained by the {{cmd|give}} command. They also cannot be obtained in [[Survival]]. Cheats must be enabled to obtain glow sticks in Survival mode, or in [[Minecraft Education]].
=== Crafting ===
{{Crafting
|showdescription=1
|ingredients=[[Polyethylene]] +<br>[[Hydrogen Peroxide]] +<br>Matching [[Dye]] +<br>[[Luminol]]
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= White Dye; Orange Dye; Magenta Dye; Light Blue Dye; Yellow Dye; Lime Dye; Pink Dye; Gray Dye; Cyan Dye; Purple Dye; Blue Dye; Brown Dye; Green Dye; Red Dye
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= Matching Glow Stick
|description={{only|bedrock|education}}
|type= Miscellaneous
}}
<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 Dye".
-->
{{Crafting
|showdescription=1
|ingredients=[[Polyethylene]] +<br>[[Hydrogen Peroxide]] +<br>Matching [[Dye]] +<br>[[Luminol]]
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= Bone Meal; Lapis Lazuli; Cocoa Beans
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= White Glow Stick; Blue Glow Stick; Brown Glow Stick
|description={{only|bedrock|Education}}
|type= Miscellaneous
}}
</div>
== Usage ==
While equipped, [[player]]s can {{control|use}} glow sticks to shake them, causing them to appear bright regardless of the [[light]] level. This is only an aesthetic change, as no light is emitted to the surrounding area. A [[particle]] effect is visible until the [[durability]] runs out. The glow stick's durability depletes while lit{{Info needed}}, in both Survival and Creative modes.
== Sounds ==
{{Sound table
|type=bedrock
|sound=Flint and steel click.ogg
|source=block
|description=While a glowstick is being activated
|id=fire.ignite
|volume=1.0
|pitch=0.5/0.7
|foot=1}}
== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glow Stick
|spritename=glow-sticks
|spritetype=item
|nameid=glow_stick
|id=601
|form=item
|translationkey=item.glow_stick.black.name,item.glow_stick.red.name,item.glow_stick.green.name,item.glow_stick.brown.name,item.glow_stick.blue.name,item.glow_stick.purple.name,item.glow_stick.cyan.name,item.glow_stick.silver.name,item.glow_stick.gray.name,item.glow_stick.pink.name,item.glow_stick.lime.name,item.glow_stick.yellow.name,item.glow_stick.lightBlue.name,item.glow_stick.magenta.name,item.glow_stick.orange.name,item.glow_stick.white.name
|foot=1}}
===Metadata===
{{/DV}}
===Item data===
See [[Bedrock Edition level format/Item format]].
== History ==
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:White Glow Stick.png|32px]] [[File:Orange Glow Stick.png|32px]] [[File:Magenta Glow Stick.png|32px]] [[File:Light Blue Glow Stick.png|32px]] [[File:Yellow Glow Stick.png|32px]] [[File:Lime Glow Stick.png|32px]] [[File:Pink Glow Stick.png|32px]] [[File:Gray Glow Stick.png|32px]] [[File:Cyan Glow Stick.png|32px]] [[File:Purple Glow Stick.png|32px]] [[File:Blue Glow Stick.png|32px]] [[File:Brown Glow Stick.png|32px]] [[File:Green Glow Stick.png|32px]] [[File:Red Glow Stick.png|32px]] Added glow sticks.}}
{{History||1.14.60|snap=?|Making a glow stick results in an edible item called {{code|item.glow_stick.black.name}}.}}
{{History||?|Making a glow stick results in correct items again.
|Making a glow stick with dye has been made an upgrade{{info needed|what is this supposed to mean?}}
|Putting 2 glow sticks in a Crafting Table now outputs a correct glow stick.}}
{{History||1.17.0|snap=?|[[File:Missing Glow Stick.png|32px]] Two black glow sticks, using the [[missing texture]] if Education Edition is disabled, now generate in fake end portal rooms in [[mansion]]s instead of [[ender pearl]]s.}}
{{h||1.18.0|snap=beta 1.18.0.21|Glow sticks no longer generate in [[woodland mansion]]s.}}
{{History|education}}
{{History||1.0.27|[[File:White Glow Stick.png|32px]] [[File:Orange Glow Stick.png|32px]] [[File:Magenta Glow Stick.png|32px]] [[File:Light Blue Glow Stick.png|32px]] [[File:Yellow Glow Stick.png|32px]] [[File:Lime Glow Stick.png|32px]] [[File:Pink Glow Stick.png|32px]] [[File:Gray Glow Stick.png|32px]] [[File:Cyan Glow Stick.png|32px]] [[File:Purple Glow Stick.png|32px]] [[File:Blue Glow Stick.png|32px]] [[File:Brown Glow Stick.png|32px]] [[File:Green Glow Stick.png|32px]] [[File:Red Glow Stick.png|32px]] Added glow sticks.}}
{{History|foot}}
== Gallery ==
<gallery>
White Glow Stick.png|
Orange Glow Stick.png|
Magenta Glow Stick.png|
Light Blue Glow Stick.png|
Yellow Glow Stick.png|
Lime Glow Stick.png|
Pink Glow Stick.png|
Gray Glow Stick.png|
Cyan Glow Stick.png|
Purple Glow Stick.png|
Blue Glow Stick.png|
Brown Glow Stick.png|
Green Glow Stick.png|
Red Glow Stick.png|
</gallery>
== Trivia ==
* The glowing reaction of [[Wikipedia:Luminol|Luminol]] during oxidation exists in real life. It is used for detecting blood in crime scenes.
* Players cannot enchant glow sticks with Unbreaking or Mending, despite the items having [[durability]].
* The black and light gray glow sticks use the same texture as the red glow stick.{{verify|It seems they use the missing texture instead. Was this the case beforehand, and they only started using the missing texture later?}}
== Issues ==
{{issue list}}
{{items}}
{{Education Edition}}
[[Category:Non-renewable resources]]
[[Category:Education Edition items]]
[[de:Knicklicht]]
[[ja:ケミカルライト]]
[[ko:발광봉]]
[[pt:Graveto Brilhante]]
[[ru:Химический источник света]]
[[zh:荧光棒]]</li><li>[[Honeycomb|Honeycomb]]<br/>{{distinguish|Honeycomb Block}}
{{Item
| image = Honeycomb.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Honeycombs''' are items obtained from [[bee nest]]s and beehives.
== Obtaining ==
{{See also|Tutorials/Honey farming}}
When a bee nest or beehive at {{cd|honey_level}} 5 is [[shear]]ed, it drops 3 honeycombs and angers any bees inside, causing them to attack. Having a lit [[campfire]] or lighting a fire underneath the nest or hive prevents the bees from becoming hostile.
A [[dispenser]] with shears inside can be used to shear the nest without angering the bees. The honeycomb pops out as a dropped item.
== Usage ==
=== Signs ===
{{Control|Using}} a honeycomb on a [[sign]] or a hanging sign prevents the sign from being edited.
=== Waxing ===
{{Control|Using}} a honeycomb on a [[block of copper]] changes the block into its waxed variant, preventing oxidation of the copper.
=== Crafting ingredient ===
{{crafting usage}}
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Beehive shear.ogg
|subtitle=Shears scrape
|source=neutral
|description=When honeycombs are collected from a beehive
|id=block.beehive.shear
|translationkey=subtitles.block.beehive.shear
|volume=0.8
|pitch=1.0/0.9/0.8
|distance=16}}
{{Sound table
|sound=Wax on1.ogg
|sound2=Wax on2.ogg
|sound3=Wax on3.ogg
|subtitle=Wax on
|source=block
|description=When a honeycomb waxes something
|id=item.honeycomb.wax_on
|translationkey=subtitles.item.honeycomb.wax_on
|volume=1.0
|pitch=1.0/0.9/1.1
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Beehive shear.ogg
|source=block
|description=When honeycombs are collected from a beehive
|id=block.beehive.shear
|volume=0.8
|pitch=0.8-1.0}}
{{Sound table
|sound=Wax on1.ogg
|sound2=Wax on2.ogg
|sound3=Wax on3.ogg
|source=neutral
|description=When a honeycomb waxes something
|id=copper.wax.on
|volume=1.0
|pitch=0.8-1.2
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Honeycomb
|spritetype=item
|nameid=honeycomb
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Honeycomb
|spritetype=item
|nameid=honeycomb
|id=591
|form=item
|foot=1}}
== Advancements ==
{{load advancements|Wax on;Wax off}}
== History ==
{{History|java}}
{{History||1.15|snap=19w34a|[[File:Honeycomb JE1.png|32px]] Added honeycombs.
|Honeycombs can be used to craft [[beehive]]s.}}
{{History|||snap=19w41a|Honeycombs can now be used to craft [[honeycomb block]]s.}}
{{History|||snap=Pre-release 3|[[File:Honeycomb texture change 1.15pre2 to 1.15pre3.gif|32px]] The texture file of honeycombs has been slightly changed. The color channel of transparent pixels are now filled to black. The in-game texture has not been changed.}}
{{History||1.17|snap=20w45a|Honeycomb can now be used to craft [[candle]]s and [[waxed copper]].}}
{{History|||snap=21w11a|Honeycomb can now be used to wax copper blocks by right clicking or dispensing honeycomb onto the block.}}
{{History|||snap=21w14a|Honeycomb can now be used to wax oxidized copper blocks.}}
{{History|||snap=21w19a|Honeycomb can no longer used to craft candles.}}
{{History|||snap=Pre-release 1|Honeycomb can once again used to craft candles.}}
{{History||1.20|snap=23w12a|[[Sign]]s and hanging signs can now be waxed with honeycomb to prevent them from being edited.}}
{{History|bedrock}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honeycomb BE1.png|32px]] Added honeycombs.}}
{{History|||snap=beta 1.14.0.4|[[File:Honeycomb BE2.png|32px]] The texture of honeycombs has been changed to match {{el|je}}'s.}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.57|Honeycomb can now be used to craft [[waxed copper]].
|Honeycomb can now be used to wax copper blocks by right clicking or dispensing honeycomb onto the block.}}
{{History||1.17.0|snap=beta 1.16.230.52|Honeycomb can now be used to wax oxidized copper blocks.}}
{{History||1.17.10|snap=beta 1.17.10.22|Honeycomb can now be used to craft [[candle]]s.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.22|[[Sign]]s and hanging signs can now be waxed with honeycomb to prevent them from being edited.}}
{{History|foot}}
== Issues ==
{{issue list}}
{{items}}
[[cs:Plástev medu]]
[[de:Honigwabe]]
[[es:Panal]]
[[fr:Rayon de miel]]
[[ja:ハニカム]]
[[ko:벌집 조각]]
[[pl:Plaster miodu]]
[[pt:Favo de mel]]
[[ru:Пчелиные соты]]
[[zh:蜜脾]]
[[Category:Renewable resources]]</li></ul> | 12w32a | Added Command Block, plus a number of new commands for the block to use. | |||
| 12w38a | Target parameters upgraded, allowing for more details of how, where and who the command acts on. See https://gist.github.com/3736487 for further details. | ||||
| 12w39b | Added more target parameters: l for maximum player level, lm for minimum player level and rm for minimum range.[2] | ||||
1.5{{Extension DPL}}<ul><li>[[Steak|Steak]]<br/>{{Item
| title = Steak
| image = Steak.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable = Yes (64)
}}
'''Steak''' ({{in|java}}) or '''cooked beef''' ({{in|bedrock}}) is a [[food]] [[item]] obtained from [[cow]]s, [[mooshroom]]s, or from cooking [[raw beef]].
== Obtaining ==
=== Mob loot ===
==== Cows ====
When a [[cow]] or [[mooshroom]] is killed, it drops [[raw beef]]. If a cow dies while on fire, it drops steak instead. If the cow is killed using a weapon with the [[Looting]] enchantment, the maximum number of steak drops increases by 1 per level.
=== Cooking ===
Raw beef can be cooked in a [[furnace]], [[smoker]], or [[campfire]]. Each steak removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).
{{Smelting
|Raw Beef
|Steak
|0,35
}}
=== Villager gifts ===
{{IN|java}}, butcher [[Villager|villagers]] may give players steak if they have the [[Hero of the Village]] status effect.
== Usage ==
=== Food ===
To eat steak, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 12.8 hunger
[[saturation]].
=== Wolves ===
Steak can be used to [[breed]] and heal tamed [[wolves]], lead them around, and make baby tamed wolves grow up faster by 10% of the remaining time.
==Sounds==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Steak
|spritetype=item
|nameid=cooked_beef
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Beef
|spritetype=item
|nameid=cooked_beef
|id=274
|form=item
|foot=1}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== History ==
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Steak JE1 BE1.png|32px]] Added steak.
|Steak has been introduced as the cooked result of [[raw beef]].
|Steak is a new [[food]] [[item]] dropped by [[cow]]s in addition to their [[leather]].
|The icon for steak is used as the image for the [[cooked porkchop]] before [[Java Edition Beta 1.8|Beta 1.8]], as the cooked porkchop's icon was updated to a lighter colored piece of meat.}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Steak can now be used to [[breed]] [[wolves]].}}
{{History||1.3.1|snap=12w21a|Steak can now be [[trading|bought]] from butcher [[villager]]s, at 6–7 steak for 1 [[emerald]].}}
{{History|||snap=1.3|[[File:Steak JE2.png|32px]] The texture of steak has been changed.}}
{{History||1.4.2|snap=12w37a|[[File:Steak JE3 BE2.png|32px]] The texture of steak has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trade]] steak.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 364.}}
{{History||1.14|snap=18w43a|[[File:Steak JE4 BE3.png|32px]] The texture of steak has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give steak to players under the [[Hero of the Village]] effect.}}
{{History|pocket alpha}}
{{History||v0.4.0|[[File:Steak JE1 BE1.png|32px]] Added steak.}}
{{History||v0.5.0|Steak now restores {{hp|8}} instead of {{hp|4}}.}}
{{History||v0.8.0|snap=build 1|[[File:Steak JE3 BE2.png|32px]] The texture of steak has been changed, so that it no longer has a dark outline.}}
{{History||v0.12.1|snap=build 1|Steak now restores [[hunger]] instead of [[health]].}}
{{History||v0.16.0|snap=build 4|"Steak" has been renamed to "Cooked Beef."}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Steak JE4 BE3.png|32px]] The texture of cooked beef has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked beef can now be [[trading|bought]] from butcher [[villager]]s.}}
{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Steak JE1 BE1.png|32px]] Added steak.}}
{{History||xbox=TU12|[[File:Steak JE3 BE2.png|32px]] The steak's texture has been changed, so that it no longer has a dark outline.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Steak JE4 BE3.png|32px]] The texture of steak has been changed.}}
{{History|new3DS}}
{{History||0.1.0|[[File:Steak JE3 BE2.png|32px]] Added steak.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
Jeb steak.png|Raw beef and steak shown in the [[inventory]] from a preview screenshot.
Eating Steak.png|A still frame of the player eating a steak.
Steak SDGP.png|Steak in the [[Super Duper Graphics Pack]].
</gallery>
== Notes ==
{{fnlist}}
{{Items}}
[[cs:Propečený steak]]
[[de:Steak]]
[[es:Filete asado]]
[[fr:Steak]]
[[hu:Steak]]
[[it:Bistecca]]
[[ja:ステーキ]]
[[ko:스테이크]]
[[nl:Biefstuk]]
[[pl:Befsztyk]]
[[pt:Filé]]
[[ru:Жареная говядина]]
[[tr:Biftek]]
[[uk:Стейк]]
[[zh:牛排]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Suspicious Stew|Suspicious Stew]]<br/>{{For|the block|Suspicious Sand}}
{{Item
| title = Suspicious Stew
| heals = {{hunger|6}}
| renewable = Yes
| stackable = No
|effects=See {{slink||Food}}
}}
'''Suspicious stew''' is a [[food]] item that can give the [[player]] a [[effect|status effect]] that depends on the [[flower]] used to craft it.
== Obtaining ==
{{IN|Bedrock}}, suspicious stew is the only food item in the game that can be obtained from the [[Creative]] inventory only by searching. However, it can be crafted and can also be found in [[shipwreck]] chests. Suspicious stew can be given with [[commands]] like {{cmd|give}}, but {{in|java}}, unless NBT data like that listed in the data values section is included, consuming it has no effect and still restores the same hunger points as a normal suspicious stew. In [[Bedrock Edition]], giving the player a suspicious stew through commands causes the stew to choose an allowable status effect at random.
=== Harvesting ===
Suspicious stew can be obtained by "milking" a brown [[mooshroom]] with a [[bowl]] after using a small flower on it. When a small flower is used on a brown mooshroom, the brown mooshrom produces a suspicious stew related to that small flower the next time it is milked with a bowl. Red mooshrooms do not produce suspicious stew. The brown mooshroom returns to producing [[mushroom stew]] until fed another small flower.
=== Crafting ===
{{Crafting
|Red Mushroom
|Brown Mushroom
|Bowl
|Any Flower
|Output=Suspicious Stew
|shapeless=true
|type=Foodstuff
}}
Suspicious stew is not listed in the recipe book. However, it can be quickly assembled by clicking the [[Mushroom Stew|mushroom stew]] recipe and adding one small flower to it.
=== Chest loot ===
{{LootChestItem|suspicious-stew}}
=== Mob loot ===
After being given a flower, a brown [[mooshroom]] can be "milked" for suspicious stew by {{control|using}} a [[bowl]] on it. The flower type determines the stew's effect using the same rule as a crafted stew. Milking a red mooshroom after feeding it a flower does not yield a suspicious stew specific to that flower.
=== Trading ===
{{IN|java}}, expert-level farmer [[villager]]s can offer either 1 or 2 suspicious stew trades, each stew for one [[emerald]].
{{IN|bedrock}}, expert-level farmer villager offers to sell suspicious stew for one emerald as well.
The [[trading]] interface does not indicate the type of suspicious stew being sold, but each trade entry consistently yields the same type of stew, so the player can remember or make a note of the types offered by a given villager, such as "this villager's first stew gives [[blindness]], and their second entry gives saturation".
== Usage ==
=== Food ===
{{see also|Tutorials/Hunger management}}
To eat suspicious stew, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} hunger and 7.2 hunger [[Hunger#Mechanics|saturation]] and gives a few seconds of a [[effect|status effect]] that varies depending on which flower was used to craft it. The effect is not displayed in the tooltip, texture, etc., meaning that the player cannot know in advance what the effect is without knowing which flower was used.
{{/Effects}}
The [[bowl]] is emptied and returned to the player after the suspicious stew has been eaten, and can be re-used to craft more stews. Unlike most foods, suspicious stew can be eaten even if the player's hunger bar is full.
The Saturation effect effectively makes those two stews a superfood: In those 6 or 7 ticks it can restore up to 6(7) hunger and 12(14) saturation points ''on top of'' their food value, for a total of at least {{hunger|12}} hunger, and effectively maximizing saturation. This is the largest amount of hunger and saturation the player can get from a single food item. Regeneration can restore up to {{Health|3}} health, and Poison or Wither can inflict up to {{Health|4}} damage.
Consuming suspicious stew is the only way to obtain the Saturation and Blindness effects in vanilla ''Minecraft'' without the use of commands.
== Sounds ==
=== Generic ===
{{Sound table/Entity/Food}}
=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Mooshroom eat1.ogg
|sound2=Mooshroom eat2.ogg
|sound3=Mooshroom eat3.ogg
|sound4=Mooshroom eat4.ogg
|subtitle=Mooshroom eats
|source=neutral
|description=Plays when a brown mooshroom is fed a flower.
|id=entity.mooshroom.eat
|translationkey=subtitles.entity.mooshroom.eat
|volume=2.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.95, or 1.05 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Mooshroom gets milked suspiciously
|source=neutral
|description=Plays when a brown mooshroom is milked with a bowl after being fed a flower.
|id=entity.mooshroom.suspicious_milk
|translationkey=subtitles.entity.mooshroom.suspicious_milk
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.9, or 1.1 for each sound</ref>
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Mooshroom eat1.ogg
|sound2=Mooshroom eat2.ogg
|sound3=Mooshroom eat3.ogg
|sound4=Mooshroom eat4.ogg
|subtitle=Mooshroom eats
|source=Friendly Creatures
|description=When a brown mooshroom is fed a flower
|id=mob.mooshroom.eat
|volume=1.0/0.95/1.05
|pitch=0.8-1.2}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Mooshroom gets milked
|source=Friendly Creatures
|description=When a mooshroom is milked with a bowl
|id=mob.mooshroom.suspicious_milk
|volume=1.0/0.9/1.1
|pitch=1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Suspicious Stew
|spritetype=item
|nameid=suspicious_stew
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Suspicious Stew
|spritetype=item
|nameid=suspicious_stew
|id=590
|form=item
|foot=1}}
=== Item data ===
{{IN|je}}, suspicious stew uses the following NBT data:
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat format/Suspicious Stew}}
</div>
=== Metadata ===
{{IN|be}}, suspicious stew uses the following data values:
{{dvt|spritetype=item|sprite=suspicious-stew|{{EffectLink|Night Vision}} from {{BlockLink|Poppy}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Jump Boost}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Weakness}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Blindness}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Poison}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Saturation}} from {{BlockLink|Dandelion}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Saturation}} from {{BlockLink|Blue Orchid}}}}
{{dvt|spritetype=item|sprite=suspicious-stew|{{EffectLink|Fire Resistance}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Regeneration}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Wither}}}}
{{dvt|sprite=suspicious-stew|{{EffectLink|Night Vision}} from {{BlockLink|Torchflower}}|foot=1}}
== Achievements ==
{{load achievements|Time for Stew}}
== Advancements ==
{{load advancements|A Furious Cocktail;How Did We Get Here;Husbandry;A Balanced Diet}}
== History ==
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Suspicious Stew JE1 BE1.png|32px]] Added suspicious stew.
|Suspicious stew is not obtainable in the [[Creative inventory]].}}
{{History|||snap=19w08a|Suspicious stew can be obtained by milking brown [[mooshroom]]s.}}
{{History|||snap=19w11a|[[Trading]] has been changed, expert-level farmer villagers now sell suspicious stew for an [[emerald]].}}
{{History||1.14.4|snap=Pre-Release 1|Suspicious stew made from [[poppies]] now gives [[Night Vision]] to the [[player]] instead of [[Speed]].}}
{{History||1.16|snap=Pre-release 1|Mooshrooms can now be milked for suspicious stew in Creative mode.<ref>{{bug|MC-90969}}</ref>}}
{{History||1.17|snap=21w13a|Suspicious stew can now be eaten even if the player is at full [[hunger]].}}
{{History||1.19|snap=22w13a|Suspicious stew may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.3|snap=22w45a|Suspicious stew is now available in the [[Creative]] [[inventory]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Suspicious stew now drops when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History|||snap=1.19.4-pre1|[[Torchflower]]s can now be used to make suspicious stew.}}
{{History||1.20|snap=23w12a|The probability for the suspicious stew to generate in the [[suspicious sand]] in [[desert well]] has been changed from 1/7 to 1/8.}}
{{History|bedrock}}
{{History||1.13.0|snap=beta 1.13.0.9|[[File:Suspicious Stew JE1 BE1.png|32px]] Added suspicious stew.
|Suspicious stew is not obtainable in the Creative inventory.}}
{{History|||snap=beta 1.13.0.15|Master-level farmer [[villager]]s can now [[trading|sell]] suspicious stew.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Trading]] has been changed, expert-level farmer villagers now sell suspicious stew for an [[emerald]].}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Suspicious stew now drops when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History||1.20.10|Added one type of suspicious stew to the Items tab in the Creative inventory.}}
{{History||1.20.30|snap=beta 1.20.20.20|Suspicious stew can no longer be found in the Creative inventory.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Trivia ==
* Suspicious stew was introduced because developers wanted a way of communicating that [[wikipedia:Lily_of_the_valley|lilies of the valley]] are poisonous.<ref>{{ytl|YUM7XiEX1DI|Items: Ten Things You Probably Didn't Know About Minecraft @ 3:32|Minecraft|November 29, 2019|t=212s}}</ref>
== References ==
{{Reflist}}
<references group="loot"/>
{{Items}}
[[Category:Food]]
[[de:Seltsame Suppe]]
[[es:Estofado sospechoso]]
[[fr:Soupe suspecte]]
[[ja:怪しげなシチュー]]
[[ko:수상한 스튜]]
[[nl:Geheimzinnige stoofpot]]
[[pl:Podejrzana potrawka]]
[[pt:Ensopado suspeito]]
[[ru:Подозрительный суп]]
[[th:สตูว์พิศวง]]
[[zh:迷之炖菜]]
[[Category:Renewable resources]]</li></ul> | 13w03a | Added more command block functionality by introducing the /testfor command and outputting a comparator signal when a command is run successfully. | |||
| 13w04a | Command blocks renamed with an anvil now use their name instead of @ in the chat. | ||||
| Added a new command feature - "scoreboard" | |||||
| 13w05a | Added a new argument - "teams" | ||||
| u | |||||
1.6{{Extension DPL}}<ul><li>[[Book|Book]]<br/>{{For}}
{{Item
| image = Book.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Books''' are items used in [[enchanting]] and [[crafting]].
== Obtaining ==
=== Block loot ===
Three books are dropped when a [[bookshelf]] is mined without [[Silk Touch]] or destroyed by an [[explosion]].
=== Crafting ===
{{crafting
|Paper
|Paper
|Paper
|Leather
|Output= Book
|type= Miscellaneous
}}
=== Chest loot ===
{{LootChestItem|book}}
=== Grindstones ===
Disenchanting an [[enchanted book]] at a [[grindstone]] yields a normal book and a small amount of experience.
=== Villager gifts ===
{{in|java}}, librarian [[villagers]] throw books at players under the [[Hero of the Village]] effect.
== Usage ==
=== Crafting ingredient ===
{{crafting usage}}
=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having a book in the main hand will put the book inside the chiseled bookshelf.
=== Enchanting ===
Books can be made into [[enchanted book]]s by enchanting them on [[enchanting table]]s.
=== Trading ===
Librarian [[villager]]s can buy a single book as part of an [[enchanted book]] trade.
Apprentice-level Librarian villagers have a {{frac|2|3}} chance to buy 4 books for an [[emerald]] {{in|java}}, and always offer the trade {{in|bedrock}}.
== Achievements ==
{{load achievements|Librarian;Enchanter}}
== Advancements ==
{{load advancements|Enchanter;The Power of Books}}
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|subtitle=Book placed
|source=block
|description=When a book is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert
|translationkey=subtitles.chiseled_bookshelf.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|subtitle=Book taken
|source=block
|description=When a book is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup
|translationkey=subtitles.chiseled_bookshelf.take
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|source=block
|description=When a book is placed in a chiseled bookshelf
|id=insert.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|source=block
|description=When a book is removed from a chiseled bookshelf
|id=pickup.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Book
|spritetype=item
|nameid=book
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Book
|spritetype=item
|nameid=book
|id=387
|itemtags=minecraft:bookshelf_books</code>
|form=item
|foot=1}}
== Video ==
<div style="text-align:center">{{yt|UGJBUhxwKy0}}</div>
== History ==
{{History|java alpha}}
{{History||v1.0.11|[[File:Book JE1 BE1.png|32px]] Added books.
|The only use of books is crafting [[bookshelves]], which are only used as a purely decorative [[block]] until [[Beta 1.9 Prerelease 3]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Books are now found in the new [[stronghold]] library [[chest]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Books are now used to craft [[enchantment table]]s, gaining their first functional usage outside of decoration.}}
{{History||1.3.1|snap=12w17a|The crafting recipe is now shapeless, so books can now be crafted in the player's 2×2 [[crafting]] area, although the recipe now requires [[leather]]. Before this version, books were crafted with three [[paper]] sheets in a single column.
|A book can now be crafted into a [[book and quill]], which can be used to create [[written book]]s.}}
{{History|||snap=12w21a|Librarian [[villager]]s now [[trading|buy]] 11–12 books for 1 [[emerald]].}}
{{History|||snap=12w22a|Librarian villagers now [[trading|sell]] [[enchanted book]]s for 5–64 emeralds and 1 book.}}
{{History||1.4.6|snap=12w49a|Books can now be enchanted into [[enchanted book]]s, and then combined together in an [[anvil]] with a [[tool]] to then enchant it.}}
{{History||1.8|snap=14w02a|Librarian villagers now buy 8–10 books for 1 [[emerald]].}}
{{History||1.9|snap=15w43a|Average yield of books in [[stronghold]] library chests has been substantially increased.}}
{{History||1.12|snap=17w13a|Added the [[knowledge book]], a green-colored book that grants the [[player]] a recipe for [[crafting]].
|The recipe tab on the [[crafting table]] GUI uses a red-colored book.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 340.}}
{{History|||snap=18w11a|Books now generate in [[shipwreck]] chests.}}
{{History||1.14|snap=18w43a|[[File:Book JE2 BE2.png|32px]] The texture of books has been changed.}}
{{History|||snap=18w48a|Books can now be obtain by disenchanting non-curse [[enchanted book]]s in a grindstone.|Books can now be found in chests in [[plains]] [[village]] houses.}}
{{History|||snap=18w50a|Books can now be found in chests in [[desert]] village houses.}}
{{History|||snap=19w13a|Librarian villagers now give books to players under the [[Hero of the Village]] effect.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Books now generate in [[ancient city]] chests.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Books can now interact with [[chiseled bookshelves]].}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Book JE1 BE1.png|32px]] Added books. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.0|Books can be used to craft [[bookshelves]].}}
{{History||v0.5.0|Books can now be obtained after activating the [[nether reactor]].}}
{{History||v0.12.1|snap=build 1|The crafting recipe for books now requires [[leather]]. Before this version, books were crafted with three [[paper]] sheets in a single column.
|Books are now used to craft [[enchanting table]]s.
|Books can now be enchanted into [[enchanted book]]s, and then combined together in an [[anvil]] with a [[tool]] to then enchant it.
|Books are no longer available from the [[nether reactor]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian villagers now [[trading|buy]] 8–10 books for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|A book can now be crafted into a [[book and quill]], which can be used to create [[written book]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Books can now be found inside of the map room [[chest]] in [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Books can now be found in [[plains]] [[village]] chests.
|[[File:Book JE2 BE2.png|32px]] The texture of books has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Librarian [[villager]]s now [[trading|buy]] 4 books for an [[emerald]].}}
{{History||Wild Update<br>(Experimental)|link=Bedrock Edition 1.18.30|snap=beta 1.18.30.32|Books now generate in [[ancient city]] chests.}}
{{History||1.20<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|Books can now interact with [[chiseled bookshelves]].}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Book JE1 BE1.png|32px]] Added books.}}
{{History||xbox=TU14|ps=1.04|The crafting recipe for books now requires [[leather]]. Before this version, books were crafted with three [[paper]] sheets in a single column.}}
{{History|PS4}}
{{History||1.90|[[File:Book JE2 BE2.png|32px]] The texture of books has now been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Book JE1 BE1.png|32px]] Added books.}}
{{History|foot}}
== Issues ==
{{issue list}}
== See also ==
* [[Enchanted Book]]
* [[Knowledge Book]]
== How book is renewable ==
The paper comes from sugar canes, which is renewable because it grows and the leather from killing cows, renewable because cows breed{{Items}}
[[Category:Renewable resources]]
[[cs:Kniha]]
[[de:Buch]]
[[es:Libro]]
[[fr:Livre]]
[[hu:Könyv]]
[[it:Libro]]
[[ja:本]]
[[ko:책]]
[[nl:Boek]]
[[pl:Książka]]
[[pt:Livro]]
[[ru:Книга]]
[[th:หนังสือ]]
[[uk:Книга]]
[[zh:书]]</li><li>[[Carrot|Carrot]]<br/>{{about|the natural food item|the golden food|Golden Carrot|the item for controlling saddled pigs|Carrot on a Stick}}
{{Item
| group = Age 0-1
| 1-1 = Carrots Age 0-1.png
| 1-2 = Carrots Age 0-1 BE.png
| group2 = Age 2-3
| 2-1 = Carrots Age 2-3.png
| 2-2 = Carrots Age 2-3 BE.png
| group3 = Age 4-6
| 3-1 = Carrots Age 4-6.png
| 3-2 = Carrots Age 4-6 BE.png
| group4 = Age 7
| 4-1 = Carrots Age 7.png
| 4-2 = Carrots Age 7 BE.png
| image2 = Carrot JE3 BE2.png
| renewable = Yes
| heals = {{hunger|3}}
| stackable = Yes (64)
}}
A '''carrot''' is a [[food]] [[item]] obtained from carrot crops that can be used to plant them, eaten or used as a crafting ingredient.
'''Carrot crops''' are planted in [[farmland]] and used to grow carrots.
== Obtaining ==
=== Breaking ===
{{See also|Fortune#Seeds}}
Fully grown carrot crops drop 2 to 5 carrots ({{frac|3|5|7}} per crop harvested on average). Yield can be increased using a tool enchanted with [[Fortune]], with Fortune III harvesting an average of {{frac|5|3|7}} carrots.
The yield is calculated by a binomial distribution: 2 drops are fixed, then a drop is attempted three times with a success rate of 57.14286% to yield the extra 0–3 drops. Each level of Fortune enchantment increases the number of attempts by one.
=== Natural generation ===
[[Village]] farm plots have a chance of having carrots. The exact chance depends on the style of the village:
{| class="wikitable"
! Village style !! Chance
|-
| {{EnvSprite|plains-village}} Plains || 30%
|-
| {{EnvSprite|snowy-village}} Snowy || 10%
|}
=== Mob loot ===
[[Zombie]]s, [[husk]]s, and [[zombie villager]]s have a 2.5% ({{frac|1|40}}) chance of dropping either an [[iron ingot]], carrot, or [[potato]] when killed by a player or tamed wolf. This is increased by 1% ({{frac|1|100}}) per level of looting. This gives carrots the following chances of dropping:
* {{frac|1|120}} (about 0.83%)
* {{frac|7|600}} (about 1.17%) with Looting I
* {{frac|9|600}} (about 1.50%) with Looting II
* {{frac|11|600}} (about 1.83%) with Looting III
=== Chest loot ===
{{LootChestItem|carrot}}
== Usage ==
{{see also|Tutorials/Hunger management|title1=Hunger management}}
To eat a carrot, press and hold {{control|use}} while the carrot is selected in the [[hotbar]]. Eating a carrot restores {{hunger|3}} [[hunger]] and 3.6 hunger [[Hunger#Mechanics|saturation]].
=== Farming ===
{{see also|Tutorials/Crop farming|title1 = Crop farming }}
Carrots can be [[farming|farmed]] and harvested on [[farmland]]. Planted carrots take 8 [[Block tick|stages]] to grow, and go through 4 visually distinct stages. Planted carrots require a light level of 9 or greater to continue growing. If the light level is 7 or below, the crops instantly un-plant themselves ("pop off"). It is not possible to plant carrots if the light level is too low.
Crops grow faster if the farmland they are planted in is [[Farmland#Hydration|hydrated]]. Using [[bone meal]] on crops also increases the speed of growth by randomly increasing their growth stage by 2 to 5.
Crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops.
If {{cmd|gamerule mobGriefing}} is <code>true</code>, rabbits will find mature carrot [[crops]]{{only|je}} / carrot crops with growth stage greater than 1{{only|be}}. This reduces the growth stages by one, removing the crop completely when the growth stage reaches 0.
=== Breeding ===
Carrots can also be used to [[breed]] and attract [[pig]]s and [[rabbit]]s.
Villagers can pick up carrot items to become willing, which allow them to breed. Villagers require 12 carrots to become willing.
=== Trading ===
Novice-level Farmer villagers have a 25% ({{frac|1|4}}){{only|bedrock}} or 40% ({{frac|2|5}}){{only|java}} chance to buy 22 carrots for an emerald.
=== Crafting ingredient ===
{{crafting usage}}
=== Composting ===
Placing a carrot into a [[composter]] has a 65% chance of raising the compost level by 1.
== Sounds ==
=== Block ===
{{Sound table/Block/Crop}}
=== Item ===
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|id=141
|form=block
|translationkey=-}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|id=279
|form=item
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Carrot JE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE1.png|32px]] [[File:Carrots Age 2-3 JE1.png|32px]] [[File:Carrots Age 4-6 JE1.png|32px]] [[File:Carrots Age 7 JE1.png|32px]] Added carrot crops.
|Carrots can be obtained only as a rare [[drop]] from [[zombie]]s.}}
{{History|||snap=August 28, 2012|slink={{tweet|Dinnerbone|240428477856231424}}|[[Dinnerbone]] released an image of a [[saddle]]d [[pig]] being controlled with a [[carrot on a stick]]. [[Wheat]] was considered as a "fuel" along with carrots,<ref>{{Tweet|Dinnerbone|240188453789257728}}</ref> but Dinnerbone eventually decided on carrots.<ref>{{Tweet|Dinnerbone|240355810650247168}}</ref>}}
{{History|||snap=12w34a|Carrots can now be used to craft [[golden carrot]]s.}}
{{History|||snap=12w36a|Carrots can now be found in [[village]]s.
|Carrots are now used to breed [[pig]]s.
|Carrots are now used to craft [[carrot on a stick]].}}
{{History|||snap=12w37a|[[File:Carrot JE2 BE1.png|32px]] The texture of carrots has now been changed. The texture has been changed to singular carrot, with the tooltip changed to reflect this.}}
{{History||1.5|snap=13w04a|[[Bone meal]] now grows carrots by 1 stage instead of fully growing it. The [[player]] might not see it grow, because some stages look the same.}}
{{History||1.8|snap=14w02a|Carrots now restore {{hunger|3}} points and 3.6 hunger [[saturation]], instead of {{hunger|4}} and 4.8 hunger saturation.
|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].}}
{{History|||snap=14w04a|[[Farmer]] (profession) [[villager]]s now harvest fully grown carrots.
|Villagers can now be made willing using 12 carrots.}}
{{History|||snap=14w06a|[[File:Carrots Age 0-1 JE2.png|32px]] [[File:Carrots Age 2-3 JE2.png|32px]] [[File:Carrots Age 4-6 JE2.png|32px]] [[File:Carrots Age 7 JE2.png|32px]] Carrot crops are now a pixel higher - previously they were offset one pixel down as to match farmland's sunken model. This is likely an accidental result of model conversion.}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]]<br>[[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]]<br>Carrot crops of all stages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Carrots Age 0-1 JE4.png|32px]] [[File:Carrots Age 2-3 JE4.png|32px]] [[File:Carrots Age 4-6 JE4.png|32px]] [[File:Carrots Age 7 JE4.png|32px]] Carrot crops now have models again.<ref>{{bug|MC-50232}}</ref> In addition, they are now offset downwards by one pixel once more.<ref>{{bug|MC-50155}}</ref>}}
{{History|||snap=14w25a|[[File:Carrots Age 0-1 JE5.png|32px]] [[File:Carrots Age 2-3 JE5.png|32px]] [[File:Carrots Age 4-6 JE5.png|32px]] [[File:Carrots Age 7 JE5.png|32px]] Carrot crops are now darker and subject to directional shading.}}
{{History|||snap=14w27a|[[File:Carrots Age 0-1 JE6.png|32px]] [[File:Carrots Age 2-3 JE6.png|32px]] [[File:Carrots Age 4-6 JE6.png|32px]] [[File:Carrots Age 7 JE6.png|32px]] Carrot crops are no longer subject to directional shading.
|Added [[rabbit]]s, which can be [[breeding|bred]] and/or tamed using carrots. Rabbits also grief carrot crops.
|Carrots are now used to craft [[rabbit stew]].}}
{{History|||snap=14w34a|Rabbits can no longer be tamed.}}
{{History||1.9|snap=15w38a|The [[drops|drop]] chances have now been slightly improved from an average of {{frac|2|3|5}} per [[crops|crop]] harvested to {{frac|2|5|7}}.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 141, and the item's 391.}}
{{History|||snap=18w11a|Carrots can now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]] The textures of carrot crops have now been changed.}}
{{History|||snap=18w47a|Carrots can now generate in the [[chest]]s of [[pillager outpost]]s.}}
{{History|||snap=19w03a|Placement and breaking [[sound]]s have now been added to carrots.
|Placing a carrot into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Carrots now have a 65% chance of increasing the compost level in a composter by 1.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate carrot crops.}}
{{History||1.17|snap=21w13a|[[File:Carrots Age 0-1 JE8.png|32px]] [[File:Carrots Age 2-3 JE8.png|32px]] [[File:Carrots Age 4-6 JE8.png|32px]] [[File:Carrots Age 7 JE8.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes, changing the carrot crop's appearance in the process.<ref>{{bug|MC-199242}}</ref>}}
{{History||1.18|snap=Pre-release 5|[[File:Carrots Age 7 JE9.png|32px]] A stray dark pixel has been removed from the texture of fully-grown carrots.<ref>{{bug|MC-226711}}</ref>}}
{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.
|Carrots can be obtained by killing [[zombie]]s.}}
{{History|||snap=build 3|Carrots now have a chance to [[drops|drop]] when tilling [[grass block]]s.}}
{{History|||snap=build 4|Carrots are no longer dropped by tilling [[grass block]]s.}}
{{History||v0.9.0|snap=build 1|Carrot crops now naturally spawn in [[village]]s.
|Carrot now used to breed [[pig]]s.}}
{{History||v0.12.1|snap=build 1|Carrots now restore [[hunger]] instead of [[health]].
|Brown robed [[villager]]s can now harvest fully grown carrot crops.
|Carrots can now be used to craft [[golden carrot]]s.}}
{{History||v0.13.0|snap=build 1|Carrots can now be used to breed [[rabbit]]s.
|Carrots can now be used to craft [[rabbit stew]].}}
{{History||v0.15.0|snap=build 1|Carrots are now used to craft [[carrot on a stick]].}}
{{History||v0.16.2|Carrots can now be found in a [[chest]] inside the large house in [[snowy tundra]] and [[snowy taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].
|Carrots can now be picked up by villagers and become willing.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Carrots can now be found inside of [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Carrots can now be found inside [[shipwreck]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Carrots can be found in the new [[pillager outpost]]s.
|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Carrots can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has now been changed, farmer [[villager]]s now have a 25% chance to [[trading|buy]] 22 carrots for an [[emerald]].}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate carrot crops.}}
{{History||?|[[File:Carrots Age 0-1 BE.png|32px]] [[File:Carrots Age 2-3 BE.png|32px]] [[File:Carrots Age 4-6 BE.png|32px]] [[File:Carrots Age 7 BE.png|32px]] Carrot crop planes use a mapping that results in very unnatural mirroring when viewed from certain angles, such as northwest.<ref>{{bug|MCPE-146936}}</ref>}}
{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Carrots can now be used to fill up [[composter]]s.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History|foot}}
=== Carrots "item" ===
{{:Technical blocks/Carrots}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
AllSeeds.png|All the seeds that exist in the game (except [[nether wart]] and [[cocoa beans]]).
VillageGrowingCarrotsAndPotatoes.png|Carrots and [[potato]]es found growing naturally in a [[village]].
Carrots Growing.png|Carrots in multiple stages of growth.
Carrot Dungeon.jpg|A carrot that dropped from a zombie, just to the right of the [[spawner]].
Carrot SDGP.png|Carrot in the [[Super Duper Graphics Pack]].
</gallery>
== References ==
{{reflist}}
{{Items}}
{{blocks|vegetation}}
[[Category:Plants]]
[[Category:Food]]
[[Category:Renewable resources]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]
[[cs:Mrkev]]
[[de:Karotte]]
[[es:Zanahoria]]
[[fr:Carotte]]
[[hu:Sárgarépa]]
[[ja:ニンジン]]
[[ko:당근]]
[[lzh:胡蘿蔔]]
[[nl:Wortel]]
[[pl:Marchewka]]
[[pt:Cenoura]]
[[ru:Морковь]]
[[th:แคร์รอต]]
[[uk:Морква]]
[[zh:胡萝卜]]</li></ul> | 13w19a | Command Blocks are no longer mineable in survival, and are also not damaged by explosions, similar to bedrock. | |||
Issues
Issues relating to "Command Block" are maintained on the bug tracker. Report issues there.
Gallery
- JebAdventureModeControlBlockDev1.png
The first image released of the Command Block.[3]
