Minecraft Wiki
Advertisement

Template:BlockTileEntity

Duncan Geere Mojang avatar

If you mostly play survival mode, and you’re thinking “that sounds a lot like cheating”, then you’re right - which is why command blocks aren’t available in survival mode. They’re a feature that we built specifically for creative mode, and for adventure mode mapmakers. Jeb announced their existence in a tweet in July 2012, and they were added to the game in version 1.4.2 - the Pretty Scary Update, which also added spooky anvils, creepy flowerpots and terrifying carrots on sticks.

Duncan Geere[1]

A command block is a block that can execute commands. Because it cannot be obtained in Survival mode without cheats, it is primarily used on multiplayer servers and in custom maps.

Obtaining

Command blocks are not available in the Creative inventory. It can either be obtained by using the pick block control, or by using various commands, such as /give @s minecraft:command_block, or /setblock ~ ~ ~ minecraft:command_block.

Just like other blocks that can store NBT data, using pick block + CTRL will copy the command and options inside the command block. This allows it to be placed elsewhere without having to re-enter the the data inside.

Command blocks also cannot be broken in Survival mode without operator permissions, are not flammable, cannot be moved by pistons, and have the same blast resistance as bedrock.

Usage

See also: Commands and Tutorials/Command Block

A command block can execute commands when activated by redstone power. It always has all permissions, so it can be used to allow a specific use of a command by players who can't use that command in general (for example, allowing anyone to obtain a specific item with /give, without allowing everyone to /give themselves whatever they want).

A command block has an orientation ("facing") which determines which chain command block will be activated, and which blocks will be checked to see if a command block in "Conditional" mode executes.

Modification

Command Block GUI

Command block GUI.

To enter or modify the command in a command block, use the Use Item control on the command block to open the command block GUI (graphical user interface). The GUI will only open if the player is in Creative mode, and has the proper permissions. In singleplayer, cheats must be enabled to edit command blocks. In multiplayer, command blocks can only be edited successfully by operators in Creative mode, and for command blocks to work at all the following values must be set in the server.properties file:

  • enable-command-block must be set to true
  • op-permission-level must be set to 2 or above (default is 4)
Console Command
Commands can be entered in the top text pane. The text limit for commands in a command block is 32,500 characters, but the text pane can only show a small portion of this amount at a time. Press Tab ↹ to complete words or cycle through options.
Commands in a command block do not need to be prefixed with the forward slash (/) as they do in the chat window, but doing so will still work.
Below the console command text pane are some reminder tips about how to use target selectors.
Previous Output
The bottom text pane displays the output message (success or failure) of the last executed command (initially blank). Its text is not editable.
A button to the right of the Previous Output text pane specifies whether the last output should be stored and displayed. It shows O (the default) when the output should be stored and X when the output should not be stored. A command block that's tracking its output while executing its command will cause a block update, and when you have 64 of those command blocks tracking their output while executing their command sharing the same chunk, it will then cause 1 or more chunk updates because 64 block updates in 1 chunk will cause one or more chunk updates. If the amount of chunk updates is high enough, then it can cause fps drops for players if they're receiving the chunk updates. To avoid this, simply have all of your command blocks not track their output at all, except for temporary debugging purposes.
Impulse/Chain/Repeat
Click the "Impulse/Chain/Repeat" button to change the command block's type. The default state is "Impulse", but non-default command blocks can be placed. The command block also changes color when changing its command block type:
  • "Impulse" command blocks are orange. These execute once every time they are activated.
  • "Chain" command blocks are green. These execute only after the command block pointing to it is processed. This differs from the Conditional option in that it detects what is pointing to it, instead of simply behind it. The command blocks pointing to it also don't need to be chain command blocks themselves to trigger the chain.
  • "Repeat" command blocks are purple. These will execute their commands once per game tick as long as they are activated (20 times per second, barring lag).
Conditional/Unconditional
Command block textures

Top: Command blocks in "Unconditional" mode. Bottom: Command blocks in "Conditional" mode.

Click the "Conditional/Unconditional" button to change the command block's conditional behavior:
  • "Conditional": A command block in conditional mode will only execute its command after the command block behind it has executed successfully ("behind it" in the sense of opposite to the direction the command block is facing, regardless of chain direction or even if chaining is occurring).
  • "Unconditional" (default): A command block in unconditional mode will execute its command (if activated correctly) even if there's a command block behind it that didn't execute its command successfully.
Always Active/Needs Redstone
Click the "Always Active/Needs Redstone" button to change the command block's activation requirements:
  • "Needs Redstone" (the default for impulse and repeat command blocks): A command block in the "Needs Redstone" setting must be activated with redstone in order to execute its command.
  • "Always Active" (the default for chain command blocks): The command block is always active even without redstone activation (chain command blocks will execute their command when chained, repeating command blocks will execute their command every game tick (20 times every second), and impulse command blocks activate once then cannot be activated again).
Done
Click the "Done" button or ↵ Enter to save the command and leave the command block GUI.
Cancel
Click the "Cancel" button or Esc to leave the command block GUI without saving any changes.

Activation

Command blocks are redstone mechanisms and can be activated by:

  • An adjacent active power component: for example, a redstone torch (except that a redstone torch will not activate a command block it is attached to), a block of redstone, a daylight sensor, a button etc.
  • An adjacent powered block (for example, an opaque block with an active redstone torch under it)
  • A powered redstone comparator or redstone repeater facing the mechanism component
  • Powered redstone dust configured to point at the command block (or on top of it) or directionless; a command block is not activated by adjacent powered redstone dust which is configured to point away from it.

In addition, when a command block is cloned by a command to a powered location, the new command block will only execute its command if the original has never been activated (visible in the F3 debug screen as "triggered").

Unlike all other redstone components except the note block, a command block can be activated every game tick (20 times per second, barring lag). However, if it's set to Needs Redstone, then activating it two game ticks in a row requires that it transition from powered to unpowered and back during the same tick (for example, with a setblock clock).

A command block in "Always Active" mode is always activated. The default state is "Needs Redstone", which means that it runs only when powered.

When activated, a command block will try to execute its command. depending on the command block's type:

  • a command block ("Impulse") will try to execute its command once
  • a chain command block ("Chain") will not try to execute its command until another command block facing it executes its own command
  • a repeating command block ("Repeat") will try to execute its command every game tick until no longer activated

Chained execution

If any command block faces a chain command block (a command block in "Chain" mode) when activated, it will notify the chain command block to also attempt execution. The chain command block will only execute its command if activated and, if in "Conditional" mode, if the command block behind it executed successfully (behind in the sense of the direction it is facing, not in the sense of which command block chained to it). Whether or not the chain command block is activated or executes successfully, if it is facing another chain command block, it will notify it to attempt execution as well.

Chained command blocks execute in the same game tick in the order they are chained. Chained execution cannot be passed to a command block which has already executed in that game tick (loops execute only once).

Output

When activated, a command block can produce multiple types of output:

Redstone Comparator
A command block can power a redstone comparator facing away from it (possibly separated by a block) with a signal strength specific to the last executed command (for example, the number of players affected by the command).
The signal strength always reflects the last command executed, even after the command block is deactivated.
Message
The output message describes the success or failure of the executed command, and may be written to multiple destinations:
Previous Output: The output message is always written to the "Previous Output" text pane of the command block GUI.
Chat: The output message is written to the chat text in singleplayer mode, or broadcast to all other ops in multiplayer mode, unless it has been suppressed with /gamerule commandBlockOutput false. Some commands may write additional text to the chat as their normal function which won't be suppressed (for example, the /say command will write a message to the chat of all players), separate from the output message. Chat messages which would usually be prefaced by a player's name (such as from the /me, /say and /tell commands) use @ as the player name. If the command block had been named in an anvil before placement, that name will be used instead.
Logs: The output message is written to multiplayer server logs unless it has been suppressed with /gamerule logAdminCommands false.
Command Stats
Command blocks can post various success results to scoreboard objectives, including:
  • SuccessCount: the number of successes (previously also available by redstone comparator output, but not limited to 15)
  • AffectedBlocks: the number of blocks that were altered
  • AffectedEntities: the number of entities that were altered (including players)
  • AffectedItems: the number of items that were altered
  • QueryResult: value returned by command
The objectives to be used can be specified by running the /stats command or by modifying the command block's NBT data directly with the /blockdata command.

Notes

The following commands cannot be used in a command block: /ban, /banlist, /ban-ip, /debug, /deop, /kick, /op, /pardon, /pardon-ip, /publish, /save-all, /save-off, /save-on, /stop, and /whitelist (i.e., /debug, /publish, and all of the multiplayer-only commands except /list).

The following commands are usable but with limited functionality (their output only displays in the command block's Previous Output pane rather than being displayed in the chat): /help, /seed, /list, /scoreboard objectives, /scoreboard players, and /scoreboard teams list.

The following commands use the command block's name (defaults to @) in their output: /me, /say, and /tell.

Easter eggs

Running "Searge" as the command in the command block without a preceding "/" will now set the previous output to "#itzlipofutzli". Additionally, if /help is run via command block, it gives various messages prefixed with "Searge says: ".

Data values

ID

Command Block/ID

Block data

See also: Data values

In Bedrock Edition, a command block's block data specifies whether the command block is currently activated.

Bits Values
0x1
0x2
0x4

A 3-bit field storing the command block's facing:

  • 0: facing down
  • 1: facing up
  • 2: facing north
  • 3: facing south
  • 4: facing west
  • 5: facing east

6 and 7 are unused but produce command blocks facing down and up respectively.

0x8 Whether the block is in conditional mode.

Block states

See also: Block states

Java Edition:

Name Default value Allowed values Description
conditionalfalsefalse
true
True if the command block is in conditional mode.
facingnorthdown
east
north
south
up
west
The direction the command block is pointing.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
conditional_bit0x8falsefalse
true
0
1
True if the command block is in conditional mode.
facing_direction0x1
0x2
0x4
00
1
2
3
4
5
0
1
2
3
4
5
The direction the command block is pointing.
  • 0: facing down
  • 1: facing up
  • 2: facing north
  • 3: facing south
  • 4: facing west
  • 5: facing east

Block entity

A command block has a block entity associated with it that holds additional data about the block. The block's block entity ID is command_block.

  • Block entity data
    • Tags common to all block entities
    •  auto: 1 or 0 (true/false) - Allows to activate the command without the requirement of a redstone signal.
    •  Command: The command to issue to the server.
    •  conditionMet: 1 or 0 (true/false) - Indicates whether a conditional command block had its condition met when last activated. True if not a conditional command block.
    •  CustomName: Optional. The name JSON text component of this command block, replacing the usual '@' when using commands such as /say and /tell.
    •  LastExecution: stores the tick a chain command block was last executed in.
    •  LastOutput: The last line of output generated by the command block. Still stored even if the game rule commandBlockOutput is false. Appears in the GUI of the block when right-clicked, and includes a timestamp of when the output was produced.
    •  powered: 1 or 0 (true/false) - States whether or not the command block is powered by redstone or not.
    •  SuccessCount: Represents the strength of the analog signal output by redstone comparators attached to this command block.
    •  TrackOutput: 1 or 0 (true/false) - Determines whether the LastOutput is stored. Can be toggled in the GUI by clicking a button near the "Previous Output" textbox. Caption on the button indicates current state: "O" if true, "X" if false.
    •  UpdateLastExecution: 1 or 0 (true/false) - Defaults to true. If set to false, loops can be created where the same command block can run multiple times in one tick.

Video

Note: This video was made before 1.7. Since 1.7, you get a command block with '/give @p minecraft:command_block'. In addition, this video does not mention command block facing and chain and repeat command blocks.

Command Block/video

History

Java Edition
27 July 2012Jeb 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 2012During Notch's AMA he hinted the block may be in 1.4.
1.4.2
{{Extension DPL}}<ul><li>[[Item (entity)|Item (entity)]]<br/>{{Entity
| title = Item Entity
| image = Item.gif
| health = {{hp|5}}<ref>Items cannot be damaged by attacking them.</ref>
| size = Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}

'''Items''' are "dropped" [[block]]s or [[item]]s (non-block resources) that appear in the world, rather than being in the [[inventory]] of a [[player]] or [[block entity]]; they are a type of [[entity]].

== Appearance ==

[[File:Item entities.png|150px|thumb|3D dropped items, both blocks and strict items.]]

Items have two possible appearances, generally corresponding to whether the item appears as a 3D or 2D shape in a player's inventory screens. 3D items appear as their 3D shape, miniaturized to about {{frac|1|4}} scale, while 2D items appear as {{frac|1|2}} scale with all the pixels extruded into a cube. Both types slowly rotate and bob up and down; this is merely a visual effect, the item itself does not actually rotate or bob up and down.

Item entities that represent a stack of more than one item appear as several items stuck together. Stacks of 1 appear as one item, 2-16 as two items, 17–32 as three, 33-48 as four, and 49+ as five.

The rotation rate of the item is approximately 2.87675 degrees per tick, or 57.595 degrees per second.

== Behavior ==

Item entities come from many sources. Some common ones are:
* The death of a [[mob]] or [[player]].
* A [[block]] that is mined by a player, destroyed by an [[explosion]], or washed away by [[water]].
* An inventory item tossed by pressing the drop item key (default {{key|Q}} on PC, {{xbtn|dpad-down}} on Xbox, {{nsbtn|down}}/{{nsbtn|dpad-down}} on Nintendo Switch, {{psbtn|dpad-down}} on PlayStation) or dragging a stack outside of an inventory window.
** In the mobile versions of {{el|be}}, items in the hotbar can be dropped by pressing on the item's slot. The entire stack is dropped.
* A container (other than an {{BlockLink|ender chest}} or a {{BlockLink|shulker box}}) that is destroyed while holding items inside.

The player may be thought of as having an "item pickup" box that surrounds their hitbox. This pickup box extends 1 additional block to the horizontal sides, and 0.5 additional blocks up and down. Any item whose hitbox intersects with the pickup box can be picked up. The pickup box is inclusive on the horizontal sides (distance less than or equal to 1 will count), and exclusive on the vertical sides (distance less than 0.5 will count, but not equal). When the player's hitbox size changes, such as when crouching{{only|java}} or sleeping, the pickup box size changes with it.

Once an item entity's hitbox overlaps with the player's pickup box, it can transfer its items. As many items as can fit in the player inventory, excluding the armor slots and the [[dual wield|off-hand slot]], are transferred. If any item is transferred, [[Item (entity)#Sounds|a "plopping" sound]] is played. If all items are transferred, the items appear to move into the center of the player. The item entity never physically moves, however, which means it can appear to go through lava and blocks in its path. This can happen through blocks that are thinner than a full block, but also through the shared edge of two full blocks. Unlike [[experience orb]]s, multiple item entities can be picked up simultaneously. Dropped items have a delay of 10 [[tick]]s (half a second) between appearing and being able to be picked up, or 40 ticks (2 seconds) if thrown by a player, [[dolphin]], or [[fox]].

When two stackable items of the same type come within 3/4 of a block of each other, they merge into a single stack if the resulting stack size does not exceed that item's maximum stack size.

Items do not collide with other entities(except boats) and are only moved or stopped by blocks.

Like other entities, items can be pushed by flowing water and [[bubble column]]s, pushed by a [[piston]], launched by a moving [[slime block]], stuck to a [[honey block]], or caught in a [[cobweb]]. Items move at faster speeds if [[ice]] is placed under the flowing water. When in still water, items float slowly up to the surface.

Items can be reared by [[fishing rod]]s, costing 3 [[durability]].{{only|je}}

If an item is within a [[solid block]], then it flies out one of the unobstructed sides, or out of the top of the block if surrounded by solid blocks on all sides. It does this even if the space below is unoccupied; therefore, it is possible to recover an item dropped by breaking a hole in a floor by quickly placing another block there.

Items visually disappear when the player is about 16 blocks away from them, and reappear when they get closer. This distance can be adjusted by the "Entity Distance" slider in [[Options#Video Settings|video settings]].

Unlike most entities, items cannot be spectated in [[Spectator]] mode without use of the {{cmd|spectate}} command.

=== Damage ===
Items cannot be attacked by players or mobs; attempting to do so simply hits through them. However, they take damage and disappear from environmental or block-based damage such as [[explosion]]s, [[fire]], [[lava]], and contact with [[cactus|cacti]]. Items have essentially no health, so they are destroyed by the slightest damage, though if set on fire they may remain for a few seconds before disappearing. [[Nether star]]s are immune to explosions, and [[netherite]]-based items and tools are immune to fire and float on top of lava. Also, some blocks that normally damage mobs, such as [[magma block]]s, [[campfire]]s, [[Sweet Berries|sweet berry bushes]], [[flower|wither rose]]s and [[powder snow]], do not damage items.

=== Despawning ===

Items despawn after 6000 game [[tick]]s (5 minutes) of being in a loaded, entity-ticking [[chunk]]; this is affected by the player's [[simulation distance]]. If two item stacks merge, the timer is set to the item that has more time remaining. The 5-minute timer is paused when the chunk is unloaded or no longer processing entities. Nether stars do not despawn{{only|bedrock}}.

Items that fall into the [[void]] immediately despawn when they fall below Y=-128 in the [[Overworld]], or Y=-64 in [[the Nether]] and [[the End]].

== Sounds ==
{{Edition|Java}}:<br>
Item Entities use the Ambient/Environment sound category for entity-dependent sound events.
{{Sound table
|nocat=1
|sound=Pop.ogg
|subtitle=Item plops
|source=player<!--Even when not picked up by player-->
|description=When an item is picked up
|id=entity.item.pickup
|translationkey=subtitles.entity.item.pickup
|volume=0.2
|pitch=1.6-3.4 <ref group=sound>0.6-3.4 for using {{cmd|give}} and items from advancement rewards</ref>
|distance=16}}
{{Sound table
|sound=fizz.ogg
|nocat=1
|subtitle=Burning
|source=ambient
|description=When an item is destroyed by [[lava]], but not [[fire]]<ref>{{bug|MC-36538}}</ref>
|id=entity.generic.burn
|translationkey=subtitles.entity.generic.burn
|volume=0.4
|pitch=2.0-2.4
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Pop.ogg
|source=player
|description=When an item is picked up
|id=random.pop
|volume=0.25
|pitch=0.6-2.2}}
{{Sound table
|source=player
|description=When an item is dropped
|id=random.pop
|volume=0.3
|pitch=0.55-0.75}}
{{Sound table
|sound=fizz.ogg
|source=block
|description=When an item is destroyed by lava, but not fire
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4
|foot=1}}

== Data values ==

=== ID ===

{{editions|java}}:
{{ID table
|generatetranslationkeys=java
|displayname=Item
|spritename=items
|spritetype=env
|translationtype=entity
|nameid=item
|foot=1}}

{{editions|bedrock}}:
{{ID table
|shownumericids=y
|generatetranslationkeys=bedrock
|displayname=Item
|spritename=items
|spritetype=env
|translationtype=entity
|nameid=item
|id=64
|foot=1}}

=== Entity data ===
{{see also|Chunk format}}
Dropped items have entity data associated with them that contain various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

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

== History ==
{{History|java classic}}
{{History||0.24 Resource Test|In the first public mention of item entities, {{ytl|OP3jzMWJmu8|this early video of Minecraft (Classic 0.24) by Notch}}, they were referred to as "resources".<ref name="resources">{{ytl|YIm_AKUbqh8}} Early video of Minecraft (Classic 0.24) by Notch referring to item entities as "resources"</ref>}}
{{History||August 4, 2009|link=https://notch.tumblr.com/post/155882307/a-video-showing-what-i-did-today-are-vids-like|Items were showcased by [[Notch]] in a blog post.}}
{{History||0.24_SURVIVAL_TEST|Added items to the game.
|Items currently take the form of destroyed [[block]]s.
|Items currently pulse white (similar to the selection cursor).<ref name="resources"/>
|Instead of appearing as shrunken down blocks, items use pixels the same size as block pixels.}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|Dropped items don't spin and don't glow white anymore.
|Dropped items now appear as shrunken down blocks.
|Items no longer prevent the placement of blocks but instead are moved to the nearest chunk. {{info needed}}
|Non-block items added (as sprites); they now rotate to face the [[player]].}}
{{History||?|Dropped items now spin again.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Oversized items.png|100px|right]][[File:In awe at the size of these fluids.png|100px|right]] A bug causing many item forms of blocks to be displayed at the {{frac|1|2}} scale rather than {{frac|1|4}} was fixed. The following items were affected by this at least at one point:
* [[Cactus]]
* [[Oak Trapdoor]]
* [[Oak Fence]]
* [[Oak Pressure Plate]]
* [[Stone Pressure Plate]]
* [[Stone Button]]
* [[Oak Stairs]]
* [[Cobblestone Stairs]]
* [[Snow]] (unobtainable at the time)
* [[Farmland]] (unobtainable)
* [[Cake]] ([[Technical blocks/Cake|unobtainable version]])
* [[Nether Portal (block)|Nether Portal]] ([[Technical blocks/Nether Portal|unobtainable]])
* [[Water]] ([[Technical blocks/Water|unobtainable]], before becoming 2D in [[Java Edition Infdev 20100615]])
* [[Lava]] ([[Technical blocks/Lava|unobtainable]], before becoming 2D in [[Java Edition Infdev 20100615]])
}}
{{History|java}}
{{History||1.3.1|snap=12w15a|Items that are moved into the same location now combine into stacks instead of remaining independent entities.}}
{{History||1.4.2|snap=12w34a|Items, like other entities, can now travel through [[portal]]s.}}
{{History|||snap=12w34b|Some [[zombie]]s, [[skeleton]]s and [[Zombified Piglin|zombie pigmen]] can now pick up items.}}
{{History||1.4.4|snap=1.4.3|Items are now pushed out of transparent solid blocks as well as opaque ones.<ref>{{bug|MC-15}}</ref> Items can push into solid blocks while trying to escape a solid block instead of stopping (this has been used to create vertical transport of items). New feature: items are pushed out of the inside corner of stair blocks, causing "bouncing" effects.}}
{{History||December 11, 2012|link=none|[[Dinnerbone]] tweeted a picture of [[diamond]]s being rendered in 3D as dropped items.<ref>{{tweet|dinner|278457679805030401|Diamonds are a miners best friend. It's only fair they get treated to some luxury rendering. http://dinnerbone.com/media/uploads/2012-12/screenshots/Minecraft_2012-12-11_12-13-11.png … #AndMaybeEverythingElseToo|December 11, 2012}}</ref> He also revealed that other items would rendered in this way, but only in [[fancy graphics]].<ref>{{tweet|dinner|278463997982949378|@PaymenowTV It's Fancy Rendering option, but really won't make much of a difference on even a slow pc.|December 11, 2012}}</ref>}}
{{History||December 12, 2012|link=none|TeamMojang ([[wikipedia:Youtube|YouTube]]) posted a video showing off the new 3D items.<ref>{{ytl|tMOZLAxPWFE}}</ref>}}
{{History||1.4.6|snap=12w49a|[[Nether star]]s are the first items to not be deleted by [[explosion]]s.}}
{{History|||snap=12w50a|When dropped, items now render in the [[fancy graphics]] setting as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).
|Dropped items now merge with nearby items and be stacked.
|Enchanted items now show the enchanted glow when dropped.}}
{{History||1.5|snap=13w01a|Added [[hopper]]s, which can collect items.}}
{{History|||snap=13w03a|Added [[Minecart with Hopper|hopper minecart]]s, which can collect items.}}
{{History||1.8|snap=14w04a|Dropped items don't spin, and they are visible only from the south on fast graphics.}}
{{History|||snap=14w04b|Dropped items are now completely invisible on fast graphics.}}
{{History|||snap=14w05a|Dropped items on fast graphics now face the player on all three axes, and they spin again on fancy graphics.}}
{{History|||snap=14w25a|Dropped items now render in 3D on fast graphics, instead of just on fancy graphics, likely due to item models being fully implemented and replacing the need for 2D items. However, they do not spin.}}
{{History||1.8.1|snap=pre4|Dropped items now spin on fast graphics.}}
{{History||1.10|snap=16w21a|Items can now be reared by [[fishing rod]]s.}}
{{History||1.11|snap=16w32a|The entity ID of items has been changed from <code>Item</code> to <code>item</code>.}}
{{History||1.13|snap=18w07a|Items in water now float up.}}
{{History||1.16|snap=20w06a|Netherite items are the first items to not burn in [[lava]], and float in lava.}}
{{History||1.20|snap=Pre-release 5|Item are no longer destroyed by falling [[anvil]]s.<ref>{{bug|MC-120158
||Anvils and other falling_blocks with HurtEntities set to true kill items and xp orbs|Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.2.0|Added items to the game.}}
{{History||?|Items now have improved graphics.{{more info|clarify}}}}
{{History|Bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Items in [[water]] now float up.}}
{{History||1.16.0|snap=beta 1.15.0.51|When dropped, items now render as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).}}
{{History|||snap=beta 1.16.0.51|Added [[netherite]] items, which float and do not burn in [[lava]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|Added items to the game.}}
{{History||xbox=TU12|When dropped, items now render as 3D spinning animations (non-block items no longer display as [[Wikipedia:Sprite (computer graphics)|sprites]]).}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Items in [[water]] now float up.}}
{{History|foot}}

== Trivia ==
* {{bug|MC-4}}, the oldest standing bug in the Minecraft [[bug tracker]], involves item entity positioning being incorrectly handled.

==Gallery==
<gallery>
3D Diamonds.png|First image of 3D dropped items.
</gallery>

== See also ==
* [[Drops]] — items dropped by [[mobs]] when killed.
* [[Chunk format#Items|Chunk format]] for more information about the attributes of items.

== References ==

{{Reflist}}

{{entities}}
{{items}}

[[Category:Items| ]]

[[de:Drop]]
[[es:Objeto (entidad)]]
[[fr:Objet (entité)]]
[[ja:アイテム (エンティティ)]]
[[ko:아이템 (개체)]]
[[nl:Voorwerp (entiteit)]]
[[pt:Drops]]
[[ru:Предмет (сущность)]]
[[zh:物品(实体)]]</li><li>[[Pufferfish (item)|Pufferfish (item)]]<br/>{{DISPLAYTITLE:Pufferfish}}
{{about|the food item|the mob|Pufferfish}}
{{Item
| title = Pufferfish
| image = File:Pufferfish_(item)_JE5_BE2.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
|effects=: {{EffectLink|link=Hunger (effect)|Hunger}} III (0:15)
: {{EffectLink|Poison}} II (1:00)
: {{EffectLink|Nausea}} I (0:15){{only|JE}}
: {{EffectLink|Nausea}} II (0:15){{only|BE}}
}}
A '''pufferfish''' is a poisonous [[food]] item that is used to brew [[Potion of Water Breathing|Water Breathing potions]].

== Obtaining ==
=== Fishing ===
Pufferfish can be obtained through [[fishing]]. The pufferfish catch rate can be increased by [[Lure]], which reduces wait time generally.
<!--1-6 exp-->

{{IN|bedrock}}, pufferfish can be caught only when fishing outside [[jungle]] biomes and its variants (i.e. everywhere ''except'' in jungles).

=== Mob loot ===
==== Guardians and elder guardians ====
[[Guardian]]s and [[elder guardian]]s have a 2.5% chance of dropping a random fish upon death. This has a 13% chance of being pufferfish (0.325% chance of dropping a pufferfish). The chance of getting a fish can be increased by 1% per level of [[Looting]], but the type of fish is not affected.

==== Pufferfish ====
[[Pufferfish]] always drop 1 pufferfish in its item form when killed. This drop is not affected by the Looting enchantment.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref>

== Usage ==
=== Food ===
Pufferfish restores {{hunger|1}} hunger and 0.2 [[Hunger#Mechanics|saturation]], but inflicts [[Hunger_(effect)|Hunger]] III for 15 seconds, [[Poison]] II for 1 minute, and [[Nausea]] I<sup>[''[[Java Edition|JE]] only'']</sup> or II<sup>[''[[Bedrock Edition|BE]] only'']</sup> for 15 seconds. Unlike [[rotten flesh]], it is not helpful to eat pufferfish while starving because they inflict more hunger than they earn.

===Brewing ingredient===
{{brewing
|Pufferfish
|Potion of Water Breathing
|head=1
}}
{{brewing
|Pufferfish
|Mundane Potion
|ingredients=Pufferfish + [[Water Bottle]]
|foot=1
}}

=== Trading ===
Master-level fisherman [[villager]]s buy 1~4{{only|bedrock|short=1}} or four{{only|java|short=1}} pufferfish for an [[emerald]].

=== Wolves ===
{{IN|Bedrock}}, pufferfish can be used to feed a [[wolf]], healing it by {{hp|1|mob=1}}, but only when the wolf is not at full health. Unlike other wolf food, pufferfish cannot be used to speed up the growth of baby wolves, and cannot be used to breed them.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pufferfish
|spritetype=item
|nameid=pufferfish
|itemtags=fishes
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pufferfish
|spritetype=item
|nameid=pufferfish
|id=267
|form=item
|foot=1}}

== Advancements ==
{{load advancements|A Furious Cocktail;How did we get here;Husbandry;A Balanced Diet;Fishy Business}}

== History ==
{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Pufferfish (item) JE1.png|32px]] Added pufferfish.
|Added potions of [[Water Breathing]], which can be [[brewing|brewed]] by adding a pufferfish to an [[Awkward Potion]].}}
{{History|||snap=13w43a|[[File:Pufferfish (item) JE2 BE1.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.8|snap=14w25a|Pufferfish is now obtainable as a rare drop from [[guardian]]s and [[elder guardian]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 349.}}
{{History|||snap=18w08b|[[Pufferfish]] (and other [[fish]] types) has been added as a [[mob]], which [[drops|drop]] its item form when killed.
|[[File:Pufferfish (item) JE3 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.14|snap=18w43a|[[File:Pufferfish (item) JE4 BE1.png|32px]] The texture of pufferfish has accidentally been reverted.}}
{{History|||snap=18w43b|[[File:Pufferfish (item) JE5 BE2.png|32px]] The correct texture of pufferfish has been restored.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] pufferfish.}}
{{History||1.16.2|snap=Pre-release 2|The level of [[Nausea]] given by pufferfish has been reduced from II to I.<ref>{{bug|MC-196473}}</ref>}}
{{History||1.17|snap=20w46a|The level of [[Poison]] given by pufferfish has been reduced from IV to II.<ref>{{bug|MC-197276}}</ref>}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Pufferfish (item) JE2 BE1.png|32px]] Added pufferfish.}}
{{History||v0.12.1|snap=build 1|Pufferfish now restore [[hunger]] instead of [[health]].
|Pufferfish can now be used to make [[potion]] of Water Breathing.}}
{{History||v0.16.0|snap=build 1|Pufferfish is now dropped by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[Pufferfish]] has been added as a [[mob]], which [[drops|drop]] its [[item]] form when killed.
|[[File:Pufferfish (item) JE5 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.8.0|snap=beta 1.8.0.8|Pufferfish can now be used to feed [[ocelot]]s to gain their trust.}}
{{History||1.11.0|snap=beta 1.11.0.4|Pufferfish can now be [[trading|sold]] to fisherman [[villager]]s.}}
{{History||1.19.10|snap=beta 1.19.10.23|The strength of the [[poison]] effect has been decreased from IV to II.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Pufferfish (item) JE2 BE1.png|32px]] Added pufferfish.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[Pufferfish]] (and other [[fish]] types) has been added as a [[mob]], which [[drops|drop]] its [[item]] form when killed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Pufferfish (item) JE5 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

* The consumption of pufferfish inflicting the player with Nausea and Poison is based on reality. Real pufferfish contain the dangerous [[Wikipedia:Tetrodotoxin|tetrodotoxin]] within their organs, especially in the liver. Tetrodotoxin leads to quick death through respiratory paralysis. Muscle tissue and blood contain trace amounts. In East Asia, pufferfish are considered a delicacy known as [[Wikipedia:Fugu|fugu]], as small parts of the fish are actually edible. Any chef preparing fugu must have special licensing/certification to prepare this dish.

== Gallery ==

<gallery>
File:Eat Pufferfish.png|The result of eating pufferfish.
</gallery>

== See also ==
* [[Fishing]]

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--pufferfish Taking Inventory: Pufferfish] – Minecraft.net on October 14, 2020

{{items}}

[[cs:Čtverzubec]]
[[de:Kugelfisch (Nahrung)]]
[[es:Pez globo (objeto)]]
[[fr:Poisson (nourriture)]]
[[it:Pesce palla (oggetto)]]
[[ja:フグ (アイテム)]]
[[ko:복어 (아이템)]]
[[nl:Kogelvis]]
[[pl:Rozdymka]]
[[pt:Baiacu (item)]]
[[ru:Иглобрюх (предмет)]]
[[th:ปลาปักเป้า (ไอเทม)]]
[[tr:Kirpi balığı]]
[[zh:河豚(物品)]]
[[Category:Food]]
[[Category:Brewing recipe]]
[[Category:Renewable resources]]</li></ul>
12w32aFile:Impulse Command Block Revision 1.png Added command block.
1.5
{{Extension DPL}}<ul><li>[[Raw Rabbit|Raw Rabbit]]<br/>{{for|the cooked version|Cooked Rabbit}}
{{Item
| title = Raw Rabbit
| image = Raw Rabbit.png
| heals = {{hunger|3}}
| renewable = Yes
| stackable = Yes (64)
}}

'''Raw rabbit''' is a food item that can be eaten by the [[player]], or cooked in a [[furnace]] or a [[campfire]] to make [[cooked rabbit]].

== Obtaining ==

=== Mob loot ===

{{IN|Bedrock}}, adult [[rabbit]]s drop 0-1 raw rabbit when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 0-4 with [[Looting]] III. If killed while on [[fire]], they drop [[cooked rabbit]] instead.

{{IN|Java}}, adult [[rabbit]]s drop 1 raw rabbit when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-4 with [[Looting]] III. If killed while on [[fire]], they drop [[cooked rabbit]] instead.

== Usage ==

To eat raw rabbit, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|3}} [[hunger]] and 1.8 [[Hunger#Mechanics|saturation]].

=== Smelting ingredient ===

{{Smelting
  |showname=1
  |Raw Rabbit
  |Cooked Rabbit
|0.35
}}

=== Wolves ===

Raw rabbit can be used to [[breed]] and heal tamed [[wolves]], lead them around, and make baby tamed [[Wolf|wolves]] grow up faster by 10% of the remaining time.

=== Trading ===

Novice-level Butcher [[villager|villagers]] have a {{frac|1|3}} chance to buy 4 raw rabbit for an [[emerald]] as their trades.{{only|bedrock}}

Novice-level Butcher villagers have 40% chance of offering to buy 4 raw rabbit for an emerald.{{only|java}}

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Raw Rabbit
|spritetype=item
|nameid=rabbit
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Rabbit
|spritetype=item
|nameid=rabbit
|id=288
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Rabbit Season}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}

== History ==

{{History|java}}
{{History||1.8|snap=June 30, 2014|slink=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweeted images of raw rabbits and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Raw Rabbit JE1.png|32px]] Added raw rabbit.}}
{{History|||snap=14w33b|[[File:Raw Rabbit JE2 BE1.png|32px]] The texture of raw rabbit has been changed. The new texture was created by [[wikipedia:Reddit|Reddit]] user [http://www.reddit.com/u/zeldahuman zeldahuman].<ref>{{reddit|2bjzes/a_reminder_of_the_blocks_and_items_added_in_18_so|cj69zie|context=3}}</ref><ref>{{reddit|2c5f35/minecraft_snapshot_14w31a_has_been_released|cjct7gb}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 411.}}
{{History||1.14|snap=18w43a|[[File:Raw Rabbit JE3 BE2.png|32px]] The texture of raw rabbit has been changed.}}
{{History|||snap=19w11a|Butcher [[villager]]s now [[trading|buy]] raw rabbit.}}
{{History||1.19.3|snap=22w42a|Rabbits now always drop at least 1 raw rabbit when killed.<ref>{{bug|MC-96449|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.13.0|snap=build 1|[[File:Raw Rabbit JE2 BE1.png|32px]] Added raw rabbit.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Rabbit JE3 BE2.png|32px]] The texture of raw rabbit has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Raw rabbit can now be [[trading|sold]] to butcher [[villager]]s.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Raw Rabbit JE2 BE1.png|32px]] Added raw rabbit.}}
{{History|PS4}}
{{History||1.90|[[File:Raw Rabbit JE3 BE2.png|32px]] The texture of raw rabbit has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Raw Rabbit JE2 BE1.png|32px]] Added raw rabbit.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Rabbit Items 2 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
</gallery>

== References ==

{{reflist}}


{{items}}


[[de:Rohes Kaninchen]]
[[es:Conejo crudo]]
[[it:Coniglio crudo]]
[[fr:Lapin cru]]
[[ja:生の兎肉]]
[[ko:익히지 않은 토끼고기]]
[[nl:Rauw konijnenvlees]]
[[pl:Surowy królik]]
[[pt:Coelho cru]]
[[ru:Сырая крольчатина]]
[[zh:生兔肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Coal|Coal]]<br/>{{About|the fuel item that can be mined|the ore|Coal Ore|the block|Block of Coal|the smelted wood|Charcoal}}
{{Item
| image = Coal.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
'''Coal''' is a mineral [[item]] mainly obtained from [[Coal Ore|coal ore]]. It is primarily used for crafting [[torches]] and [[Campfire|campfires]], as well as [[fuel]].

== Obtaining ==

=== Chest loot ===
{{see also|Coal Ore#Natural generation}}
{{LootChestItem|coal}}

=== Mining ===

[[Coal ore]] are mined using a [[pickaxe]] and drops 1 piece of coal. If the pickaxe is enchanted with [[Fortune]], it may drop an extra piece per level of Fortune, up to a maximum of 4 with Fortune III.

=== Mob loot ===

[[Wither skeleton]]s have a {{Frac|1|3}} chance of dropping a single coal upon death. The maximum amount of coal is increased by 1 per level of [[Looting]]. The chance of a wither skeleton ''not'' dropping any coal can be found using the formula <code>2 / (Looting Level + 3)</code>. For example, Looting III gives a {{frac|1|3}} chance of not dropping any coal. All other amounts have an equal chance of occurring.

=== Crafting ===

{{Crafting
 |showname=1
 |Block of Coal
 |Output=Coal,9
 |type=Material
}}

=== Smelting ===

{{Smelting
 |head=1
 |Coal Ore

 |Coal
 |0,1
|foot=1
}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage|Coal}}

=== Fuel ===

When used in a [[furnace]] as a fuel, a piece of coal lasts 80 seconds (smelting up to 8 items), like [[charcoal]]. Coal used as fuel lasts more than 5 times longer than [[wood planks]] or [[wood]] logs used as fuel, being more efficient than any other use of wood for smelting {{in|je}}, but outstripped by [[wooden slabs]] {{in|be}}. 

Coal and charcoal are also the only fuels accepted by [[Minecart with Furnace|furnace minecart]]s. They provide approximately four minutes of transit each.

=== Trading ===

Novice-level fisherman [[villager]]s have a 50% chance to buy 10 coal for one [[emerald]].

{{IN|java}}, novice-level armorer and toolsmith villagers have a 40% chance of offering to buy 15 coal for one emerald. Novice-level weaponsmith villagers and apprentice-level butcher villagers have {{frac|2|3}} chance of offering to buy 15 coal for one emerald.

{{IN|bedrock}}, novice-level armorer, toolsmith, and weaponsmith villagers and apprentice-level butcher villagers buy 15 coal for one emerald.

[[trading|Trade]]s that involve coal cannot be substituted by [[charcoal]].

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Coal
|spritetype=item
|nameid=coal
|itemtags=coals
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Coal
|spritetype=item
|nameid=coal
|aliasid=coal / 0
|id=302
|itemtags=minecraft:coals
|form=item
|foot=1}}

== History ==

{{History|java classic}}
{{History||May 21, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/110762705/my-list-on-tile-types-so-far|[[Notch]] shows interest in adding coal, commenting that it might be combined with [[iron ore]] to make steel.}}
{{History|java indev}} 
{{History||0.31|snap=20100128|[[File:Coal JE1.png|32px]] Added coal. 
|Mining [[coal ore]] blocks [[drops]] 2-5 pieces of coal.}}
{{History||0.31|snap=20100129|Coal can be used to craft [[torch]]es.}}
{{History||?|Mining [[coal ore]] now drops 1 piece of coal (down from 2-5).}}
{{History||20100219|[[File:Coal JE2 BE1.png|32px]] The texture of coal has been changed. It is now more centered.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Coal can now be found in the new [[mineshaft]] [[chest]]s and [[stronghold]] storeroom chests.}}
{{History|java}}
{{History||1.0.0|snap=?|Coal can be now obtained by [[smelting]] [[coal ore]].}}
{{History||1.2.1|snap=12w04a|Coal can now be used to craft [[fire charge]]s.}}
{{History||1.3.1|snap=12w21a|Blacksmith and butcher [[villager]]s now [[trading|buy]] 16–23 of either coal or charcoal for 1 [[emerald]].}}
{{History|||snap=1.3|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.}}
{{History||1.4.2|snap=12w36a|Coal is now dropped by [[wither skeleton]]s, making it [[renewable resource|renewable]].}}
{{History||1.6.1|snap=13w18a|Coal can now be used to craft [[block of coal|coal block]]s.}}
{{History||1.8|snap=14w02a|Fisherman, armorer, tool smith, weapon smith and butcher [[villager]]s now [[trading|buy]] 16–24 coal for 1 [[emerald]].}}
{{History||1.9|snap=15w43a|Coal may now be found in [[igloo]] basement [[chest]]s.}}
{{History|||snap=15w44a|The average yield of coal from [[mineshaft]] chests has been decreased, and added to [[dungeon]] chests.}}
{{History||1.11|snap=16w39a|Coal can now be found in the new [[woodland mansion]] [[chest]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>coal</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 263.}}
{{History|||snap=18w09a|Coal can now be found in the loot [[chest]]s of [[underwater ruins]].}}
{{History|||snap=18w11a|Coal now generates in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}
{{History|||snap=18w48a|Coal can now be found in [[chest]]s in [[village]] fishing cottages.}}
{{History|||snap=18w49a|Coal can now be found in [[chest]]s in [[village]] butcher shops and [[snowy tundra|snowy]] village houses.}}
{{History|||snap=18w50a|Coal can now be found in [[chest]]s in [[village]] toolsmith houses.}}
{{History|||snap=19w02a|Coal can now be used to craft [[campfire]]s. Destroying a campfire returns 2 charcoal.}}
{{History||1.16|snap=20w06a|Coal can now be used to craft [[torch|soul torches]].}}
{{History||1.19|snap=22w13a|Coal may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.20|snap=23w12a|Coal can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Coal no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; coal now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Coal JE2 BE1.png|32px]] Added coal.
|Coal can be used to craft [[torch]]es.}}
{{History||v0.8.0|snap=build 1|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.
|Coal can now be crafted to make a [[block of coal]].}}
{{History||v0.12.1|snap=build 1|Coal is now [[drops|dropped]] by [[wither skeleton]]s.}}
{{History||v0.14.0|snap=build 1|Coal can now be found inside [[minecart with chest|chest minecarts]] in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Coal is now used to craft [[fire charge]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Coal can now be found in the [[stronghold]] storeroom [[chest]]s.
|Coal may now be found in [[igloo]] basement chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Fisherman, armorer, toolsmith, weaponsmith and butcher [[villager]]s now [[trading|buy]] 16–24 coal for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Coal is now found in [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Coal can now be found inside [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Coal can now be found inside [[underwater ruins]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Coal can now be used to craft [[campfire]]s. Destroying a campfire returns 2 charcoal.
|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Coal can now be found in [[snowy tundra]] [[village]] house [[chest]]s and in village butcher and toolsmith chests.}}
{{History|||snap=beta 1.11.0.4|Armorer, weaponsmith, toolsmith, and butcher [[villager]]s now [[trading|buy]] 15 coal for an [[emerald]].
|Fishermen villagers now have a 50% chance to buy 10 coal for an emerald as part of their first tier [[trading|trade]].}}
{{History||1.16.0|snap=beta 1.16.0.51|Coal can now used to craft [[soul torch]]es.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Coal JE2 BE1.png|32px]] Added coal.}}
{{History||?|[[File:Coal JE3 BE2.png|32px]] The texture of coal has been changed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Coal JE4 BE3.png|32px]] The texture of coal has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Coal JE3 BE2.png|32px]] Added coal.}}
{{History|foot}}

== Issues ==
{{issue list|Coal}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Uhlí]]
[[de:Kohle]]
[[es:Carbón]]
[[fr:Charbon]]
[[hu:Szén]]
[[it:Carbone]]
[[ja:石炭]]
[[ko:석탄]]
[[nl:Steenkool]]
[[pl:Węgiel]]
[[pt:Carvão]]
[[ru:Уголь]]
[[th:ถ่าน]]
[[tr:Kömür]]
[[uk:Вугілля]]
[[zh:煤炭]]</li></ul>
13w03aCommand block success can now power a redstone comparator.
13w04aCommand blocks renamed with an anvil now use their name instead of @ in the chat.
1.6.1
{{Extension DPL}}<ul><li>[[Ankle Monitor|Ankle Monitor]]<br/>{{Joke feature}}
{{Item
| title = Ankle Monitor
| image = Ankle Monitor.png
| renewable = No
| stackable = Yes (64)
}}

The '''Ankle monitor''' was a joke foot item.

== Usage ==
Ankle monitors were equipped in the boots slot. In survival mode, when equipped, it could not be taken off. However, players in Creative mode are unaffected.

When equipped, the player would be afflicted with {{EffectLink|Slowness}} I.

During the night, being a certain number of blocks from the world spawn, above a certain minimum,{{checkthecode|how much?}} would prompt the following message in chat: "CURFEW WARNING! You are violating your house arrest! Get back by [distance] meters!"

If in [[the Nether]] or [[the End]], a different set of messages would be cycled through which can be seen in the section below.

=== Nether and End messages ===
* CURFEW WARNING! You are violating your house arrest! Uuuh... where are you anyway?
* CURFEW WARNING! Hello, are you there?
* CURFEW WARNING! I'm sure you have important things to do, but you need to go back!
* CURFEW WARNING! We're lonely back home!
* CURFEW WARNING! By "we" I mean I. I'm lonely.
* CURFEW WARNING! Ok enough games... GET BACK RIGHT NOW!
* CURFEW WARNING! LAST WARNING!
* CURFEW WARNING! LASTEST WARNING (really now)
* CURFEW WARNING! ...
* CURFEW WARNING! So... Where are you?
* CURFEW WARNING! Having a good day?
* CURFEW WARNING! Did you see that monster over there?
* CURFEW WARNING! Give it a whack, if you would be so kind.
* CURFEW WARNING! Teheee...
* CURFEW WARNING! Ok, enough of this!
* CURFEW WARNING! Last straw!
* CURFEW WARNING! Now you die.
* CURFEW WARNING! Boom!
* CURFEW WARNING! Hehe, fun right?
* CURFEW WARNING! Ok, you will not hear anything more from me now!
* CURFEW WARNING! You'll be as lonely as I am.
* CURFEW WARNING! How does that feel?
* CURFEW WARNING! Stop. Please. Stupid.
* CURFEW WARNING! I know, I'll wipe my memory. That way, I can start over!
* CURFEW WARNING! *bzzzzttt*

== Sounds ==
{{Sound table
|sound=Robot1arm1.ogg
|sound2=Robot1arm2.ogg
|sound3=Robot1arm3.ogg
|sound4=Robot1arm4.ogg
|source=dependent
|subtitle=''None''
|description=When a notification is displayed
|id=item.ankle_monitor.warning
|translationkey=''None''
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|shownumericids=y
|showforms=y
|generatetranslationkeys=java
|displayname=Ankle Monitor
|spritetype=item
|nameid=ankle_monitor
|id=501
|form=item
|translationkey=item.ankleMonitor.name
|foot=1}}

== History ==
{{History|java}}
{{History||1.RV-Pre1|[[File:Ankle_Monitor_(item).png|32px]] [[File:Ankle Monitor.png|32px]] Added ankle monitors.}}
{{History||1.11|snap=16w39a|The inability to remove ankle monitors was somewhat implemented into the canonical game through the addition of [[Curse of Binding]].<ref>{{ytl|Vm6oplvyyh0|t=3m31s}}</ref>}}
{{History|foot}}

== Issues ==
Ankle monitors are an unsupported [[item]] due to being an [[Wikipedia:April Fools' Day|April Fools']] joke, and therefore such issues relating to them will not be fixed.

== Gallery ==

<gallery>
TechGear.png|A [[player]] wearing the gear featured in this [[wikipedia:April Fools' Day|April Fools']] joke version.
</gallery>

==References==
{{Reflist}}

{{Items}}
{{Jokes}}

[[Category:Non-renewable resources]]
[[Category:Joke items]]

[[es:Ankle monitor]]</li><li>[[Trident|Trident]]<br/>{{For|the Hidden Depths DLC weapon in ''Minecraft Dungeons''|MCD:Trident}} 
{{ItemEntity
|durability= 250
|renewable= Yes
|stackable= No
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|title=Trident|image= <gallery>
Trident (item).png | Item
Trident.png | Entity
</gallery>}}

A '''trident''' is a [[weapon]] used in both melee and ranged combat and is a rare drop from [[drowned]].

==Obtaining==
Tridents are not craftable. A trident can be obtained only when dropped by a [[drowned]], Converted drowned are never equipped with tridents. 

===Mob loot===

==== '''''Java Edition''''' ====
6.25% (or 1 in 16) of [[Drowned]] in Java Edition spawn with a trident of random durability as their natural weapon. They have an 8.5% chance to drop their trident when killed by a player. The chance is increased by 1% for each level of [[Looting]] up to a max of 11.5% with Looting III. This means the overall chance of obtaining a trident from any given drowned is 0.53125% (about 1 in 188) or 0.71875% (about 1 in 140) with looting III.

{{IN|Java}}, a trident held by a drowned has a chance to be enchanted, but the trident's enchantments have no effects for drowned.<ref>{{bug|MC-127321}}</ref>

==== '''''Bedrock Edition''''' ====
Only 15% (or 3 in 20) of [[Drowned]] in Bedrock Edition spawn with tridents. Of these, they have a 25% chance to drop their trident when killed by a player. This chance is increased by 4% for each level of looting up to a max of 37% with looting III. This means the overall chance of obtaining a trident from any given drowned is 3.75% (or 3 in 80) or 5.55% with looting III.

===Thrown tridents===
Tridents thrown onto the ground by a player can be picked up; however, tridents thrown by [[drowned]] cannot be picked up, similar to arrows shot by [[skeleton]]s, [[stray]]s, and [[pillager]]s. Only the owner of a trident thrown in Creative mode or enchanted with Loyalty can pick it up; other players in Creative and players in Survival mode including its own owner can't pick up the trident thrown in Creative.

===Trading===
Drowned who are holding tridents will sometimes drop their trident at full durability if given a nautilus shell when they aren't attacking anything.{{only|BE}}

==Usage==

===Drowned===
{{main|Drowned}}
15% of drowned {{in|bedrock}}, and 6.25% {{in|java}}, spawn with a trident as its natural weapon. It throws the trident at its opponent every 1.5 seconds, dealing {{hp|9}} [[damage]] in normal difficulty. A drowned can throw unlimited tridents, and these tridents cannot be picked up by the [[player]].

A [[villager]] can be turned into a [[zombie villager]] if it is killed by a trident thrown by a drowned: the chance of conversion is 0% on Easy [[difficulty]], 50% on Normal, and 100% on Hard and [[Hardcore]].

{{IN|bedrock}}, a drowned can use the trident's melee attack if its target is within three blocks. The melee attack deals {{hp|9}} damage.

===Melee attack===

Pressing {{control|attack}} while holding a trident deals damage to both [[mob]]s and players. Tridents deal {{hp|9}} melee damage. A successful hit consumes durability of the trident.

===Ranged attack===
[[File:Steve aiming with Trident.png|150px]] [[File:Alex aiming with Trident.png|150px]]

Pressing and holding {{control|use}} while holding a trident charges it. When released at half charge or more, the trident is thrown and deals damage to any [[entity]] it hits. Note that it doesn't have to be full charge for the complete damage and length. It flies on a ballistic trajectory similar to that of an [[arrow]], but at 80% strength. If the trident hits a block, it sticks to the block. If it hits an entity, it bounces off the entity and lands nearby. It is also blocked by [[shield]]s and can be retrieved once it lands in the ground. Thrown tridents can trigger wooden [[button]]s, wooden [[pressure plate]]s, and [[target]] blocks. A trident can be thrown at a [[chorus flower]] or [[pointed dripstone]] to break it, which causes the block to be dropped as its respective item.

{{IN|bedrock}} and [[Java Edition Combat Test 4]], tridents can be shot by [[dispenser]]s regardless of enchantment.

Tridents [[Enchanting#Summary_of_enchantments_by_item|enchanted]] with [[Loyalty]] return to the thrower after hitting an entity{{only|java}}/hitting and bouncing off an entity then hitting a block{{only|bedrock}}<ref>{{bug|MCPE-51726}}</ref> or just a block. A Loyalty-enchanted trident fired from a [[dispenser]] just sticks to the block it strikes. Higher levels of enchantment result in shorter recovery times. {{IN|java}}, throwing a trident enchanted with Loyalty into the [[void]] destroys it,<ref>{{bug|MC-125755|||WAI}}</ref> while {{in|bedrock}} it automatically returns to the player. Tridents (if enchanted with Loyalty), can take [[fire]] damage but still return to the player if thrown in [[lava]]. This is especially helpful in [[the Nether]] should the [[player]] be using a trident instead of a [[bow]]. If a trident enchanted with Loyalty attempts to return to a player with no available inventory space, the trident floats near the player until inventory space becomes available.

Thrown tridents take 1 durability damage, regardless of whether it hit an entity or not. Tridents with 1 durability remaining cannot be thrown.

Tridents enchanted with [[Riptide]] launch the player a certain distance when thrown, with the distance increasing for higher enchantment levels. They can be thrown only if the player is standing in [[water]], or if it is raining on the block they are standing on. If the player charges it but walks into a nearby dry area, the charge is canceled. If the player throws a Riptide trident and collides with a mob, the mob takes melee damage (including critical damage if the player is falling). {{IN|java}} tridents enchanted with Riptide take one durability damage upon throwing, and lose an additional 1 durability if it collides with an entity on both editions. Each level of Riptide increases the distance traveled by six blocks. The enchantment at level one launches the player nine blocks, fifteen blocks at level two, and twenty-one blocks at level three.

Tridents enchanted with [[Channeling]] summon a lightning bolt if there is a thunderstorm, although only upon hitting a mob or player standing in the rain as well as a [[Lightning Rod|lightning rod]] placed in the rain.

Unlike other projectiles, the trident does not slow down when thrown through water or lava.

{{IN|java}}, the [[Impaling]] enchantment affects ''all water mobs''. {{IN|bedrock}}, it deals extra damage to [[player]]s and mobs in water or rain.

Unlike arrows, thrown tridents do not despawn.{{only|bedrock}} Tridents despawn after 60 seconds if they are not picked up.{{only|java}}<ref>{{bug|MC-125817}}</ref>

;Magical damage
Using [[Riptide]], nearby players or mobs are dealt [[Harming|splash damage]] within an 8.25×8.25×4.25 cubical area. It stacks with the [[Impaling]] enchantment and [[Strength]] effect. Critical hits do not increase splash damage, but affect the target. 

{{IN|bedrock}}, thrown tridents can damage the [[ender dragon]] while resting on the bedrock fountain. {{IN|java}}, they act just like arrows — deflected, but burn as if they had [[Flame]].

=== Damage===
Thrown tridents and splashes deal {{hp|8}} damage. The damage remains the same regardless of the trident's speed. It has a faster charging speed than a [[bow]] or [[crossbow]] (barring the [[Quick Charge]] enchantment.)

====Java Edition====

{{IN|java}}, tridents have an attack speed of 1.1 and take ~0.91 seconds to [[Damage#Attack cooldown|recover]].

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
!Attack
!{{ItemSprite|Trident|text=Melee}}
!{{ItemSprite|Trident|text=Melee (critical)}}
!{{ItemSprite|Trident|text=Range}}
|-
!Attack damage
|{{hp|9}}
|{{hp|13.5}}
|{{hp|8}}
|-
!Damage/Second (DPS)<ref group="note">This does not take travel time into account</ref>
|9.9
|14.3
| ?
|-
!Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum'' (e.g., 250 × 9 = 2250). It ignores enchantments and critical hits, and assumes the trident is at maximum charge</ref>
|{{hp|2250}}
|{{hp|3375}}
|{{hp|2000}}
|-
!Durability
| colspan="3" |250
|}
{{notelist}}

====Bedrock Edition====

{{IN|bedrock}}, tridents have no attack cooldown and do the following damage:

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
!Attack
!{{ItemSprite|Trident|text=Melee}}
!{{ItemSprite|Trident|text=Range}}
|-
!Attack damage
|{{hp|9}}
|{{hp|8}}
|-
! ''Lifetime damage inflicted''<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits.</ref>
|{{hp|2259}}
|{{hp|2008}}
|-
!Durability
| colspan="2" |251
|}
{{notelist}}

===Elytra===
A trident with the [[Riptide]] enchantment can be used to propel a player with a pair of [[elytra]], but only in [[rain]]y weather, during snowy weather in certain biomes<ref>{{bug|MC-128169}}</ref> or while the [[player]] is in a body of water. A Riptide trident can boost the player to speeds as high as 125 blocks per second,<ref>{{bug|MC-147173||Using riptide tridents while elytra flying can boost the player to excessive speeds}}</ref> much faster than the 33.5 blocks-per-second speed achievable using [[firework rocket]]s.

===Impaling damage ===

{{IN|java}}, the [[Impaling]] enchantment deals extra damage to all water mobs. {{IN|bedrock}} and in [[Java Edition Combat Test 3]], it deals extra damage to all players and mobs in water or rain.

{| class="wikitable" style="text-align:center" data-description="Trident Damage by Impaling Level" |
|+ Trident Damage by Impaling level
|-
!Level
!Increase
!Melee
!Ranged
|-
|I
| adds {{hp|2.5}}
|{{hp|11.5}}
|{{hp|10.5}}
|-
|II
|adds {{hp|5}}
|{{hp|14}}
|{{hp|13}}
|-
|III
| adds {{hp|7.5}}
|{{hp|16.5}}
|{{hp|15.5}}
|-
|IV
|adds {{hp|10}}
|{{hp|19}}
|{{hp|18}}
|-
|V
|adds {{hp|12.5}}
|{{hp|21.5}}
|{{hp|20.5}}
|}

{{-}}

===Enchantments===

Tridents have a base enchantability of 1 and can receive the following [[enchantment]]s:
{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Loyalty]]<ref group="note" name="note1">Loyalty and Channeling are mutually exclusive from Riptide, but not from each other.</ref>
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Channeling]]<ref group="note" name="note1" />
|I
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Riptide]]<ref group="note" name="note1" />
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Impaling]]
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}
; Notes
<references group="note" />

===Repairing ===
Tridents have the same [[durability]] as an [[sword|iron sword]]. Whenever a trident deals damage, its durability decreases by 1.

Tridents can be repaired by:
*combining two damaged tridents in a [[grindstone]], or on a [[crafting table]] or the 2×2 inventory grid, which removes any enchantments except for [[Curse of Vanishing]] and [[Curse of Binding]]
*combining a damaged trident with another trident on an [[anvil]], which preserves enchantments.
*applying the [[Mending]] enchantment.

==Sounds==
{{Edition|Java}}:<br>
Thrown tridents use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Trident pierce1.ogg
|sound2=Trident pierce2.ogg
|sound3=Trident pierce3.ogg
|subtitle=Trident stabs
|source=neutral
|description=When a trident hits a mob
|id=item.trident.hit
|translationkey=subtitles.item.trident.hit
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Trident ground impact1.ogg
|sound2=Trident ground impact2.ogg
|sound3=Trident ground impact3.ogg
|sound4=Trident ground impact4.ogg
|subtitle=Trident vibrates
|source=neutral
|description=When a trident hits the ground
|id=item.trident.hit_ground
|translationkey=subtitles.item.trident.hit_ground
|volume=0.9
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|subtitle=Trident clangs
|source=player
|description=When a player throws a trident
|id=item.trident.throw
|translationkey=subtitles.item.trident.throw
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Trident thunder1.ogg
|sound2=Trident thunder2.ogg
|subtitle=Trident thunder cracks
|source=neutral
|description=When a Channeling trident hits a mob
|id=item.trident.thunder
|translationkey=subtitles.item.trident.thunder
|volume=5.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Trident thunder cracks
|source=weather
|description=When a trident with Channeling strikes a lightning rod
|id=item.trident.thunder
|translationkey=subtitles.item.trident.thunder
|volume=5.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide I.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide I trident is used
|id=item.trident.riptide_1
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide II.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide II trident is used
|id=item.trident.riptide_2
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Riptide III.ogg
|subtitle=Trident zooms
|source=player
|description=When a Riptide III or higher trident is used
|id=item.trident.riptide_3
|translationkey=subtitles.item.trident.riptide
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Trident return1.ogg
|sound2=Trident return2.ogg
|sound3=Trident return3.ogg
|subtitle=Trident returns
|source=neutral
|description=When a trident starts returning <ref group=sound>The first sound is only played {{frac|1|9}} of the time, while the others are played {{frac|4|9}} of the time</ref>
|id=item.trident.return
|translationkey=subtitles.item.trident.return
|volume=8.0
|pitch=''varies'' <ref group=sound>1.0 for <code>return1</code>, 1.0/0.8/1.2/1.2 for <code>return2</code>, and 1.0/0.8/0.8/1.2 for <code>return3</code></ref>
|distance=16}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|subtitle=Drowned throws Trident
|source=hostile
|description=When a drowned shoots a trident
|id=entity.drowned.shoot
|translationkey=subtitles.entity.drowned.shoot
|volume=1.0
|pitch={{frac|5|6}}-1.25
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a trident'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=Trident pierce1.ogg
|sound2=Trident pierce2.ogg
|sound3=Trident pierce3.ogg
|source=player
|description=When a trident hits a mob
|id=item.trident.hit
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident ground impact1.ogg
|sound2=Trident ground impact2.ogg
|sound3=Trident ground impact3.ogg
|sound4=Trident ground impact4.ogg
|source=player
|description=When a trident hits the ground
|id=item.trident.hit_ground
|volume=0.9
|pitch=1.0}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|source=player
|description=When a player throws a trident
|id=item.trident.throw
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident thunder1.ogg
|sound2=Trident thunder2.ogg
|source=player
|description=When a trident with Channeling strikes a mob<ref group="sound">{{Bug|MCPE-43402}}</ref><wbr><ref group=sound>{{bug|MCPE-173931||Tridents don't make channeling sounds when striking a lightning rod}}</ref><wbr>{{Upcoming|BE 1.20.30}}
|id=item.trident.thunder
|volume=1.0<wbr>{{Until|BE 1.20.30}}<br>1000.0<wbr>{{Upcoming|BE 1.20.30}}
|pitch=1.0}}
{{Sound table
|sound=Riptide I.ogg
|source=player
|description=When a Riptide I trident is used
|id=item.trident.riptide_1
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Riptide II.ogg
|source=player
|description=When a Riptide II trident is used
|id=item.trident.riptide_2
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Riptide III.ogg
|source=player
|description=When a Riptide III trident is used
|id=item.trident.riptide_3
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Trident return1.ogg
|sound2=Trident return2.ogg
|sound3=Trident return3.ogg
|source=player
|description=When a trident starts returning <ref group=sound>The first sound is only played {{frac|1|9}} of the time, while the others are played {{frac|4|9}} of the time</ref>
|id=item.trident.return
|volume=8.0
|pitch=''varies'' <ref group=sound>1.0 for <code>return1</code>, 1.0/0.8/1.2/1.2 for <code>return2</code>, and 1.0/0.8/0.8/1.2 for <code>return3</code></ref>}}
{{Sound table
|sound=Trident throw1.ogg
|sound2=Trident throw2.ogg
|source=hostile
|description=When a drowned shoots a trident<ref group="sound">{{Bug|MCPE-53297}}</ref><wbr>{{Upcoming|BE 1.20.30}}
|id=mob.drowned.shoot
|volume=1.0
|pitch=0.8-1.2
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=item
|nameid=trident
|form=item
|foot=1}} 
{{ID table
|edition=java
|showentitytags=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=entity
|nameid=trident
|entitytags=impact_projectiles
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=item
|nameid=trident
|id=546
|form=item
|foot=1}} 
{{ID table
|edition=bedrock
|shownumericids=y
|generatetranslationkeys=y
|displayname=Trident
|spritetype=entity
|nameid=thrown_trident
|id=73
|foot=1}}

===Entity data ===
Tridents have entity data associated with them that contain various properties of the entity.

{{el|java}}:
{{main|Entity format}}
{{/ED}}

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

==Achievements==

{{load achievements|Do a Barrel Roll!;Bullseye}}

==Advancements==
{{load advancements|A Throwaway Joke;Very Very Frightening;Not Today;Sniper Duel;Bullseye}}

==History==
{{History|java}}
{{History||November 18, 2017|link={{YouTubeLink|mAapz_nIC_Y}}|A trident was shown killing a [[zombie]] in a clip presented at [[MineCon Earth]].}}
{{History||1.13|snap=18w07a|[[File:Trident.png|60px]] {{InvSprite|Trident Revision 1}} Added tridents, which are currently unobtainable in [[Survival]].}}
{{History|||snap=18w10a|[[File:Trident (item).png|32px]] Tridents now have a new texture in the [[inventory]].}}
{{History|||snap=18w11a|Added [[drowned]] mobs, which can spawn with a trident, allowing tridents to now become obtainable in [[Survival]].}}
{{History|||snap=18w14a|If the [[player]] is not in [[water]] and it is not [[rain]]ing, the player can no longer throw tridents [[enchantment|enchanted]] with [[Riptide]], but they can still deal melee [[damage]].}}
{{History|||snap=18w20a|Like with swords, tridents no longer can break blocks when held in [[Creative]] mode.<ref>{{bug|MC-126300}}</ref>}}
{{History||1.14|snap=18w43a|Thrown tridents can now break [[chorus flower]]s.}}
{{History||1.15|snap=19w39a|[[File:Enchanted Trident.png|60px]] [[File:Enchanted Trident (item).gif|32px]] Tridents that are [[enchanting|enchanted]] now have a glint.
|Trident items use a 3D model again. When dropped, it rotates off center<ref>{{bug|MC-161886}}</ref> (like with beds at the time and shields currently).}}
{{History|||snap=19w42a|Trident items now use the 2D sprite again.<ref>{{bug|MC-161872}}</ref>}}
{{History||1.17|snap=20w48a|Thrown tridents can now break [[pointed dripstone]].}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|Trident-exclusive enchantments are no longer obtainable from villager [[trading]].}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed of tridents has been increased to 2.
|The base [[damage]] of tridents has been decreased from {{hp|9}} to {{hp|7}}.
|The attack reach of tridents has been increased to 4 [[block]]s.}}
{{History|||snap=Combat Test 2|The damage of tridents has been increased to {{hp|8}}.}}
{{History|||snap=Combat Test 4|Tridents can now be shot from [[dispenser]]s.
|Tridents with [[Loyalty]] that fall into the [[void]] now return to their owner upon breaking in the void.
|Tridents with [[Impaling]] now deal [[enchanting|enchantment]] damage to all [[mob]]s that are in [[water]] or [[rain]].}}
{{History|||snap=Combat Test 5|The damage of tridents has been decreased to {{hp|7}} again.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.13.8|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.
|Tridents are currently a part of [[Experimental Gameplay]].}}
{{History|||snap=beta 1.2.14.2|Tridents have been fully implemented.}}
{{History|||snap=beta 1.2.20.1|A new animation has been added for tridents with [[Riptide]] when they are thrown.}}
{{History||1.5.0|snap=beta 1.5.0.0|Tridents can now be [[enchantment|enchanted]] with [[Mending]] and [[Unbreaking]].}}
{{History|||snap=beta 1.5.0.7|Tridents no longer break [[block]]s in [[Creative]] mode.}}
{{History||1.10.0|snap=beta 1.10.0.3|Thrown tridents can now break [[chorus flower]]s.}}
{{History||1.16.0|snap=beta 1.15.0.51|Drowned can no longer have a trident when converted.|Drowned that are not holding a trident are no longer able to drop one.}}
{{History||1.16.220|snap=beta 1.16.220.50|Tridents are now able to break pointed dripstone.}}
{{History|||snap=beta 1.16.220.51|Drowned now hold their tridents correctly when targeting a player.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.}}

{{History|education}}
{{History||1.4.0|[[File:Trident.png|60px]] [[File:Trident (item).png|32px]] Added tridents.}}
{{History|foot}}

==Issues==

{{issue list}}

==Trivia==
* If a player throws a Loyalty-enchanted trident and the player's inventory subsequently fills, the trident hovers around or through the player's skin until an inventory slot opens, which it fills immediately. Multiple tridents can be 'queued' to re-enter the player's inventory in this manner.
*{{IN|java}} in Creative mode, sword enchantments can be applied to tridents. This includes Sharpness, Fire Aspect, and Looting. Sharpness, Smite, and Bane of Arthropods increases their damage against their specific mobs, as well.{{more info needed|Does the damage also increase when the trident is thrown?}}
*Thrown tridents pass through [[Nether Portal (block)|nether portal block]]s without being transported to [[the Nether]] or the [[Overworld]].
*Using a trident enchanted with Riptide while riding an entity cancels the charge and does nothing.

==Gallery==
<gallery>
TridentMineconEarth.jpg|Tridents are shown in a clip of Minecon Earth 2017.
Returning trident.jpg|A trident [[enchantment|enchanted]] with [[Loyalty]] returning to the [[player]].
Riptide Trident.png|A player "flying" high in the [[air]] after throwing a trident enchanted with [[Riptide]] III vertically upward.
Trident in ground.png|A trident stuck in [[sand]].
Two-hand drowned.png|A drowned holding a trident and a [[nautilus shell]].
Enchanted Trident (item).gif|An enchanted trident.
Alex with Trident.png|An official T-Shirt design of [[Alex]] with a trident.
Acid Drowned.png|"Acid Drowned," an officially licensed T-Shirt featuring a [[drowned]] with a trident.
ArgoMajor Trident.jpg|First image of a trident in ''Bedrock Edition''.
</gallery>

==References==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--trident Taking Inventory: Trident] – Minecraft.net on January 30, 2020

{{Items}}
{{Entities}}

[[Category:Combat]]

[[de:Dreizack]]
[[es:Tridente]]
[[fr:Trident]]
[[ja:トライデント]]
[[ko:삼지창]]
[[pl:Trójząb]]
[[pt:Tridente]]
[[ru:Трезубец]]
[[th:ตรีศูล]]
[[zh:三叉戟]]</li></ul>
13w19aCommand blocks are no longer mineable in survival.
Command blocks are now no longer damaged by explosions, except by Blue wither skulls.
1.7.2
{{Extension DPL}}<ul><li>[[Cooked Chicken|Cooked Chicken]]<br/>{{about|a food item|other uses of the word "chicken"|Chicken (disambiguation)}}
{{Item
| title = Cooked Chicken
| image = Cooked Chicken.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = Yes (64)
}}

'''Cooked chicken''' is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==

=== Mob loot ===

When a chicken dies while on fire, it drops one cooked chicken. The maximum is increased by 1 per level of [[Looting]], for a maximum of 1–4 cooked chicken with Looting III.

=== Cooking ===

[[Raw chicken]] can be cooked in a [[furnace]], [[smoker]], or [[campfire]]. Each piece of cooked chicken removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).
{{Smelting
|Raw Chicken
|Cooked Chicken
|0,35
}}

=== Trading ===
{{IN|java}}, apprentice-level butcher [[villager]]s have a {{frac|2|3}} chance to sell 8 cooked chicken for an [[emerald]]. 

Butcher villagers may give cooked chicken to players with the [[Hero of the Village]] effect.{{only|java}}

{{IN|bedrock}}, apprentice-level butcher villagers have a 25% chance to sell 8 cooked chicken for an emerald as part of their trades.

== Usage ==
=== Food ===

To eat cooked chicken, 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]].

=== Wolves ===

Cooked chicken 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=Cooked Chicken
|spritetype=item
|nameid=cooked_chicken
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Chicken
|spritetype=item
|nameid=cooked_chicken
|id=276
|form=item
|foot=1}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}

== Video ==

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

== History ==

{{History|java beta}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93330811608240128|[[File:Cooked Chicken (pre-release).png|32px]] A teaser image for cooked chicken is revealed by [[Jeb]].}}
{{History||July 19, 2011|link=https://twitter.com/jeb_/status/93946593748852736|[[File:Cooked Chicken (pre-release 2).png|32px]] Jens changes the texture based on feedback, saying "the chicken may be too smooth compared to other MC [[item]]s."<ref>https://twitter.com/jeb_/status/93335976298033152</ref>}}
{{History||1.8|snap=Pre-release|[[File:Cooked Chicken JE1 BE1.png|32px]] Added cooked chicken.}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Cooked chicken can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 7–8 cooked chicken for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Cooked Chicken JE2 BE2.png|32px]] The texture of cooked chicken has been changed so that it no longer has a dark outline.}}{{History||1.8|snap=14w02a|Butcher villagers now [[trading|sell]] 6–8 cooked chicken for 1 [[emerald]]. Farmer [[villager]]s no longer sell cooked chicken.}}
{{History||1.9|snap=15w43a|[[Chicken]]s can now [[drops|drop]] several cooked chickens if killed with a [[Looting]]-enchanted [[weapons|weapon]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 366.}}
{{History||1.14|snap=18w43a|[[File:Cooked Chicken JE3 BE3.png|32px]] The texture of cooked chicken has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked chicken to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Cooked Chicken JE1 BE1.png|32px]] Added cooked chicken.}}
{{History||v0.5.0|Cooked chicken now restores {{hp|6}} instead of {{hp|3}}.}}
{{History||v0.8.0|snap=build 1|[[File:Cooked Chicken JE2 BE2.png|32px]] The texture of cooked chicken has been changed so that it no longer has a dark outline.}}
{{History||v0.12.1|snap=build 1|Cooked chicken now restores [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher villagers now [[trading|sell]] 6–8 cooked chicken for 1 [[emerald]].}}
{{History||?|[[Chicken]]s can now [[drops|drop]] several cooked chickens if killed with a [[Looting]]-enchanted [[weapons|weapon]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Chicken JE3 BE3.png|32px]] The texture of cooked chicken has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, butcher [[villager]]s now have a 25% chance to [[trading|sell]] 4 cooked chicken as part of their second-tier [[trading|trade]].}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Trading]] has been changed, apprentice butcher [[villager]]s now have a 25% chance to [[trading|sell]] 8 cooked chicken instead of 4.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Cooked Chicken JE1 BE1.png|32px]] Added cooked chicken.}}
{{History||xbox=TU12|[[File:Cooked Chicken JE2 BE2.png|32px]] The texture of cooked chicken has been changed so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Chicken JE3 BE3.png|32px]] The texture of cooked chicken has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Cooked Chicken JE2 BE2.png|32px]] Added cooked chicken.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
Beta 1.8 Dev Chicken.png|First image of cooked chicken.
Beta 1.8 Dev Chicken 2.png|Second image of cooked chicken.
</gallery>

== References ==
{{reflist}}

{{Items}}

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

[[cs:Pečené kuře]]
[[de:Gebratenes Hühnchen]]
[[es:Pollo asado]]
[[fr:Poulet rôti]]
[[hu:Sültcsirke]]
[[it:Pollo cotto]]
[[ja:焼き鳥]]
[[ko:익힌 닭고기]]
[[nl:Gebraden kip]]
[[pl:Pieczony kurczak]]
[[pt:Frango assado]]
[[ru:Жареная курятина]]
[[zh:熟鸡肉]]</li><li>[[Cake|Cake]]<br/>{{Distinguish|Pumpkin Pie}}
{{Block
| title = Cake
| image = <gallery>
Cake.png|0 bites
Cake (1 bite).png|1 bite
Cake (2 bites).png|2 bites
Cake (3 bites).png|3 bites
Cake (4 bites).png|4 bites
Cake (5 bites).png|5 bites
Cake (6 bites).png|6 bites
</gallery>
|image2 = <gallery>
Cake with Candle.png|Unlit
Candle Cake (lit).png|Lit
</gallery>
| extratext = [[#Gallery|View all renders]]
| transparent = Yes
| light = '''Candle Cake''': Yes (3) when lit<br>'''Cake''': No
| tool = any
| renewable = Yes
| stackable = Yes (64){{only|bedrock|short=1}}<br>No{{only|java|short=1}}
| flammable = No
| lavasusceptible = No
}}

'''Cake''' is a [[food]] and a block that can be eaten by the player.

A '''cake with candle''' is a light-producing variation created when a [[candle]] is used on an uneaten cake.

== Obtaining ==

=== Breaking ===

Once the cake is placed, it cannot be recollected even with the use of [[Silk Touch]]. Candle cakes always drop their respective [[candle]] when broken.
{{breaking row|horizontal=1|Cake|drop=0}}

=== Chest loot ===
{{LootChestItem|cake}}

=== Crafting ===

{{Crafting
|A1=Milk Bucket
|B1=Milk Bucket
|C1=Milk Bucket
|A2=Sugar
|B2=Egg
|C2=Sugar
|A3=Wheat
|B3=Wheat
|C3=Wheat
|Output=Cake
|type=Foodstuff
|showdescription=1
|description= Empty [[bucket]]s remain in the crafting grid after crafting the cake.
}}

=== Trading ===

Expert-level farmer [[villager]]s can [[trading|sell]] cake for a single [[emerald]] each. The chance is {{frac|2|7}} {{in|je}}.

== Usage ==

{{see also|Tutorials/Hunger management}}

Unlike most [[food]], the cake cannot be eaten as an [[item]] in the hotbar. Before being eaten, it must first be placed on top of a solid [[block]]. Placing the cake on a slab also works, as the slab acts like a solid block. The cake instead floats half a block on top of the slab.

Each cake has seven "slices"; each use consumes one slice progressing inward from the west. A single slice restores {{hunger|2}} hunger and 0.4 hunger [[Hunger#Mechanics|saturation]]. Eating all seven slices of a cake restores {{hunger|14}} hunger and 2.8 hunger saturation.

Since eating a cake comes with no animation, the cake can be eaten at a rate of one slice per [[tick]]. Multiple [[player]]s can eat from the same cake at the same time. {{IN|java}}, eating cake makes no [[sound]], unlike other foods.

As a [[redstone]] component, when connected to a [[comparator]], a whole cake emits a signal strength of 14. The signal strength decreases two units with each slice.

Cake destroys [[Entity#Falling Blocks|falling blocks]] if placed under them, similar to a [[torch]].

=== Pandas ===
Some [[panda]]s move toward a dropped cake to pick up and eat it. Some may not, depending on the cake's location. 

=== Composting ===
Placing a cake into a [[composter]] raises the compost level by 1.

=== Piston interactivity ===
A cake is broken when pushed by a [[piston]], and it drops nothing.

=== Cakes with candles ===
[[File:Cake with Candle.png|thumb|upright|A cake with candle created by placing a candle on an uneaten cake.]]
{{control|Using}} a [[candle]] on an uneaten cake creates a candle cake of that color (including uncolored). Eating the cake causes the candle to drop. 

{{control|Using}} [[flint and steel]], [[fire charge]], or any flaming projectile on an unlit candle cake lights its candle. Lit candle cakes emit light level of 3. Clicking on the lit candle (but not the cake) extinguishes it.

== Sounds ==
=== Generic ===
{{Sound table/Block/Wool}}

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Cake add_candle1.ogg
|sound2=Cake add_candle2.ogg
|sound3=Cake add_candle3.ogg
|subtitle=Cake squishes
|source=Blocks
|description=When a [[candle]] is placed on a cake
|id=block.cake.add_candle
|translationkey=subtitles.block.cake.add_candle
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Cake add_candle1.ogg
|sound2=Cake add_candle2.ogg
|sound3=Cake add_candle3.ogg
|source=block
|description=When a candle is placed on a cake
|id=cake.add_candle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Burp.ogg
|source=player
|description=After a player eats a cake
|id=random.burp
|volume=0.5
|pitch=0.9-1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cake
|spritetype=block
|nameid=cake}}
{{ID table
|displayname=Cake with Candle
|spritename=candle-cake
|spritetype=block
|nameid=candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with White Candle
|spritename=white-candle-cake
|spritetype=block
|nameid=white_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Orange Candle
|spritename=orange-candle-cake
|spritetype=block
|nameid=orange_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Magenta Candle
|spritename=magenta-candle-cake
|spritetype=block
|nameid=magenta_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Light Blue Candle
|spritename=light-blue-candle-cake
|spritetype=block
|nameid=light_blue_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Yellow Candle
|spritename=yellow-candle-cake
|spritetype=block
|nameid=yellow_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Lime Candle
|spritename=lime-candle-cake
|spritetype=block
|nameid=lime_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Pink Candle
|spritename=pink-candle-cake
|spritetype=block
|nameid=pink_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Gray Candle
|spritename=gray-candle-cake
|spritetype=block
|nameid=gray_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Light Gray Candle
|spritename=light-gray-candle-cake
|spritetype=block
|nameid=light_gray_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Cyan Candle
|spritename=cyan-candle-cake
|spritetype=block
|nameid=cyan_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Purple Candle
|spritename=purple-candle-cake
|spritetype=block
|nameid=purple_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Blue Candle
|spritename=blue-candle-cake
|spritetype=block
|nameid=blue_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Brown Candle
|spritename=brown-candle-cake
|spritetype=block
|nameid=brown_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Green Candle
|spritename=green-candle-cake
|spritetype=block
|nameid=green_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Red Candle
|spritename=red-candle-cake
|spritetype=block
|nameid=red_candle_cake
|blocktags=candle_cakes
|form=block}}
{{ID table
|displayname=Cake with Black Candle
|spritename=black-candle-cake
|spritetype=block
|nameid=black_candle_cake
|blocktags=candle_cakes
|form=block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Cake
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=cake
|spritetype=block
|nameid=cake
|id=92
|form=block
|itemform=item.cake}}
{{ID table
|displayname=Item
|spritename=cake
|spritetype=item
|nameid=cake
|id=417
|form=item}}
{{ID table
|displayname=Cake with Candle
|spritename=candle-cake
|spritetype=block
|nameid=candle_cake
|blocktags=candle_cakes
|form=block
|id=684}}
{{ID table
|displayname=Cake with White Candle
|spritename=white-candle-cake
|spritetype=block
|nameid=white_candle_cake
|blocktags=candle_cakes
|form=block
|id=685}}
{{ID table
|displayname=Cake with Orange Candle
|spritename=orange-candle-cake
|spritetype=block
|nameid=orange_candle_cake
|blocktags=candle_cakes
|form=block
|id=686}}
{{ID table
|displayname=Cake with Magenta Candle
|spritename=magenta-candle-cake
|spritetype=block
|nameid=magenta_candle_cake
|blocktags=candle_cakes
|form=block
|id=687}}
{{ID table
|displayname=Cake with Light Blue Candle
|spritename=light-blue-candle-cake
|spritetype=block
|nameid=light_blue_candle_cake
|blocktags=candle_cakes
|form=block
|id=688}}
{{ID table
|displayname=Cake with Yellow Candle
|spritename=yellow-candle-cake
|spritetype=block
|nameid=yellow_candle_cake
|blocktags=candle_cakes
|form=block
|id=689}}
{{ID table
|displayname=Cake with Lime Candle
|spritename=lime-candle-cake
|spritetype=block
|nameid=lime_candle_cake
|blocktags=candle_cakes
|form=block
|id=690}}
{{ID table
|displayname=Cake with Pink Candle
|spritename=pink-candle-cake
|spritetype=block
|nameid=pink_candle_cake
|blocktags=candle_cakes
|form=block
|id=691}}
{{ID table
|displayname=Cake with Gray Candle
|spritename=gray-candle-cake
|spritetype=block
|nameid=gray_candle_cake
|blocktags=candle_cakes
|form=block
|id=692}}
{{ID table
|displayname=Cake with Light Gray Candle
|spritename=light-gray-candle-cake
|spritetype=block
|nameid=light_gray_candle_cake
|blocktags=candle_cakes
|form=block
|id=693}}
{{ID table
|displayname=Cake with Cyan Candle
|spritename=cyan-candle-cake
|spritetype=block
|nameid=cyan_candle_cake
|blocktags=candle_cakes
|form=block
|id=694}}
{{ID table
|displayname=Cake with Purple Candle
|spritename=purple-candle-cake
|spritetype=block
|nameid=purple_candle_cake
|blocktags=candle_cakes
|form=block
|id=695}}
{{ID table
|displayname=Cake with Blue Candle
|spritename=blue-candle-cake
|spritetype=block
|nameid=blue_candle_cake
|blocktags=candle_cakes
|form=block
|id=696}}
{{ID table
|displayname=Cake with Brown Candle
|spritename=brown-candle-cake
|spritetype=block
|nameid=brown_candle_cake
|blocktags=candle_cakes
|form=block
|id=697}}
{{ID table
|displayname=Cake with Green Candle
|spritename=green-candle-cake
|spritetype=block
|nameid=green_candle_cake
|blocktags=candle_cakes
|form=block
|id=698}}
{{ID table
|displayname=Cake with Red Candle
|spritename=red-candle-cake
|spritetype=block
|nameid=red_candle_cake
|blocktags=candle_cakes
|form=block
|id=699}}
{{ID table
|displayname=Cake with Black Candle
|spritename=black-candle-cake
|spritetype=block
|nameid=black_candle_cake
|blocktags=candle_cakes
|form=block
|id=700
|foot=1}}

=== Block states ===
{{see also|Block states}}
{{/BS}}

== Achievements ==
{{load achievements|The Lie;Birthday Song}}

== Advancements ==
{{load advancements|Birthday Song}}

== History ==
{{info needed section|{{bug|MC-45375}}}}
{{History|java beta}}
{{History||November 23, 2010|link={{tweet|notch|7118994444124160}}|[[Notch]] stated if ''Minecraft'' won the [[2010 Indie of the Year Awards]], he would add cake to ''Minecraft''.}}
{{History||1.2|[[File:Cake JE1.png|32px]] [[File:Cake (1 bite) JE1.png|32px]] [[File:Cake (2 bites) JE1.png|32px]] [[File:Cake (3 bites) JE1.png|32px]] [[File:Cake (4 bites) JE1.png|32px]] [[File:Cake (5 bites) JE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Since ''Minecraft'' won the title, cake has been added.
|Cake heals {{hp|18}}.
|[[File:Cake (6 bites) JE1.png|32px]] [[File:Cake (7 bites) JE1.png|32px]] Cakes with six and seven bites exist, but are not accessible.
|[[File:Cake (8 bites) JE1.png|32px]] [[File:Cake (9 bites) JE1.png|32px]] [[File:Cake (10 bites) JE1.png|32px]] [[File:Cake (11 bites) JE1.png|32px]] [[File:Cake (12 bites) JE1.png|32px]] [[File:Cake (13 bites) JE1.png|32px]] [[File:Cake (14 bites) JE1.png|32px]] [[File:Cake (15 bites) JE1.png|32px]]<br>[[File:Cake (8 bites) JE1 (facing NWU).png|32px]] [[File:Cake (9 bites) JE1 (facing NWU).png|32px]] [[File:Cake (10 bites) JE1 (facing NWU).png|32px]] [[File:Cake (11 bites) JE1 (facing NWU).png|32px]] [[File:Cake (12 bites) JE1 (facing NWU).png|32px]] [[File:Cake (13 bites) JE1 (facing NWU).png|32px]] [[File:Cake (14 bites) JE1 (facing NWU).png|32px]] [[File:Cake (15 bites) JE1 (facing NWU).png|32px]]<br>Cakes with eight through fifteen bites also exist. These have a glitched appearance, with misaligned cake textures as well as the block [[placeholder texture]] on the bottom (as the texture next to the bottom of the cake on [[terrain.png]], which it overflows to, is itself a placeholder).}}
{{History||1.5|[[Achievements/Java Edition|Achievements]] have been added, including "The Lie", which is rewarded when the [[player]] crafts a cake.}}
{{History||1.7|[[File:Cake (8 bites) JE2 (facing NWU).png|32px]] [[File:Cake (9 bites) JE2 (facing NWU).png|32px]] [[File:Cake (10 bites) JE2 (facing NWU).png|32px]] [[File:Cake (11 bites) JE2 (facing NWU).png|32px]] [[File:Cake (12 bites) JE2 (facing NWU).png|32px]] [[File:Cake (13 bites) JE2 (facing NWU).png|32px]] [[File:Cake (14 bites) JE2 (facing NWU).png|32px]] [[File:Cake (15 bites) JE2 (facing NWU).png|32px]]<br>The cake side texture shown from underneath has flipped to the other side.}}
{{History||1.8|snap=Pre-release|Cake now restores {{hunger|12}}.
|[[File:Cake (8 bites) JE3.png|32px]] [[File:Cake (9 bites) JE3.png|32px]] [[File:Cake (10 bites) JE3.png|32px]] [[File:Cake (11 bites) JE3.png|32px]] [[File:Cake (12 bites) JE3.png|32px]] [[File:Cake (13 bites) JE3.png|32px]] [[File:Cake (14 bites) JE3.png|32px]] [[File:Cake (15 bites) JE3.png|32px]]<br>Cakes with data 8 through 15 now use the red mushroom block texture with the addition of the red [[mushroom block]].
|Dropped cake items{{info needed|the proper item form, or the unobtainable one?}} no longer appear larger than normal blocks.}}
{{History|||snap=?|Cake is available both in item and block forms in the creative inventory.}}
{{History|java}}
{{History||1.0.0|snap=?|Cake blocks have been removed from creative.}}
{{History||1.2.1|snap=?|When cake is crafted, the empty [[bucket]]s are now moved to the [[player]]'s [[inventory]], rather than staying in the [[crafting]] grid.}}
{{History||1.5|snap=13w02a|[[File:Cake JE2.png|32px]] [[File:Cake (1 bite) JE2.png|32px]] [[File:Cake (2 bites) JE2.png|32px]] [[File:Cake (3 bites) JE2.png|32px]] [[File:Cake (4 bites) JE2.png|32px]] [[File:Cake (5 bites) JE2.png|32px]] [[File:Cake (6 bites) JE2.png|32px]] Cakes now use the inside texture for all orthogonal faces.
|[[File:Cake (8 bites) JE4.png|32px]] [[File:Cake (9 bites) JE4.png|32px]] [[File:Cake (10 bites) JE4.png|32px]] [[File:Cake (11 bites) JE4.png|32px]] [[File:Cake (12 bites) JE4.png|32px]] [[File:Cake (13 bites) JE4.png|32px]] [[File:Cake (14 bites) JE4.png|32px]] [[File:Cake (15 bites) JE4.png|32px]]<br>[[File:Cake (8 bites) JE4 (facing NWU).png|32px]] [[File:Cake (9 bites) JE4 (facing NWU).png|32px]] [[File:Cake (10 bites) JE4 (facing NWU).png|32px]] [[File:Cake (11 bites) JE4 (facing NWU).png|32px]] [[File:Cake (12 bites) JE4 (facing NWU).png|32px]] [[File:Cake (13 bites) JE4 (facing NWU).png|32px]] [[File:Cake (14 bites) JE4 (facing NWU).png|32px]] [[File:Cake (15 bites) JE4 (facing NWU).png|32px]]<br>With the advent of major changes in texture storage and architecture, overeaten cakes now display other parts of cakes as well as part of a crop texture.
|From this version up until 14w08a, overeaten cakes start to draw from the textures next to them on the [[texture atlas]], in much the same way they previously did with terrain.png. However, as texture atlases are unstable and textures tend to change positions as new blocks and textures are added, overeaten cakes change the texture they draw from every time new textures are added, which includes when textures added by [[mods]].}}
{{History|||snap=13w03a|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] Cakes now use the outside side texture for the sides again.<ref>{{bug|MC-7119}}</ref>
|[[File:Cake (8 bites) JE5.png|32px]] [[File:Cake (9 bites) JE5.png|32px]] [[File:Cake (10 bites) JE5.png|32px]] [[File:Cake (11 bites) JE5.png|32px]] [[File:Cake (12 bites) JE5.png|32px]] [[File:Cake (13 bites) JE5.png|32px]] [[File:Cake (14 bites) JE5.png|32px]] [[File:Cake (15 bites) JE5.png|32px]]<br>[[File:Cake (8 bites) JE5 (facing NWU).png|32px]] [[File:Cake (9 bites) JE5 (facing NWU).png|32px]] [[File:Cake (10 bites) JE5 (facing NWU).png|32px]] [[File:Cake (11 bites) JE5 (facing NWU).png|32px]] [[File:Cake (12 bites) JE5 (facing NWU).png|32px]] [[File:Cake (13 bites) JE5 (facing NWU).png|32px]] [[File:Cake (14 bites) JE5 (facing NWU).png|32px]] [[File:Cake (15 bites) JE5 (facing NWU).png|32px]]<br>Overeaten cakes now display a different part of the cake texture than before.}}
{{History|||snap=13w09a|[[File:Cake (8 bites) JE6.png|32px]] [[File:Cake (9 bites) JE6.png|32px]] [[File:Cake (10 bites) JE6.png|32px]] [[File:Cake (11 bites) JE6.png|32px]] [[File:Cake (12 bites) JE6.png|32px]] [[File:Cake (13 bites) JE6.png|32px]] [[File:Cake (14 bites) JE6.png|32px]] [[File:Cake (15 bites) JE6.png|32px]]<br>[[File:Cake (8 bites) JE6 (facing NWU).png|32px]] [[File:Cake (9 bites) JE6 (facing NWU).png|32px]] [[File:Cake (10 bites) JE6 (facing NWU).png|32px]] [[File:Cake (11 bites) JE6 (facing NWU).png|32px]] [[File:Cake (12 bites) JE6 (facing NWU).png|32px]] [[File:Cake (13 bites) JE6 (facing NWU).png|32px]] [[File:Cake (14 bites) JE6 (facing NWU).png|32px]] [[File:Cake (15 bites) JE6 (facing NWU).png|32px]]<br>Overeaten cakes now display a crop texture on the side.}}
{{History||1.6.1|snap=13w17a|[[File:Cake (8 bites) JE7.png|32px]] [[File:Cake (9 bites) JE7.png|32px]] [[File:Cake (10 bites) JE7.png|32px]] [[File:Cake (11 bites) JE7.png|32px]] [[File:Cake (12 bites) JE7.png|32px]] [[File:Cake (13 bites) JE7.png|32px]] [[File:Cake (14 bites) JE7.png|32px]] [[File:Cake (15 bites) JE7.png|32px]]<br>[[File:Cake (8 bites) JE7 (facing NWU).png|32px]] [[File:Cake (9 bites) JE7 (facing NWU).png|32px]] [[File:Cake (10 bites) JE7 (facing NWU).png|32px]] [[File:Cake (11 bites) JE7 (facing NWU).png|32px]] [[File:Cake (12 bites) JE7 (facing NWU).png|32px]] [[File:Cake (13 bites) JE7 (facing NWU).png|32px]] [[File:Cake (14 bites) JE7 (facing NWU).png|32px]] [[File:Cake (15 bites) JE7 (facing NWU).png|32px]]<br>Overeaten cakes now display a part of the powered [[redstone comparator]] texture.}}
{{History|||snap=13w18a|[[File:Cake (8 bites) JE8.png|32px]] [[File:Cake (9 bites) JE8.png|32px]] [[File:Cake (10 bites) JE8.png|32px]] [[File:Cake (11 bites) JE8.png|32px]] [[File:Cake (12 bites) JE8.png|32px]] [[File:Cake (13 bites) JE8.png|32px]] [[File:Cake (14 bites) JE8.png|32px]] [[File:Cake (15 bites) JE8.png|32px]]<br>[[File:Cake (8 bites) JE8 (facing NWU).png|32px]] [[File:Cake (9 bites) JE8 (facing NWU).png|32px]] [[File:Cake (10 bites) JE8 (facing NWU).png|32px]] [[File:Cake (11 bites) JE8 (facing NWU).png|32px]] [[File:Cake (12 bites) JE8 (facing NWU).png|32px]] [[File:Cake (13 bites) JE8 (facing NWU).png|32px]] [[File:Cake (14 bites) JE8 (facing NWU).png|32px]] [[File:Cake (15 bites) JE8 (facing NWU).png|32px]]<br>Overeaten cakes now display the [[carrots]] texture. The inside underside also uses the feet of the [[cauldron]].}}
{{History||1.7.2|snap=13w41a|[[File:Cake (8 bites) JE9.png|32px]] [[File:Cake (9 bites) JE9.png|32px]] [[File:Cake (10 bites) JE9.png|32px]] [[File:Cake (11 bites) JE9.png|32px]] [[File:Cake (12 bites) JE9.png|32px]] [[File:Cake (13 bites) JE9.png|32px]] [[File:Cake (14 bites) JE9.png|32px]] [[File:Cake (15 bites) JE9.png|32px]]<br>[[File:Cake (8 bites) JE9 (facing NWU).png|32px]] [[File:Cake (9 bites) JE9 (facing NWU).png|32px]] [[File:Cake (10 bites) JE9 (facing NWU).png|32px]] [[File:Cake (11 bites) JE9 (facing NWU).png|32px]] [[File:Cake (12 bites) JE9 (facing NWU).png|32px]] [[File:Cake (13 bites) JE9 (facing NWU).png|32px]] [[File:Cake (14 bites) JE9 (facing NWU).png|32px]] [[File:Cake (15 bites) JE9 (facing NWU).png|32px]]<br>Overeaten cakes now display a part of the block breaking texture, and the texture of the [[block of diamond]] inside.}}
{{History||1.8|snap=14w02a|Farmer [[villager]]s now [[trading|sell]] 1 cake for 1 [[emerald]].}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] Cakes with data values 7 and above now [[Missing model|have no model]].}}
{{History|||snap=14w28a|Cake slices available when eating cakes have been increased from 6 to 7, allowing the 6-bites cake to be obtained legitimately.
|Cake now emits a [[redstone comparator|comparator]] signal.
|When cake is crafted, empty [[bucket]]s now stay in the [[crafting table]].}}
{{History||1.9|snap=15w37a|Cake can no longer be eaten in survival with the primary attack (left-click).}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 92, and the item's 354.}}
{{History||1.14|snap=18w43a|[[File:Cake JE4.png|32px]] [[File:Cake (1 bite) JE4.png|32px]] [[File:Cake (2 bites) JE4.png|32px]] [[File:Cake (3 bites) JE4.png|32px]] [[File:Cake (4 bites) JE4.png|32px]] [[File:Cake (5 bites) JE4.png|32px]] [[File:Cake (6 bites) JE4.png|32px]]<br>[[File:Cake (item) JE2 BE2.png|32px]] The texture of cake has been changed.
|Cakes can now be eaten by [[panda]]s when they are thrown to them.}}
{{History|||snap=19w03a|Placing a cake into the new [[composter]] now raises the compost level by 1.}}
{{History|||snap=19w08a|[[File:Cake (item) JE3 BE3.png|32px]] The texture of cake [[item]]s have been changed, this time to have a large cherry in the middle to match its block counterpart.}}
{{History||May 17–20, 2019|link=none|[[File:10 years cake render.png|32px]] Cakes now display a "10" above them, textured with [[white concrete]], to celebrate the 10 year anniversary of the first public version of ''Minecraft'' ([[0.0.11a]]) being released.}}
{{History||1.17|snap=20w45a|[[File:Cake with Candle JE1.png|32px]] [[File:Cake with White Candle JE1.png|32px]] [[File:Cake with Light Gray Candle JE1.png|32px]] [[File:Cake with Gray Candle JE1.png|32px]] [[File:Cake with Black Candle JE1.png|32px]] [[File:Cake with Brown Candle JE1.png|32px]] [[File:Cake with Red Candle JE1.png|32px]] [[File:Cake with Orange Candle JE1.png|32px]] [[File:Cake with Yellow Candle JE1.png|32px]] [[File:Cake with Lime Candle JE1.png|32px]] [[File:Cake with Green Candle JE1.png|32px]] [[File:Cake with Cyan Candle JE1.png|32px]] [[File:Cake with Light Blue Candle JE1.png|32px]] [[File:Cake with Blue Candle JE1.png|32px]] [[File:Cake with Purple Candle JE1.png|32px]] [[File:Cake with Magenta Candle JE1.png|32px]] [[File:Cake with Pink Candle JE1.png|32px]] [[File:Candle Cake (lit) JE1.png|32px]] [[File:White Candle Cake (lit) JE1.png|32px]] [[File:Light Gray Candle Cake (lit) JE1.png|32px]] [[File:Gray Candle Cake (lit) JE1.png|32px]] [[File:Black Candle Cake (lit) JE1.png|32px]] [[File:Brown Candle Cake (lit) JE1.png|32px]] [[File:Red Candle Cake (lit) JE1.png|32px]] [[File:Orange Candle Cake (lit) JE1.png|32px]] [[File:Yellow Candle Cake (lit) JE1.png|32px]] [[File:Lime Candle Cake (lit) JE1.png|32px]] [[File:Green Candle Cake (lit) JE1.png|32px]] [[File:Cyan Candle Cake (lit) JE1.png|32px]] [[File:Light Blue Candle Cake (lit) JE1.png|32px]] [[File:Blue Candle Cake (lit) JE1.png|32px]] [[File:Purple Candle Cake (lit) JE1.png|32px]] [[File:Magenta Candle Cake (lit) JE1.png|32px]] [[File:Pink Candle Cake (lit) JE1.png|32px]] Added candle cakes.}}
{{History||1.17|snap=21w19a|The name of "Candle Cake" has been changed to "Cake with Candle".}}
{{History||1.17|snap=Pre-release 3|[[File:Candle Cake (lit) JE2.png|32px]] [[File:White Candle Cake (lit) JE2.png|32px]] [[File:Light Gray Candle Cake (lit) JE2.png|32px]] [[File:Gray Candle Cake (lit) JE2.png|32px]] [[File:Black Candle Cake (lit) JE2.png|32px]] [[File:Brown Candle Cake (lit) JE2.png|32px]] [[File:Red Candle Cake (lit) JE2.png|32px]] [[File:Orange Candle Cake (lit) JE2.png|32px]][[File:Yellow Candle Cake (lit) JE2.png|32px]] [[File:Lime Candle Cake (lit) JE2.png|32px]] [[File:Green Candle Cake (lit) JE2.png|32px]] [[File:Cyan Candle Cake (lit) JE2.png|32px]]  [[File:Light Blue Candle Cake (lit) JE2.png|32px]] [[File:Blue Candle Cake (lit) JE2.png|32px]] [[File:Purple Candle Cake (lit) JE2.png|32px]] [[File:Magenta Candle Cake (lit) JE2.png|32px]] [[File:Pink Candle Cake (lit) JE2.png|32px]] Changed lit cake with candle textures.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.
|Cake restores {{hp|18}}.}}
{{History||v0.12.1|snap=build 1|Cake now restore {{hunger|12}}.}}
{{History||v0.14.0|snap=build 1|Cake can now be used to emit a [[redstone comparator|comparator]] signal.}}
{{History||v0.15.0|snap=?|Cake currently does not show its inside texture on two or more bites.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer villagers now [[trading|sell]] cake for one [[emerald]].}}
{{History|bedrock}}
{{History||unknown|Cake is now stackable.}}
{{History||1.4.0|snap=beta 1.2.14.2|Cake can now be found inside [[buried treasure]] [[chest]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Cake, as a dropped [[item]], can now be eaten by [[panda]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cake BE2.png|32px]] [[File:Cake (1 bite) BE2.png|32px]] [[File:Cake (2 bites) BE2.png|32px]] [[File:Cake (3 bites) BE2.png|32px]] [[File:Cake (4 bites) BE2.png|32px]] [[File:Cake (5 bites) BE2.png|32px]] [[File:Cake (6 bites) BE2.png|32px]] <br>[[File:Cake (item) JE2 BE2.png|32px]] The texture of cake has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cake can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Cake [[trading|sold]] by farmers now has a 50% chance to cost 8 [[emerald]]s.}}
{{History|||snap=beta 1.11.0.5|[[File:Cake (item) JE3 BE3.png|32px]] The texture of cake [[item]]s has been changed, once again.}}
{{History|||snap=beta 1.11.0.7|Cake [[trading|trades]] from farmer [[villager]]s have been reverted.}}
{{History||1.16.0|snap=beta 1.15.0.53|Cake now shows its inside texture on two or more bites.}}
{{History||1.17.10|snap=beta 1.17.10.22|[[File:Cake with Candle JE1.png|32px]] [[File:Cake with White Candle JE1.png|32px]] [[File:Cake with Light Gray Candle JE1.png|32px]] [[File:Cake with Gray Candle JE1.png|32px]] [[File:Cake with Black Candle JE1.png|32px]] [[File:Cake with Brown Candle JE1.png|32px]] [[File:Cake with Red Candle JE1.png|32px]] [[File:Cake with Orange Candle JE1.png|32px]] [[File:Cake with Yellow Candle JE1.png|32px]] [[File:Cake with Lime Candle JE1.png|32px]] [[File:Cake with Green Candle JE1.png|32px]] [[File:Cake with Cyan Candle JE1.png|32px]] [[File:Cake with Light Blue Candle JE1.png|32px]] [[File:Cake with Blue Candle JE1.png|32px]] [[File:Cake with Purple Candle JE1.png|32px]] [[File:Cake with Magenta Candle JE1.png|32px]] [[File:Cake with Pink Candle JE1.png|32px]] [[File:Candle Cake (lit) JE2.png|32px]] [[File: White Candle Cake (lit) JE2.png|32px]] [[File:Light Gray Candle Cake (lit) JE2.png|32px]] [[File:Gray Candle Cake (lit) JE2.png|32px]] [[File:Black Candle Cake (lit) JE2.png|32px]] [[File:Brown Candle Cake (lit) JE2.png|32px]] [[File:Red Candle Cake (lit) JE2.png|32px]] [[File:Orange Candle Cake (lit) JE2.png|32px]] [[File:Yellow Candle Cake (lit) JE2.png|32px]] [[File:Lime Candle Cake (lit) JE2.png|32px]] [[File:Green Candle Cake (lit) JE2.png|32px]] [[File:Cyan Candle Cake (lit) JE2.png|32px]] [[File:Light Blue Candle Cake (lit) JE2.png|32px]] [[File:Blue Candle Cake (lit) JE2.png|32px]] [[File:Purple Candle Cake (lit) JE2.png|32px]] [[File:Magenta Candle Cake (lit) JE2.png|32px]] [[File:Pink Candle Cake (lit) JE2.png|32px]] Added candle cakes.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.}}
{{History||xbox=TU6|Cake has been made stackable, as a then-version exclusive.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cake JE4.png|32px]] [[File:Cake (1 bite) JE4.png|32px]] [[File:Cake (2 bites) JE4.png|32px]] [[File:Cake (3 bites) JE4.png|32px]] [[File:Cake (4 bites) JE4.png|32px]] [[File:Cake (5 bites) JE4.png|32px]] [[File:Cake (6 bites) JE4.png|32px]]{{verify|Are these the textures/models used?}}<br>[[File:Cake (item) JE2 BE2.png|32px]] The single, lone texture of cake has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cake JE3 BE1.png|32px]] [[File:Cake (1 bite) JE3 BE1.png|32px]] [[File:Cake (2 bites) JE3 BE1.png|32px]] [[File:Cake (3 bites) JE3 BE1.png|32px]] [[File:Cake (4 bites) JE3 BE1.png|32px]] [[File:Cake (5 bites) JE3 BE1.png|32px]] [[File:Cake (6 bites) JE3 BE1.png|32px]]<br>[[File:Cake (item) JE1 BE1.png|32px]] Added cake.}}
{{History|foot}}

=== Cake "item" ===
{{:Technical blocks/Cake}}

== Issues ==

{{issue list}}

== Trivia ==

=== Interaction ===

* Because cake is only {{frac|7|8}} blocks wide, it is possible to stand on the edge of a [[block]] beneath a cake.
* It is possible to place cake on top of another cake by placing a cake on the ground, then placing another cake on the side of a block above and to the side of the first cake, similar to placing [[torch]]es on a [[chest]]. Eating the lower cake causes the upper cake to disappear, as does mining out the block of cake it is sitting on.
* It is also possible to place any block on top of cakes (including another cake) by [[sneaking]] and placing the block on top of a cake.
* [[Mob]]s on top of cakes rotate while attempting to move, a pathfinding oversight shared with [[fence]]s.
* If cake is placed in a hole one block deep, players can get across the hole without jumping, although a player standing on the cake must jump to get out of the hole.
* Cake can be used to create a functioning staircase, by placing a cake on each level of a 1 block by 1 block incline. This would be one of the most labor-intensive staircases available, given the requirements to craft a cake, compared to any other method of creating a staircase. This staircase is also extremely overpowered when combined with a horse being one of the fastest forms of travel.
*At some point, it was possible to push cakes into the void using pistons.<ref>https://www.youtube.com/watch?v=GxniEMGBXC4&t=340s</ref>

=== Miscellaneous ===
[[File:IOTY.png|thumb|100px|The 2010 Indie of the Year Awards logo.]]
* Cake was added to ''[[Minecraft]]'' following the ModDB [[2010 Indie of the Year Awards]]. [[Notch]] agreed to add cake to ''Minecraft'' if it won, which led to a campaign called "The Quest For Cake". ''Minecraft'' won 3 of the 7 awards, including the "Indie of the Year" award.
* Placing a cake makes the same sound as placing [[wool]].
* The player can place cake on top of a [[bed]], and while [[sleeping]], the cake shows on the player's screen as if it were on top of their head.
* The name of the achievement for crafting a cake is a reference to the internet meme "The Cake is a Lie", which originated from [[wikipedia:Valve Corporation|Valve Software's]] game, ''[[wikipedia:Portal (video game)#Plot|Portal]]''.
* On May 17, 2019, for the [https://www.minecraft.net/en-us/10th-anniversary 10th anniversary] of ''Minecraft'', the cake [[model]] was changed to display a "10" above it, made of [[white concrete]].
* Unlike most foods, cakes don't count towards the advancement "[[A Balanced Diet]]" {{in|java}}.<ref>{{bug|MC-117561}}</ref>

== Gallery ==
=== Renders ===
{{hidden begin}}
<div style="clear: both"></div>
<gallery>
Cake.png
Cake (1 bite).png
Cake (2 bites).png
Cake (3 bites).png
Cake (4 bites).png
Cake (5 bites).png
Cake (6 bites).png
</gallery>
<gallery>
Cake with Candle.png
Cake with White Candle.png
Cake with Light Gray Candle.png
Cake with Gray Candle.png
Cake with Black Candle.png
Cake with Brown Candle.png
Cake with Red Candle.png
Cake with Orange Candle.png
Cake with Yellow Candle.png
Cake with Lime Candle.png
Cake with Green Candle.png
Cake with Cyan Candle.png
Cake with Light Blue Candle.png
Cake with Blue Candle.png
Cake with Purple Candle.png
Cake with Magenta Candle.png
Cake with Pink Candle.png
</gallery>
<gallery>
Candle Cake (lit).png
White Candle Cake (lit).png
Light Gray Candle Cake (lit).png
Gray Candle Cake (lit).png
Black Candle Cake (lit).png
Brown Candle Cake (lit).png
Red Candle Cake (lit).png
Orange Candle Cake (lit).png
Yellow Candle Cake (lit).png
Lime Candle Cake (lit).png
Green Candle Cake (lit).png
Cyan Candle Cake (lit).png
Light Blue Candle Cake (lit).png
Blue Candle Cake (lit).png
Purple Candle Cake (lit).png
Magenta Candle Cake (lit).png
Pink Candle Cake (lit).png
</gallery>
{{hidden end}}
=== In-game ===
<gallery>
Cakes stacked.png|A cake placed on top of another.
Cakeeating.png|The sizes of cake when eaten.
10 Years Cake.jpg|The 10-years cake [[model]] placed in the world.
</gallery>

== References ==
{{Reflist}}

{{Blocks|Utility}}
{{Items}}

[[Category:Food]]
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]

[[cs:Dort]]
[[de:Kuchen]]
[[es:Tarta]]
[[fr:Gâteau]]
[[hu:Torta]]
[[it:Torta]]
[[ja:ケーキ]]
[[ko:케이크]]
[[nl:Taart]]
[[pl:Ciasto]]
[[pt:Bolo]]
[[ru:Торт]]
[[th:เค้ก]]
[[tr:Pasta]]
[[uk:Торт]]
[[zh:蛋糕]]</li></ul>
13w37aA bar that shows the previous output of command blocks has now been added.
The character limit when inserting a command in a command block has now been increased from 256 to 16,369. Using a third-party editor allows the player to reach 32,767 characters.
1.8
{{Extension DPL}}<ul><li>[[:Category:Fungi|Category:Fungi]]<br/>All pages covering blocks that are fungi.

[[Category:Blocks]]
[[Category:Items]]

[[ja:カテゴリ:菌類]]</li><li>[[Compound|Compound]]<br/>{{About|a feature in the Education Edition|the NBT tag|NBT}}
{{education feature}}
{{exclusive|bedrock|education}}
{{Item
| image = Water (compound).png
| image2 = Garbage.png
| renewable = No
| stackable = Yes (64)
}}

'''Compounds''' are a type of [[item]] from [[Education Edition]] used in chemistry, which are created from combinations of various [[element]]s.

== Obtaining ==
Compounds cannot be obtained in the [[Creative inventory]]. They are only obtained from creating them in the [[compound creator]]. This is done by inserting a certain number of [[element]]s corresponding to the compound's chemical formula.

== List of compounds ==
{| class="wikitable" data-description="Compounds"
!Icon
!Compound Name
!Compound Recipe
!Description
!Uses
|-
|{{slot|Aluminum Oxide|link=none}}
|{{text anchor|Aluminium Oxide}}
|{{slot|Aluminum,2}}{{slot|Oxygen,3}}
|Is only brown when dug up from the Earth and contaminated; actually white when pure. Can be electrolyzed to make aluminum metal. Also the main chemical in rubies and sapphires.
|Used to craft [[hardened glass]]. 
|-
|{{slot|Ammonia|link=none}}
|{{text anchor|Ammonia}}
|{{slot|Nitrogen}}{{slot|Hydrogen,3}}
|
|Used to create [[super fertilizer]].
|-
|{{slot|Barium Sulfate|link=none}}
|{{text anchor|Barium Sulfate}}
|{{slot|Barium}}{{slot|Sulfur}}{{slot|Oxygen,4}}
|
|
|-
|{{slot|Benzene|link=none}}
|{{text anchor|Benzene}}
|{{slot|Carbon,6}}{{slot|Hydrogen,6}}
|
|
|-
|{{slot|Boron Trioxide|link=none}}
|{{text anchor|Boron Trioxide}}
|{{slot|Boron,2}}{{slot|Oxygen,3}}
|
|Used to craft [[hardened glass]].
|-
|{{slot|Calcium Bromide|link=none}}
|{{text anchor|Calcium Bromide}}
|{{slot|Calcium}}{{slot|Bromine,2}}
|
|
|-
|{{slot|Crude Oil|link=none}}
|{{text anchor|Crude Oil}}
|{{slot|Carbon,9}}{{slot|Hydrogen,20}}
|C<sub>9</sub>H<sub>20</sub> is the chemical formula for nonane.
|
|-
|{{slot|Glue|link=none}}
|{{text anchor|Glue}} (Cyanoacrylate)
|{{slot|Carbon,5}}{{slot|Hydrogen,5}}{{slot|Nitrogen}}{{slot|Oxygen,2}}
|C<sub>5</sub>H<sub>5</sub>NO<sub>2</sub> is the chemical formula for methyl cyanoacrylate, one of the cyanoacrylate glues ("superglue"); its condensed formula is CH<sub>2</sub>=C(CN)COOCH<sub>3</sub>.
|
|-
|{{slot|Hydrogen Peroxide|link=none}}
|{{text anchor|Hydrogen Peroxide}}
|{{slot|Hydrogen,2}}{{slot|Oxygen,2}}
|
|Used to craft [[glow stick]].
|-
|{{slot|Iron Sulfide|link=none}}
|{{text anchor|Iron Sulfide}}
|{{slot|Iron}}{{slot|Sulfur}}
|
|
|-
|{{slot|Latex|link=none}}
|{{text anchor|Latex}}
|{{slot|Carbon,5}}{{slot|Hydrogen,8}}
|C<sub>5</sub>H<sub>8</sub> is the chemical formula for isoprene, which polymers are the main components of natural rubber; its condensed formula is CH<sub>2</sub>=C(CH<sub>3</sub>)−CH=CH<sub>2</sub>.
|Used to craft [[balloon]]s.
|-
|{{slot|Lithium Hydride|link=none}}
|{{text anchor|Lithium Hydride}}
|{{slot|Lithium}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Luminol|link=none}}
|{{text anchor|Luminol}}
| class="nowrap" |{{slot|Carbon,8}}{{slot|Hydrogen,7}}{{slot|Nitrogen,3}}{{slot|Oxygen,2}}
|Luminol is a chemical that glows blue when oxidized. It can detect blood. 
|Used to craft [[glow stick]].
|-
|{{slot|Lye|link=none}}
|{{text anchor|Lye}}
|{{slot|Sodium}}{{slot|Oxygen}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Magnesium Nitrate|link=none}}
|{{text anchor|Magnesium Nitrate}}
|{{slot|Magnesium}}{{slot|Nitrogen,2}}{{slot|Oxygen,6}}
|Condensed formula: Mg(NO<sub>3</sub>)<sub>2</sub>
|
|-
|{{slot|Magnesium Oxide|link=none}}
|{{text anchor|Magnesium Oxide}}
|{{slot|Magnesium}}{{slot|Oxygen}}
|
|
|-
|{{slot|Polyethylene|link=none}}
|{{text anchor|Polyethylene}}
|{{slot|Carbon,10}}{{slot|Hydrogen,20}}
|Polyethlene (PE), (CH<sub>2</sub>)<sub>''n''</sub>, is ''the'' most commonly produced plastic.
|Used to craft [[glow stick]].
|-
|{{slot|Potassium Iodide|link=none}}
|{{text anchor|Potassium Iodide}}
|{{slot|Potassium}}{{slot|Iodine}}
|Used for making iodized salt and other things.
|
|-
|{{slot|Soap|link=none}}
|{{text anchor|Soap}}
|{{slot|Carbon,18}}{{slot|Hydrogen,35}}{{slot|Sodium}}{{slot|Oxygen,2}}
|C<sub>18</sub>H<sub>35</sub>NaO<sub>2</sub> is the chemical formula of sodium stearate, the most common soap.
|
|-
|{{slot|Sodium Acetate|link=none}}
|{{text anchor|Sodium Acetate}}
|{{slot|Carbon,2}}{{slot|Hydrogen,3}}{{slot|Sodium}}{{slot|Oxygen,2}}
|Used to make hand warmers because it heats up when it "freezes".
|Used to create [[Ice Bomb]].
|-
|{{slot|Sodium Fluoride|link=none}}
|{{text anchor|Sodium Fluoride}}
|{{slot|Sodium}}{{slot|Fluorine}}
|Commonly used in toothpaste to prevent cavity, among other uses.
|
|-
|{{slot|Sodium Hydride|link=none}}
|{{text anchor|Sodium Hydride}}
|{{slot|Sodium}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Sodium Hypochlorite|link=none}}
|{{text anchor|Sodium Hypochlorite}}
|{{slot|Sodium}}{{slot|Chlorine}}{{slot|Oxygen}}
|Main ingredient of real-life bleach.
|Used to create [[Bleach]].
|-
|{{slot|Sodium Oxide|link=none}}
|{{text anchor|Sodium Oxide}}
|{{slot|Sodium,2}}{{slot|Oxygen}}
|
|
|-
|{{slot|Sulfate|link=none}}
|{{text anchor|Sulfate}}
|{{slot|Sulfur}}{{slot|Oxygen,4}}
|Cannot actually exist on its own, as it should have a <sup>2-</sup> charge.
|
|}

=== Chlorides ===
{| class="wikitable" data-description="Chlorides"
!Icon
!Compound
!Recipe
!Uses
|-
|{{slot|Salt|link=none}}
|{{text anchor|Salt}}
|{{slot|Sodium}}{{slot|Chlorine}}
|Used to create [[heat block]].
|-
|{{slot|Calcium Chloride|link=none}}
|{{text anchor|Calcium Chloride}}
|{{slot|Calcium}}{{slot|Chlorine,2}}
|Used to craft [[sparkler|orange sparkler]].
|-
|{{slot|Cerium Chloride|link=none}}
|{{text anchor|Cerium Chloride}}
|{{slot|Cerium}}{{slot|Chlorine,3}}
|Used to craft [[colored torch|blue torch]] and [[sparkler|blue sparkler]].
|-
|{{slot|Mercuric Chloride|link=none}}
|{{text anchor|Mercuric Chloride}}
|{{slot|Mercury}}{{slot|Chlorine,2}}
|Used to craft [[colored torch|red torch]] and [[sparkler|red sparkler]].
|-
|{{slot|Potassium Chloride|link=none}}
|{{text anchor|Potassium Chloride}}
|{{slot|Potassium}}{{slot|Chlorine}}
|Used to craft [[colored torch|purple torch]] and [[sparkler|purple sparkler]].
|-
|{{slot|Tungsten Chloride|link=none}}
|{{text anchor|Tungsten Chloride}}
|{{slot|Tungsten}}{{slot|Chlorine,6}}
|Used to craft [[colored torch|green torch]] and [[sparkler|green sparkler]].
|}

=== Natural compounds ===
Natural compounds are compounds which can be obtained naturally in ''Minecraft''.
{| class="wikitable" data-description="Chlorides"
!Icon
!Compound
! class="nowrap" |Chemical formula
!Natural source
!Method
!Notes
|-
|{{slot|Charcoal}}
|[[Charcoal]]
|{{slot|Carbon,7}}{{slot|Hydrogen,4}}{{slot|Oxygen}}
|[[Log]] or [[Wood]]
|[[Smelting]]
|The chemical formula C<sub>7</sub>H<sub>4</sub>O is sometimes used to describe the approximate composition of charcoal.
|-
|{{slot|Glow Ink Sac}} {{slot|Ink Sac}}
|[[Glow Ink Sac]], [[Ink Sac]]
|{{slot|Iron}}{{slot|Sulfur}}{{slot|Oxygen,4}}
|[[Glow Squid]], [[Squid]]
|Killing Glow Squid, Squid
|FeSO<sub>4</sub> is the chemical formula of iron(II) sulfate or ferrous sulfate, normally found complexed with water as a salt with the formula FeSO<sub>4</sub>·''x''H<sub>2</sub>O, and has been used in the manufacture of iron gall ink and other inks for centuries. In contrast, squid ink (and other cephalopod inks) is composed mainly of melanin and mucus, with an assortment of other compounds in a variety of concentrations dependent on the species.
|-
|{{slot|Sugar}}
|[[Sugar]]
|{{slot|Carbon,6}}{{slot|Hydrogen,12}}{{slot|Oxygen,6}}
|[[Sugar Cane]]s or [[Honey Bottle]]s
|Harvesting and [[crafting]]
|C<sub>6</sub>H<sub>12</sub>O<sub>6</sub> is the chemical formula of glucose and fructose, as well as a number of other simple sugars (common table sugar is instead sucrose, a complex sugar made of glucose and fructose with the chemical formula C<sub>12</sub>H<sub>22</sub>O<sub>11</sub>).
|-
|{{slot|Water (compound)|link=water}}
|{{text anchor|Water}}
|{{slot|Hydrogen,2}}{{slot|Oxygen}}
|[[Water]]
|Picking up in a [[bucket]] or [[glass bottle]] from a [[Cauldron]] or a water source block
|One of the easiest to obtain.
|}

=== Garbage ===
Garbage is considered a "compound", but the only way to produce it is to activate the [[Lab Table]] when its inputs are an invalid recipe. It has no uses.

== Usage ==
Certain compounds are used as ingredients in [[crafting]] or [[lab table]] experiments. Natural compounds have uses outside of chemistry, detailed in their respective articles.

=== Crafting ingredient ===
{{Crafting usage|description=0|Latex, Polyethylene, Hydrogen Peroxide, Luminol, Boron Trioxide, Aluminum Oxide}}

==== Chloride coloring ====
{{Crafting usage|Chloride,Cerium Chloride|match=end}}

=== Lab table ingredient ===
{| class="wikitable"
!Result
!Materials needed
|-
! rowspan="2" |{{slot|Bleach}}<br>[[Bleach]]
|{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}
|-
|<center>Water ×3, Sodium Hypochlorite ×3</center>
|-
! rowspan="2" |{{slot|Heat Block.gif}}<br>[[Heat Block]]
|{{slot}}{{slot|Iron|link=Element#Iron}}{{slot|Water (compound)|link=Compound}}{{slot|Charcoal}}{{slot|Salt|link=Compound}}{{slot}}
|-
|<center>[[Iron (element)|Iron]], Water, [[Charcoal]], Salt</center>
|-
! rowspan="2" |{{slot|Ice Bomb}}<br>[[Ice Bomb]]
|{{slot}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot}}
|-
|<center>Sodium Acetate ×4</center>
|-
! rowspan="2" |{{slot|Super Fertilizer}}<br>[[Super Fertilizer]]
|{{slot}}{{slot}}{{slot|Ammonia|link=Compound}}{{slot|Phosphorus|link=Element#Phosphorus}}{{slot}}{{slot}}
|-
|<center>Ammonia, [[Phosphorus]]</center>
|}

== Sounds ==
Sounds are produced when a [[lab table]] creates garbage.
{{Sound table
|type=bedrock
|sound=Fizz.ogg
|source=block
|description=When a lab table creates garbage{{verify}}
|id=random.fizz
|volume=1.0
|pitch=0.5/0.7}}
{{Sound table
|sound=Ghast fireball4.ogg
|source=hostile
|description=When a lab table creates garbage{{verify}}
|id=mob.blaze.shoot
|volume=1.0
|pitch=0.8/1.0}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When a lab table creates garbage
|id=random.explode
|volume=1.0
|pitch=0.4/0.6}}
{{Sound table
|sound=Fire.ogg
|source=sound
|description=When a lab table creates garbage
|id=lt.reaction.fire
|volume=2.0
|pitch=0.4/0.6}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=weather
|description=When a lab table creates garbage
|id=ambient.weather.lightning.impact
|volume=1.0
|pitch=0.6/0.8
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Compound
|spritetype=item
|nameid=compound
|id=594
|form=item
|translationkey=item.compound.salt.name,item.compound.sodiumoxide.name,item.compound.sodiumhydroxide.name,item.compound.magnesiumnitrate.name,item.compound.ironsulfide.name,item.compound.lithiumhydride.name,item.compound.sodiumhydride.name,item.compound.calciumbromide.name,item.compound.magnesiumoxide.name,item.compound.sodiumacetate.name,item.compound.luminol.name,item.compound.charcoal.name,item.compound.sugar.name,item.compound.aluminumoxide.name,item.compound.borontrioxide.name,item.compound.soap.name,item.compound.polyethylene.name,item.compound.garbage.name,item.compound.magnesiumsalts.name,item.compound.sulfate.name,item.compound.bariumsulfate.name,item.compound.potassiumchloride.name,item.compound.mercuricchloride.name,item.compound.ceriumchloride.name,item.compound.tungstenchloride.name,item.compound.calciumchloride.name,item.compound.water.name,item.compound.glue.name,item.compound.hypochlorite.name,item.compound.crudeoil.name,item.compound.latex.name,item.compound.potassiumiodide.name,item.compound.sodiumfluoride.name,item.compound.benzene.name,item.compound.ink.name,item.compound.hydrogenperoxide.name,item.compound.ammonia.name,item.compound.sodiumhypochlorite.name
|foot=1}}

===Item data===
{{see also|Data values}}Compounds uses the following data values:{{/DV}}
== History ==

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Aluminum Oxide BE1.png|32px]] [[File:Ammonia BE1.png|32px]] [[File:Barium Sulfate BE1.png|32px]] [[File:Benzene BE1.png|32px]] [[File:Boron Trioxide BE1.png|32px]] [[File:Calcium Bromide BE1.png|32px]] [[File:Crude Oil BE1.png|32px]] [[File:Glue BE1.png|32px]] [[File:Hydrogen Peroxide BE1.png|32px]] [[File:Iron Sulfide BE1.png|32px]] [[File:Latex BE1.png|32px]] [[File:Lithium Hydride BE1.png|32px]] [[File:Luminol BE1.png|32px]] [[File:Lye BE1.png|32px]] [[File:Magnesium Nitrate BE1.png|32px]] [[File:Magnesium Oxide BE1.png|32px]] [[File:Polyethylene BE1.png|32px]] [[File:Potassium Iodide BE1.png|32px]] [[File:Salt BE1.png|32px]] [[File:Soap BE1.png|32px]] [[File:Sodium Acetate BE1.png|32px]] [[File:Sodium Fluoride.png|32px]] [[File:Sodium Hydride BE1.png|32px]] [[File:Sodium Hypochlorite BE1.png|32px]] [[File:Sodium Oxide BE1.png|32px]] [[File:Sulfate BE1.png|32px]] [[File:Calcium Chloride BE1.png|32px]] [[File:Cerium Chloride BE1.png|32px]] [[File:Mercuric Chloride BE1.png|32px]] [[File:Potassium Chloride BE1.png|32px]] [[File:Tungsten Chloride BE1.png|32px]] [[File:Charcoal JE3 BE3.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Sugar JE1 BE1.png|32px]] [[File:Water (compound) BE1.png|32px]] [[File:Garbage BE1.png|32px]] Added compounds.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Charcoal JE4 BE4.png|32px]][[File:Ink Sac JE2 BE2.png|32px]][[File:Sugar JE2 BE2.png|32px]] The textures of Charcoal, Ink Sacs and Sugar have been changed.}}
{{History||1.16|All compounds have been made unobtainable. It is unknown whether it is a glitch or intended. {{bug|MCPE-113776}}}}

{{History| |1.17.0|All compounds are obtainable once again.}}{{History|education}}
{{History||1.0.27|[[File:Aluminum Oxide BE1.png|32px]] [[File:Ammonia BE1.png|32px]] [[File:Barium Sulfate BE1.png|32px]] [[File:Benzene BE1.png|32px]] [[File:Boron Trioxide BE1.png|32px]] [[File:Calcium Bromide BE1.png|32px]] [[File:Crude Oil BE1.png|32px]] [[File:Glue BE1.png|32px]] [[File:Hydrogen Peroxide BE1.png|32px]] [[File:Iron Sulfide BE1.png|32px]] [[File:Latex BE1.png|32px]] [[File:Lithium Hydride BE1.png|32px]] [[File:Luminol BE1.png|32px]] [[File:Lye BE1.png|32px]] [[File:Magnesium Nitrate BE1.png|32px]] [[File:Magnesium Oxide BE1.png|32px]] [[File:Polyethylene BE1.png|32px]] [[File:Potassium Iodide BE1.png|32px]] [[File:Salt BE1.png|32px]] [[File:Soap BE1.png|32px]] [[File:Sodium Acetate BE1.png|32px]] [[File:Sodium Fluoride BE1.png|32px]] [[File:Sodium Hydride BE1.png|32px]] [[File:Sodium Hypochlorite BE1.png|32px]] [[File:Sodium Oxide BE1.png|32px]] [[File:Sulfate BE1.png|32px]] [[File:Calcium Chloride BE1.png|32px]] [[File:Cerium Chloride BE1.png|32px]] [[File:Mercuric Chloride BE1.png|32px]] [[File:Potassium Chloride BE1.png|32px]] [[File:Tungsten Chloride BE1.png|32px]] [[File:Charcoal JE3 BE3.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Sugar JE1 BE1.png|32px]] [[File:Water (compound) BE1.png|32px]] [[File:Garbage BE1.png|32px]] Added compounds.}}
{{History||1.12.0|[[File:Charcoal JE4 BE4.png|32px]][[File:Ink Sac JE2 BE2.png|32px]][[File:Sugar JE2 BE2.png|32px]] The textures of Charcoal, Ink Sacs and Sugar have been changed.}}

{{History|foot}}

== Unused compound textures ==
In the chemistry resource pack folder, there are numerous [[History of textures/Unused textures#Unused compounds|compound textures which are not used]] in the game. Note: a <code>compound</code> item with a data value of <code>38</code> will have the <code>Blue Flask</code> texture and will be called <code>item.compound..name</code>. If you use an NBT Editor to get a compound item with no assigned data value (by deleting the data tag) and then transfer that item to another world / realm using structure blocks (by exporting to a <code>.mcstructure</code> file, then importing it on another world or realm) then it will be renamed to <code>Ivory Tusk</code>.  
<gallery widths="48" heights="48" perrow="30" class="center">
Flask EE1.png|Flask
Black Flask EE1.png|Black Flask
Blue Flask EE1.png|Blue Flask
Brown Beaker EE1.png|Brown Beaker
Brown Flask EE1.png|Brown Flask
Dark Gray Beaker EE1.png|Dark Gray Beaker
Dark Gray Flask EE1.png|Dark Gray  Flask
Dark Gray Jar EE1.png|Dark Gray Jar
Green Beaker EE1.png|Green Beaker
Green Flask EE1.png|Green Flask
Green Jar EE1.png|Green Jar
Indigo Beaker EE1.png|Indigo Beaker
Indigo Flask EE1.png|Indigo Flask
Indigo Jar EE1.png|Indigo Jar
Light Gray Beaker EE1.png|Light Gray Beaker
Light Gray Flask EE1.png|Light Gray Flask
Orange Beaker EE1.png|Orange Beaker
Orange Flask EE1.png|Orange Flask
Orange Jar EE1.png|Orange Jar
Purple Beaker EE1.png|Purple Beaker
Purple Flask EE1.png|Purple Flask
Purple Jar EE1.png|Purple Jar
Red Beaker EE1.png|Red Beaker
Red Flask EE1.png|Red Flask
Red Jar EE1.png|Red Jar
White Flask EE1.png|White Flask
Yellow Flask EE1.png|Yellow Flask
Bleach (compound).png|Bleach
</gallery>

== Gallery ==
<gallery>
Screen Shot 2021-08-19 at 12.22.50 PM.png|A compound creator in using 5 carbon and 8 hydrogen to create latex.
</gallery>

== See also ==

*[[Compound Creator]]
*[[Crafting]]
*[[Element Constructor]]
*[[Lab Table]]
*[[Brewing Stand]]
*[[Brewing]]
*[[Crafting Table]]

== References ==
{{reflist}}

{{Items}}
{{Education Edition}}

[[Category:Non-renewable resources]]
[[Category:Education Edition items]]

[[de:Verbindung]]
[[it:Composto]]
[[ja:化合物]]
[[pl:Związki chemiczne]]
[[pt:Composto]]
[[ru:Соединение]]
[[th:สารประกอบ]]
[[uk:Сполуки]]
[[zh:化合物]]</li></ul>
14w07aDispensers will now place command blocks, instead of shooting them out.
14w20aThe in-game character limit of 16,369 has now been removed, allowing access to the full 32,767 characters.
14w27aAdded CommandStats NBT tag.
1.8.6
{{Extension DPL}}<ul><li>[[Light Gray Dye|Light Gray Dye]]<br/>{{Item
| image = Light Gray Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Light gray dye'''{{fn|Known as '''Light Grey Dye''' in British, Canadian, Australian, and New Zealand English variants.}} is a [[Dyeing#Primary Colors|quasi-primary dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Azure Bluet;Oxeye Daisy;White Tulip
  |Output=Light Gray Dye
  |type=Material
}}
{{Crafting
  |Black Dye
  |White Dye
  |White Dye
  |Output=Light Gray Dye,3
  |type=Material
  |description={{IN|bedrock}}, the black and white dye can be replaced with [[ink sac]]s and [[bone meal]], respectively.
}}
{{Crafting
  |Gray Dye
  |White Dye
  |Output=Light Gray Dye,2
  |type=Material
  |description={{IN|bedrock}}, the white dye can be replaced with [[bone meal]].
  |foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 light gray dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

=== Loom ingredient ===
{{Banner loom usage|Light Gray Dye}}

=== Trading ===
Expert-level shepherd villagers have {{frac|1|6}} chance to buy 12 light gray dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Light Gray Dye
|spritetype=item
|nameid=light_gray_dye
|aliasid=dye / 7
|id=402
|form=item
|translationkey=item.dye.silver.name
|foot=1}}

== Video ==

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

== History ==

{{History|java beta}}
{{History||1.2|[[File:Light Gray Dye JE1 BE1.png|32px]] Added light gray dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Light gray dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Light gray dye is now crafted using [[white dye|white]] and [[black dye]]s, instead of [[bone meal]] and [[ink sac]]s.
|[[File:Light Gray Dye JE2 BE2.png|32px]] The texture of light gray dye has now been changed.}}
{{History|||snap=18w44a|Light gray dye can now change the text color on [[sign]]s to light gray.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells light gray dye.}}
{{History|||snap=19w11a|Light gray dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Light gray dye can now be used to craft [[light gray candle]]s.}}
{{History|||snap=21w19a|Light gray dye can no longer be used to craft light gray candles.}}
{{History|||snap=Pre-release 1|Light gray dye can now once again be used to craft light gray candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Light gray dye can now change the text color on [[hanging sign]]s to light gray.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Light Gray Dye JE1 BE1.png|32px]] Added light gray dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.8.0|snap=build 1|Light gray dye can be [[craft]]ed with [[bone meal]] and [[gray dye]], or with two bone meals and an [[ink sac]], despite there being no way of obtaining gray dye or ink sacs at the time.}}
{{History||v0.8.0|snap=build 3|Light gray dye is now available in [[creative]] mode.}}
{{History||v0.9.0|snap=build 3|Light gray dye can now be obtained in [[survival]] mode.}}
{{History|||snap=build 11|Light gray dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Light gray dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Light gray dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Light gray dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Light gray dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Light gray dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Light gray dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Light gray dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Light gray dye is now [[trading|sold]] by [[wandering trader]]s.
|Light gray dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Light Gray Dye JE2 BE2.png|32px]] The texture of light gray dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Light gray dye can be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of light gray dye has been changed from <code>dye/7</code> to <code>light_gray_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Light Gray Dye JE1 BE1.png|32px]] Added light gray dye.}}
{{History|PS4}}
{{History||1.90|[[File:Light Gray Dye JE2 BE2.png|32px]] The texture of light gray dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Light Gray Dye JE1 BE1.png|32px]] Added light gray dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

* In [[Bedrock Edition]], Some items/blocks' Block states/Item NBT uses '''Silver''' instead of '''Light Gray''' 

== Notes ==
{{fnlist}}

{{Items}}

[[Category:Dyes]]

[[cs:Světle šedé barvivo]]
[[de:Hellgrauer Farbstoff]]
[[es:Tinte gris claro]]
[[fr:Teinture gris clair]]
[[hu:Világosszürke festék]]
[[ja:薄灰色の染料]]
[[ko:회백색 염료]]
[[nl:Lichtgrijze kleurstof]]
[[pl:Jasnoszary barwnik]]
[[pt:Corante cinza-claro]]
[[ru:Светло-серый краситель]]
[[zh:淡灰色染料]]
[[Category:Renewable resources]]</li><li>[[Head|Head]]<br/>{{Block
| image = 
<gallery>
Skeleton Skull.png | Skeleton
Wither Skeleton Skull.png | Wither Skeleton 
Player Head.png | Player
Zombie Head.png| Zombie
Creeper Head.png | Creeper
Dragon Head.png | Dragon
Piglin Head.png | Piglin
</gallery>
| transparent = Yes
| light = No
| tool = any
| renewable = 
* '''Skeleton, Wither Skeleton, Zombie, Creeper, Piglin:''' 
* Yes
* '''Dragon, Player:'''
* No
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| rarity = Uncommon
}}

A '''head''' or '''skull''' is a [[block]] modeled after the head of a specific [[entity]]. There are seven types of heads: [[player]] ([[Steve]]'s head by default), [[zombie]], [[skeleton]], [[wither skeleton]], [[creeper]], [[piglin]], and [[dragon]].

== Obtaining ==

=== Breaking ===

A mob head can be mined using any item,<ref>{{bug|MC-192905||Heads & Skulls have no assigned tool}}</ref> and drops itself when broken.
{{breaking row|horizontal=1|Mob Head|sprite=Heads}}
If a head is pushed by a [[piston]] or comes in contact with [[water]] or [[lava]], it breaks off as an [[item (entity)|item]].

When destroyed by an [[explosion]], the head ''always'' drops as an item.

===Natural generation===

Dragon heads generate on [[end ships]] found in [[End City|end cities]].

Skeleton skulls can generate in [[ancient cities]], which sometimes generate in the [[deep dark]].

=== Mob loot ===

A [[wither skeleton]] has a 2.5% chance of dropping a wither skeleton skull when killed by a player or a tamed [[wolf]]. The chance is increased by 1% per level of [[Looting]], for a maximum of 5.5% with Looting III. {{IN|bedrock}}, the chance is increased by 2% per level of [[Looting]], for a maximum of 8.5% with Looting III.

[[Skeleton]], [[wither skeleton]], [[zombie]], [[creeper]] and [[piglin]] heads are always dropped by the respective mob if it dies due to a [[charged creeper]]'s explosion. {{IN|bedrock}}, if multiple mobs are killed by the same charged creeper, all of them drop their heads, however {{in|java}} only one mob selected at random drops its head.<ref>{{bug|MC-63534|||WAI}}</ref> If an [[ender dragon]] or a [[player]] is killed by a charged creeper, it does not drop its head.<ref name=":0">{{bug|MC-132933|||WAI}}</ref>

==Usage ==

===Decoration===

Mob heads can be oriented in 16 different directions on top of a block, and 4 directions on the sides of blocks, similar to [[sign]]s. They can be placed on top of, or beside each other by shift clicking.

When placed and powered by redstone, the piglin and dragon heads plays an animation. The piglin head flaps its ears (2 times per second for the right ear and 2.5 times per second for the left ear) while the dragon head opens and closes its mouth repeatedly (2 times per second). The same animation occurs when worn by a (horizontally) moving player, zombie, skeleton, or [[armor stand]] (note: the animation does not play if the <code>NoGravity</code> tag is set to 1)

=== Wearing ===
{{See also|#Renders}}

The player can wear heads, similarly to [[pumpkin]]s or helmets. This overlays the second layer of the player's [[skin]].

====Disguise====

Wearing the corresponding mob head reduces the detection range for [[skeleton]]s (but not [[wither skeleton]]s), [[creeper]]s, [[zombie]]s, and [[piglin]]s to 50% of the normal range. This is similar to (and stacks with) the reductions in detection range from [[sneaking]] and from the [[Invisibility]] status effect.

{{IN|bedrock}}, wearing any mob head or carved pumpkin makes the player invisible to other players on a locator [[map]].

=== Withers===
{{FakeImage|{{BlockGrid|scale=2|w=Wither Skeleton Skull|s=Soul Sand|www|sss| s }}|Wither build configuration}}

[[Wither]]s can be spawned by placing soul sand or soul soil in a T shape, and putting 3 wither skeleton skulls on top of the T. The T can be horizontal or vertical. The last block placed must be one of the three wither skeleton skulls. A dispenser can also create a wither, by placing the final skull onto soul sand directly in front of and below it.

===Dispensers===
A [[dispenser]] can equip a mob head on a player, mob, or armor stand with an empty helmet slot, within the block the dispenser is facing.

[[Dispenser]]s can also complete the construction of a wither.

=== Crafting ingredient===

{{crafting usage|Wither Skeleton Skull,Creeper Head|continue=1}}
{{Crafting
  |ignoreusage=1
  |ingredients=Any '''Mob head''' +<br>[[Gunpowder]] +<br>Any [[Dye]]
  |Gunpowder
  |Wither Skeleton Skull;Skeleton Skull;Zombie Head;Head;Creeper Head;Dragon Head;Player Head
  |Matching Dye
  |Output= Matching Firework Star
  |description=Forms Creeper shape
  |foot=1
}}

===Enchantments===

Mob heads can receive the following enchantments, but only through an [[anvil]].
{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Curse of Binding]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|}

=== Note blocks ===
Placing a head above a [[note block]] causes the note block to play the corresponding mob's {{cd|ambient}} sound when activated. The only exception is the creeper head; as creepers don't make {{cd|ambient}} sounds, the note block plays the {{cd|primed}} (hissing) sound instead.

The block below the note block does not affect the mob sound it creates.

==Player skins==
{{exclusive|java|section=1}}
Human heads have an extra usage for map makers, they can be given [[Chunk format#Entity Format|NBT data]] so that they appear with the skin of any ''Minecraft'' account. This means if a player knows that a specific account has a head that is desired to display, the NBT data can be edited to make it appear.

The command to give the player a head with the skin of another player is {{cmd|give @s minecraft:player_head{SkullOwner:"<''PlayerName''>"} }}. Commonly, this kind of head is called a custom head. 

Another command to give the player a head with another player's skin is {{cmd|give @s minecraft:player_head{SkullOwner:{Id:"<''PlayerUUID''>",Properties:{textures:[{Value:"<''SkinURL''>"}]} } } }}. ''SkinURL'' is a string encoded in [https://en.wikipedia.org/wiki/Base64 Base64] containing the URL of the player's skin.<ref>Example: {"textures":{"SKIN":{"url":"<nowiki>http://textures.minecraft.net/texture/292009a4925b58f02c77dadc3ecef07ea4c7472f64e0fdc32ce5522489362680"}}}</ref> A player head saves the skin of the player from the time it was created, meaning if the player changes their skin, the head still displays the original texture.<ref>{{tweet|Dinnerbone|464414369452142592|Skulls are a snapshot of the skin as it was made; just change your skin, make a skull, and change your skin back. That's intended behaviour.|May 8, 2014}}</ref>

Note that it is therefore necessary to be connected to the internet to load the texture of a skin, whatever the property used.
When they are loaded for the first time by the client, the skins textures are cached in {{code|[[.minecraft]]\assets\skins\(subfolders)\(files)}}.
If the client does not have access to the internet when it first loads, the player's head displays a regular head (Steve's skin) which is also cached.
Afterwards, even if the client reconnects to the internet, in order to display the skin correctly, it is necessary to clear the cache manually by deleting the recently created files in {{code|[[.minecraft]]\assets\skins\(subfolder)}}, then restarting the game.

When NBT-customized heads (with names and lores) are placed on the ground, they lose their names and given lores upon picking up. Therefore, using Ctrl + {{ctrl|pick block}} on a custom player head gives the player a head that still retains its textures, but with no lores and its name is reset to either {{code|[PlayerName]'s Head}} (heads obtained by MHF-Marc's Head Format or existing players in the world) or {{code|Player Head}} (heads obtained by using skin URLs).

=== Marc's Head Format===
[[File:Allmobheads.png|thumb|right|Most of the MHF mob heads provided.]]

{{exclusive|Java|section=1}}

[[Marc Watson]] created a number of accounts with specific skins so map makers could use common heads without the risk of someone changing their skins.<ref>{{reddit|1m0itx/twitter_marc_irl_mapmakers_would_it_be_useful|cc4m1cq|I'm here to make it so that people don't have to worry about having a consistent account whose skin might change.|Marc_IRL|September 9, 2013}}</ref> Nowadays, since heads do not update the skin if a player changes their skin, this is not something map-makers need to worry about, though these skins are still useful. These accounts have names in the format <code>MHF_<''Name''></code>, for example <code>MHF_PigZombie</code> is the name of a ''Minecraft'' user with a [[zombified piglin]] head. MHF stands for "Marc's Head Format".<ref>{{tweet|Marc_IRL|377453670410891264|head format. I needed to pick a prefix that was short and not already taken by other usernames.|September 10, 2013}}</ref> There are also a few blocks and "bonus" heads, for more variety. These player heads have not been updated in compliance with the [[Texture Update]], and are outdated.

Because these are names of player accounts, these heads are obtained or placed using the <code>SkullOwner</code> tag, for instance: {{cmd|/give @s minecraft:player_head{SkullOwner:"MHF_''<Name>''"}<nowiki />}}.

The following names/heads have been made available:<ref>{{tweet|Marc_IRL|542330244473311232|For those following the MHF list, I have presents for you. Full list of accounts I've made: http://pastebin.com/5mug6EBu|December 9, 2014}}</ref> 
<!--

DO NOT add ANY skull to this list without a source that it is made by Mojang; unsourced additions will be reverted!

In particular:
* MHF_Apple, MHF_Wither and MHF_Tree are not made by Mojang, see {{tweet|Marc_IRL|542599419678707714}} and {{tweet|Marc_IRL|590522239616954369}}
* MHF_Guardian is unofficial, see http://redd.it/3439u0

-->

;Mobs
<div class="list-style-none" style="-moz-column-width:15em;-webkit-column-width:15em;column-width:15em">
*{{InvSprite|MHF Alex}} MHF_Alex
*{{InvSprite|MHF Blaze}} MHF_Blaze
*{{InvSprite|MHF CaveSpider}} MHF_CaveSpider
*{{InvSprite|MHF Chicken}} MHF_Chicken
*{{InvSprite|MHF Cow}} MHF_Cow
*{{InvSprite|MHF Creeper}} MHF_Creeper
*{{InvSprite|MHF Enderman}} MHF_Enderman
*{{InvSprite|MHF Ghast}} MHF_Ghast
*{{InvSprite|MHF Golem}} MHF_Golem
*{{InvSprite|MHF Herobrine}} MHF_Herobrine
*{{InvSprite|MHF LavaSlime}} MHF_LavaSlime
*{{InvSprite|MHF MushroomCow}} MHF_MushroomCow
*{{InvSprite|MHF Ocelot}} MHF_Ocelot
*{{InvSprite|MHF Pig}} MHF_Pig
*{{InvSprite|MHF PigZombie}} MHF_PigZombie
*{{InvSprite|MHF Sheep}} MHF_Sheep
*{{InvSprite|MHF Skeleton}} MHF_Skeleton
*{{InvSprite|MHF Slime}} MHF_Slime
*{{InvSprite|MHF Spider}} MHF_Spider
*{{InvSprite|MHF Squid}} MHF_Squid
*{{InvSprite|MHF Steve}} MHF_Steve
*{{InvSprite|MHF Villager}} MHF_Villager
*{{InvSprite|MHF WSkeleton}} MHF_WSkeleton
*{{InvSprite|MHF Zombie}} MHF_Zombie
</div>

;Blocks
<div class="list-style-none" style="-moz-column-width:15em;-webkit-column-width:15em;column-width:15em">
*{{InvSprite|MHF Cactus}} MHF_Cactus
*{{InvSprite|MHF Cake}} MHF_Cake
*{{InvSprite|MHF Chest}} MHF_Chest
*{{InvSprite|MHF CoconutB}} MHF_CoconutB
*{{InvSprite|MHF CoconutG}} MHF_CoconutG
*{{InvSprite|MHF Melon}} MHF_Melon
*{{InvSprite|MHF OakLog}} MHF_OakLog
*{{InvSprite|MHF Present1}} MHF_Present1
*{{InvSprite|MHF Present2}} MHF_Present2
*{{InvSprite|MHF Pumpkin}} MHF_Pumpkin
*{{InvSprite|MHF TNT}} MHF_TNT
*{{InvSprite|MHF TNT2}} MHF_TNT2
</div>

;Bonus
<div class="list-style-none" style="-moz-column-width:15em;-webkit-column-width:15em;column-width:15em">
*{{InvSprite|MHF ArrowUp}} MHF_ArrowUp
*{{InvSprite|MHF ArrowDown}} MHF_ArrowDown
*{{InvSprite|MHF ArrowLeft}} MHF_ArrowLeft
*{{InvSprite|MHF ArrowRight}} MHF_ArrowRight
*{{InvSprite|MHF Exclamation}} MHF_Exclamation
*{{InvSprite|MHF Question}} MHF_Question
</div>

==Sounds==
===Generic===
{{Sound table/Block/Stone}}
===Unique===
{{Edition|Java}}:
{{Sound table
|sound=Zombie idle1.ogg
|sound2=Zombie idle2.ogg
|sound3=Zombie idle3.ogg
|subtitle=Zombie groans
|source=record
|description=When a zombie head is played using a note block
|id=block.note_block.imitate.zombie
|translationkey=subtitles.entity.zombie.ambient
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Skeleton idle1.ogg
|sound2=Skeleton idle2.ogg
|sound3=Skeleton idle3.ogg
|subtitle=Skeleton rattles
|source=record
|description=When a skeleton skull is played using a note block
|id=block.note_block.imitate.skeleton
|translationkey=subtitles.entity.skeleton.ambient
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Creeper fuse.ogg
|subtitle=Creeper hisses
|source=record
|description=When a creeper head is played using a note block
|id=block.note_block.imitate.creeper
|translationkey=subtitles.entity.creeper.primed
|volume=3.0
|pitch=0.5
|distance=16}}
{{Sound table
|sound=Ender dragon idle1.ogg
|sound2=Ender dragon idle2.ogg
|sound3=Ender dragon idle3.ogg
|sound4=Ender dragon idle4.ogg
|subtitle=Dragon roars
|source=record
|description=When an ender dragon head is played using a note block
|id=block.note_block.imitate.ender_dragon
|translationkey=subtitles.entity.ender_dragon.ambient
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Wither skeleton idle1.ogg
|sound2=Wither skeleton idle2.ogg
|sound3=Wither skeleton idle3.ogg
|subtitle=Wither Skeleton rattles
|source=record
|description=When a wither skeleton skull is played using a note block
|id=block.note_block.imitate.wither_skeleton
|translationkey=subtitles.entity.wither_skeleton.ambient
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Piglin idle1.ogg
|sound2=Piglin idle2.ogg
|sound3=Piglin idle3.ogg
|sound4=Piglin idle4.ogg
|sound5=Piglin idle5.ogg
|subtitle=Piglin snorts
|source=record
|description=When a piglin head is played using a note block
|id=block.note_block.imitate.piglin
|translationkey=subtitles.entity.piglin.ambient
|volume=1.98
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|subtitle=Gear equips
|source=player
|description=When a carved pumpkin is equipped
|id=item.armor.equip_generic
|translationkey=subtitles.item.armor.equip
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

<!--volumes and pitches seem to be approximately v=0.9 p=0.84, but those values are approximate and are not in the files. They are probably inside of the code.-->
{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Zombie idle1.ogg
|sound2=Zombie idle2.ogg
|sound3=Zombie idle3.ogg
|source=record
|description=When a zombie head is played using a note block
|id=note.zombie
|pitch=0.84 <ref group=sound name=pitch>Actually equal to <math>\frac{1}{\sqrt[4]{2}}</math>, which is about 0.8409</ref>}}
{{Sound table
|sound=Skeleton step1.ogg
|sound2=Skeleton step2.ogg
|sound3=Skeleton step3.ogg
|sound4=Skeleton step4.ogg
|source=record
|description=When a skeleton skull is played using a note block<wbr><ref group=sound name=skeletoncreeper>{{Bug|MCPE-164530}}</ref>
|id=note.skeleton
|pitch=0.84 <ref group=sound name=pitch/>}}
{{Sound table
|sound=Fuse.ogg
|source=record
|description=When a creeper head is played using a note block<wbr><ref group=sound name=skeletoncreeper/>
|id=note.creeper
|pitch=0.84 <ref group=sound name=pitch/>}}
{{Sound table
|sound=Ender dragon idle1.ogg
|sound2=Ender dragon idle2.ogg
|sound3=Ender dragon idle3.ogg
|sound4=Ender dragon idle4.ogg
|source=record
|description=When a dragon head is played using a note block
|id=note.enderdragon
|pitch=0.84 <ref group=sound name=pitch/>}}
{{Sound table
|sound=Skeleton step1.ogg
|sound2=Skeleton step2.ogg
|sound3=Skeleton step3.ogg
|sound4=Skeleton step4.ogg
|source=record
|description=When a wither skeleton skull is played using a note block<wbr>{{Until|BE 1.20.40}}<wbr><ref group=sound name=skeletoncreeper/>
|id=note.witherskeleton
|pitch=0.84 <ref group=sound name=pitch/>}}
{{Sound table
|sound=Wither skeleton step1.ogg
|sound2=Wither skeleton step2.ogg
|sound3=Wither skeleton step3.ogg
|sound4=Wither skeleton step4.ogg
|source=record
|description=When a wither skeleton skull is played using a note block<wbr>{{Upcoming|BE 1.20.40}}<wbr><ref group=sound name=skeletoncreeper/>
|id=note.witherskeleton
|pitch=0.84 <ref group=sound name=pitch/>}}
{{Sound table
|sound=Piglin angry1.ogg
|sound2=Piglin angry2.ogg
|sound3=Piglin angry3.ogg
|sound4=Piglin angry4.ogg
|source=record
|description=When a piglin head is played using a note block<wbr><ref group=sound>{{Bug|MCPE-164710}}</ref>
|id=note.piglin
|pitch=0.84 <ref group=sound name=pitch/>}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|source=player
|description=When a carved pumpkin is equipped
|id=armor.equip_generic
|volume=1.0
|pitch=1.0
|foot=1}}

==Data values==

===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Skeleton Skull
|spritetype=block
|nameid=skeleton_skull}}
{{ID table
|displayname=Wither Skeleton Skull
|spritetype=block
|nameid=wither_skeleton_skull}}
{{ID table
|displayname=Zombie Head
|spritetype=block
|nameid=zombie_head}}
{{ID table
|displayname=Player Head
|spritetype=block
|nameid=player_head}}
{{ID table
|displayname=Creeper Head
|spritetype=block
|nameid=creeper_head}}
{{ID table
|displayname=Dragon Head
|spritetype=block
|nameid=dragon_head}}
{{ID table
|displayname=Piglin Head
|spritetype=block
|nameid=piglin_head}}
{{ID table
|displayname=Skeleton Wall Skull
|spritetype=block
|nameid=skeleton_wall_skull
|form=block}}
{{ID table
|displayname=Wither Skeleton Wall Skull
|spritetype=block
|nameid=wither_skeleton_wall_skull
|form=block}}
{{ID table
|displayname=Zombie Wall Head
|spritetype=block
|nameid=zombie_wall_head
|form=block}}
{{ID table
|displayname=Player Wall Head
|spritetype=block
|nameid=player_wall_head
|form=block}}
{{ID table
|displayname=Creeper Wall Head
|spritetype=block
|nameid=creeper_wall_head
|form=block}}
{{ID table
|displayname=Dragon Wall Head
|spritetype=block
|nameid=dragon_wall_head
|form=block}}
{{ID table
|displayname=Piglin Wall Head
|spritetype=block
|nameid=piglin_wall_head
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=heads
|spritetype=block
|nameid=skull
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Head
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=skulls
|spritetype=block
|nameid=skull
|id=144
|form=block
|itemform=item.skull
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=skulls
|spritetype=item
|nameid=skull
|id=516
|form=item
|translationkey=item.skull.skeleton.name, item.skull.wither.name, item.skull.zombie.name, item.skull.char.name, item.skull.creeper.name, item.skull.dragon.name, item.skull.piglin.name
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=heads
|spritetype=block
|nameid=Skull
|foot=1}}

===Metadata===
{{see also|Data values}}
{{IN|bedrock}}, mob heads use the following data values:
{{/DV}}

===Item data===

{{el|java}}:
{{main|Player.dat format}}
Player heads use item NBT to save the owner.
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Player Heads}}
</div>

{{el|bedrock}}:
:{{IN|bedrock}}, heads have no additional item tag.
:See [[Bedrock Edition level format/Item format]].

===Block states===
{{see also|Block states}}

{{/BS}}

===Block data===

A mob head has a block entity associated with it that holds additional data about the block.

{{el|java}}:
{{see also|Block entity format}}
{{/BE}}

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

== Achievements==
{{load achievements|Camouflage;The Beginning?}}

==Advancements==
{{load advancements|Spooky Scary Skeleton;Withering Heights}}

==History==
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||August 28, 2012|link={{tweet|jeb|240383066831462401}}|[[Jeb]] released images of the skeleton head, hinting of more types to come.}}
{{History||PAX 2012|link={{ytl|IqciEbjYd-I|t=03m21s}}|At [[wikipedia:PAX (event)|PAX]], [[Dinnerbone]] revealed that there would be rare [[drops]] of these [[mob]]s.<ref>http://www.twitch.tv/pax2/b/330745811 (at 3:59:00)</ref>}}
{{History||1.4.2|snap=12w36a|[[File:Skeleton Skull (item) JE1.png|32px]] [[File:Wither Skeleton Skull (item) JE1.png|32px]] [[File:Zombie Head (item) JE1.png|32px]] [[File:Player Head (item) JE1.png|32px]] [[File:Creeper Head (item) JE1.png|32px]] Added skeleton, wither skeleton, zombie, player, and creeper heads.
|Wither skeleton skulls are rarely [[drops|dropped]] by the [[wither skeleton]] upon [[death]] (2.5% chance), while the other four are obtainable only from the [[creative]] [[inventory]].}}
{{History|||snap=12w37a|[[File:Skeleton Skull (item) JE1 BE1.png|32px]] [[File:Wither Skeleton Skull (item) JE1 BE1.png|32px]] [[File:Zombie Head (item) JE1 BE1.png|32px]] [[File:Player Head (item) JE1 BE1.png|32px]] [[File:Creeper Head (item) JE1 BE1.png|32px]] Changed item textures.
|Added as a hidden and disabled feature, player heads can now have the [[skin]] of a specific [[player]]. A line in the language file implies that there either used to be, or in a future update, the possibility of obtaining a specific player's head.<ref name="en_US 12w21">Snapshot 12w37a {{cd|lang/en_US.lang}}: <code>item.skull.player.name=%s's Head</code></ref> 
|Player heads do not [[drops|drop]] in vanilla, but mapmakers/modders/etc. can make them by adding an [[NBT format|NBT]] string tag <code>{"SkullOwner":"''player_name''"}</code> on the skull [[item]]s.<ref name="playerheads">{{reddit|zxn7u/its_apparently_my_cakeday_so_lets_cash_in_this}}</ref>}}
{{History||November 7, 2012|link=https://www.reddit.com/r/minecraftsuggestions/comments/12qtbz/killing_other_players_with_a_sword_should_drop/c6xqpym/?context=3|[[Jeb]] states that the official opinion is that "[dropping] player heads [on player kills] are a bit too gory for [[Minecraft]], so it's better suited for a plugin or mod."}}
{{History||1.4.6|snap=12w49a|Any kind of [[mob]] head can now be used to [[crafting|craft]] a [[firework star]] with [[creeper]]-face effect.}}
{{History||1.7.2|snap=13w36a|Custom heads can now be obtained without third party programs via {{cmd|give}}.}}
{{History||1.8|snap=14w03a|Player heads now show the [[skin]]'s hat layer (this also works when a [[mob]]/player wears the head).}}
{{History|||snap=14w29a|Heads now display a cracking animation.}}
{{History|||snap=14w30a|[[File:Skeleton Skull (item) JE2.png|32px]] [[File:Wither Skeleton Skull (item) JE2.png|32px]] [[File:Zombie Head (item) JE2.png|32px]] [[File:Player Head (item) JE2.png|32px]] [[File:Creeper Head (item) JE2.png|32px]] Player and mob heads in [[inventory|inventories]] and held by mobs/players now display as [[block]]s. 
|Skulls worn by [[mob]]s and [[player]]s are now displayed on the armor layer. Previously, the skull replaced the mob/player's head texture; the hat layer appeared over the skull.
|Skeleton, zombie, and creeper heads are now available in [[survival]]. The player can obtain them by killing the appropriate mob with a charged [[creeper]].
|Creeper heads and wither skeleton skulls are now used in [[crafting]] specific [[banner]] patterns.}}
{{History|||snap=14w30b|A single charged creeper explosion no longer yields more than one [[mob]] head. The mob head that drops is chosen randomly.}}
{{History||1.8.4|snap=release|For security reasons, custom heads can now have textures only from [[mojang.com]] and [[minecraft.net]].}}
{{History||1.9|snap=15w31a|[[File:Dragon Head (8) JE2.png|32px]] Added dragon heads.
|Dragon heads are currently available only in [[creative]] mode.
|[[Mob]] heads now appear larger in the [[inventory]].}}
{{History|||snap=15w32a|Creeper, zombie, and skeleton heads can now be worn to reduce detection by the corresponding mobs by 50%.}}
{{History|||snap=15w32c|Dragon heads now generate on [[end ship]]s, meaning they are now obtainable in [[survival]].}}
{{History|||snap=15w33c|The disguise that is given by mob heads now reduces detection range to 37.5% of normal.}}
{{History|||snap=15w36a|The disguise that is given by mob heads now reduces detection range to 50% of normal again.}}
{{History|||snap=15w39a|[[Dispenser]]s can now equip mob heads onto [[player]]s, [[mob]]s and [[armor stand]]s.}}
{{History||1.13|snap=17w47a|The ID of heads have been split into 12; one of each available standard head, as well as a wall counterpart of each.
|<code>skeleton_skull</code>, <code>wither_skeleton_skull</code>, <code>player_head</code>, <code>zombie_head</code>, <code>creeper_head</code> and <code>dragon_head</code> are now available as [[item]]s and placed [[block]]s with a <code>rotation</code> block state of 0-15.
|<code>skeleton_wall_skull</code>, <code>wither_skeleton_wall_skull</code>, <code>player_wall_head</code>, <code>zombie_wall_head</code>, <code>creeper_wall_head</code> and <code>dragon_wall_head</code> are available only as placed blocks with a <code>facing</code> block state of north, south, east or west.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 144, and the [[item]]'s 397.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Skeleton skulls now generate as part of [[ancient cities]].}}
{{History||November 14, 2022|link=https://www.minecraft.net/en-us/article/playable-mob-sounds-coming-minecraft-1-20|Piglin heads are announced to be added in [[Java Edition 1.20]] on the Minecraft website.}}
{{History||1.19.3|snap=22w45a|[[File:Player Head (8) JE5.png|32px]] The texture of the player head has been changed.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w46a|[[File:Piglin Head (8) JE1.png|32px]] Added piglin heads behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w03a|Heads can now be placed on top of note blocks without sneaking.}}
<!-- 
{{History||1.19.4|snap=23w05a|Heads can now be swapped by let [[helmet]]s {{ctrl|using}} in the hotbar.<ref>{{bug|MC-216270|||Fixed}}</ref>}}
{{History||?|Head can now be swapped in [[armor stand]]s by {{ctrl|using}} them/[[helmet]]s/[[carved pumpkin]]s in the armor stand's slot.}}
RE-ADD WHEN THE WORDING IS BETTER -->
{{History||1.20|snap=23w12a|Piglin heads are now available without using the "Update 1.20" experimental datapack.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Skeleton Skull (item) JE1 BE1.png|32px]] [[File:Wither Skeleton Skull (item) JE1 BE1.png|32px]] [[File:Zombie Head (item) JE1 BE1.png|32px]] [[File:Player Head (item) JE1 BE1.png|32px]] [[File:Creeper Head (item) JE1 BE1.png|32px]] Added skeleton, wither skeleton, zombie, player, and creeper heads. 
|The skeleton, wither skeleton, zombie, player and creeper heads use the [[Java Edition|Java]] textures prior to [[Java Edition 14w30a|14w30a]].}} 
{{History||v0.14.0|snap=build 1|Mob heads can now be worn as armor.}}
{{History||v0.16.0|snap=build 4|Wither skeleton skulls can now be used to spawn the [[wither]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Dragon Head (item) BE1.png|32px]] Added dragon heads. 
|Dragon heads use a two-dimensional sprite, unlike [[Java Edition|Java]] does.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Mob heads can now be used to craft [[firework star]]s.
|Creeper heads and wither skeleton skulls are now used to [[crafting|craft]] specific patterns on [[banner]]s.}}
{{History|||snap=beta 1.2.0.11|[[File:Skeleton Skull (item) BE2.png|32px]] [[File:Wither Skeleton Skull (item) BE2.png|32px]] [[File:Zombie Head (item) BE2.png|32px]] [[File:Head (item) BE2.png|32px]] [[File:Creeper Head (item) BE2.png|32px]] [[File:Dragon Head (item) BE2.png|32px]] [[Player]] and [[mob]] heads in [[inventory|inventories]] and when held by mobs/players now display as [[block]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Wither skeleton skulls and creeper heads can now be used to craft [[banner pattern]]s.}}
{{History||November 14, 2022|link=https://www.minecraft.net/en-us/article/playable-mob-sounds-coming-minecraft-1-20|Piglin heads are announced to be added in [[Bedrock Edition 1.20.0]] on the Minecraft website.}}
{{History||Next Major Update<br>(Experimental)|link=1.19.60|snap=beta 1.19.60.20|[[File:Piglin Head (item) BE1.png|32px]] Added piglin heads behind the "[[Bedrock Edition 1.20.0|Next Major Update]]" [[experimental]] toggle.}}
{{History|||snap=beta 1.19.60.25|Heads can now be placed on top of note blocks without sneaking.}}
{{History||1.20.0|snap=beta 1.20.0.21|Piglin heads are now available without using the "Next Major Update" experimental toggle.}}
{{History||1.20.40|snap=beta 1.20.40.20|Wither skeleton skulls now make their respective step sounds when played by a note block.}}

{{History|console}}
{{History||xbox=TU12|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Skeleton Skull (item) JE1 BE1.png|32px]] [[File:Wither Skeleton Skull (item) JE1 BE1.png|32px]] [[File:Zombie Head (item) JE1 BE1.png|32px]] [[File:Player Head (item) JE1 BE1.png|32px]] [[File:Creeper Head (item) JE1 BE1.png|32px]] Added skeleton, wither skeleton, zombie, player, and creeper heads to the [[creative inventory]]. 
|Wither skeleton skulls currently do not have a use.}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|Wither skeleton skulls can now be obtained by killing [[wither skeleton]]s.
|Wither skeleton skulls can now be used to build the [[wither]].}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Skeleton, zombie, and creeper heads are now available in [[survival]]. The [[player]] can obtain them by killing the appropriate [[mob]] with a charged [[creeper]].}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|[[File:Dragon Head (item) JE1.png|32px]] Added dragon heads.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Skeleton Skull (item) JE1 BE1.png|32px]] [[File:Wither Skeleton Skull (item) JE1 BE1.png|32px]] [[File:Zombie Head (item) JE1 BE1.png|32px]] [[File:Player Head (item) JE1 BE1.png|32px]] [[File:Creeper Head (item) JE1 BE1.png|32px]] Added skeleton, wither skeleton, zombie, player, and creeper heads.}}
{{History||1.7.10|[[File:Dragon Head (item) BE1.png|32px]] Added dragon heads.}}
{{History|foot}}

===Skull "item"===
{{:Technical blocks/Skull}}

==Issues==

{{issue list}}

== Trivia==
* Despite there being a default Steve head, heads for the other protagonist skins cannot be obtained without using custom names.
*{{IN|be}}, the skull variant for the item is stored under the {{cd|damage}} component, normally used for items with [[durability]].
*The head item's model when wore on a player is slightly larger than its placed block counterpart in the world, which in turn is also slightly larger than the actual player's head. Therefore, a player who wears their own head appears with a larger head.

==Gallery==

===Renders===
<gallery>
Steve wearing Skeleton Skull.png|
Steve wearing Wither Skeleton Skull.png|
Steve wearing Creeper Head.png|
Steve wearing Zombie Head.png|
Steve wearing Dragon Head.png|
Alex wearing Skeleton Skull.png|
Alex wearing Wither Skeleton Skull.png|
Alex wearing Creeper Head.png|
Alex wearing Zombie Head.png|
Alex wearing Dragon Head.png|
Dragon Head.gif|An animation of the dragon head when redstone power is supplied.
</gallery>

===Screenshots===
<gallery>
All The Heads.png|All of the heads.
Headsrotation.png|Heads oriented in different directions.
HeadsOnAFence.png|Heads are the same scale as [[cobblestone wall]] posts.
Playerheads.png|A picture of player heads, including some Mojang characters.
EndShipBow.png|A dragon head found at the bow of an end ship.
</gallery>

====Development====
<gallery>
1st image Mob Head.png|First screenshot released of heads.
Minecart with chest and head thing.png|Notch's head in a [[minecart with chest]].
PauseUnpause's Head 1.png|First image of held heads rendering as blocks.
PauseUnpause's Head 2.png|Second image of held heads rendering as blocks.
Pocket Edition Heads.jpg|First image of a head being worn in bedrock edition.
1.16 Dev failed head holding.jpg|First attempt to fix {{bug|MC-91869}} by [[Xilefian]].
1.16 Dev failed head holding 2.jpg|Second attempt.
</gallery>

===In other media===
<gallery>
Efe Looking at Makena Napping on a Note Block.jpg|[[Efe]] looking at [[Makena]] napping on a Note block
Efe Placing a Zombie Head on a Note Block.jpg|Efe placing a zombie head sneakily on the note block.
Makena Waking up Startled by the Zombie Noise.jpg|Makena waking up startled at the sound of zombies being played on the note block.
File:Piglin Head Animation.jpg|[[Sunny]] using a piglin head to make noise in a [[Crimson Forest]].<ref>https://www.instagram.com/p/Ct7CfOBplrG/</ref>
</gallery>

==References==
{{reflist}}

{{blocks|Utility}}
{{items}}

[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Block entities]]
[[Category:Non-solid blocks]]

[[cs:Hlava]]
[[de:Kopf]]
[[es:Cabeza]]
[[fr:Tête]]
[[hu:Mob fejek]]
[[it:Testa di creatura]]
[[ja:Mobの頭]]
[[ko:몹 머리]]
[[nl:Wezenhoofd]]
[[pl:Głowa]]
[[pt:Cabeça de criatura]]
[[ru:Голова]]
[[uk:Голова]]
[[zh:生物头颅]]</li></ul></nowiki>
Dispensers will now no longer place command blocks.[2]
1.9
{{Extension DPL}}<ul><li>[[Book|Book]]<br/>{{For}}
{{Item
| image = Book.png
| renewable = Yes
| stackable = Yes (64)
|effects=Read}}

'''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>[[String|String]]<br/>{{Block
| image = <gallery>
String JE2 BE2.png  | String
Tripwire (NESW).png | Tripwire
</gallery>
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''String''' is an item used in [[crafting]] recipes such as [[bow]]s, [[fishing rod]]s and [[lead]]s. When placed as a [[block]], string becomes '''tripwire''', which can be combined with [[Tripwire Hook|tripwire hooks]] to form a tripwire circuit.

== Obtaining==
String can be obtained from [[drop]]s, breaking [[cobweb]]s, [[fishing]], [[bartering]], and as gifts from [[cat]]s. String can be looted from [[jungle temple]]s, [[desert pyramid]] chests, and [[dungeon]]s.

===Breaking ===
Tripwire can be {{control|mine|text=mined}} instantly with any [[tool]], dropping string. Tripwire is also removed and drops string as an [[item]] when:
*[[Water]] flows into its space
* A [[piston]] pushes it or moves a [[block]] into its space
Tripwire is destroyed without dropping string if [[lava]] flows into its space.

A [[cobweb]] drops string when it is broken in these ways (see also {{section link|Cobweb|Usage}}):
*Breaking a cobweb with a [[sword]]
*Pushing a cobweb with a [[piston]]
*[[Water]] breaking a cobweb by flowing over it (flowing [[lava]] destroys cobwebs without leaving string)

===Natural generation===
Five pieces of tripwire generate naturally in every [[jungle temple]]. 

===Mob loot ===
[[Spider]]s and [[cave spider]]s drop 0–2 string upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 0–5 string with Looting III.

[[Strider]]s drop 2–5 string upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 2–8 string with Looting III.{{only|Java|short=1}}

[[Cat]]s drop 0–2 string upon death, unaffected by Looting.<ref>{{bug|MC-200707||Looting does not increase drops for iron golems and cats}}</ref>

===Chest loot===
{{LootChestItem|string}}

===Fishing===
String has a 0.6% ({{frac|3|500}}) chance of being caught when [[fishing]] with an unenchanted fishing rod. The chance decreases to 0.5% ({{frac|1|200}}), 0.4% ({{frac|1|250}}), and 0.3% ({{frac|3|1000}}) if the fishing rod is enchanted with [[Luck of the Sea]] at enchantment levels I, II, and III, respectively.

===Cat gifts===
{{main|Cat#Gifts}}

Tamed [[cat]]s have a 70% chance of giving the [[player]] a gift when they wake up from a [[bed]], and the gift has a 16.13% chance to be a string.

===Bartering ===
[[Piglin]]s may [[barter]] 3-9 string when given a [[gold ingot]].

== Usage==
String can be used as a crafting ingredient and tripwire can be used as a [[redstone circuit]] component. It can also be used to keep [[player]]s from ender-pearling through that space.

=== Crafting ingredient===
{{crafting usage}}

===Redstone component===
{{redirect|Tripwire|tripwire hooks|Tripwire Hook}}
{{see also|Redstone circuits}}

String can be placed as tripwire, which can be used to detect [[entity|entities]] as part of a tripwire circuit. [[Observer]]s can also be used with a tripwire to generate redstone signals. 

;Placement

To place tripwire, {{control|use}} string while pointing at a surface facing the space the tripwire should occupy.

{{Schematic | caption =
'''Tripwire Circuit'''
|SB|th-$w|tw-$ew|th-$e|SB
}}
:In order to activate [[tripwire hook]]s, tripwire must be part of a "tripwire circuit": a straight line of [[block]]s consisting of a block with a tripwire hook attached to it, a "tripwire line" (1 to 40 blocks of tripwire), and a second tripwire hook attached to another block. 

;Activation
Tripwire activates if almost any [[entity]] ([[player]]s, [[mob]]s, [[minecart]]s, [[boat]]s, [[item]]s, [[arrow]]s, etc.) intersects its collision mask. The tripwire remains active until there are no entities intersecting its collision mask. Thrown [[potion]]s, some arrows, thrown [[ender pearl]]s, and thrown [[eyes of ender]] do not activate tripwire.

;Behavior
An active tripwire updates adjacent [[block]]s (for example, it can activate a [[Tutorials/Block update detector|BUD circuit]]). Additionally, active tripwires that are part of valid tripwire circuits cause the attached tripwire hooks to activate (producing [[redstone]] power). Active tripwires do ''not'' themselves produce redstone power.

When tripwire is broken (including by being washed away by spreading [[water]] {{in|java}}) after being part of a valid tripwire circuit, it activates the attached tripwire hooks. {{IN|JE}}, it activates for 5 redstone ticks (10 game [[tick]]s, or 0.5 seconds barring lag). {{IN|BE}}, it activates for 6 redstone ticks (14 game [[tick]]s, or 0.6 seconds barring lag). It does not produce the signal if it is broken using [[shear]]s.

===Trading===
Novice-level fisherman [[villager]]s have a 50% chance to buy 20 string as part of their first-tier trade.

Journeyman-level fletcher villagers buy 14 string for 1 [[emerald]] as part of their trade.

==Sounds==
=== Generic===
{{Sound table/Block/Normal}}

===Unique===
{{edition|java}}:
{{Sound table
|rowspan=3
|sound=Click.ogg
|subtitle=Tripwire attaches
|source=block
|description=When a tripwire line is completed
|id=block.tripwire.attach
|translationkey=subtitles.block.tripwire.attach
|volume=0.4
|pitch=0.7
|distance=16}}
{{Sound table
|subtitle=Tripwire clicks
|source=block
|description=When a tripwire line deactivates
|id=block.tripwire.click_off
|translationkey=subtitles.block.tripwire.click
|volume=0.4
|pitch=0.5
|distance=16}}
{{Sound table
|subtitle=Tripwire clicks
|source=block
|description=When a tripwire line activates
|id=block.tripwire.click_on
|translationkey=subtitles.block.tripwire.click
|volume=0.4
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Tripwire detaches
|source=block
|description=When a tripwire hook in a tripwire line is destroyed
|id=block.tripwire.detach
|translationkey=subtitles.block.tripwire.detach
|volume=0.4
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=3
|sound=Click.ogg
|source=block
|description=When a tripwire line is completed
|id=block.click
|volume=0.2
|pitch=0.7}}
{{Sound table
|type=bedrock
|source=block
|description=When a tripwire line deactivates
|id=random.click
|volume=0.2
|pitch=0.5}}
{{Sound table
|source=block
|description=When a tripwire line activates
|id=random.click
|volume=0.2
|pitch=0.6}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=block
|description=When a tripwire hook in a tripwire line is destroyed
|id=block.bowhit
|volume=0.4
|pitch=1.1-1.33
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tripwire
|spritetype=block
|nameid=tripwire
|blocktags=wall_post_override
|form=block}}
{{ID table
|displayname=String
|spritetype=item
|nameid=string
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showaliasids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Tripwire
|spritetype=block
|nameid=trip_wire
|aliasid=tripWire
|id=132
|form=block
|itemform=trip_wire
|translationkey=tile.tripWire.name}}
{{ID table
|displayname=String
|spritetype=item
|nameid=string
|id=326
|form=item
|foot=1}}

===Block states===
{{see also|Block states}}

{{/BS}}

==Video==
<div style="text-align:center">
<span style="display:inline-block">{{yt|WUlhmu3JbcQ}}</span>
<span style="display:inline-block">{{yt|-7jEtrETxwc}}</span>
</div>

==History==
{{History|java indev}}
{{History||0.31|snap=20100129|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History|||snap=20100130|[[Bow]]s can now be [[crafting|crafted]] using string.}}
{{History|||snap=20100201-2|[[Wool|Cloth]] can now be crafted using nine string.}}
{{History||20100219|[[Spider]]s now [[drops|drop]] string.}}
{{History|java infdev}}
{{History||20100625-2|String can now be found inside [[chest]]s in the new [[dungeon]]s.}}
{{History|java alpha}}
{{History||v1.1.1|String can now be used to craft [[fishing rod]]s.}}
{{History|java beta}}
{{History||1.5|Introduced [[cobweb]]s, which [[drops|drop]] string when [[breaking|broken]] with a [[sword]].}}
{{History||1.6.6|Wool is now crafted from four string rather than nine.}}
{{History||1.7|Cobwebs now drop string when broken using [[shears]].}}
{{History||1.8|snap=Pre-release|Cobwebs now generate naturally, making them a viable method to obtain string.}}
{{History|java}}
{{History||May 28, 2012|link=none|Tripwire was first revealed on [[Dinnerbone]]'s [[wikipedia:Twitter|Twitter]].<ref>{{tweet|Dinnerbone|207154562711289856|It's a tripwire, yeah.|May 28, 2012}}</ref><ref>{{tweet|Dinnerbone|207155073023868928|You place it yourself. String is now placeable|May 28, 2012}}</ref> Dinnerbone released a [{{ytl|mWuvXIzYcTc}} video] showing him experimenting with tripwire before its release.}}
{{History||1.3.1|snap=12w22a|String can now be placed on the ground as tripwire.}}
{{History|||snap=12w23a|Tripwire can now activated by most [[entity|entities]] (including [[arrow]]s).
|The max distance of tripwire has now been increased from 18 to 40 [[block]]s.
|Tripwire now has a translucent texture.}}
{{History||1.6.1|snap=13w18a|String can now be used to craft [[lead]]s.}}
{{History||1.8|snap=14w02a|String can now be [[trading|sold]] to fletcher and fisherman [[villager]]s, at 15–20 string for 1 [[emerald]].}}
{{History|||snap=release|Tripwire is now translucent.}}
{{History||1.9|snap=15w44a|String now generates in [[desert temple]] [[chest]]s.
|The average yield of string in [[dungeon]] chests has now more than doubled.}}
{{History|||snap=15w49a|The <code>suspended</code> block state has now been removed from tripwire.}}
{{History||1.11|snap=16w39a|String can now be found in [[woodland mansion]] [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 132 and the [[item]]'s was 287.
|Tripwire can now be disarmed.}}
{{History||1.14|snap=18w43a|String can now be used to craft [[crossbow]]s and a [[loom]].
|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}
{{History|||snap=18w44a|[[Cat]]s now drop 0-2 string upon death.
|Cats now offer string as [[Cat#Gifts|gift]]s.}}
{{History|||snap=18w45a|String can now be used to craft [[scaffolding]].}}
{{History|||snap=18w47a|String can now be found inside [[pillager outpost]] [[chest]]s.}}
{{History||1.16|snap=20w09a|String can now be obtained through [[bartering]] with [[piglin]]s.}}
{{History|||snap=20w13a|[[Strider]]s now [[drops|drop]] string upon [[death]].}}
{{History|||snap=20w16a|String now generates in [[bastion remnant]] chests.}}
{{History||1.17|snap=20w45a|String can now be used to craft [[bundle]]s and [[candle]]s.}}
{{History|||snap=21w13a|The model of the tripwire has been tweaked that the underside texture is mirrored.}}
{{History|||snap=21w19a|String can no longer be used to craft bundles and candles.}}
{{History|||snap=Pre-release 1|String can once again used to craft candles.}}
{{History||1.18|snap=Experimental Snapshot 1|String can now once again be used to craft bundles.}}
{{History|||snap=21w37a|String once again can no longer be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|String can now once again be used to craft bundles.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|String can now be used to craft [[brush]]es.}}
{{History|||snap=1.19.4-pre1|String can no longer be used to craft [[brush]]es.}}
{{History||1.20|snap=23w12a|String can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|String no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; string now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:String JE1 BE1.png|32px]] Added string. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.3|Added spiders, which drop string when they die.
|String can now be used to [[crafting|craft]] [[bow]]s.}}
{{History||v0.4.0|String can now be crafted into [[wool]].}}
{{History||v0.11.0|snap=build 1|String can now be used to craft [[fishing rod]]s.
|String can now be caught as a junk [[item]] from [[fishing]].}}
{{History||v0.13.0|snap=build 1|String can now be placed on the ground as a tripwire.
|String can now be found in [[desert temple]] [[chest]]s.}}
{{History||v0.15.0|snap=build 1|String can now be used to craft [[lead]]s.
|Tripwire now generates in [[jungle temple]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|15-20 String can now be [[trading|sold]] to fletcher and fisherman [[villager]]s for an [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|String can now be found in [[woodland mansion]] [[chest]]s.
|[[Cobweb]]s can now be used to [[crafting|craft]] 9 string.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Tamed [[cat]]s can now give the [[player]] string as gifts.
|String can now be used to craft [[scaffolding]].
|[[Cat]]s now [[drops|drop]] 0–2 string.}}
{{History|||snap=beta 1.8.0.10|String can now be used to craft [[crossbow]]s.}}
{{History||1.9.0|snap=beta 1.9.0.0|Tripwire string that is broken now activates, unless broken with [[shears]].}}
{{History||1.10.0|snap=beta 1.10.0.3|String can now be found in [[pillager outpost]] chests.
|String can now be used to craft a [[loom]].
|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, fisherman [[villager]]s now have a 50% chance to [[trading|buy]] 20 string as part of their first-tier trade.
|Fletcher villagers now buy 14 string for an [[emerald]] as their third-tier trade.}}
{{History||1.16.0|snap=beta 1.16.0.57|String can now be obtained through [[bartering]] with [[piglin]]s.
|Added [[strider]]s, which [[drops|drop]] string upon [[death]].
|String can now be found in [[bastion remnant]] chests.}}
{{History||1.17.10|snap=beta 1.17.10.22|String can now be used to craft [[candles]].}}
{{History||1.18.30|snap=beta 1.18.30.26|The ID of tripwire block is changed from <code>tripWire</code> to <code>trip_wire</code>}}
{{History||1.20.10|snap=beta 1.20.10.20|String can no longer be crafted from cobwebs.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History||xbox=TU14|ps=1.04|String can now be placed on the ground as [[tripwire]].}}
{{History||xbox=none|xbone=none|ps=1.88|wiiu=none|switch=none|Tripwires are now activated when [[breaking|broken]], unless broken with [[shears]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:String JE2 BE2.png|32px]] The texture of string has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:String JE1 BE1.png|32px]] Added string.}}
{{History|foot}}

===Tripwire "item"===
{{:Technical blocks/Tripwire}}

== Issues ==
{{Issue list}}

== Gallery ==
<gallery>
Tripwire (NS).png|
Tripwire (N).png|
Tripwire (E).png|
Tripwire (S).png|
Tripwire (W).png|
Tripwire (EW).png|
Tripwire (NE).png|
Tripwire (ES).png|
Tripwire (SW).png|
Tripwire (NW).png|
Tripwire (ESW).png|
Tripwire (NSW).png|
Tripwire (NEW).png|
Tripwire (NES).png|
</gallery>

=== Screenshots ===
<gallery>
DinnerboneTripwireDev3.png|The first image of tripwires [[dinnerbonetweet:207154292593917952|released]] by Mojang.
DinnerboneTripwireDev4.png|An image [[dinnerbonetweet:207294114398605312|released]] by Mojang testing visibility of tripwires from a distance at night.
DinnerboneTripwireDev5.png|The same room viewed from the same angle, in daytime.
Dinnerbone String.png|Power lines made of suspended string blocks.
</gallery>

==References==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--string Taking Inventory: String] – Minecraft.net on May 14, 2020

{{Redstone}}
{{Items}}
{{Blocks|Utility}}

[[Category:Redstone mechanics]]
[[Category:Mechanics]]
[[Category:Mechanisms]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]

[[cs:Vlákno]]
[[de:Faden]]
[[es:Hilo]]
[[fr:Ficelle]]
[[hu:Fonál]]
[[it:Cordicella]]
[[ja:糸]]
[[ko:실]]
[[nl:Draad]]
[[pl:Nić]]
[[pt:Linha]]
[[ru:Нить]]
[[th:เส้นใย]]
[[uk:Нитка]]
[[zh:线]]</li></ul>
15w33aCharacter limit for command blocks is now 32,500 instead of 32,767.
15w34aFile:Chain Command Block Revision 1.png File:Repeating Command Block Revision 1.png Added the chain command block and the repeating command block.
Added block facing for command blocks.
File:Impulse Command Block Revision 2.png Command block textures have now been updated.
15w34bAdded Conditional mode within command blocks.
Added tab completion support within command blocks.
15w35aImpulse Command Block Chain Command Block Repeating Command Block Updated texture of all three command blocks.
Added Always active and needs redstone options for command blocks.
Added auto NBT tag to control redstone options within command blocks.
When command blocks are set to conditional, the back of the arrow texture is curved.
15w36aPlayers are now unable to use commands, such as /give, within command blocks.
Players, who unable to use commands, can now no longer place command blocks.
15w36dEach command block type will now appear with different colors on maps.
16w02aRunning /help in a command block will now randomly use one of various different humorous phrases as the previous output.
16w04aRunning "Searge" as the command in the command block without a preceding "/" will now set the previous output to "#itzlipofutzli".
1.11
{{Extension DPL}}<ul><li>[[Gunpowder|Gunpowder]]<br/>{{Item
| image = Gunpowder.png
| stackable = Yes (64)
| renewable = Yes
}}

'''Gunpowder''' is an item that is used for [[explosion]]-related recipes, and as an ingredient in potions.

== Obtaining ==

=== Mob loot ===

==== Creepers ====

[[Creeper]]s can drop 0-2 pieces of gunpowder upon death. [[Looting]] can increase this by one per level, with a maximum of 5 gunpowder.

==== Ghasts ====

[[Ghast]]s can drop 0-2 pieces of gunpowder upon death. Looting can increase this by one per level, with a maximum of 5 gunpowder.

==== Witches ====

[[Witch]]es can drop 0-6 pieces of gunpowder upon death. Looting can increase this by three per level, with a maximum of 15 gunpowder.
<!--
=== Crafting ===

{{Crafting
|showdescription=1
|description= {{only|bedrock|education}}
|Coal; Charcoal
|Sulfur
|Bone Meal
|Output= Gunpowder, 3
|type= Miscellaneous
}}
-->
=== Trading ===

<!--Wandering trader always offer one of the 5 item (one of them is gunpowder)-->

[[Wandering trader]]s have {{frac|1|6}} chance to sell gunpowder for an [[emerald]].

=== Chest loot ===

{{LootChestItem|gunpowder}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Brewing ingredient ===
{{brewing
  |name=[[Splash Potion]]
  |showname=1
  |Gunpowder
  |Splash Mundane Potion; Splash Potion of Healing; Splash Potion of Fire Resistance; Splash Potion of Harming; Splash Potion of Poison; Splash Potion of Regeneration; Splash Potion of Slowness; Splash Potion of Strength; Splash Potion of Swiftness; Splash Potion of Weakness; Splash Potion of Night Vision; Splash Potion of Invisibility; Splash Potion of Water Breathing; Splash Potion of Leaping
  |base=Any Potion
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gunpowder
|spritetype=item
|nameid=gunpowder
|id=328
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100130|[[File:Gunpowder JE1 BE1.png|32px]] Added gunpowder.
|Gunpowder is a [[crafting]] ingredient for [[TNT]]. 
|Gunpowder can be [[drops|dropped]] by any [[mob]].}}
{{History||20100219|Gunpowder now [[drops]] only from [[creeper]]s.}}
{{History|java infdev}}
{{History||20100625-2|Gunpowder can now be found in [[dungeon]] [[chest]]s.}}
{{History|java alpha}}
{{History||v1.2.0|snap=preview|Added [[ghast]]s, which [[drops|drop]] gunpowder upon [[death]].{{needs testing|was their gunpowder dropping present in the preview version, or added later on?|type=untestable}}}}
{{History|java beta}}
{{History||1.0|The item now has a display name: ''Sulphur''.}}
{{History||1.3|''Sulphur'' has been renamed to ''Gunpowder''.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|Gunpowder is now usable in [[brewing]] to create [[splash potion]]s.}}
{{History||1.2.1|snap=12w04a|[[Fire charge]]s are now [[crafting|crafted]] with gunpowder.}}
{{History||1.4.2|snap=12w38b|[[Witch]]es may now [[drops|drop]] gunpowder.}}
{{History||1.4.6|snap=12w49a|Gunpowder can now be used to craft a [[firework star]] and a [[firework rocket]].}}
{{History||1.9|snap=15w44a|Gunpowder now generates in [[desert temple]] [[chest]]s.
|The average yield of gunpowder in [[dungeon]] chests has now doubled.}}
{{History||1.11|snap=16w39a|Gunpowder can now be found in [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 289.}}
{{History|||snap=18w11a|Gunpowder can now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Gunpowder JE2 BE2.png|32px]] The texture of gunpowder has been changed.}}
{{History|||snap=19w05a|Added [[wandering trader]]s, which sell gunpowder.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Gunpowder now drops when brushing [[suspicious sand]] in [[desert pyramid]]s.}}
{{History||1.20|snap=23w12a|The probability for the gunpowder to generate in [[suspicious sand]] in [[desert temple]]s has been changed from 1/7 to 1/8.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Gunpowder JE1 BE1.png|32px]] Added gunpowder. It is currently unobtainable and serves no purpose.}}
{{History||v0.3.3|Gunpowder now drops from [[creeper]]s. It is still unobtainable due to creepers not yet spawning naturally.}}
{{History||v0.4.0|Creepers now spawn naturally, making gunpowder obtainable in Survival mode.
|Gunpowder can now be used to craft [[TNT]].}}
{{History||v0.12.1|snap=build 1|Added gunpowder to the [[creative]] [[inventory]].
|Gunpowder is now usable in [[brewing]] to create [[splash potion]]s.}}
{{History||v0.13.0|snap=build 1|Gunpowder can now be found inside [[desert temple]] [[chest]]s.}}
{{History||v0.14.0|snap=build 1|Gunpowder can now be dropped by [[witch]]es.}}
{{History||v0.15.0|snap=build 1|Gunpowder can now be used to craft [[fire charge]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gunpowder now generates inside [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Gunpowder can now be used to craft [[firework rocket]]s and [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Gunpowder now generates inside [[shipwreck]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Gunpowder JE2 BE2.png|32px]] The texture of gunpowder has been changed.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Gunpowder now drops when brushing [[suspicious sand]] in [[desert pyramid]]s.}}

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

{{History|New 3DS}}
{{History||0.1.0|[[File:Gunpowder JE1 BE1.png|32px]] Added gunpowder.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--gunpowder Taking Inventory: Gunpowder] – Minecraft.net on June 21, 2019

{{Items}}

[[Category:Recipe using Charcoal]]

[[cs:Střelný prach]]
[[de:Schwarzpulver]]
[[es:Pólvora]]
[[fr:Poudre à canon]]
[[hu:Puskapor]]
[[it:Polvere da sparo]]
[[ja:火薬]]
[[ko:화약]]
[[nl:Buskruit]]
[[pl:Proch]]
[[pt:Pólvora]]
[[ru:Порох]]
[[th:ดินปืน]]
[[tr:Barut]]
[[uk:Порох]]
[[zh:火药]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li><li>[[Name Tag|Name Tag]]<br/>{{about|the item that gives names to mobs|the nameplate above a player's head|Player#Username}}
{{Item
| image = Name Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''name tag''' is an [[item]] used to name [[mob]]s in the world and prevent them from despawning naturally.

== Obtaining ==

=== Chest loot ===

{{LootChestItem|name-tag}}

=== Fishing ===

Name tags can be caught from [[fishing]] as part of the treasure category with a {{frac|1|6}} chance after the 5% chance of being a treasure catch. The chance of catching treasure increases with the [[Luck of the Sea]] enchantment.

=== Trading ===

Master-level librarian [[villagers]] offer to sell a name tag for 20 [[emerald]]s as one of their available trades.

== Usage ==

To use a name tag, it must first be renamed with an [[anvil]], costing 1 [[experience]] level. 

If it is not renamed, it has no effect when used on a mob. After the name tag is renamed, the player can {{control|use}} it on a mob to give it the name given to the name tag from the anvil. Mobs and name tags can be renamed any number of times. Name tags with the same name are stackable. 

Once a mob is named, it keeps its name, and the name tag is consumed.

When a mob is named, it is excluded from the mob cap count.

Effects on various mobs:
* A named [[silverfish]] that goes into a block appears to lose its name because it is replaced by a newly generated unnamed silverfish when the block is broken.
* A baby (animal or villager) keeps its name when becoming an adult.
** A named [[villager]] keeps its name when transformed into a [[Zombie Villager|zombie villager]].
** A named zombie villager keeps its name when cured.
* [[Wandering Trader|Wandering trader]]s still despawn even if they are named, or in a [[minecart]] or [[boat]].
* A named [[wither]]'s boss bar displays its name instead of "Wither".
* Naming an [[ender dragon]] with commands also displays the name in the boss bar.

=== Limitations ===

Any mob can be named except for the [[ender dragon]] and [[player]]s.

A name tag can rename an [[armor stand]], though it does not show the nameplate above its head until <code>CustomNameVisible:1b</code> is set as an extra step.

{{control|Using|use}} a name tag on a villager renames the villager instead of opening the trading interface. A saddled pig is renamed instead of being ridden. Using a name tag on any other mob that can be interacted with performs the {{control|use}} action instead of being named. These mobs can be renamed if the player uses the name tag while crouching or standing in a [[nether portal]] because the portal suppresses the {{control|use}} action.

Once a name tag is used on a mob, it is impossible to remove the name of that mob without the use of commands or external modifications.

=== Behavior ===

Renamed mobs have their name displayed over their head in the same fashion as a mob named through a renamed [[spawn egg]]. Their names can be seen only if they are aimed at from four or fewer blocks away.

Mobs that are named using the name tag never despawn in the world, similar to tamed mobs.<ref>{{tweet|dinnerbone|327485109940916226}}</ref> The exceptions are [[wandering trader]]s or if the mob is hostile and the difficulty is switched to "[[Peaceful]]", causing any hostile mobs or any named hostile mobs to despawn immediately. 

If a renamed mob kills a player, the custom name is used in the death message in place of the mob type name. For instance, if a vindicator named "Johnny" kills a player, the death message is "Player was slain by Johnny". 

A renamed [[wither]] also has a renamed health bar, and the boss bar doesn't regenerate{{verify}}.

=== Easter eggs ===

* Any mob that receives the name "[[Easter eggs#Upside-down mobs|Dinnerbone]]" or "[[Easter eggs#Upside-down mobs|Grumm]]" is rendered upside down. This even includes the player in early versions of Bedrock Edition if the username is set to either of these and you are not signed into Xbox Live.
* Naming a [[sheep]] "[[Easter eggs#Jeb sheep|jeb_]]" causes its wool to fade between the dye colors, producing a rainbow effect. The [[wool]] that drops when the sheep is [[shear]]ed or killed is the original color of the sheep before the sheep was named.
* Naming a [[rabbit]] "[[Rabbit#Toast|Toast]]" causes it to have a special memorial skin of user xyzen420's girlfriend's [http://www.reddit.com/r/minecraftsuggestions/comments/27hjog/to_themogminer_my_bunny_is_missing_please_help_me/ missing rabbit].
* Naming a [[vindicator]] "Johnny" causes it to be aggressive and attack all [[mob]]s including the wither (except [[ghast]]s and other [[illager]]s). The hostility even extends to [[Ravager|ravagers]] in [[Java Edition|''Java Edition'']], as the "Johnny" vindicator can also attack the ravager while it's riding it.

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|id=548
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.6.1|snap=13w16b|[[File:Name Tag JE1 BE1.png|32px]] Added name tags. They can now be found in [[dungeon]] [[chest]]s.}}
{{History|||snap=13w25a|A [[mob]] named "Dinnerbone" or "Grumm" now renders upside down.}}
{{History||1.7.2|snap=13w36a|Name tags can now rarely be acquired by [[fishing]], making them [[renewable resource|renewable]].}}
{{History||1.7.4|snap=13w48b|A sheep named "jeb_" now fades between the [[dye]] colors.}}
{{History||1.8|snap=14w02a|Name tags can now be [[trading|bought]] from librarian [[villager]]s, at 20–22 [[emerald]]s for 1 name tag.}}
{{History|||snap=14w27a|[[Rabbit]]s have been added and naming one "Toast" gives it a special memorial skin.}}
{{History||1.9|snap=15w44a|Added name tags to [[mineshaft]] [[chest]]s.
|The average yield of name tags in [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Name tags can now be found in the new [[woodland mansion]] chests.
|Added [[vindicator]]s, which attack almost all mobs if named "Johnny".}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 421.}}
{{History||1.14|snap=18w43a|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Name tags now generate in [[ancient city]] chests.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Name Tag JE1 BE1.png|32px]]  Added name tags, and a new "Name" Interact button.
|A [[mob]] named "Dinnerbone" or "Grumm" renders upside down.
|A [[sheep]] named "jeb_" fades between the [[dye]] colors.
|Naming a [[rabbit]] "Toast" gives it a special memorial skin.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Name tags can now be [[trading|bought]] from librarian [[villager]]s for 20-22 [[emerald]]s as their last tier trade.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Naming a [[vindicator]] "Johnny" now makes it hostile to any [[mob]], except other [[illager]]s.
|Name tags can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Name tags can now be found in buried treasure [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Name tags [[trading|sold]] by librarian [[villager]]s now cost 20 [[emerald]]s.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|PS4}}
{{History||1.90|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Name tags were added at the request of [https://www.youtube.com/user/paulsoaresjr/ Paulsoaresjr].<ref>{{tweet|paulsoaresjr|326865482839883777}}</ref><ref>{{tweet|Dinnerbone|326812168630722561}}</ref>
* A stack of up to 64 name tags can be renamed at once. The cost is 1 [[experience]] level per stack, regardless of how many name tags were stacked.
* To name a [[mob]] “Name Tag” the player must give the name tag a random name, then rename it back to “Name Tag”.
* A [[villager]] with a name tag turned into a [[zombie villager]] by a [[zombie]] with a name tag does not despawn, but a villager with a name tag turned into a zombie by a zombie without a name tag does despawn.
* It is impossible to have a rainbow [[sheep]] upside-down, because it is impossible for it to be named “Jeb_” and “Dinnerbone” at the same time.

== Gallery ==
<gallery>
NameTag2.png|To use a name tag, the [[player]] must first rename it using an [[anvil]].
NameTag1.png|A [[wolf]] that has been renamed using a name tag.
RenamedCreeper.png|A [[creeper]] renamed using the name tag.
RenamedWither.png|A [[Wither Boss|wither]] renamed using a name tag. The custom name takes place of "Wither" over the [[health bar]] as well.
YoYo.png|How to use "Grumm" and "Dinnerbone" name tag [[easter egg]] and [[lead]] to make another animal Yo-yo.
Grumm Horse.png|A [[horse]] using the "Grumm" or "Dinnerbone" easter egg to be rendered upside-down.
MineshaftNameTag.png|Name Tag found in a mineshaft chest.
Pocket Edition Name Tag.jpg|First image of a name tag in bedrock edition.
</gallery>

== See also ==
* [[Spawn Egg]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--name-tag Taking Inventory: Name Tag] – Minecraft.net on March 15, 2019

{{items}}

[[de:Namensschild]]
[[es:Etiqueta]]
[[fr:Étiquette]]
[[it:Targhetta]]
[[ja:名札]]
[[ko:이름표]]
[[nl:Naamkaartje]]
[[pl:Znacznik]]
[[pt:Etiqueta]]
[[ru:Бирка]]
[[zh:命名牌]]
[[Category:Renewable resources]]</li></ul>
16w32aThe block entity ID is changed from Control to command_block.
1.12
{{Extension DPL}}<ul><li>[[Debug Stick|Debug Stick]]<br/>{{about|the item|other uses|Debug}}
{{exclusive|java}}
{{Item
| image = Debug Stick.gif
| rarity = Epic
| renewable = No
| stackable = No
}}

The '''debug stick''' is an [[item]] used to edit the [[block states]] of [[block]]s. It is visually identical to a regular [[stick]], but with a glint (as if [[Enchanting|enchanted]]).

== Obtaining ==

The debug stick is obtainable via [[commands]] such as {{cmd|/give}} or {{Cmd|/item}}, or the Creative inventory if the player has the appropriate permissions. It can be obtained only in worlds with cheats on.

== Usage ==

The debug stick can be used to change block states. {{control|Hitting}} the block allows players to select the block state key they wish to change, for an example, switching between the ''conditional'' and the ''facing'' block state keys for a [[command block]]. {{control|Using}} the block allows them to cycle through the valid values for the block state key, again as an example, the player can make the command block face, ''down'', ''east'', ''north'', ''south'', ''up'', or ''west'' if they chose the ''facing'' block state key. {{control|Sneaking}} while {{control|hitting}} or {{control|using}} cycles through the block state keys or values in reverse order.

It is notable that {{Control|using}} debug stick directly on an interactive block without {{Control|sneaking}} uses the block itself instead of the stick.<ref>{{bug|MC-200199}} </ref>

The debug stick cannot be used while in Survival or Adventure mode. It works only in creative mode with cheats enabled. In modes other than Creative, it acts like a regular item — although when {{control|using}} it on a block, the player swings the stick as if interacting with it (but nothing happens).

== Data values ==
=== ID ===
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Debug Stick
|spritetype=item
|nameid=debug_stick
|form=item
|foot=1}}

=== Item data ===

<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Debug Sticks}}
</div>

== History ==

{{History|java}}
{{History||1.13|snap=17w47a|[[File:Debug Stick.gif|32px]] Added debug sticks.}}
{{History||1.16|snap=20w10a|Debug sticks are now capable of editing [[fire]] due to its added hitbox.}}
{{History||1.19.3|snap=22w44a|The debug stick is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the debug stick behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}}
{{History|foot}}

== Issues ==
The debug stick is not supported, and any issues resulting of its usage are closed as "Won't Fix" in the issue tracker.<br/> Issues with the stick itself are considered valid.<ref>https://bugs.mojang.com/browse/MC-122323?focusedCommentId=419481&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-419481</ref><ref>{{reddit|7es23r||Just be aware that any weird state you create with it you cannot naturally create and any bugs that come from it will be shot down as 'Wont fix' :D|_Grum|November 22, 2017}}</ref>

{{issue list}}

== Trivia ==
*An [[add-on]] made by Mineplex was showcased in [[MINECON Live 2019]], which had an editor stick for {{el|be}}, similar to the Debug Stick.<ref>{{ytl|OZqNaEX8208|MINECON Live 2019 @ 1:05:02|Minecraft|September 28, 2019|t=3902}}</ref>

== Gallery ==
<gallery>
Technically Updated.jpg|Artwork of Steve and Alex wielding debug sticks.
</gallery>

== See also ==
*[[Block states]]

== References ==
{{Reflist}}

{{Items}}

[[Category:Non-renewable resources]]

[[de:Debug-Stab]]
[[es:Palo de depuración]]
[[fr:Bâton de débogage]]
[[ja:デバッグ棒]]
[[ko:디버그 막대기]]
[[pl:Patyk debugujący]]
[[pt:Graveto de depuração]]
[[ru:Палка отладки]]
[[zh:调试棒]]</li><li>[[:Category:Invalid data value items|Category:Invalid data value items]]<br/>[[Category:Items]]</li></ul>
17w16aChains of command blocks will no longer schedule their commands to be run in the next tick. Instead, they will now execute all in the same tick they are read. This allows later blocks in a chain to be modified via earlier blocks, allowing techniques like branching and looping, all in the same tick.
Added maxCommandChainLength game rule to control the max length of such a chain.
17w17aAdded UpdateLastExecution and LastExecution NBT tags, which control the tracking of which tick a chain command block was last executed in.
pre6Tab-completing command names in command blocks will now no longer add a / prefix.
1.13
{{Extension DPL}}<ul><li>[[Footprint|Footprint]]<br/>{{about|the joke item|the unused particle|Java Edition unused features#Footprint particle}}
{{Joke feature}}
{{Item
| image = Footprint (item).png
| renewable = No
| stackable = Yes (64)
}}

The '''Footprint''' was a joke item from [[Java Edition 20w14∞]], found only in the {{code|missing}} dimension.

== Appearance ==
This item is semi-transparent with a grey colour scheme.

== Obtaining ==

=== Dimension ===
Footprints were obtained only from a chest in the {{Code|missing}} dimension. Only existing in 2020 April fools snapshot 20w14∞, it cannot exist in any non-April Fool's joke versions and April Fool's joke versions before or after 20w14∞. There is a maximum of 2 footprints that can be obtained legitimately in any given world.

=== Cheats/Creative Mode ===
Despite these footprints not being available in the creative inventory, it is still possible to acquire them via the command {{Code|code=give <target> minecraft:footprint <amount>}} or duplicating them by holding down middle-click whilst in creative mode.

== Usage ==
As of snapshot 20w14∞, this item cannot be placed or used in any way other than a trophy. This item can be inserted and/or rotated inside of an item frame, and it has a stack limit of 64.

== Data values ==
=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Footprint
|spritetype=item
|nameid=footprint
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||20w14∞|[[File:Footprint (item).png|32px]] Added the footprint item.}}
{{History|foot}}

== Gallery ==
<gallery>
File:Missing biome.png|The Easter Egg dimension that the item spawns in.
</gallery>

== Trivia ==
* This is a reference to the removed "Footstep" particle, hence in the "missing" dimension.
** This item is intended as a joke directed towards the commands' community where the "Footstep" particle is commonly requested.<ref>https://gist.github.com/boq/8e65cb85badc75765eeb8956af78aaa5</ref>

== References ==
{{reflist}}

{{Items}}
{{Jokes}}

[[Category:Non-renewable resources]]
[[Category:Joke items]]

[[es:Footprint]]
[[pt:Pegada]]</li><li>[[Elytra|Elytra]]<br/>{{Item
| image = Elytra.png
| rarity = Uncommon
| renewable = No
| durability = 432
| stackable = No
}}
'''Elytra''' ({{Audio|ElytraPronunciation.mp3|/ˈɛl ɪ trə/|link2=''ᴇʟ-i-trə''}}<ref>“Elytron.” ''Merriam-Webster.com Dictionary'', Merriam-Webster, https://www.merriam-webster.com/dictionary/elytron. Accessed 22 May. 2022.</ref>)<!--"Elytra" is the plural of "elytron," a single half of a beetle's protective wing covers. Verbs should agree accordingly (e.g. "Elytra allow flight"). https://www.merriam-webster.com/dictionary/elytron--> are rare wings found in [[end ship]]s that are a source of flight in [[Survival]] mode.

== Obtaining ==
=== Natural generation ===
Elytra are found only in [[end city|end cities]] in [[item frame|item frames]] in the treasure room of the [[end ship]]. A [[shulker]] guards the elytra and the ship's two loot chests.

=== Repairing ===

Elytra can be enchanted with [[Mending]] so that they get [[Item repair|repaired]] as the player collects [[experience]] orbs while wearing/holding them.

Elytra can also be repaired in the player crafting grid, by combining two damaged pairs of elytra together. 

{{crafting
|showname=0
|showdescription=1
|ignoreusage=1
|Damaged Elytra
|Damaged Elytra
|Output= Elytra
|description= The durability of the two pairs is added together, plus an extra 5% durability, but removes any enchantments.
|type= Transportation
}}

Similarly, two damaged elytra pairs can be combined on a [[grindstone]].

{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Elytra]]
|Damaged Elytra
|Damaged Elytra
|Elytra
|description=The durability of the two pairs is added together, plus an extra 5% durability, but removes any enchantments.
}}

Elytra can also be repaired at an anvil using [[phantom membrane]]s, which has the advantage that it preserves [[enchantments]] on elytra. Each phantom membrane restores 108 durability points, exactly 25% of the elytra's total durability. 

{| class="wikitable" data-description="Repairing elytra"
! scope="col" style="width:64px;" | Name
! Ingredients
! [[Anvil]] usage
|-
! scope="row" style="text-align: center;" | '''Elytra'''
| [[Elytra]] +<br>[[Phantom Membrane]]
| style="width: 260px; padding: 1px;" | {{Anvil| title = Elytra|Input1=Damaged Elytra|Input2=Phantom Membrane, 2|Output=Elytra}}
|-
|}
Each repair on the anvil, however, also increases the [[Anvil mechanics|prior work]] penalty for the Elytra, making every subsequent repair increasingly expensive and eventually reaching an upper limit where repairs are no longer allowed because they are "too expensive" (even if the player has many xp levels to spare). However, the prior work penalty can be reset to 0 for an enchanted elytra pair when it is disenchanted on a grindstone. Unenchanted elytra cannot be used on the grindstone alone.

== Usage ==
[[File:Steve in elytra.png|75px]] [[File:Alex in elytra.png|75px]]

Elytra are equipped in the [[chestplate]] slot, either by placing the item directly in the slot, by pressing {{ctrl|use item}} while [[hotbar|held in hand]], or by firing a point-blank [[dispenser]] at a target. They are gray in color by default, but they adopt the design of any [[cape]] the player is wearing. They maintain their in-world texture design even when they're [[#Repair|broken]] or [[enchanted]].

=== Flying ===
To fly, the player must press the {{ctrl|jump}} key while falling, and the elytra spread apart like a beetle's elytra. The player can aim their view around to turn or adjust their pitch. Losing altitude increases speed, and gaining altitude decreases speed. [[Firework rocket]]s can be used to increase speed. Additionally, speed is quickly lost from sharp changes in direction.

Directly hitting any surface while gliding too fast causes damage to the player and their armor proportional to flight speed (although this may be calculated from another factor). When a player dies in this way, they receive the [[death messages|death message]] "'''<player> experienced kinetic energy'''". The player does not take [[fall damage]] from colliding at a shallow angle or a low enough speed. The critical, damaging angle is about 50° with the collision surface, and the calculation for damage seems to be as if the player had fallen from their maximum potential glide height to the height of the struck surface. 

A safe and simple cruise with the highest travel distance can be achieved by aiming directly at the horizon while at the glide's altitude limit. The player's speed is slow enough to allow them time to do other things during a long flight, like sort out their inventory.

In [[Creative]] mode or when the "mayfly" [[ability]] has been given, the player can alternatively hold the {{ctrl|jump}} key to fly up,{{only|bedrock}} or double press the jump key to move around freely. 

Flight can be stopped by pressing the [[jump]] key.{{only|bedrock}} 

==== Speed and altitude ====
Elytra have a minimum speed of about 7.2 m/s (obtained by gliding at the altitude cap with a strong upward pitch of 30°). If the diver drops to 0 speed, they quickly get accelerated back up to at least this minimum. The diver can increase speed by choosing to descend faster, but afterward, they do not regain nearly as much altitude. In the real world, drag increases with speed, and drag, in turn, slows the aircraft; Minecraft mimics this. To glide from cliff to cliff, a player's best bet is to aim slightly above the horizon.

Sharp turns are a fast way to lose speed. Quicker turns cause greater losses, while gentle movements have small effects. Making a hairpin turn can actually be used for making high-speed landings safe as well as for precise landings on small targets like rooftops. The player aims to glide just above the target, then as they're right over it they immediately reverse directions, then they make readjustments as necessary.

The lowest rate of altitude loss is about 1.5 m/sec, obtained by gliding at the altitude cap with a slight upward pitch (12° or 15°).

To get the best possible glide ratio (and thus the furthest distance out of their altitude), the diver pilot should aim directly at the horizon. This ratio is about 9.47 to 1.

[[Slow Falling]] potions greatly decrease the player's vertical (fall) speed, which also greatly decreases their ''horizontal'' speed (clearly, it depends on the vertical fall rate, as one might expect from flight modeling). The net result is that the player flies extremely slowly - but their Elytra still takes durability damage at the usual rate (1 durability per second without Unbreaking, etc.). Due to this combination, Elytra plus Slow Falling is largely a novelty that most players won't use. The [[Feather Falling]] enchantment does not affect Elytra speed and does not reduce fall damage from hitting things with elytra.

It is possible to calculate the glide range by dividing the altitude by tan of the glide angle (altitude/tan(glide angle)). For example, if the player glides from an altitude of 64 blocks above ground with a glide angle of 15 degrees, they can glide for 237 blocks (assume that they are on superflat), since floor(64 / tan(15)) is 237.

==== Stalling ====
Trying for too high a pitch reduces the player's lift. At a pitch of 30° above the horizon, the player has the lowest possible airspeed of 7.2 m/sec. Above that, the player might be considered to be in a stall. Increasing the pitch gets closer to a free-fall, and stalled flight at 60° is enough to cause fall damage. Stalling at 90° is a true free-fall.

Recovering from a stall is done by readjusting to any safe pitch as quickly as the player likes. This can be just changing to look at the horizon.

==== Powered flight ====
{{fakeImage|{{invSprite|Firework Rocket}}|Firework rockets are used for speed boosts while gliding.}}

[[Firework rocket]]s can be used for propulsion during flight by placing it in either hand and {{ctrl|using}}. Using a firework rocket while gliding quickly maximizes the player's speed for a time similar to the rocket's flight duration.

If the rocket is equipped with [[firework star]]s, it explodes at the end of its flight, inflicting damage based on the number of stars.

It is possible to gain altitude during powered flight. This makes it possible to glide for extreme distances and had been used extensively by [[far lands]]/[[World Border]] challenges.

=== Durability and Repair ===
{{fakeImage|{{invSprite|Broken Elytra}}|A broken pair of elytra.}}

[[Durability]] decreases by one point each second when gliding. A pair of elytra has 432 durability, allowing 7 minutes and 12 seconds of gliding time without enchantments, providing more than 10,000 blocks of transport distance. It is possible to apply the [[Unbreaking]] enchantment using an [[anvil]] and an [[enchanted book]], which affects the elytra, in the same way it does to [[tool]]s. Unbreaking III increases elytra's flight time to about four seconds per durability point, a total of 28 minutes and 44 seconds.

When the durability reaches 1, elytra stop working until they are repaired, adopting a tattered texture in the inventory. The damage ends at durability 1, so they can never fully break. A pair may be repaired by either using the [[Mending]] enchantment, combining two pairs in a [[grindstone]], or combining it in an anvil with [[phantom membrane]]s. In an anvil, each piece of membrane repairs elytra by 108 durability points, requiring 4 pieces to fully repair them.

Each repair on the anvil will also increase the [[Anvil mechanics|prior work]] penalty for the Elytra, making every subsequent repair increasingly expensive, with an upper limit where repairs are no longer allowed because they are "too expensive". However, the prior work penalty can be reset to 0 for an enchanted elytra pair when it is disenchanted on a grindstone (by adding nothing to it). Unenchanted elytra cannot be used on the grindstone alone.

=== Enchantments ===
Elytra can receive the following [[enchantments]] by combining in an anvil:
{| class="wikitable sortable"
|-
! Enchantment 
! Max Level
![[Enchanting|Method]]
|-
| [[Unbreaking]]
| III
|{{Inventory slot|Anvil}}
|-
| [[Mending]]
| I
|{{Inventory slot|Anvil}}
|-
| [[Curse of Vanishing]] 
| I
|{{Inventory slot|Anvil}}
|-
| [[Curse of Binding]] 
| I
|{{Inventory slot|Anvil}}
|}
{{notelist|columns=1}}

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|subtitle=Elytra rustles
|source=player
|description=When a pair of elytra is equipped
|id=item.armor.equip_elytra
|translationkey=subtitles.item.armor.equip_elytra
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Elytra loop.ogg
|subtitle=MC-177084
|source=player
|description=While flying with a pair of elytra
|id=item.elytra.flying
|translationkey=-
|volume=0.0-1.0 <ref group=sound>Is a quarter of the player's velocity. If flying for less than 1 second, it is 0.0; otherwise, if flying for less than 2 seconds, it is between 0.0 and a quarter of the player's velocity (scaling up with time until 2 seconds)</ref>
|pitch=1.0 <ref group=sound>If the volume is greater than 0.8, 0.8-volume is added to the pitch</ref>
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a pair of elytra'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=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|source=player
|description=When a pair of elytra is equipped
|id=armor.equip_leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Elytra loop.ogg
|source=player
|description=While flying with a pair of elytra
|id=elytra.loop
|volume=''Depends'' {{checkthecode}}
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a pair of elytra'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=Elytra
|spritetype=item
|nameid=elytra
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Elytra
|spritetype=item
|nameid=elytra
|id=564
|form=item
|foot=1}}

== Achievements ==
{{Load achievements|Super Sonic}}

== Advancements ==
{{load advancements|Sky's the Limit}}

== History ==
{{History|java}}
{{History||1.9|snap=October 5, 2015|slink=https://twitter.com/_tomcc/status/651042141397979136|[[Tommaso Checchi]] tweets that [[Jeb]] is working on a secret feature for Minecraft Java Edition, saying "it's like [[W:c:Mario:Super Mario 64|Mario 64]]."}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651416814791081984|[[Jeb]] tweets a [https://web.archive.org/web/20230820173231/https://gfycat.com/serpentinehighlevelamurminnow-minecraftsuggestions-ethoslab animated GIF] revealing a [[player]] gliding around an [[end city]]. Elytra have a dragon-wing texture.}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651419480187346944|Jeb tweets an [https://web.archive.org/web/20230219045525/https://i.imgur.com/LBgZCyW.png image] of folded wings, which replace the cape the player is wearing.}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651423700777074688|Jeb tweets another [https://web.archive.org/web/20230820083025/https://gfycat.com/leadingindolentgangesdolphin animated GIF] of his character with Mojang-themed elytra, gliding along a [[river]] through a [[taiga]] forest.}}
{{History|||snap=15w41a|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.
|Elytra are currently repaired with [[leather]] when using [[anvil]].}}
{{History|||snap=15w42a|Elytra now spread slightly when the [[player]] crouches.
|The player can now take [[damage]] from gliding into walls, and crashing into a wall now has its own [[Health#Death messages|death message]].
|When flying with elytra, players are only 0.6 blocks tall. They, therefore, can now fit through 1-block gaps while gliding.
|The [[player]] can no longer go higher than the starting point of the glide.}}
{{History|||snap=15w43a|The player's point of view now shifts while gliding.}}
{{History|||snap=16w06a|Elytra now recognize the [[player]]'s [[cape]] and adopt a different elytron design for every official cape (see [[#Gallery|Gallery]]). In addition, Jeb is working on a feature to allow players to change the elytron design like regular player skins.}}
{{History|||snap=16w07a|Elytra are now activated by jumping mid-air. The player no longer glides automatically when falling.
|The cape option in the [[options|options menu]] now also disables custom elytra textures.
|Added the [[game rule]] {{cd|disableElytraMovementCheck}}.}}
{{History||1.9.1|snap=pre1|[[Sound]]s while gliding with elytra have been added.}}
{{History||1.11|snap=16w32a|Elytra can now be placed on [[armor stand]]s, just like any other [[chestplate]].}}
{{History|||snap=16w38a|Elytra are now visible on [[zombie]]s, [[skeleton]]s, and armor stands.}}
{{History|||snap=16w41a|Elytra now have their own [[sound]] when equipped.}}
{{History||1.11.1|snap=16w50a|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 443.}}
{{History|||snap=18w14a|Elytra now require [[phantom membrane]] to be repaired, instead of [[leather]].}}
{{History||1.14|snap=18w43a|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of the elytra have been changed.}}
{{History||1.15|snap=19w39a|The deployment animation of elytra causes [[player]] blinks when the deployment events has overlapped.}}
{{History|||snap=19w42a|The deployment and folding animations of elytra have been improved and become smoother.
|Elytra can now start to glide immediately after a jump, not only during falls.}}
{{History||1.18|snap=experimental snapshot 7|Elytra no longer use up durability when gliding regularly. Durability is now only consumed when a [[firework rocket]] is used.
|Speed boosts from firework rockets are slightly weaker.
|Now break when the item reaches 0 durability.}}
{{History|||snap=21w37a|The elytra changes in experimental snapshot 7 have been reverted.}}
{{History||1.19|snap=Pre-release 1|Equipping elytra through the inventory now plays a sound.<ref>{{bug|MC-94060||Equipping armor/elytra through inventory or dispenser doesn't play sounds|Fixed}}</ref>}}
{{History||1.19.4|snap=23w05a|Equipping elytra while held with an item already in the chestplate slot now swaps the two items.}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra. In-game, they are known as ''elytra wings''.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||1.2.3|snap=beta 1.2.3.3|''Elytra Wings'' have been renamed to ''Elytra''.}}
{{History||1.6.0|snap=beta 1.6.0.5|Elytra can now be repaired in an [[anvil]] using [[phantom membrane]], instead of [[leather]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of elytra have been changed.}}

{{History|console}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|switch=1.0.1|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Elytra are now repaired on the [[anvil]] using [[phantom membrane]] instead of [[leather]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of elytra have been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The singular form of elytra is an {{w|elytron}}.
* In reality, elytra are not used for flight. They are the tough forewings of beetles and earwigs that cover the wings they actually use for flight. However, like ''Minecraft'' elytra, beetles can use them for gliding.
* A flying player has a shorter hitbox than usual: A 0.6 block cube centered on the player's feet.
* It is possible to glide while on a [[ladder]], by pressing {{key|shift}} followed by {{key|space}}, causing the player to fall with a speed determined by the player's visual angle. This means that the player can descend fast on a ladder, but if the speed is too fast when hitting the ground, they can take fatal fall damage. Using a [[firework rocket]] can also speed up the player's descent. 
* {{IN|java}} if the player glides into deep [[water]] with elytra equipped, the animation does not stop, giving it the appearance of a [[swimming]] animation.<ref name="MC-97190">{{bug|MC-97190||While gliding into water or lava, player continues gliding|WAI}}</ref> The animation stops once the player touches the ground. Additionally, [[firework rocket]]s can be used with elytra underwater with a short boost duration.
* Elytra do not deactivate when the player flies into [[lava]].<ref name="MC-97190"/>
* Elytra can be equipped onto some [[mob]]s using [[command]]s. This has no effect unless the mob has the {{cd|FallFlying}} tag set to {{cd|1b}}. Mobs glide forward, unable to control the movement before landing, at which time they regain their AI. 
** Exceptions to this are [[squid]]s as the squid's AI causes it to attempt swimming in midair, making it fall straight down because it conflicts with the elytra mechanics.
**Because [[chicken]]s fall slowly, they can move more distance.
** [[Enderman|Endermen]], tamed [[wolf|wolves]] and tamed [[cat]]s that are not sitting cannot teleport until they hit the ground.
** Because mobs do not regain control until they hit the ground, [[vex]]es fall until they die or despawn as they cannot touch the ground. 
** Mobs capable of flying, such as [[parrot]]s or vexes can steer in air, though they cannot travel up or down. Dolphins also have this ability.
* [[4J Studios]] created an elytron-centered tutorial map for console edition when elytra were first introduced to this platform, this map is themed as "ruins of an ancient civilization of ''[[Minecraft]]'' worshipers" and showcases the new amplified terrain generation. This map can be seen behind the scenes.<ref>{{Mcnet|learning-fly|Learning To Fly}}</ref> On 28 March 2017, 4J Studios added an elytron-themed [[Mini Games]] for console edition called "Glide;" it consists of Time Attack and Score Attack mode.<ref>{{Mcnet|glide-mini-game-consoles-tomorrow|Glide Mini Game on Consoles Tomorrow|March 23, 2017}}</ref><ref>{{Mcnet|mini-game-masters-glide-console|Mini Game Masters Glide onto Console|March 28, 2017}}</ref>
* A player who jumps with both elytra and the [[Slow Falling]] effect travels slightly upward, which is a cheap but time-consuming alternative to [[fireworks]] and [[Riptide]]-enchanted [[trident]]s.
* On May 5, 2019, [[Mojang]] tweeted '[[The End]] never yields enough adequate resources, sadly,' along with a sad emoji.<ref>{{tweet|Minecraft|1125053038757068802|The End never yields enough adequate resources, sadly. 😔}}</ref> The first letter of each word spells 'T E n y e a r s' (Ten Years). Attached was a picture of [[player|Steve and Alex]] wearing both a [[chestplate]] and elytra. The next day, they tweeted, "Have you noticed something ''suspic10us'' here lately?"<ref>{{tweet|Minecraft|1125415169495064576|Have you noticed something suspic10us here lately?}}</ref>
* Mojang has considered the suggestion of combining elytra with a chestplate, but eventually decided against it, stating that elytra taking up armor is an intentional decision of game balancing.<ref>
{{cite
|url=https://feedback.minecraft.net/hc/en-us/articles/360005029872-Previously-Considered-Suggestions
| title = Part of the tradeoff of having an Elytra is it takes up half your armor.
|website=Minecraft Feedback
|date=July 12, 2018}}
</ref>

== Gallery ==
<gallery>
ElytraFlight.gif|The first image of elytra, tweeted by [[Jeb]]. Click to play.
FoldedWings.png|Folded elytra, which resembles the [[cape]] the user is wearing.
Minecon2015Alternative.png|The minecon 2015 cape elytra.
Dinnerbone Elytra.png|[[Dinnerbone]] flying upside down.
ElytraEnd.png|Elytra in an [[end ship]].
PlayerElytraBack.png|A [[player]] wearing elytra.
PlayerElytraFront.png|A player using elytra.
Broken Elytra.png|Elytra with only 1 [[item durability|durability]].
UpcomingElytras.jpg|Elytra designs fitting to the official capes, posted by Jeb on {{w|Reddit}}.
FlyBlock.png|A player gliding while blocking with a [[shield]].
Suspic10us.jpg|An image of players using elytra.
Steve Gliding with Elytra.png|Steve gliding with elytra.
Alex Gliding with Elytra.png|Alex gliding with elytra.
Enchanted Elytra (item).gif|A pair of  enchanted elytra.
</gallery>

=== Console exclusive ===
<gallery>
Glide Score Cavern 2.png|Screenshot of Glide mini-games.
Glide Time Cavern 2.png|Another screenshot of Glide mini-games.
GLIDE Official.jpg|''Glide'' launch poster.
Elytra Tutorial Map.jpg|Official elytra themed tutorial map.
</gallery>(These maps can be found for a price on the Microsoft Store)

=== Designs when wearing capes ===
<blockquote>Designs that are not listed here have default elytron texture or don't have any.</blockquote><gallery>
File:Mojang employees Elytra.png|Old [[Mojang]] cape
File:Mojang employees 2015 Elytra.png|New Mojang cape
File:Mojang Studios employees 2021 Elytra.png|Mojang Studios cape
File:Crowdin Translator Elytra.png|[[Crowdin]] Translator cape
File:DannyBstyle's Elytra.png|dannyBstyle's cape
File:JulianClark's Elyrtra.png|JulianClark's cape
File:Millionth Customer Elytra.png|Millionth Customer cape
File:MINECON 2011 Attendees Elytra.png|[[MINECON 2011]] Attendees cape
File:MINECON 2012 Attendees Elytra.png|[[MINECON 2012]] Attendees cape
File:MINECON 2013 Attendees Elytra.png|[[MINECON 2013]] Attendees cape
File:MINECON 2015 Attendees Elytra.png|[[MINECON 2015]] Attendees cape
File:MINECON 2016 Attendees Elytra.png|[[MINECON 2016]] Attendees cape
File:MINECON LIVE 2019 Founder's Elytra.png|[[MINECON Live 2019]] Founder's cape
File:Mojira Moderator Elytra.png|[[bug tracker|Mojira]] Moderator cape
File:MrMessiah's Elytra.png|MrMessiah's cape
File:Prismarine Elytra.png|[[Prismarine]] cape
File:Realms Mapmaker Elytra.png|[[Realms]] mapmaker's cape
File:Cobalt Elytra.png|[[Cobalt (game)|Cobalt]] cape
File:Scrolls Elytra.png|[[Scrolls]] cape
File:Turtle Elytra.png|[[Turtle]] cape
File:PancapeElyR.png|Pancape cape
File:MSCapeElyR.png|Migrator cape
File:Gr8 Escape's elytra.png|Gr8_Escape's cape
File:Valentine Elytra.png|Valentine cape
File:Vanilla Cape Elytra JE.png|Vanilla cape{{only|java}}
File:Vanilla cape elytra BE.png|Vanilla cape{{only|bedrock}}
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--elytra Taking Inventory: Elytra] – Minecraft.net on December 14, 2019

{{Items}}

[[de:Elytren]]
[[es:Élitros]]
[[fr:Élytres]]
[[ja:エリトラ]]
[[ko:겉날개]]
[[nl:Dekschild]]
[[pl:Elytry]]
[[pt:Élitros]]
[[ru:Элитры]]
[[tr:Elitra]]
[[zh:鞘翅]]
[[Category:Non-renewable resources]]</li></ul>
17w47aPrior to The Flattening, the numeral IDs for the command block, repeating command block, and chain command block were 137, 210, and 211, respectively.
pre1The player can now tab-complete in command blocks again.
Pocket Edition
1.0.5
{{Extension DPL}}<ul><li>[[:Category:Food|Category:Food]]<br/>

[[Category:Items]]

[[cs:Kategorie:Potraviny]]
[[fr:Catégorie:Nourriture]]
[[hu:Kategória:Ételek]]
[[zh:Category:食物]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

== Obtaining ==
=== Natural generation ===
Redstone comparators generate in [[Ancient City|ancient cities]].

=== Breaking ===
A redstone comparator can be broken instantly with any [[tool]], or by hand, and drops itself as an item.

{{Breaking row|Redstone Comparator|horizontal=y}}

A redstone comparator is removed and dropped as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.

If [[lava]] flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.

=== Crafting ===
{{Crafting
|B1=Redstone Torch
|A2=Redstone Torch
|B2=Nether Quartz
|C2=Redstone Torch
|A3=Stone
|B3=Stone
|C3=Stone
|Output= Redstone Comparator
|type=Redstone
}}

== Usage ==
A redstone comparator can be placed on the top of any [[opaque]] block with a solid full-height top surface (including upside-down [[slab]]s and upside-down [[stairs]]). {{IN|be}}, a comparator can also be placed on [[wall]]s and fences. For more information about placement on transparent blocks, see [[Opacity/Placement]].

The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by {{control|using}} the comparator:
* Down and unpowered (indicating the comparator is in "comparison mode")
* Up and powered (indicating the comparator is in "subtraction mode")

The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from [[redstone dust]], [[block of redstone]], [[redstone repeater]]s, other comparators, and [[observer]]s in specific scenarios. The redstone comparator's front is its output.

It takes 1 [[redstone tick]] (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off. 

Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a [[clock circuit|1-clock]] input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time will cause a redstone comparator to respond to 2 gametick pulses.

The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).

=== Maintain signal strength ===
A redstone comparator with no powered sides outputs the same signal strength as its rear input.

=== Compare signal strength ===
[[File:Comparators Explained.png|Comparators in comparison mode.|thumb]]
A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.

The formula for calculating the output signal strength is as follows:

<code>output = rear × [[Wikipedia:Iverson bracket|[]]'''''left''''' ≤ '''''rear''''' AND '''''right''''' ≤ '''''rear'''''[[Wikipedia:Iverson bracket|<nowiki>]]]</code>
{{-}}

=== Subtract signal strength ===
[[File:Redstone comparator.png|thumb|The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than B, it would output 0.]]
A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.

<code>output = max('''''rear''''' − max('''''left''', '''right'''''), 0)</code>

For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of ''max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0''.

If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of ''max(9 − max(2, 5), 0) = max(9−5, 0) = 4''.

=== Measure block state ===
{{Schematic | caption = A redstone comparator can measure the fullness of a chest, as well as other block states, even through an opaque block.
 |rd-ew!|rc-w!|ch|SB|rc-e!|rd-ew!
}}
A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by an opaque block. However, {{in|je}}, if the opaque block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.<ref>{{bug|MC-64394}} (resolved as "Works As Intended")</ref>
[[Category:Java Edition specific information]]
{{-}}

==== Fullness of containers ====
{| class="wikitable floatright" style="margin-left: 0.5em; margin-right: 0; text-align: center;"
|+ Minimum Items for Container Signal Strength
|-
!Containers
!{{BlockSprite|Furnace|link=Furnace}}<br>{{BlockSprite|Blast Furnace|link=Blast Furnace}}<br>{{BlockSprite|Smoker|link=Smoker}}
!{{BlockSprite|Hopper|link=Hopper}}<br>{{EntitySprite|Minecart with Hopper|link=Minecart with Hopper}}<br>{{BlockSprite|Brewing Stand|link=Brewing Stand}}
!{{BlockSprite|Dispenser|link=Dispenser}}<br>{{BlockSprite|Dropper|link=Dropper}}
!{{BlockSprite|Chest|link=Chest}}<br>{{EntitySprite|Minecart with Chest|link=Minecart with Chest}}<br>{{BlockSprite|Shulker Box|link=Shulker Box}}<br>{{BlockSprite|Barrel|link=Barrel}}
![[Double Chest|{{Schematic|size=16|ch-s|-|ch-n}}
]]
!{{BlockSprite|Jukebox|link=Jukebox}}
|-
!Total Slots
!3!!5!!9!!27!!54!!1
|-
!Power Level
! colspan="5" |Number of Items
!Music Disc
|-
|0||0||0||0||0||0||No disc
|-
|1||1||1||1||1||1||"13"
|-
|2||14||23||42||1s 60||3s 55||"cat"
|-
|3||28||46||1s 19||3s 55||7s 46||"blocks"
|-
|4||42||1s 5||1s 60||5s 51||11s 37||"chirp"
|-
|5||55||1s 28||2s 37||7s 46||15s 28||"far"
|-
|6||1s 5||1s 51||3s 14||9s 42||19s 19||"mall"
|-
|7||1s 19||2s 10||3s 55||11s 37||23s 10||"mellohi"
|-
|8||1s 32||2s 32||4s 32||13s 32||27s||"stal"
|-
|9||1s 46||2s 55||5s 10||15s 28||30s 55||"strad"
|-
|10||1s 60||3s 14||5s 51||17s 23||34s 46||"ward"
|-
|11||2s 10||3s 37||6s 28||19s 19||38s 37||"11"
|-
|12||2s 23||3s 60||7s 5||21s 14||42s 28||"wait"
|-
|13||2s 37||4s 19||7s 46||23s 10||46s 19||"Pigstep"
|-
|14||2s 51||4s 42||8s 23||25s 5||50s 10||"Otherside"<br>"Relic"
|-
|15||3s||5s||9s||27s||54s||"5"
|}
A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.

Containers that can be measured by a comparator include:
* {{BlockLink|Furnace}}
* {{BlockLink|Blast Furnace}}
* {{BlockLink|Smoker}}
* {{BlockLink|Brewing Stand}}
* {{BlockLink|Hopper}}
* {{ItemLink|Minecart with Hopper}} on top of a [[detector rail]]
* {{BlockLink|Dispenser}}
* {{BlockLink|Dropper}}
* {{BlockLink|Chest}}
* {{BlockLink|Trapped Chest}}
* {{ItemLink|Minecart with Chest}} on top of a [[detector rail]]
* {{BlockLink|Barrel}}
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large chest
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large trapped chest
* {{BlockLink|Shulker Box}} (any color)

Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).

The ''Minimum Items for Container Signal Strength'' table (right) shows the minimum '''''full-stack-equivalent (FSE)''''' to produce different signal strengths from common containers. A '''''full-stack-equivalent''''' quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.

One may also consider the terms: '''c''umulative-weight''''' or '''''weighted-sum''''' instead of '''''full-stack-equivalent'''''.

Items that stack to a max of 16  ([[snowball]]s, [[sign]]s, [[ender pearl]]s, etc.), contribute +4 to the ''full-stack-equivalent'' for each unity (count of 1 item). Similarly, items that stack to 1 ([[minecart]], [[boat]], etc.) contribute +64, and items that stack to 64 contribute +1.

Example 1: 3 ender pearls will contribute a 3 x 4 = 12 ''full-stack-equivalent''.

Example 2: 16 ender pearls and 60 redstone dust contributes a 16x4 + 60x1 = 124 ''full-stack-equivalent''.

Example 3: 1 minecart and 60 redstone dust contributes a 1x64 + 60x1 = 124 ''full-stack-equivalent''.

Example 4: To produce a signal strength of 10 from a hopper, one requires a ''full-stack-equivalent'' of at least 3s + 14 = 206 but strictly less than than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.

When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has an opaque block, [[ocelot]], or [[cat]] above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.

;Calculating signal strength from items

:When a container is empty, the output is off.

:When it is not empty, the output signal strength is calculated as follows:

:<code>'''''signal strength''''' = floor(1 + (('''''sum of all slots' fullnesses''''') / ('''''number of slots in container''''')) × 14)</code>

:<code>fullness of a slot = '''''number of items in slot''''' / '''''max stack size for this type of item'''''</code>

:''Example:'' 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 ''full-stack-equivalent.'' This produces an output with a signal strength of 8:
<blockquote>
1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8
</blockquote>

;Calculating items from signal strength

:It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:

:<code>items required = max('''''desired signal strength''''', roundup(('''''total slots in container''''' × 64 / 14) × (desired signal strength − 1)))</code>

:''Example:'' To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:
<blockquote>
max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110
</blockquote>
{{-}}

==== Miscellaneous ====
[[File:Comparator storage.png|Comparators used to measure containers.|thumb]]
Some non-container blocks can also be measured by a redstone comparator:

;{{BlockLink|Beehive}} and {{BlockLink|Bee nest}}

: A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.

;{{BlockLink|Cake}}

: A cake outputs a signal strength relative to the amount of cake remaining.  Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.

[[File:Cauldron Redstone Strength Values.png|Cauldron signal strength|thumb]]
;{{BlockLink|Cauldron}}

: A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava or powder snow is inside, the strength is always 3.

[[File:Composter Redstone Strength Values.png|Composter signal strength|thumb]]
;{{BlockLink|Composter}}

: A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.

;{{Anchor|CommandBlock}}{{BlockLink|Command Block}}

: A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the [[command]]'s success conditions: if a red error message is returned in the chat, the command was not successful.

: Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).

: A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).

;{{BlockLink|End Portal Frame}}

: An end portal frame outputs a full signal of 15 if it contains an [[eye of ender]] and zero otherwise.

[[File:Item frame and comparator.png|A comparator can measure the presence and rotation of an item frame's contents.|thumb]]

;{{EntityLink|Item Frame}}

: A comparator can measure the state of an [[item frame]]'s contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.

: For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.

: The comparator must be placed behind the block the item frame is attached to, facing away from the item frame. The block must be a full block, and the item frame cannot be submerged in water. Having a sign in the same block as the item frame will prevent the frame from sending a signal as well.{{only|java}}

;{{BlockLink|Jukebox}}

: A jukebox outputs a signal strength indicating which music disc is currently playing. See the ''Minimum Items for Container Signal Strength'' table above.

;{{BlockLink|Lectern}}

: A lectern outputs a signal strength that depends on what page the player is currently on. The calculation used is:
:<code>'''''signal strength''''' = floor(1 + (('''''current page''''' - 1) / ('''''number of pages in book''''' - 1)) × 14)</code>
:This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which will output a signal strength of 15.
:For example, a book with 15 pages will output a signal equal to the current page number.  A book with 5 pages will output signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages will have the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
:

;{{BlockLink|Respawn Anchor}}

: A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.

;{{BlockLink|Sculk Sensor}}

: A sculk sensor outputs a signal strength depending on the type of vibration that is detected.

;{{BlockLink|Chiseled Bookshelf}}

: A chisled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
{{-}}

== Sounds ==
=== Generic ===
{{Edition|Java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}

=== Unique ===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Click.ogg
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to subtraction mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.55
|distance=16}}
{{Sound table
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to comparison mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.5
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Click.ogg
|source=block
|description=When a comparator is set to subtraction mode
|id=block.click
|volume=0.2
|pitch=0.55}}
{{Sound table
|source=block
|description=When a comparator is set to comparison mode
|id=block.click
|volume=0.2
|pitch=0.5
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=comparator
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Comparator
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-comparator
|spritetype=block
|nameid=unpowered_comparator
|id=149
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-comparator
|spritetype=block
|nameid=powered_comparator
|id=150
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-comparator
|spritetype=item
|nameid=comparator
|id=522
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=Comparator
|foot=1}}

=== Block states ===
{{see also|Block states}}
{{/BS}}

=== Block data ===
A redstone comparator has a block entity associated with it that holds additional data about the block.

{{el|je}}:
{{see also|Block entity format}}
{{/BE}}

{{el|be}}:
: See [[Bedrock Edition level format/Block entity format]].

== Advancements ==
{{Load advancements|the power of books}}

== Video ==

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

== History ==
{{info needed section|If {{bug|MC-50242}} also affected comparators?}}
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||November 24, 2012|link=https://youtube.com/watch?v=YG9RNyRhIow&t=6m56s|[[Jeb]] stated that there may be a "capacitor" in [[Minecraft]]. }}
{{History||December 27, 2012|link={{tweet|Dinnerbone|284388625595125760}}|[[Dinnerbone]] released [https://web.archive.org/web/20190710120115/https://imgur.com/a/FBKed pictures] of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.}}
{{History||January 2, 2013|link={{tweet|Dinnerbone|286428595423965184}}|Dinnerbone released one more [http://dinnerbone.com/media/uploads/2013-01/screenshots/2013-01-02_12.06.47.png picture] of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main [[block]].}}
{{History||1.5|snap=13w01a|[[File:Redstone Comparator (S) JE1.png|32px]] [[File:Powered Redstone Comparator (S) JE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.
|Redstone comparators have 0 delay.
At this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.}}
{{History|||snap=13w01b|A delay of 1 game tick ({{frac|1|2}} redstone tick) has now been added to redstone comparators to fix bugs.
|The ability to measure containers to redstone comparators has now been added.}}
{{History|||snap=13w02a|[[File:Redstone Comparator (S) JE2.png|32px]] [[File:Powered Redstone Comparator (S) JE2.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2.png|32px]] The appearance of redstone comparators has now been changed - the top texture has changed to show [[quartz]] in the middle and the sides now use the [[smooth stone]] texture rather than the smooth stone slab side texture.
|The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 [[item]] in the container.}}
{{History|||snap=13w02b|Redstone comparators now treat large [[chest]]s as a single container.}}
{{History|||snap=13w03a|Redstone comparators now output success count of [[command block]]s.
|Redstone comparators now measure container [[minecart]]s on [[detector rail]]s.}}
{{History|||snap=13w04a|Redstone comparators now measure [[jukebox]]es.}}
{{History|||snap=13w05a|Redstone comparators no longer cause constant [[block]] updates. The delay has now been made consistent, and side input no longer causes a pulse output.
|Block 150 (later <code>powered_comparator</code>) is no longer used; powered state is now represented by the 8s bit on block 149 (later <code>unpowered_comparator</code>).}}
{{History|||snap=13w05b|Redstone comparator delay has now been changed from 1 game tick (1/2 [[redstone]] tick) to 2 game ticks (1 redstone tick).}}
{{History|||snap=13w09c|The redstone signal strength from a redstone comparator next to a [[brewing stand]] with 3 [[water bottle]]s in it is now the same as one with 3 water bottles and 1 ingredient in it.}}
{{History||1.6.1|snap=13w18a|Redstone comparators now measure [[cauldron]]s and [[end portal frame]]s.}}
{{History||1.8|snap=14w04a|Redstone comparators now measure [[item frame]]s.}}
{{History|||snap=14w10a|The torches under redstone comparators have now been shortened, which has changed the underside appearance from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=14w25a|[[File:Redstone Comparator (S) JE3.png|32px]] [[File:Powered Redstone Comparator (S) JE3.png|32px]] [[File:Subtracting Redstone Comparator (S) JE3.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE3.png|32px]] The torches on comparators are now subject to ambient occlusion.
|Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through {{cmd|setblock}}.}}
{{History|||snap=14w25b|[[File:Subtracting Redstone Comparator (S) JE4.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE4.png|32px]] The powered front torch when in subtraction mode is now lower.
|Comparators set to subtract by hand now appear normally again.}}
{{History|||snap=14w28a|Redstone comparators now measure [[cake]]s.}}
{{History||1.9|snap=15w42a|With the addition of the [[blaze powder]] fuel slot, [[brewing stand]]s now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
{{{!}} class{{=}}"wikitable collapsible collapsed" data-description{{=}}"Original values"
! Original values
{{!}}-
{{!}}
*0: 0
*1: 1
*2: 19
*3: 37
*4: 55
*5: 1s 10
*6: 1s 28
*7: 1s 46
*8: 2s
*9: 2s 19
*10: 2s 37
*11: 2s 55
*12: 3s 10
*13: 3s 28
*14: 3s 46
*15: 4s
{{!}}}
}}
{{History|||snap=15w47a|Redstone comparators' side inputs now take power from [[redstone block]]s.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone comparator have now been merged into one ID: <code>comparator</code>.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 149 and 150, and the [[item]]'s 404.
|As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID.}}
{{History||1.14|snap=18w43a|[[File:Redstone Comparator (S) JE4.png|32px]] [[File:Powered Redstone Comparator (S) JE4.png|32px]] [[File:Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|||snap=19w02a|Redstone comparators now measure [[lectern]]s.}}
{{History|||snap=19w03a|Redstone comparators now measure [[composter]]s.}}
{{History|||snap=19w12b|Redstone comparators can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.15|snap=19w34a|Redstone comparators now measure how much honey is inside [[beehive|bee hive]]s and [[bee nest]]s.}}
{{History||1.16|snap=20w06a|The way to calculate the input signals of redstone comparators has now been changed.}}
{{History|||snap=20w11a|The changes to the way of calculating the input signals of redstone comparators from [[Java Edition 20w06a|20w06a]] have now been reverted.}}
{{History|||snap=20w16a|Redstone comparators now measure [[Pigstep music disc]]s in [[jukebox]]es.}}
{{History||1.17|snap=20w45a|Redstone comparators now measure [[lava cauldron]]s.}}
{{History|||snap=20w46a|Redstone comparators now measure [[Cauldron#Holding powder snow|powder snow cauldron‌]]s.}}
{{History||1.18|snap=21w41a|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.19|snap=22w13a|Redstone comparators now generate as part of [[ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Redstone comparators now measure [[chiseled bookshelves]].}}
{{History||1.20.2|snap=23w33a|Redstone comparators now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Redstone comparators now measure [[end portal frame]]s.}}
{{History||1.0.5|snap=alpha 1.0.5.0|Redstone comparators now output success count of [[command block]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone comparators now measure [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone comparators now measure [[jukebox]]es.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]]}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone comparators now measure [[smoker]]s, [[blast furnace]]s, [[lectern]]s and [[composter]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone comparators now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Redstone comparators can now measure [[item frame]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] Added redstone comparators.}}
{{History|foot}}

=== Redstone comparator "items" ===
{{:Technical blocks/Redstone Comparator}}

== Issues ==
{{issue list}}

== Trivia ==
* Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.<ref>{{bug|MC-51692|||WAI}}</ref>

== Gallery ==
<gallery>
Dinnerbone Comparator 1.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 2.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 3.png|Dinnerbone showing how comparators work.
Dinnerbone Comparators 1.png|A contraption incorporating comparators.
Dinnerbone Comparators 2.png|Comparators in action.
Dinnerbone Comparators 3.png|Output specific signals.
Dinnerbone Comparator Thing.png|Another comparator in use.
Item Frame Comparator.png|Rotating the torch in the item frame adjusts the comparator's output.
</gallery>

== References ==
{{reflist}}

{{Redstone}}
{{Blocks|Utility}}
{{Items}}

[[Category:Mechanics]]
[[Category:Block entities]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Non-solid blocks]]

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
build 1Impulse Command Block Chain Command Block Repeating Command Block Added all types of command blocks.
Upcoming Bedrock Edition
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>[[Pufferfish (item)|Pufferfish (item)]]<br/>{{DISPLAYTITLE:Pufferfish}}
{{about|the food item|the mob|Pufferfish}}
{{Item
| title = Pufferfish
| image = File:Pufferfish_(item)_JE5_BE2.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
|effects=: {{EffectLink|link=Hunger (effect)|Hunger}} III (0:15)
: {{EffectLink|Poison}} II (1:00)
: {{EffectLink|Nausea}} I (0:15){{only|JE}}
: {{EffectLink|Nausea}} II (0:15){{only|BE}}
}}
A '''pufferfish''' is a poisonous [[food]] item that is used to brew [[Potion of Water Breathing|Water Breathing potions]].

== Obtaining ==
=== Fishing ===
Pufferfish can be obtained through [[fishing]]. The pufferfish catch rate can be increased by [[Lure]], which reduces wait time generally.
<!--1-6 exp-->

{{IN|bedrock}}, pufferfish can be caught only when fishing outside [[jungle]] biomes and its variants (i.e. everywhere ''except'' in jungles).

=== Mob loot ===
==== Guardians and elder guardians ====
[[Guardian]]s and [[elder guardian]]s have a 2.5% chance of dropping a random fish upon death. This has a 13% chance of being pufferfish (0.325% chance of dropping a pufferfish). The chance of getting a fish can be increased by 1% per level of [[Looting]], but the type of fish is not affected.

==== Pufferfish ====
[[Pufferfish]] always drop 1 pufferfish in its item form when killed. This drop is not affected by the Looting enchantment.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref>

== Usage ==
=== Food ===
Pufferfish restores {{hunger|1}} hunger and 0.2 [[Hunger#Mechanics|saturation]], but inflicts [[Hunger_(effect)|Hunger]] III for 15 seconds, [[Poison]] II for 1 minute, and [[Nausea]] I<sup>[''[[Java Edition|JE]] only'']</sup> or II<sup>[''[[Bedrock Edition|BE]] only'']</sup> for 15 seconds. Unlike [[rotten flesh]], it is not helpful to eat pufferfish while starving because they inflict more hunger than they earn.

===Brewing ingredient===
{{brewing
|Pufferfish
|Potion of Water Breathing
|head=1
}}
{{brewing
|Pufferfish
|Mundane Potion
|ingredients=Pufferfish + [[Water Bottle]]
|foot=1
}}

=== Trading ===
Master-level fisherman [[villager]]s buy 1~4{{only|bedrock|short=1}} or four{{only|java|short=1}} pufferfish for an [[emerald]].

=== Wolves ===
{{IN|Bedrock}}, pufferfish can be used to feed a [[wolf]], healing it by {{hp|1|mob=1}}, but only when the wolf is not at full health. Unlike other wolf food, pufferfish cannot be used to speed up the growth of baby wolves, and cannot be used to breed them.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pufferfish
|spritetype=item
|nameid=pufferfish
|itemtags=fishes
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pufferfish
|spritetype=item
|nameid=pufferfish
|id=267
|form=item
|foot=1}}

== Advancements ==
{{load advancements|A Furious Cocktail;How did we get here;Husbandry;A Balanced Diet;Fishy Business}}

== History ==
{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Pufferfish (item) JE1.png|32px]] Added pufferfish.
|Added potions of [[Water Breathing]], which can be [[brewing|brewed]] by adding a pufferfish to an [[Awkward Potion]].}}
{{History|||snap=13w43a|[[File:Pufferfish (item) JE2 BE1.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.8|snap=14w25a|Pufferfish is now obtainable as a rare drop from [[guardian]]s and [[elder guardian]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 349.}}
{{History|||snap=18w08b|[[Pufferfish]] (and other [[fish]] types) has been added as a [[mob]], which [[drops|drop]] its item form when killed.
|[[File:Pufferfish (item) JE3 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.14|snap=18w43a|[[File:Pufferfish (item) JE4 BE1.png|32px]] The texture of pufferfish has accidentally been reverted.}}
{{History|||snap=18w43b|[[File:Pufferfish (item) JE5 BE2.png|32px]] The correct texture of pufferfish has been restored.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] pufferfish.}}
{{History||1.16.2|snap=Pre-release 2|The level of [[Nausea]] given by pufferfish has been reduced from II to I.<ref>{{bug|MC-196473}}</ref>}}
{{History||1.17|snap=20w46a|The level of [[Poison]] given by pufferfish has been reduced from IV to II.<ref>{{bug|MC-197276}}</ref>}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Pufferfish (item) JE2 BE1.png|32px]] Added pufferfish.}}
{{History||v0.12.1|snap=build 1|Pufferfish now restore [[hunger]] instead of [[health]].
|Pufferfish can now be used to make [[potion]] of Water Breathing.}}
{{History||v0.16.0|snap=build 1|Pufferfish is now dropped by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[Pufferfish]] has been added as a [[mob]], which [[drops|drop]] its [[item]] form when killed.
|[[File:Pufferfish (item) JE5 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.8.0|snap=beta 1.8.0.8|Pufferfish can now be used to feed [[ocelot]]s to gain their trust.}}
{{History||1.11.0|snap=beta 1.11.0.4|Pufferfish can now be [[trading|sold]] to fisherman [[villager]]s.}}
{{History||1.19.10|snap=beta 1.19.10.23|The strength of the [[poison]] effect has been decreased from IV to II.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Pufferfish (item) JE2 BE1.png|32px]] Added pufferfish.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[Pufferfish]] (and other [[fish]] types) has been added as a [[mob]], which [[drops|drop]] its [[item]] form when killed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Pufferfish (item) JE5 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

* The consumption of pufferfish inflicting the player with Nausea and Poison is based on reality. Real pufferfish contain the dangerous [[Wikipedia:Tetrodotoxin|tetrodotoxin]] within their organs, especially in the liver. Tetrodotoxin leads to quick death through respiratory paralysis. Muscle tissue and blood contain trace amounts. In East Asia, pufferfish are considered a delicacy known as [[Wikipedia:Fugu|fugu]], as small parts of the fish are actually edible. Any chef preparing fugu must have special licensing/certification to prepare this dish.

== Gallery ==

<gallery>
File:Eat Pufferfish.png|The result of eating pufferfish.
</gallery>

== See also ==
* [[Fishing]]

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--pufferfish Taking Inventory: Pufferfish] – Minecraft.net on October 14, 2020

{{items}}

[[cs:Čtverzubec]]
[[de:Kugelfisch (Nahrung)]]
[[es:Pez globo (objeto)]]
[[fr:Poisson (nourriture)]]
[[it:Pesce palla (oggetto)]]
[[ja:フグ (アイテム)]]
[[ko:복어 (아이템)]]
[[nl:Kogelvis]]
[[pl:Rozdymka]]
[[pt:Baiacu (item)]]
[[ru:Иглобрюх (предмет)]]
[[th:ปลาปักเป้า (ไอเทม)]]
[[tr:Kirpi balığı]]
[[zh:河豚(物品)]]
[[Category:Food]]
[[Category:Brewing recipe]]
[[Category:Renewable resources]]</li></ul>
beta 1.8.0.8Command blocks will now have a default name of ! instead of @.
Legacy Console Edition
TU19CU7 1.12 Patch 1File:Impulse Command Block Revision 1.png Added command blocks.
Command blocks do not have any functionality.

Gallery

Issues

Issues relating to "Command Block" are maintained on the bug tracker. Report issues there.

References


Advertisement