Minecraft Wiki
m (moved into NBT format)
m (→‎History: 22w03a is not a 1.18 snapshot)
(34 intermediate revisions by 25 users not shown)
Line 21: Line 21:
 
* Executed by an [[NPC]].{{only|bedrock}}
 
* Executed by an [[NPC]].{{only|bedrock}}
   
Most commands require the executor have a high enough [[permission level]]. That means most commands are available in the singleplayer world only if cheats is enable, and available in multiplayer server only if they are ops.
+
Most commands require the executor have a high enough [[permission level]]. That means most commands are available in the singleplayer world only if cheats are enabled, and available in multiplayer server only if the player is an operator.
   
 
'''Note:''' {{IN|java}}, in singleplayer worlds where cheats were not enabled at creation, they can be enabled on a temporary basis by opening the current game session to LAN play ( {{key|Esc}} → "Open to LAN", then "Allow Cheats" button and "Start LAN World"). The player does not actually need to be on a LAN or have others join. This is not permanent but allows the use of commands until the player quits the world, and changes the player makes via commands (items spawned, etc.) are saved with the world. The player can do this each time the player starts playing the world again. Note that this disables game pausing for the duration, so while open to LAN, the player should get somewhere safe or reload their world before using the Game Menu. The player can disable the LAN world by reloading the world. To permanently enable cheats, the [[level.dat]] has to be edited.
 
'''Note:''' {{IN|java}}, in singleplayer worlds where cheats were not enabled at creation, they can be enabled on a temporary basis by opening the current game session to LAN play ( {{key|Esc}} → "Open to LAN", then "Allow Cheats" button and "Start LAN World"). The player does not actually need to be on a LAN or have others join. This is not permanent but allows the use of commands until the player quits the world, and changes the player makes via commands (items spawned, etc.) are saved with the world. The player can do this each time the player starts playing the world again. Note that this disables game pausing for the duration, so while open to LAN, the player should get somewhere safe or reload their world before using the Game Menu. The player can disable the LAN world by reloading the world. To permanently enable cheats, the [[level.dat]] has to be edited.
Line 36: Line 36:
 
| <code>plain text</code> || '''Enter this literally''', exactly as shown.
 
| <code>plain text</code> || '''Enter this literally''', exactly as shown.
 
|-
 
|-
| <code><argumentsName></code> || An argument that should be replaced with an appropriate value.
+
| <code><argumentsName></code> || An '''argument''' that should be replaced with an appropriate value.
 
|-
 
|-
| <code>[entry]</code> || This entry is optional.
+
| <code>[entry]</code> || This entry is '''optional'''.
 
|-
 
|-
 
| <code><nowiki>(entry|entry)</nowiki></code> || (Required) '''Pick one''' of the entries that is shown.
 
| <code><nowiki>(entry|entry)</nowiki></code> || (Required) '''Pick one''' of the entries that is shown.
Line 44: Line 44:
 
| <code><nowiki>[entry|entry]</nowiki></code> || (Optional) '''Pick one''' of the entries that is shown.
 
| <code><nowiki>[entry|entry]</nowiki></code> || (Optional) '''Pick one''' of the entries that is shown.
 
|-
 
|-
| <code>ellipsis ...</code> || Another sub-command is required.
+
| <code>ellipsis ...</code> || Another '''sub-command''' is required.
 
|}
 
|}
   
Line 53: Line 53:
 
| <code>plain text</code> || '''Enter this literally''', exactly as shown.
 
| <code>plain text</code> || '''Enter this literally''', exactly as shown.
 
|-
 
|-
| <code>name: type</code> || An argument that should be replaced with an appropriate value.
+
| <code>name: type</code> || An '''argument''' that should be replaced with an appropriate value.
 
|-
 
|-
 
| <code><nowiki>entry|entry</nowiki></code> || '''Pick one''' of the entries that is shown.
 
| <code><nowiki>entry|entry</nowiki></code> || '''Pick one''' of the entries that is shown.
 
|-
 
|-
| <code><entry></code> || This entry is required.
+
| <code><entry></code> || This entry is '''required'''.
 
|-
 
|-
| <code>[entry]</code> || This entry is optional.
+
| <code>[entry]</code> || This entry is '''optional'''.
 
|}
 
|}
   
Line 227: Line 227:
 
| style="text-align:left;" | {{cmd|dialogue}}
 
| style="text-align:left;" | {{cmd|dialogue}}
 
| style="text-align:left;" | Opens NPC dialogue for a player.
 
| style="text-align:left;" | Opens NPC dialogue for a player.
| {{tc|planned}} || {{tc|yes}} || {{tc|-}}
+
| {{tc|yes}} || {{tc|yes}} || {{tc|-}}
 
| {{tc|-}} || {{tc|yes|1}} || {{tc|-}}
 
| {{tc|-}} || {{tc|yes|1}} || {{tc|-}}
 
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
 
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
Line 332: Line 332:
 
| {{tc|yes|2}} || {{tc|-}} || {{tc|-}}
 
| {{tc|yes|2}} || {{tc|-}} || {{tc|-}}
 
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
 
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
  +
|-
  +
| style="text-align:left;" | {{cmd|jfr}}
  +
| style="text-align:left;" | Starts or stops a JFR profiling.
  +
| {{tc|-}} || {{tc|-}} || {{tc|yes}}
  +
| {{tc|yes|4}} || {{tc|-}} || {{tc|-}}
  +
| {{tc|-}} || {{tc|-}} || {{tc|-}} || {{tc|-}}
 
|-
 
|-
 
| style="text-align:left;" | {{cmd|kick}}
 
| style="text-align:left;" | {{cmd|kick}}
Line 365: Line 371:
 
| style="text-align:left;" | {{cmd|loot}}
 
| style="text-align:left;" | {{cmd|loot}}
 
| style="text-align:left;" | Drops items from an inventory slot onto the ground.
 
| style="text-align:left;" | Drops items from an inventory slot onto the ground.
| {{tc|-}} || {{tc|-}} || {{tc|yes}}
+
| {{tc|upcoming}} || {{tc|-}} || {{tc|yes}}
| {{tc|yes|2}} || {{tc|-}} || {{tc|-}}
+
| {{tc|yes|2}} || {{tc|yes|2}} || {{tc|-}}
 
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
 
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|yes|{{EnvSprite|mobs}}}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
 
|-
 
|-
Line 434: Line 440:
 
| {{tc|-}} || {{tc|yes|4}} || {{tc|yes|MP}}
 
| {{tc|-}} || {{tc|yes|4}} || {{tc|yes|MP}}
 
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
 
| {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|player}}}} || {{tc|-}}
  +
|-
  +
| style="text-align:left;" | {{cmd|placefeature}}{{upcoming|JE 1.18.2}}
  +
| style="text-align:left;" | Used to place a configured feature at a given location.
  +
| {{tc|-}} || {{tc|-}} || {{tc|yes}}
  +
| {{tc|yes|2}} || {{tc|-}} || {{tc|-}}
  +
| {{tc|yes|{{EnvSprite|blocks}}}} || {{tc|-}} || {{tc|-}} || {{tc|yes|{{EnvSprite|default}}}}
 
|-
 
|-
 
| style="text-align:left;" | {{cmd|playanimation}}
 
| style="text-align:left;" | {{cmd|playanimation}}
Line 749: Line 761:
 
=== Hidden commands ===
 
=== Hidden commands ===
 
{{exclusive|bedrock|section=1}}
 
{{exclusive|bedrock|section=1}}
These commands is unavailable in the general case. Most of them can be accessed with Websocket Sever.
+
These commands are unavailable in the general case. Most of them can be accessed with Websocket Sever.
   
 
{| class="sortable wikitable stikitable collapsible collapsed" style="text-align:center;"
 
{| class="sortable wikitable stikitable collapsible collapsed" style="text-align:center;"
Line 979: Line 991:
 
| style="text-align:left;" | Teleports player to the world [[spawn]]
 
| style="text-align:left;" | Teleports player to the world [[spawn]]
 
| data-sort-value="3 1.2.5" | {{nowrap|[[Java Edition Alpha v1.2.5]]}}
 
| data-sort-value="3 1.2.5" | {{nowrap|[[Java Edition Alpha v1.2.5]]}}
| style="text-align:left;" | World spawn became based on [[spawn chunk]]s instead of a singular location
+
| style="text-align:left;" | Superseded by {{cmd|kill}}
 
| {{tc|-}} || {{tc|-}} || {{tc|-|removed}}
 
| {{tc|-}} || {{tc|-}} || {{tc|-|removed}}
 
| {{tc|no|0}} || {{tc|-}} || {{tc|-}}
 
| {{tc|no|0}} || {{tc|-}} || {{tc|-}}
Line 995: Line 1,007:
 
| style="text-align:left;" | Mixer interactivity control.
 
| style="text-align:left;" | Mixer interactivity control.
 
| data-sort-value="7 1.0.21" | {{nowrap|[[Bedrock Edition 1.16.210]]}}
 
| data-sort-value="7 1.0.21" | {{nowrap|[[Bedrock Edition 1.16.210]]}}
| style="text-align:left;" | Mixer discontinued
+
| style="text-align:left;" | Mixer was discontinued
 
| {{tc|no|removed}} || {{tc|-}} || {{tc|-}}
 
| {{tc|no|removed}} || {{tc|-}} || {{tc|-}}
 
| {{tc|-}} || {{tc|no|0}} || {{tc|-}}
 
| {{tc|-}} || {{tc|no|0}} || {{tc|-}}
Line 1,035: Line 1,047:
 
| style="text-align:left;" | Sets the current location as the default spawn location for new players
 
| style="text-align:left;" | Sets the current location as the default spawn location for new players
 
| data-sort-value="2 0.31" | {{nowrap|[[Java Edition Indev 0.31]]}}
 
| data-sort-value="2 0.31" | {{nowrap|[[Java Edition Indev 0.31]]}}
| style="text-align:left;" | World spawn became based on [[spawn chunk]]s instead of a singular location
+
| style="text-align:left;" | Superseded by {{cmd|setworldspawn}}
 
| {{tc|-}} || {{tc|-}} || {{tc|-|removed}}
 
| {{tc|-}} || {{tc|-}} || {{tc|-|removed}}
 
| {{tc|yes|2}} || {{tc|-}} || {{tc|-}}
 
| {{tc|yes|2}} || {{tc|-}} || {{tc|-}}
Line 1,043: Line 1,055:
 
| style="text-align:left;" | Toggles between placing stone and placing bedrock
 
| style="text-align:left;" | Toggles between placing stone and placing bedrock
 
| data-sort-value="2 0.31" | {{nowrap|[[Java Edition Indev 0.31]]}}
 
| data-sort-value="2 0.31" | {{nowrap|[[Java Edition Indev 0.31]]}}
| style="text-align:left;" | Placing [[block]]s became [[inventory]] based
+
| style="text-align:left;" | [[Bedrock]] was added to the creative inventory as a separate item
 
| {{tc|-}} || {{tc|-}} || {{tc|-|removed}}
 
| {{tc|-}} || {{tc|-}} || {{tc|-|removed}}
 
| {{tc|yes|2}} || {{tc|-}} || {{tc|-}}
 
| {{tc|yes|2}} || {{tc|-}} || {{tc|-}}
Line 1,101: Line 1,113:
 
{{main|developer commands}}
 
{{main|developer commands}}
 
{{exclusive|bedrock|education|section=1}}
 
{{exclusive|bedrock|education|section=1}}
Developer commands are only enabled in the development and testing environment of the game. In release versions, players cannot see and execute these commands.
+
Developer commands are only enabled in internal development builds of Bedrock Edition, and are not normally present in release versions.
 
=====<small>Agent commands</small>=====
 
=====<small>Agent commands</small>=====
 
{{education feature|section=1}}
 
{{education feature|section=1}}
Line 1,128: Line 1,140:
 
{{info needed section|Bedrock Edition and Education Edition info}}
 
{{info needed section|Bedrock Edition and Education Edition info}}
 
{{History|java classic}}
 
{{History|java classic}}
{{History||0.0.15a (Multiplayer Test 3)|Added commands.}}
+
{{History||0.0.16a|Added commands.}}
 
{{History|java indev}}
 
{{History|java indev}}
 
{{History||0.31|snap=?|Removed all commands.}}
 
{{History||0.31|snap=?|Removed all commands.}}
Line 1,161: Line 1,173:
 
{{History|||snap=20w17a|Added {{cmd|attribute}}.}}
 
{{History|||snap=20w17a|Added {{cmd|attribute}}.}}
 
{{History||1.17|snap=20w46a|Removed {{cmd|replaceitem|link=none}}. Replaced with {{cmd|item replace}}.}}
 
{{History||1.17|snap=20w46a|Removed {{cmd|replaceitem|link=none}}. Replaced with {{cmd|item replace}}.}}
  +
{{History||1.18|snap=21w37a|Added {{cmd|jfr}}.}}
  +
{{History|upcoming java}}
  +
{{History||1.18.2|snap=22w03a|Added {{cmd|placefeature}}.}}
   
 
{{History|pocket alpha}}
 
{{History|pocket alpha}}
Line 1,188: Line 1,203:
 
{{Reflist}}
 
{{Reflist}}
   
  +
{{Commands}}
 
{{Java Edition}}
 
{{Java Edition}}
 
{{Bedrock Edition}}
 
{{Bedrock Edition}}
   
  +
[[Category:Commands| ]]
 
[[Category:Server]]
 
[[Category:Server]]
   

Revision as of 16:24, 22 January 2022

This article is about console commands. For the similar system found in the Legacy Console Edition, see host privileges.

Commands, also known as console commands, are advanced features activated by typing certain strings of text.

Usage

In the client, commands are entered via the chat window, which is displayed by pressing the T / Chat button[BE & edu only] / D-pad right[BE only], or, / key. Using the / key also enters the forward-slash that commands require as a prefix, so it is a useful shortcut. The and keys can be used to view previously entered text, including all previously executed commands. Pressing Tab ↹ while entering commands cycles through possible commands or arguments, and can be used to auto-enter the coordinates of the block looked at before entering the chat.

When the cursor is at a location corresponding to some types of argument (such as an ID), a list of applicable values appears above the text box. If the argument is already containing some characters, the list displays only those values containing the typed command/text.

Commands may also be entered in a multiplayer server's console, but are not preceded by a / when entered this way. A server owner running commands in this way is often referred to as "ghosting".

Commands in command blocks can be preceded by a slash, but it is not required.

Commands can be executed in the following ways;

Most commands require the executor have a high enough permission level. That means most commands are available in the singleplayer world only if cheats are enabled, and available in multiplayer server only if the player is an operator.

Note: In Java Edition, in singleplayer worlds where cheats were not enabled at creation, they can be enabled on a temporary basis by opening the current game session to LAN play ( Esc → "Open to LAN", then "Allow Cheats" button and "Start LAN World"). The player does not actually need to be on a LAN or have others join. This is not permanent but allows the use of commands until the player quits the world, and changes the player makes via commands (items spawned, etc.) are saved with the world. The player can do this each time the player starts playing the world again. Note that this disables game pausing for the duration, so while open to LAN, the player should get somewhere safe or reload their world before using the Game Menu. The player can disable the LAN world by reloading the world. To permanently enable cheats, the level.dat has to be edited.

In Bedrock Edition, cheats can be toggled at any time in the "Game" tab of the settings menu. Enabling cheats in a world permanently prevents players from unlocking achievements in that world, even if cheats are later turned off.

Command guide

Syntax

In Java Edition:

Syntax Meaning
plain text Enter this literally, exactly as shown.
<argumentsName> An argument that should be replaced with an appropriate value.
[entry] This entry is optional.
(entry|entry) (Required) Pick one of the entries that is shown.
[entry|entry] (Optional) Pick one of the entries that is shown.
ellipsis ... Another sub-command is required.

In Bedrock Edition:

Syntax Meaning
plain text Enter this literally, exactly as shown.
name: type An argument that should be replaced with an appropriate value.
entry|entry Pick one of the entries that is shown.
<entry> This entry is required.
[entry] This entry is optional.

Success Conditions

A command's Success Conditions must be met in order for the game to consider the command "successful". This is used to determine a variety of things, such as the output of a redstone comparator feeding from a command block with a command. Note that not all "successful" commands actually do something, and not all "failed" commands fail to do something useful.

Restrictions

Some commands have restrictions on who can use the command or in what context.
  • None: The command has no restriction.
  • Cheat only[Bedrock Edition only]: When executed by a player, the command is available only if cheats is enabled.
    • In Bedrock Edition, when cheats is disabled, these commands can't be used by players even if they have a high permission level. In Java Edition, if players have a high enough permission level, they can use corresponding commands regardless of whether cheats are allowed.
  • Dedicated server only: The command is available only on a dedicated server.
  • No command blocks: The command cannot be executed by a command block.

List and summary of commands

The table below summarizes all commands, including upcoming ones.

Summary of Commands
Command Description BE EE JE JE OP level BE&EE OP level MP only
/? An alias of /help. Provides help for commands. Yes Yes Yes 0 0
/ability Grants or revokes a player ability. Yes Yes 1
/advancement Gives, removes, or checks player advancements. Yes 2
/alwaysday An alias of /daylock. Locks and unlocks the day-night cycle. Yes Yes 1
/attribute Queries, adds, removes or sets an entity attribute. Yes 2
/ban Adds player to banlist. Yes 3 MP
/ban-ip Adds IP address to banlist. Yes 3 MP
/banlist Displays banlist. Yes 3 MP
/bossbar Creates and modifies bossbars. Yes 2
/camerashake Used to enable a camera shaking effect. Yes 1
/changesetting Changes a setting on the dedicated server while it's running. Yes 4 MP
/clear Clears items from player inventory. Yes Yes Yes 2 1
/clearspawnpoint Remove spawnpoints in the world. Yes 1
/clone Copies blocks from one place to another. Yes Yes Yes 2 1
/connect An alias of /wsserver. Attempts to connect to the websocket server. Yes Yes 0‌[edu only]
2‌[BE only]
/data Gets, merges, modifies and removes block entity and entity NBT data. Yes 2
/datapack Controls loaded data packs. Yes 2
/daylock An alias of /alwaysday. Locks and unlocks the day-night cycle. Yes Yes 1
/debug Starts or stops a debugging session. Yes 3
/dedicatedwsserver Attempts to connect to the websocket server. Yes 0 MP
/defaultgamemode Sets the default game mode. Yes 2
/deop Revokes operator status from a player. Yes Yes Yes 3 2 MP‌[Java Edition only]
/dialogue Opens NPC dialogue for a player. Yes Yes 1
/difficulty Sets the difficulty level. Yes Yes Yes 2 1
/effect Add or remove status effects. Yes Yes Yes 2 1
/enchant Adds an enchantment to a player's selected item. Yes Yes Yes 2 1
/event Used to trigger an event on an entity. Yes 1
/execute Executes another command. Yes Yes Yes 2 1
/experience An alias of /xp. Adds or removes player experience. Yes 2
/fill Fills a region with a specific block. Yes Yes Yes 2 1
/fog Used for managing active fog settings for players. Yes 1
/forceload Forces chunks to constantly be loaded or not. Yes 2
/function Runs a function. Yes Yes Yes 2 1
/gamemode Sets a player's game mode. Yes Yes Yes 2 1
/gamerule Sets or queries a game rule value. Yes Yes Yes 2 1
/gametest To test the GameTest features. Yes 1
/give Gives an item to a player. Yes Yes Yes 2 1
/help An alias of /?. Provides help for commands. Yes Yes Yes 0 0
/immutableworld Allows setting immutable state of a world. Yes Yes 1
/item Manipulates items in inventories. Yes 2
/jfr Starts or stops a JFR profiling. Yes 4
/kick Kicks a player off a server. Yes Yes Yes 3 1
/kill Kills entities (players, mobs, items, etc.). Yes Yes Yes 2 1
/list Lists players on the server. Yes Yes Yes 0 0
/locate Locates closest structure. Yes Yes Yes 2 1
/locatebiome Locates closest biome. Yes 2
/loot Drops items from an inventory slot onto the ground. Upcoming Yes 2 2
/me Displays a message about the sender. Yes Yes Yes 0 0
/mobevent Enables/disables a specified mob event. Yes Yes 1
/msg An alias of /tell and /w. Displays a private message to other players. Yes Yes Yes 0 0
/music Allows the player to control playing music tracks. Yes 1
/op Grants operator status to a player. Yes Yes Yes 3 2 MP‌[Java Edition only]
/ops An alias of /permission. Reloads and applies permissions. Yes Yes 4 MP
/pardon Removes entries from the banlist. Yes 3 MP
/pardon-ip Removes entries from the banlist. Yes 3 MP
/particle Creates particles. Yes Yes Yes 2 1
/perf Captures info and metrics about the game for 10 seconds. Yes 4 MP
/permission An alias of /ops. Reloads and applies permissions. Yes Yes 4 MP
/placefeature[upcoming: JE 1.18.2] Used to place a configured feature at a given location. Yes 2
/playanimation Used to run a one-off animation. Yes 1
/playsound Plays a sound. Yes Yes Yes 2 1
/publish Opens single-player world to local network. Yes 4 SP only
/recipe Gives or takes player recipes. Yes 2
/reload Reloads loot tables, advancements, and functions from disk. Yes Yes Yes 2 2
/remove Removing agent. ? 2
/replaceitem Replaces items in inventories. Yes Yes Removed 2 1
/ride Used to make entities ride other entities, stop entities from riding, make rides evict their riders, or summon rides or riders. Yes 1
/save Prepares a backup, queries its status, or resumes. Yes 4 MP
/save-all Saves the server to disk. Yes 4 MP
/save-off Disables automatic server saves. Yes 4 MP
/save-on Enables automatic server saves. Yes 4 MP
/say Displays a message to multiple players. Yes Yes Yes 2 1
/schedule Delays the execution of a function. Yes Yes 2 1
/scoreboard Manages scoreboard objectives and players. Yes Yes Yes 2 1
/seed Displays the world seed. Yes 0 in singleplayer
2 in multiplayer
/setblock Changes a block to another block. Yes Yes Yes 2 1
/setidletimeout Sets the time before idle players are kicked. Yes 3 MP
/setmaxplayers Sets the maximum number of players allowed to join. Yes Yes 3
/setworldspawn Sets the world spawn. Yes Yes Yes 2 1
/spawnpoint Sets the spawn point for a player. Yes Yes Yes 2 1
/spectate Make one player in spectator mode spectate an entity. Yes 2
/spreadplayers Teleports entities to random locations. Yes Yes Yes 2 1
/stop Stops a server. Yes Yes 4 4 MP
/stopsound Stops a sound. Yes Yes Yes 2 1
/structure Used to save and load structures without having to use structure blocks items in inventories. Yes 1
/summon Summons an entity. Yes Yes Yes 2 1
/tag Controls entity tags. Yes Yes Yes 2 1
/team Controls teams. Yes 2
/teammsg An alias of /tm. Specifies the message to send to team. Yes 0
/teleport An alias of /tp. Teleports entities. Yes Yes Yes 2 1
/tell An alias of /msg and /w. Displays a private message to other players. Yes Yes Yes 0 0
/tellraw Displays a JSON message to players. Yes Yes Yes 2 1
/testfor Counts entities matching specified conditions. Yes Yes Removed 2 1
/testforblock Tests whether a block is in a location. Yes Yes Removed 2 1
/testforblocks Tests whether the blocks in two regions match. Yes Yes Removed 2 1
/tickingarea Add, remove, or list ticking areas. Yes Yes 1
/time Changes or queries the world's game time. Yes Yes Yes 2 1
/title Manages screen titles. Yes Yes Yes 2 1
/titleraw Controls screen titles with JSON messages. Yes Yes 1
/tm An alias of /teammsg. Specifies the message to send to team. Yes 0
/toggledownfall Toggles the weather. Yes Yes Removed 1
/tp An alias of /teleport. Teleports entities. Yes Yes Yes 2 1
/trigger Sets a trigger to be activated. Yes 0
/w An alias of /tell and /msg. Displays a private message to other players. Yes Yes Yes 0 0
/wb An alias of /worldbuilder. Ability to edit restricted blocks. Yes Yes 1
/weather Sets the weather. Yes Yes Yes 2 1
/whitelist Manages server whitelist. Yes Yes 3 MP
/worldborder Manages the world border. Yes 2
/worldbuilder An alias of /wb. Ability to edit restricted blocks. Yes Yes 1
/wsserver An alias of /connect. Attempts to connect to the websocket server. Yes Yes 0‌[edu only]
2‌[BE only]
/xp An alias of /experience[Java Edition only]. Adds or removes player experience. Yes Yes Yes 2 1

Hidden commands

Information icon
This feature is exclusive to Bedrock Edition. 

These commands are unavailable in the general case. Most of them can be accessed with Websocket Sever.

Removed commands

Other removed commands

Developer command
Main article: developer commands
Information icon
This feature is exclusive to Bedrock Edition and Minecraft Education. 

Developer commands are only enabled in internal development builds of Bedrock Edition, and are not normally present in release versions.

Agent commands
Hydrogen
This section describes an education-related feature. 
This feature is available only in Minecraft Education or when enabling the "Education" option in Bedrock Edition.

Superseded by /agent

History

This section is missing information about Bedrock Edition and Education Edition info. 
Please expand the section to include this information. Further details may exist on the talk page.
Java Edition Classic
0.0.16a
{{Extension DPL}}<ul><li>[[Minecart with Furnace|Minecart with Furnace]]<br/>{{ItemEntity
|image=Minecart with Furnace.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid=10
|drops= 1 {{ItemLink|Minecart with Furnace}}
|health={{Hp|6}}
}}

A '''minecart with furnace''' is a [[furnace]] inside a [[minecart]]. It can be powered with [[coal]] or [[charcoal]] to propel it across a [[rail]] line for a limited time, which can be used to move other minecarts.

==Obtaining==
Minecarts with furnace can be retrieved by attacking them, and by doing so it drops as an [[item]].

===Crafting===
{{Crafting
|Output= Minecart with Furnace
|type= Transportation
|Furnace|Minecart}}

==Usage==
Minecarts with furnaces are placed in the same way as other minecarts. It does not have a graphical user interface, unlike a [[furnace]].

Minecarts with furnaces can be powered, done by feeding fuel ([[coal]] or [[charcoal]]) into the furnace minecart with the {{Control|use}} button. The fuel is consumed immediately and it starts to move in the same direction the player clicked toward. Pressing {{Control|use}} always turns it to that direction, even when not holding coal.

Any piece of fuel, added at any time, increases the total range by an additional 3600 ticks (equal to 180 seconds or 3 minutes).  The upper limit is 32767 ticks, approximately 27 minutes.

When powered, minecarts with furnaces cover 240m per minute (about 4 m/s, slightly slower than walking speed) or 720m per piece of coal. They do not accelerate beyond this speed when going downhill or on active [[powered rail]]s, and as long as they remain powered, they do not slow down when going uphill, on inactive powered rails, or when pushing or pulling other minecarts.

If a powered furnace minecart is derailed and then pushed back onto a rail, it starts moving again in the direction it came from, so they are not easily turned around in this state unless a player is nearby to redirect it with {{Control|use}}.

Minecarts with furnaces can climb up steep inclines while pushing other minecarts as long as they have fuel. If a minecart with furnace reaches a slope while pulling another minecart, the pulled minecart is switched to the forward position so that it can be pushed along the slope instead of pulled.

When a minecart with furnace bumps into another minecart or multiple minecarts, the other minecarts are pushed forward with great speed. The furnace minecart continues on with its own speed. Because of this speed difference, some of the minecarts may end up inside unloaded chunks on straight tracks.

===Train mechanics===
{{Schematic
|caption=weakly-shunted 1-cart train, one cart was used only to push the train together and is left behind
|AB|mc-$ew|mc-$ew|mc/Fu-$ew|-
|AB|ra-$wu|ra-$ew|ra-$ew|ra-$ew|ellipsis-ew
}}
{{Schematic
|caption=Creating a strongly-shunted 1-cart train.  The sloped rail must be replaced with a horizontal rail before powering.
|AB|mc-$ew||mc/Fu-$ew|-
|AB|ra-$ew|ra-$ew|ra-$eu|ra-$ew|ra-$ew|ellipsis-ew
}}

[[File:FurnaceMinecartTrain.png|thumb|right|A Minecart train powered by furnace [[Minecart|minecarts.]]|alt=]]
A furnace minecart can be made to pull up to four other minecarts. All minecarts in this train move at the constant speed of the furnace minecart.  Trains are formed when a minecart is pushed into the back of a powered furnace minecart or a short-enough train.  These shunts are fragile at best and easily come undone, but some methods are stronger than others.  For example, pushing a minecart into a furnace minecart and then powering the furnace gives a weaker shunt than pushing the furnace minecart into the other minecart against a wall, and then powering the furnace in the other direction.

A high-speed minecart running into the back of a furnace minecart going in the same direction automatically creates a weak shunt with it, pulling it along.

Pulling a minecart with TNT causes it to explode.

{| class="wikitable"
|+Pulled minecart/Shunt behavior
!Condition
!Result
|-
|Furnace loses power/speed||Shunt comes undone
|-
|Entity bumping besides those part of the train||Jettisoned forward
|-
|Upward sloped track||Jettisoned forward
|-
|Downward sloped track||Jettisoned forward (strong shunt) or shunt comes undone (weak shunt)
|-
|90° turn in track||Jettisoned backward
|-
|Turn toward north/south or east/west that is not the direction the train was shunted in||Train derails
|}

When a train comes to a turn, the shunt comes undone with the pulled minecart jettisoned backward. The correct way to make such a turn is having the shunt undone before a turn, and then make the two rejoin on a straight rail later by having the pulled cart catch up with the minecart with furnace.<ref name=mango/>

Since the train runs slower on a fully powered track than a normal minecart (~5 m/s compared to 8m/s), a train pulled by an unpowered furnace minecart is ideal for AFK farms involving breaking or placing blocks like [[nether wart]].<ref name=mango>{{YouTubeLink|1=pRLiAQfhTG8|2=Why The Furnace Minecart Isn't As Useless As You Think|3=ilmango}}</ref>

==Properties==
The coal is not stored as an item in the entity, but in the object data in the fuel property as a time in ticks. ''Fuel'' is a short value, i.e. a maximum of 32767 ticks, which is about 27 minutes. However, {{cmd|/summon furnace_minecart ~ ~ ~ {Fuel:32000} }} alone doesn't make it go since it doesn't have a direction. It can be right-clicked on a track to give it a direction, or it can be summoned with the properties ''PushX'' and ''PushZ'' set, which are responsible for the direction. The <code>Motion</code> property of every entity allows for movement of the minecart, but it does not direct the minecart to move on its own.

==Sounds==
{{Edition|Java}}:<br>
Minecarts with furnaces use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>{{bug|MC-42132}}</ref>
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures <ref group=sound name=rollsource/>
|overridesource=1
|description=While a minecart with furnace is moving
|id=entity.minecart.riding
|translationkey=subtitles.entity.minecart.riding
|volume=0.0-0.35 <ref group=sound>Relates linearly with horizontal velocity (max 0.5)</ref>
|pitch=0.0-1.0 <ref group=sound>Will increase by 0.0025 per tick if the minecart's horizontal velocity is more than 0.01</ref>
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart with furnace is moving
|id=minecart.base
|foot=1}}

==Data values==
===ID===
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Minecart with Furnace
|spritetype=item
|nameid=furnace_minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Minecart with Furnace
|spritetype=entity
|nameid=furnace_minecart
|foot=1}}

===Entity data===
Minecarts with furnace 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 alpha}}
{{History||v1.0.14|[[File:Minecart with Furnace JE1.png|32px]] [[File:Minecart with Furnace (item) JE1.png|32px]] Minecarts with furnace were added.
|Since no in-game name was indicated, they were referred to by names such as "powered minecart" or "furnace minecart".
|No matter how much fuel was added to the minecart, it would never move for more than 3 minutes after the last fuel.}}
{{History|java beta}}
{{History||1.0|When tooltips were added to items in inventory, this was named "Minecart with Furnace".}}
{{History||1.2|[[File:Minecart with Furnace JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History|java}}
{{History||1.0.0|snap=?|Each piece of [[coal]] now powers a [[minecart]] with furnace for {{convert|3|minutes|ticks}}, so that adding another piece of coal at any time increases the total range by another 3 minutes.  A full stack of 64 coal now powers it for {{convert|192|minutes|ticks}}.
|Minecarts with furnace on a level track cover 204 meters per minute.}}
{{History||1.8|snap=14w11a|Minecarts with furnace now give a much greater boost to other minecarts.
|When powered, minecarts with furnace now move on non-powered rails without decelerating.}}
{{History|||snap=14w17a|Minecarts with furnace's behavior has been reverted, so that no change was released in [[Java Edition 1.8]].}}
{{History||1.11|snap=16w32a|The entity ID of the minecart with furnace has been changed from <code>MinecartFurnace</code> to <code>furnace_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 343.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Furnace JE3.png|32px]] [[File:Minecart with Furnace (item) JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History||1.15|snap=19w38a|[[File:Minecart with Furnace 19w38a.png|32px]] The furnace now appears dark, like suffocating mobs.}}
{{History|||snap=19w39a|The furnace texture is now colored correctly.}}
{{History||1.15.2|snap=Pre-Release 1|Furnace minecarts can now navigate around any corner.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with furnace is now shapeless.
|Breaking a minecart with furnace will now drop the item instead of the minecart and furnace separately.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Furnace JE2.png|32px]] [[File:Minecart with Furnace (item) JE1.png|32px]] Added minecart with furnace.}}
{{History|Ps4}}
{{History||1.90|[[File:Minecart with Furnace JE3.png|32px]] [[File:Minecart with Furnace (item) JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*The minecart with furnace is excluded from {{els|be|3ds}} on purpose. In a tweet, [[Jeb]] considered removing it from {{el|je}}.<ref>{{tweet|jeb|699241247391772672|I think we will phase out the furnace minecraft ''(sic)''|15 Feb 2016}}</ref>
**When converting a [[Legacy Console Edition]] world to a [[Bedrock Edition]] world, any present minecarts with furnaces are converted into a normal minecart.
**Despite the above-described poor standing of the minecart, it was most recently briefly featured in an animation in the [[Minecraft Live 2022]], where one was depicted as moving a train of about 20 minecarts at a higher than normal speed.

==Gallery==
<gallery>
Running Powered Minecart.png|A powered minecart in action.
</gallery>

==References==
{{reflist}}

{{Items}}
{{Entities}}

[[Category:Mechanics]]

[[cs:Parní vozík]]
[[de:Antriebslore]]
[[es:Vagoneta con horno]]
[[fr:Wagonnet motorisé]]
[[hu:Gőzmeghajtású csille]]
[[ja:かまど付きのトロッコ]]
[[ko:화로가 실린 광산 수레]]
[[nl:Mijnkar met oven]]
[[pl:Wagonik z piecem]]
[[ru:Вагонетка с печью]]
[[uk:Вагонетка з піччю]]
[[zh:动力矿车]]</li><li>[[Tool|Tool]]<br/>{{About|the in-game items|program enhancing software|Programs and Editors}}

A '''tool''' is an [[item]] used by the [[player]] while held to perform actions faster and more efficiently, to gather materials not obtainable by hand, to gain information, or to perform completely new actions. With the exception of the [[clock]], [[compass]], empty [[bucket]], and [[lead]], tools do not stack in the inventory. Tools can be repaired; see [[Item repair]].

== Obtaining ==

=== Mob loot ===
{{main|Drops#Mob drops|title1=Drops}}
Some tools can be obtained by killing mobs that carry the equipment.

=== Crafting ===
Most tools can be obtained through crafting.
{{:Crafting/Tools}}

=== Upgrading ===
[[Netherite]] tools can be obtained only through upgrading.

{{Smithing
|head=1
|Netherite Upgrade
|Diamond Pickaxe; Diamond Axe; Diamond Shovel; Diamond Hoe
|Netherite Ingot
|Netherite Pickaxe; Netherite Axe; Netherite Shovel; Netherite Hoe
}}

== Usage ==
=== Best tools ===
{{main|Breaking#Best tools|title1=Breaking}}

Many blocks have a preferred tool to break them. Some blocks can be broken only with certain tools. The tool's material also affects how fast a block is mined. Materials from worst to best in terms of mining speed are wooden, stone, iron, diamond, netherite, gold.

=== Item durability ===
{{main|Durability}}

Different tools have different amounts of durability. Some uses require more durability to be used than others. A tool's durability is also affected by its material. Materials from worst to best in terms of durability are gold, wooden, stone, iron, diamond, netherite.

Some tools are not block-breaking tools: This includes bows, fishing rods, carrots on sticks, flint & steel, and buckets. Such tools are no better than bare fists at breaking blocks, but they do not take damage from doing so—they take damage from being used in their own intended manners.

=== Item enchantability ===
Materials from worst to best in terms of [[enchantability]] are stone, diamond, iron, wooden/netherite, gold.

=== Smelting ===
{{main|Smelting}}

Iron or golden tools can be smelted into [[nugget]]s.
{{Smelting|showname=1|head=1|Any iron tools|Iron Nugget|0,1}}
{{Smelting|showname=1|foot=1|Any golden tools|Gold Nugget|0,1}}

; Fuel
* Wooden tools can be used as a fuel in [[furnace]]s, smelting 1 item per tool.
* A [[fishing rod]] can be used as fuel in [[furnace]]s, smelting 1.5{{only|java|short=1}}/1{{only|bedrock|short=1}} items per fishing rod.

== History ==
{{info needed section|earlier Java Edition history between Indev and 1.3.1|section=10}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|Added iron shovels.}}
{{History|||snap=20100110|Added iron axes and pickaxes.}}
{{History|||snap=20100128|Added wooden, stone, and diamond tools.}}
{{History|||snap=20100129|Added crafting recipes for wooden, stone, iron, and diamond tools.}}
{{History|||snap=20100130|Added golden tools.}}
{{History|||snap=20100131|A [[Tiers|tier system]] for wooden, stone, iron, diamond, and gold tools is added. Each tier has a different mining speed multiplier and durability.}}
{{History|||snap=20100201-2|Tools are now required to break blocks and ores.}}
{{history|java}}
{{History||1.0.0|snap=RC1|Tools now make a breaking sound and have a breaking animation.
|All tools now also have breaking animation.}}
{{History|||snap=RC2|Tools no longer break quickly after loading a world that was saved in RC1.}}
{{History||1.3.1|snap=12w17a|Tools now have infinite [[durability]] in [[Creative]] mode.}}
{{history|||snap=12w18a|Wooden tools became able to be used as [[fuel]] for [[furnace]]s in case players didn't want to repair them or finish using them.}}
{{History|||snap=12w24a|Breaking a block that can be [[instant mining|instantly mined]] by hand ([[tall grass]], [[torch]], etc.) while holding a block-breaking tool no longer reduces the tool's [[durability]].}}
{{history||1.6.1|snap=13w21a|Instead of replacing the barehanded damage ({{hp|1}}), pickaxes, shovels, axes and swords now add their damage onto the barehanded damage.}}
{{History||1.11.1|snap=16w50a|Golden and iron tools now smelt down into one of their respective nuggets.}}
{{History||1.14|snap=18w48a|Tools cannot be repaired by crafting.}}
{{History||1.14.3|snap=Pre-Release 3|Tools can be once again be repaired by crafting.}}
{{History||1.16.2|snap=20w29a|Tools have a new arrange in the Creative inventory.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond tools to netherite tools now requires the netherite upgrade [[smithing template]].}}
{{History|||snap=23w07a|Added brushes.}}

{{History|pocket alpha}}
{{History||v0.2.0|Added stone tools and shears.}}
{{History||v0.3.0|Added wooden tools.}}
{{History||v0.3.2|Added iron, diamond, and golden tools.}}
{{History||v0.3.3|Added bows.}}
{{History||v0.4.0|Added flint and steel and all hoe types.}}
{{History||v0.7.0|Added buckets.}}
{{History||v0.7.4|Flint and steel now ignite creepers.}}
{{History||v0.8.0|snap=build 1|Added flint and steel to the Creative inventory.}}
{{History|||snap=build 3|Added shears to the Creative inventory.}}
{{History||v0.11.0|snap=build 1|Added fishing rod.}}
{{History||v0.15.0|snap=build 1|Added carrot on a stick and leads.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Golden and iron tools now smelt down into one of their respective nuggets.}}
{{History|console}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Golden and iron tools now smelt down into one of their respective nuggets.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==
* Gold tools are actually ranked as superior to diamond tools on the [[Legacy Console Edition]]'s crafting screen.
* Wooden tools can be burned in a furnace regardless of its durability; this means the player can burn a wooden tool that has only 1 use left.

== See also ==
* [[Item Repair]]
* [[Breaking]]
* [[Weapon]]

{{Items}}

[[Category:Tools|*]]

[[cs:Nástroje]]
[[de:Werkzeug]]
[[es:Herramientas]]
[[fr:Outils]]
[[hu:Eszközök]]
[[it:Attrezzi]]
[[ja:道具]]
[[ko:도구]]
[[nl:Gereedschap]]
[[pl:Narzędzia]]
[[pt:Ferramentas]]
[[ru:Инструменты]]
[[tr:Alet]]
[[zh:工具]]</li></ul>
Added commands.
Java Edition Indev
0.31
{{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>[[Gold Ingot|Gold Ingot]]<br/>{{About|the item|the ore|Gold Ore|the mineral block|Block of Gold|the nugget|Gold Nugget}}
{{Item
| image = Gold Ingot.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''gold ingot''' is a [[metal]] ingot used to craft various [[item]]s, and also used as currency for [[bartering]] with [[piglin]]s.

== Obtaining ==
Gold ingots are mainly obtained by smelting [[raw gold]], [[gold ore]] and [[nether gold ore]], or just mining nether gold ore, dropping gold nuggets. Gold generates more frequently in [[badlands]] biomes.

=== Crafting ===
{{Crafting
|head=1
|showname=0
|Block of Gold
|Output=Gold Ingot,9
|type=Material
}}

{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget 
|A2= Gold Nugget
|B2= Gold Nugget
|C2= Gold Nugget 
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget 
|Output= Gold Ingot
|type= Material
|foot=1
}}

=== Smelting ===
{{see also|Gold Ore#Natural generation}}

{{Smelting
|head=1
|Gold Ore;Nether Gold Ore;Deepslate Gold Ore
|Gold Ingot
|1
}}

{{Smelting
|foot=1
|Raw Gold
|Gold Ingot
|1
}}

=== Mob loot ===

[[Zombified piglin]]s have a 2.5% ({{frac|1|40}}) chance of dropping a gold ingot if killed by a player or tamed wolf. The chance is increased by 1% per level of [[Looting]], for a maximum of 5.5% with Looting III.

=== Chest loot ===
{{LootChestItem|gold-ingot}}

== Usage ==

=== Crafting ingredient===

As a material for weapons, tools, and armor, gold is not a straight upgrade from iron (except in the case of [[Horse Armor|horse armor]]). Gold has a higher mining speed and enchantability than any other material, but attack power and durability is less.

{{crafting usage}}

=== Trading ===

Apprentice-level cleric [[Villager|villagers]] buy 3 gold ingots for an [[emerald]] as part of their trade.

=== Repairing ===

Golden [[helmet]]s, [[chestplate]]s, [[leggings]], [[boots]], [[sword]]s, [[pickaxe]]s, [[axe]]s, [[hoe]]s and [[shovel]]s can be [[item repair|repaired]] with gold ingots in an [[anvil]].

=== Bartering ===
{{main|Bartering}}
[[Piglin]]s throw the player [[Bartering#Mechanics|item(s)]] if the player throws or {{ctrl|uses}} a gold ingot on them.

=== Beacons ===

Gold ingots can be used to select powers from a [[beacon]]. The player must select one of the available powers, and then insert an ingot in the item slot. 

A gold ingot can be substituted for an [[iron ingot]] or [[netherite ingot]], an [[emerald]], or a [[diamond]].

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Gold Ingot
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Gold Ingot
|Gold Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}

;Trim color palette
The following color palettes are shown on the designs on trimmed armor:
*{{TrimPalette|gold ingot}}
*{{TrimPalette|gold ingot|darker=1}} (a darker color palette is used when a golden armor piece is trimmed using a gold ingot).

== Achievements ==
{{load achievements|Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Gold Ingot
|spritetype=item
|nameid=gold_ingot
|itemtags=beacon_payment_items, piglin_loved
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gold Ingot
|spritetype=item
|nameid=gold_ingot
|id=306
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100128|[[File:Gold Ingot JE1.png|32px]] Added gold ingots.}}
{{History|||snap=20100129|[[File:Gold Ingot JE2 BE1.png|32px]] The texture of gold ingots has been changed.
|Gold ingots can be [[smelting|smelted]] from [[gold ore]] with [[flint and steel]] and [[drops|drop]] 3-5 gold ingots.
|Gold ingots can be used to craft [[gold block]]s.
|[[Gold block]]s now require 9 gold ingots (3×3) instead of 4 (2×2) to be [[crafting|crafted]], making them much more expensive.}}
{{History|||snap=20100130|Gold ingots can now be used to craft gold [[sword]]s, [[shovel]]s, [[pickaxe]]s and [[axe]]s.}}
{{History||20100206|Gold ingots are now used to [[crafting|craft]] gold [[hoe]]s.}}
{{History||?|Smelting gold ore now drops 1 gold ingot (down from 3-5).}}
{{History||20100218|Gold ingots are now used to craft gold [[helmet]]s, [[chestplate]]s, [[leggings]] and [[boots]].}}
{{history|java alpha}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|Gold ingots are now used to craft [[clock]]s.}}
{{History|java beta}}
{{History||1.5|Gold ingots are now used to craft [[powered rail]]s.}}
{{History||1.8|snap=Pre-release|Gold ingots can now be found in the new [[stronghold]] storerooms and [[mineshaft]] [[chest]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Gold ingots can be crafted from [[gold nuggets]], which are dropped by [[Zombified Piglin|zombie pigmen]], making gold a [[renewable resource]].}}
{{History|||snap=Beta 1.9 Prerelease 3|Gold ingots can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Gold ingots are now used to craft [[gold nugget]]s.}}
{{History||1.1|snap=12w01a|Gold ingots can now be found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|Zombie pigmen now rarely drop gold ingots.}}
{{History||1.3.1|snap=12w21a|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing gold ingots.
|All types of [[villager]]s now [[trading|buy]] 8–9 gold ingots for 1 [[emerald]], as a fallback trade in case no trades were generated for that villager.}}
{{History|||snap=12w22a|Added [[jungle temple]]s, which contain loot chests with gold ingots.}}
{{History||1.5|snap=13w01a|Gold ingots are now used to craft light [[weighted pressure plate]]s.}}
{{History||1.6.1|snap=13w16a|Gold ingot is now used to craft golden [[horse armor]].}}
{{History|||snap=13w18a|Gold ingot is no longer used to craft golden [[horse armor]].|Gold ingots are now found in [[nether fortress]] [[chest]]s.}}
{{History|||snap=13w23a|Gold ingots are now used to craft normal [[golden apple]]s.}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: only cleric [[villager]]s now [[trading|buy]] 8–10 gold ingots for 1 [[emerald]], as a legitimate trade.}}
{{History||1.9|snap=15w31a|Gold ingots can now be found in [[end city]] [[chest]]s.}}
{{History|||snap=15w43a|The average yield of gold ingots in [[nether fortress]] chest has been decreased.}}
{{History|||snap=15w44a|The average yield of gold ingots in [[mineshaft]] and [[desert temple]] chests has been decreased.
|Gold ingots have been added to [[dungeon]] [[chest]]s.}}
{{History||1.11|snap=16w39a|Gold ingots are now found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 266.}}
{{History|||snap=18w10a|Gold ingots now generate in [[buried treasure]] chests.}}
{{History|||snap=18w11a|Gold ingots can now be obtained as a [[drops|drop]] from [[drowned]].
|Gold ingots now generate in [[shipwreck]] chests.}}
{{History||1.14|snap=18w43a|[[File:Gold Ingot JE3.png|32px]] The texture of gold ingots has been changed.}}
{{History|||snap=18w44a|[[File:Gold Ingot JE4 BE2.png|32px]] The texture of gold ingots has been changed, once again.}}
{{History|||snap=18w50a|Gold ingots now generate in chests in [[village]] toolsmith houses and temples.}}
{{History||1.16|snap=20w06a|Gold ingots are now used to craft [[netherite ingot]]s.}}
{{History|||snap=20w07a|Gold ingots can now be used to [[bartering|barter]] with [[piglin]]s.}}
{{History|||snap=20w11a|Gold ingots can now be [[smelting|smelted]] from [[nether gold ore]].}}
{{History|||snap=20w16a|Gold ingots now generate in [[bastion remnants]] and [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|The average yield of gold ingots from bastion remnant chests has been slightly increased.}}
{{History||1.17|snap=21w05a|Drowneds no longer drop gold ingots, and instead drop [[copper ingot]]s.}}
{{History|||snap=21w08a|Gold ingots can now be smelted from [[deepslate gold ore]].}}
{{History|||snap=21w14a|Gold ingots can now be smelted from [[raw gold]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Gold ingots can now be used as an armor trim material.}}
{{History|||snap=23w05a|Gold ingots can now be trimmed with gold [[armor]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Gold Ingot JE2 BE1.png|32px]] Added gold ingots. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.2|Gold ingots are now obtainable by [[smelting]] gold ore in a [[furnace]].
|Gold ingots can be used to craft [[blocks of gold]], gold [[pickaxe]]s, [[axe]]s, [[sword]]s and [[shovel]]s.}}
{{History||v0.4.0|Gold ingots are now used to [[crafting|craft]] gold [[hoe]]s.}}
{{History||v0.6.0|Gold ingots are now used to craft gold [[armor]].}}
{{History||v0.8.0|snap=build 1|Gold ingots are now used to craft [[clock]]s.}}
{{History|||snap=build 2|Gold ingots are now used to craft [[powered rail]]s.}}
{{History||v0.9.0|snap=build 1|Gold ingots can now be found in blacksmith [[chest]]s in [[village]]s, [[stronghold]] altar chests and [[dungeon]] chests.}}
{{History||v0.12.1|snap=build 1|Gold ingots are now used to craft [[gold nugget]]s and [[golden apple]]s.
|Gold ingots are now found in [[nether fortress]] chests.}}
{{History||v0.13.0|snap=build 1|Gold ingots are now used to [[crafting|craft]] light [[weighted pressure plate]]s.
|Gold ingots now generate inside of hidden chest rooms in [[desert temple]]s.}}
{{History||v0.14.0|snap=build 1|Gold ingots are now found in [[minecart with chest]]s that generate in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Gold ingots can now be found in [[jungle temple]] [[chest]]s.}}
{{History||v0.16.0|snap=build 4|Gold ingots can now be used to power [[beacon]]s.}}
{{History|pocket edition}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gold ingots can now be found in [[end city]] ship chests and [[stronghold]] storerooms.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Added [[trading]], cleric [[villager]]s now [[trading|buy]] 8–10 gold ingots for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gold ingots are now found in [[woodland mansion]] [[chest]]s.}}
{{history|bedrock}}
{{History||1.4.0|snap=beta 1.2.13.8|Added [[drowned]], which rarely [[drops|drop]] gold ingots.}}
{{History|||snap=beta 1.2.14.2|Gold ingots can now be found inside [[buried treasure]] [[chest]]s and [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Gold ingots can now be found in [[plains]] [[village]] weaponsmith chests.
|[[File:Gold Ingot JE4 BE2.png|32px]] The texture of gold ingots has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Gold ingots can now be found in [[desert]] village temple [[chest]]s and village toolsmith chests.
|Gold ingots can now be found in [[savanna]], [[taiga]], [[snowy taiga]], [[snowy tundra]] and desert village weaponsmith chests.}}
{{History|||snap=beta 1.11.0.4|Cleric [[villager]]s now [[trading|buy]] 3 gold ingots for one [[emerald]].}}
{{History||1.16.0|snap=beta 1.16.0.51|Gold ingots are now used to craft [[netherite ingot]]s.
|Gold ingots can now be used to [[bartering|barter]] with [[piglin]]s.}}
{{History|||snap=beta 1.16.0.57|Gold ingots can now be [[smelting|smelted]] from [[nether gold ore]].
|Gold ingots now be found in [[ruined portal]] and [[bastion remnants]] chests.}}
{{History||1.16.210|snap=beta 1.16.210.57|Gold ingots can no longer be obtained as a [[drops|drop]] from [[drowned]].}}
{{History||1.17.0|snap=beta 1.16.230.52|Gold ingots can now be smelted from [[deepslate gold ore]].}}
{{History|||snap=beta 1.17.0.50|Gold ingots can now be smelted from [[raw gold]].}}
{{History||1.19.80|snap=beta 1.19.80.21|Gold ingots can now be used as an armor trim material.}}

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

{{History|new3DS}}
{{History||0.1.0|[[File:Gold Ingot JE2 BE1.png|32px]] Added gold ingots.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

*Gold ingots are the only ingots in the game used alongside another [[item]] to [[crafting|craft]] another type of ingot; in this case, it is used with [[netherite scrap]] to craft a [[netherite ingot]].

== See also ==

*{{BlockLink|Block of Gold}}
*{{ItemSprite|Golden Chestplate}} [[Golden Armor]]
*{{ItemLink|Gold Nugget}}
*{{BlockLink|Gold Ore}}
*[[Ore]]s

{{Items}}

[[cs:Zlatý ingot]]
[[de:Goldbarren]]
[[es:Lingote de oro]]
[[fr:Lingot d'or]]
[[hu:Aranyrúd]]
[[ja:金インゴット]]
[[ko:금괴]]
[[nl:Goudstaaf]]
[[pl:Sztabka złota]]
[[pt:Barra de ouro]]
[[ru:Золотой слиток]]
[[uk:Золотий зливок]]
[[zh:金锭]]
[[Category:Renewable resources]]</li></ul></nowiki>
?Removed all commands.
Java Edition Alpha
v1.0.16
{{Extension DPL}}<ul><li>[[Green Dye|Green Dye]]<br/>{{redirect|Cactus Green|the plant|Cactus}}{{Item
| title = Green Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Green dye''' is a [[primary color dye]].

== Obtaining ==

=== Chest loot ===
{{LootChestItem|green-dye}}

=== Smelting ===
{{Smelting
|head=1
|showdescription=1
|Cactus
|Green Dye
|1
|description={{only|Java}}<ref>{{bug|MC-210211||Smelting cactus gives too much experience since 1.13}}</ref>
}}
{{Smelting
|head=0
|showdescription=1
|Cactus
|Green Dye
|0,2
|description={{only|Bedrock}}
|foot=1
}}

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===
Expert level shepherd villagers have {{frac|1|6}} chance to buy 12 green dye for an emerald.{{only|bedrock}} Expert level shepherds have a {{frac|2|7}} chance to buy 12 green dye for 1 emerald.{{only|java}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Green Dye
|spritetype=item
|nameid=green_dye
|aliasid=dye / 2
|id=397
|form=item
|translationkey=item.dye.green.name
|foot=1}}

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

== History ==

{{History|java beta}}
{{History||1.2|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green, together with all other dyes.}}
{{History|java}}
{{History||1.3.1|snap=1.3|[[File:Green Dye JE2 BE2.png|32px]] The texture of cactus green has been changed.}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cactus green can be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be [[crafting|crafted]].}}
{{History||1.7.2|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=17w06a|Cactus green can now be used to craft green [[concrete powder]].}}
{{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|"Cactus Green" has been renamed to "Green Dye".
|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History|||snap=18w44a|Green dye can now change the text color on [[sign]]s to green.}}
{{History|||snap=18w50a|Green dye can now be found in [[chest]]s in [[desert]] [[village]] houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells green dye.}}
{{History|||snap=19w11a|Green dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Green dye can now be used to craft [[green candle]]s.}}
{{History|||snap=21w19a|Green dye can no longer be used to craft green candles.}}
{{History|||snap=Pre-release 1|Green dye can once again be used to craft green candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Green dye can now change the text color on [[hanging sign]]s to green.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green. It is currently unobtainable and has no usage.}}
{{History||v0.3.2|Cactus green is now obtainable by [[smelting]] cacti in a [[furnace]]. It still has no usage.}}
{{History||v0.4.0|Cactus green can now be used to craft [[cyan dye]], [[lime dye]], and [[green wool]].}}
{{History||v0.8.0|snap=build 1|[[File:Green Dye JE2 BE2.png|32px]] The texture of cactus green has been changed.}}
{{History||v0.14.0|snap=build 1|Cactus green can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cactus green can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cactus green can now be used to dye [[bed]]s, [[shulker box]]es, and craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cactus green can now be used to craft [[stained glass]], patterns on [[banner]]s, and [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cactus green can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|"Cactus Green" has been renamed to "Green Dye".}}
{{History||1.10.0|snap=beta 1.10.0.3|Green dye is now sold by [[wandering trader]]s.
|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Green dye can now be found in [[desert]] [[village]] house [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Green dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of green dye has been changed from <code>dye/2</code> to <code>green_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green.}}
{{History|PS4}}
{{History||1.83|"Cactus Green" has been renamed to "Green Dye".}}
{{History||1.90|[[File:Green Dye JE3 BE3.png|32px]] The texture of green dye has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Green Dye JE1 BE1.png|32px]] Added cactus green.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[cs:Kaktusová zeleň]]
[[de:Grüner Farbstoff]]
[[es:Tinte verde]]
[[fr:Teinture verte]]
[[hu:Kaktuszzöld]]
[[ja:緑色の染料]]
[[ko:초록색 염료]]
[[nl:Cactusgroen]]
[[pl:Zielony barwnik]]
[[pt:Corante verde]]
[[ru:Зелёный краситель]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><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></ul>
Re-added several commands.
Java Edition
1.3.1
{{Extension DPL}}<ul><li>[[:Category:Plants|Category:Plants]]<br/>All pages covering blocks of such things as tall grass and flowers.

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

[[cs:Kategorie:Rostliny]]
[[es:Categoría:Plantas]]
[[fr:Catégorie:Plante]]
[[hu:Kategória:Növények]]
[[it:Categoria:Piante]]
[[ja:カテゴリ:植物]]
[[ko:분류:식물]]
[[nl:Categorie:Planten]]
[[pl:Kategoria:Rośliny]]
[[pt:Categoria:Plantas]]
[[ru:Категория:Растения]]
[[th:หมวดหมู่:พืช]]
[[zh:Category:植物]]</li><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| durability = 
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br> 
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.

== Obtaining ==
=== Crafting ===
{{Crafting
  |showname=0
  |showdescription=1
  |head=1
  |name=[[Swords]]
  |B1={Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B2={Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B3=Stick
  |Output=Wooden Sword; Iron Sword; Golden Sword; Diamond Sword
  |type=Combat
}}
{{Crafting
  |name=Stone Sword
  |B1=Any stone-tier block
  |B2=Any stone-tier block
  |B3=Stick
  |Output=Stone Sword
  |description=Can use cobblestone and its other variants interchangeably.
  |type=Combat
}}
{{Crafting
  |foot=1
  |ignoreusage=1
  |name=[[Swords]]
  |ingredients=Damaged Matching [[Swords]]
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
  |Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
  |description= The durability of the two swords is added together, plus an extra 5% of the tool type's total durability. Enchantments are removed unless combined on an [[anvil]].<br>'''Example:''' Two wooden swords, each with remaining durability of 20, combine into a wooden sword having 43 durability (20 + 20 + 5% of 60).
  |Output=Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
  |type=Combat
}}

=== Upgrading ===
{{Smithing
|Netherite Upgrade
|Diamond Sword
|Netherite Ingot
|Netherite Sword
|description=
|tail=1
}}

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged Wooden Sword or<br>2x Damaged Stone Sword or<br>2x Damaged Iron Sword or<br>2x Damaged Golden Sword or<br>2x Damaged Diamond Sword or <br>2x Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Damaged Wooden Sword; Damaged Stone Sword; Damaged Iron Sword; Damaged Golden Sword; Damaged Diamond Sword; Damaged Netherite Sword
|Wooden Sword; Stone Sword; Iron Sword; Golden Sword; Diamond Sword; Netherite Sword
|description=The durability of the two swords is added together, plus an extra 5% durability. Any enchantments, besides curses, would be removed.
}}

==== Unit repair ====
{{main|Anvil mechanics#Unit repair}}
{{/Repairing with Anvils}}
A sword can be repaired in an [[anvil]] by adding units of the [[tiers]]' repair material, with each repair material restoring 25% of the sword's maximum durability, rounded down.

=== Mob loot ===
{{Main|Drops#Equipped items}}

Some [[mobs]] can spawn with a sword and have an 8.5% chance of dropping them upon death caused by player. This chance is increased by 1% per level of [[Looting]], up to a maximum of 11.5% with Looting III. [[Zombie]]s and [[husk]]s can drop iron swords, [[zombified piglin]]s and [[piglin]]s can drop golden swords, and [[wither skeleton]]s can drop stone swords. The dropped sword is usually badly damaged and may be enchanted. Stone swords dropped by wither skeletons are never enchanted.

A [[vex]] wields an iron sword that normally has a 0% chance of dropping, because their main hand's <code>HandDropChances</code> is 0. However, this chance increases by 1 percentage point per level of Looting. It is never damaged{{only|java}} and may be enchanted.

{{IN|be}}, [[pillager]]s and [[vindicator]]s that spawn from raids have a 4.1% chance (5.12% chance on hard mode) of dropping a damaged iron sword. This sword has a 50% chance of being enchanted.

=== Trading ===
[[File:Weaponsmith Diamond Sword Trade.png|thumb|right|The diamond sword trade of a weaponsmith.]]

{{IN|bedrock}}, an apprentice-level weaponsmith villagers sells enchanted iron swords for at least 7-21 emeralds, and a master-level weaponsmith sells enchanted diamond swords for at least 13-27 emeralds.

{{IN|java}}, a novice-level weaponsmith villager has a {{frac|2|3}} chance of selling an enchanted iron sword for at least 7-22 emeralds. A master-level weaponsmith offers to sell an enchanted diamond sword for at least 11–27 emeralds.

The enchantments of the swords offered by villagers are the same as the ones obtained from an [[enchantment table]] at levels 5–19.

=== Chest loot ===
{{LootChestItem|iron-sword,level-enchanted-iron-sword,damaged-random-enchanted-iron-sword,golden-sword,random-enchanted-golden-sword,diamond-sword,damaged-diamond-sword,level-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword,damaged-random-enchanted-diamond-sword-2}}

== Usage ==
=== Attacking ===
Pressing {{control|attack}} while holding a sword inflicts damage on both mobs and other players. Upon damaging a mob or player, the sword's [[Item Durability|durability]] decreases by 1.

Attacking a [[boat]] or a [[minecart]] with a sword stone tier or higher instantly destroys it {{only|java}}, without decreasing the sword's durability. Otherwise, it requires 2 hits, with neither decreasing durability.

==== Sweeping ====
{{exclusive|Java|section=1}}
If the attack recharge meter is 84.8% or above and the player is on the ground standing or moving slower than the [[sprinting]] speed in a straight line, the sword performs a sweeping attack indicated by a gale [[particle]] that reaches nearby enemies for {{hp|1}} and knocks them back; the amount of knockback is 80% that of the basal knockback and does not benefit from the [[knockback]] enchantment. As result, the player can perform a sweep attack while they are sprinting diagonally but it is impossible to perform a sweep attack at the same time as a critical hit or while riding some [[entity]]. All enemies within an 1 by 0.25 by 1 block area of any part of the attacked mob and whose feet are 3 or less blocks away from player's feet are affected. The [[sweeping edge]] enchantment increases the damage dealt by 50% of the normal hit damage for level I, 67% for level II and 75% for level III.

=== Damage ===
{{Main|Damage}}

==== Java Edition ====
Swords have an attack speed of 1.6 and take 0.625 seconds to [[Damage#Attack cooldown|recover]]. 

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|4}}
| {{hp|4}}
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
|-
! Attack Speed
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
| 1.6
|-
! Damage/Second (DPS)
| 6.4
| 6.4
| 8
| 9.6
| 11.2
| 12.8
|-
! Durability
| 59
| 32
| 131
| 250
| 1561
| 2031
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Lifetime damage minimum = Durability × Damage per hit''. It ignores enchantments and [[Damage#Critical_hit|critical hits]], and assumes the sword is at maximum charge</ref>
| {{hp|236}}
| {{hp|128}}
| {{hp|655}}
| {{hp|1500}}
| {{hp|10927}}
| {{hp|16248}}
|}
{{notelist}}

==== Bedrock Edition ====
{{IN|bedrock}}, swords have no attack cooldown or sweep attack, and deal the following damage:

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|5}} <!-- DO NOT CHANGE THESE! The values are correct, '+4 Attack Damage' means 5 total attack damage. -->
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
| {{hp|9}}
|-
! Durability
| 60
| 33
| 132
| 251
| 1562
| 2032
|-
! 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|300}}
| {{hp|165}}
| {{hp|792}}
| {{hp|1757}}
| {{hp|12496}}
| {{hp|18288}}
|}
{{notelist}}

The most amount of damage that a sword enchanted with [[Sharpness]] V can do is 11 {{in|java}} and 15.25 {{in|bedrock}}, without critical hits.

=== Sword breaking times ===
{{main|Breaking}}

A sword can also be used to destroy certain blocks 50% quicker, sometimes much quicker than with fists. Using a sword to destroy any block that doesn't break instantly by hand decreases its durability by 2; this includes bamboo, despite that the sword is the fastest tool for breaking it.<ref>{{bug|MC-195168||Swords consume double durability than they normally would when destroying bamboo saplings, bamboo, or cobwebs}}</ref>

If a sword is enchanted with [[Silk Touch]], either using [[Creative]] or [[commands]], cobwebs the sword destroys will drop the cobwebs themselves instead of the usual string. This is due to the sword being classified as the proper tool for cobwebs.

The following table shows the time it takes to break blocks on which swords have any effect. Colors indicate what gets dropped:
* White: an original block.
* Blue: block's normal drop (e.g. seeds, sapling, apple).
* Red: nothing.

{| class="wikitable" style="text-align:center" data-description="Blocks affected by swords"
! Block
! Fists
! Sword
! colspan="2" | Proper/fastest tool
|-
!style="text-align:left"| {{BlockLink|Bamboo}}
| {{tc|no|{{breaking time|Bamboo}} s }} || 0.05 s (instant) <!-- this doesn't work: {{tc|planned|{{breaking time|Bamboo|Sword}} s}} -->
| {{ItemSprite|sword|link=Sword}}
| 0.05 s (instant) <!-- this doesn't work: {{breaking time|Bamboo|Sword}} s -->
|-
!style="text-align:left"| {{BlockLink|Cobweb}}
| {{tc|no|{{breaking time|Cobweb|drop=None}} s}} || {{tc|planned|{{breaking time|Cobweb|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Cobweb|Shears}} s
|-
!style="text-align:left"| {{BlockLink|Cocoa}}
| {{tc|planned|{{breaking time|Cocoa}}s}} || {{tc|planned|{{breaking time|Cocoa|Sword}}s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Cocoa|Golden}} – {{breaking time|Cocoa|Wooden}} s}}
|-
! style="text-align:left"|{{BlockLink|Hay Bale}}
| 1s
| 0.8s{{only|bedrock}}
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{breaking time|Hay Bale|Golden}} – {{breaking time|Hay Bale|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Leaves}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves}} s}}
!rowspan="2" {{tc|planned|{{breaking time|Leaves|Sword}} s}}
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Leaves|Shears}}s
|-
| {{ItemSprite|wooden-hoe|link=Hoe}}
| {{tc|planned|{{breaking time|Leaves|Golden}} – {{breaking time|Leaves|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Jack o'Lantern}}
| {{breaking time|Jack o'Lantern}} s || {{breaking time|Jack o'Lantern|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Jack o'Lantern|Golden}} – {{breaking time|Jack o'Lantern|Wooden}} s
|-
!style="text-align:left"| {{BlockLink|Melon}}
| {{tc|planned|{{breaking time|Melon}} s}} || {{tc|planned|{{breaking time|Melon|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|planned|{{breaking time|Melon|Golden}} – {{breaking time|Melon|Wooden}} s}}
|-
!style="text-align:left"| {{BlockLink|Pumpkin}}
| {{breaking time|Pumpkin}}s || {{breaking time|Pumpkin|Sword}} s
| {{ItemSprite|wooden-axe|link=Axe}}
| {{breaking time|Pumpkin|Golden}} – {{breaking time|Pumpkin|Wooden}} s
|-
!style="text-align:left" rowspan="2"| {{BlockLink|Vines}} 
| rowspan="2" {{tc|no|{{breaking time|Vines}} s}} || rowspan="2" {{tc|no|{{breaking time|Vines|Sword}} s}}
| {{ItemSprite|wooden-axe|link=Axe}}
| {{tc|no|{{breaking time|Vines|Golden}} – {{breaking time|Vines|Wooden}} s}}
|-
| {{ItemSprite|shears|link=Shears}}
| {{breaking time|Vines|Shears}} s
|}

==== Safety around constructions ====
In Creative mode, swords are unable to break blocks. However, care must still be taken around [[minecart]]s, [[painting]]s, [[item frame]]s,{{only|java}} and [[armor stand]]s; these are entities, thus can be broken with swords in Creative.<ref>{{bug|MC-27140}}</ref><ref>{{bug|MC-18463}}</ref>

=== Enchantments ===
Swords can receive, gathered from mob drops/villager trades or be found in various loot chests (example: End City, Bastion Remnant)with the following [[enchantment]]s:

{| class="wikitable sortable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
!Weight
|-
|[[Fire Aspect]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Looting]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Sharpness]]<ref group=note name=note1>Sharpness, Smite, and Bane of Arthropods are mutually exclusive.</ref>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|10
|-
|[[Smite]]<ref group=note name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Bane of Arthropods]]<ref group="note" name=note1/>
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Knockback]]
|II
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|5
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|2
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|1
|-
|[[Sweeping Edge]]{{Only|java|short=1}}
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|2
|}
Golden swords have the highest enchantability, yet the least durability{{Notelist}}

=== Fuel ===
Wooden swords can be used as fuel in [[furnace]]s, smelting 1 item per sword.

=== Smelting ingredient ===
{{Smelting|showname=1|Iron Sword;Golden Sword|Iron Nugget;Gold Nugget|0,1}}

=== Piglins ===
[[Piglin]]s are attracted to golden swords, run toward any golden swords on the ground and inspect it for 6 to 8 seconds before putting it in their [[inventory]] slot.

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|subtitle=Strong attack
|source=player
|description=When a player deals an attack that does not trigger any other attack sounds
|id=entity.player.attack.strong
|translationkey=subtitles.entity.player.attack.strong
|volume=''varies'' <ref group=sound>0.6 for <code>strong1</code> through <code>strong4</code>, and 0.7 for <code>strong5</code> and <code>strong6</code></ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Critical attack1.ogg
|sound2=Critical attack2.ogg
|sound3=Critical attack3.ogg
|subtitle=Critical attack
|source=player
|description=When a player deals a critical hit
|id=entity.player.attack.crit
|translationkey=subtitles.entity.player.attack.crit
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Knockback attack1.ogg
|sound2=Knockback attack2.ogg
|sound3=Knockback attack3.ogg
|sound4=Knockback attack4.ogg
|subtitle=Knockback attack
|source=player
|description=When a player deals a sprinting attack
|id=entity.player.attack.knockback
|translationkey=subtitles.entity.player.attack.knockback
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Sweep attack1.ogg
|sound2=Sweep attack2.ogg
|sound3=Sweep attack3.ogg
|sound4=Sweep attack4.ogg
|sound5=Sweep attack5.ogg
|sound6=Sweep attack6.ogg
|sound7=Sweep attack7.ogg
|subtitle=Sweeping attack
|source=player
|description=When a player deals a sweep attack
|id=entity.player.attack.sweep
|translationkey=subtitles.entity.player.attack.sweep
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|subtitle=Weak attack
|source=player
|description=When a player deals an attack with no damage
|id=entity.player.attack.nodamage
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Weak attack
|source=player
|description=When a player attempts to attack without sufficient cooldown
|id=entity.player.attack.weak
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a sword'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=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|source=player
|description=When a player deals an attack with damage
|id=game.player.attack.strong
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|source=player
|description=When a player deals an attack with no damage
|id=game.player.attack.nodamage
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an sword'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=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|id=308
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|id=312
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|id=307
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|id=316
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|id=322
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|id=604
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Time to Strike!;Overkill;Oooh, shiny!}}

== Advancements ==
{{load advancements|Oh Shiny}}

== History == 
=== Blocking ===
{{main|Blocking}}
[[File:Parrying.png|thumb|right|The blocking animation using a sword before and after [[Java Edition 14w30a]] (from the [[Adventure Update|Adventure]] to the [[Bountiful Update|Bountiful]] updates).]]
 
Previously, since the [[Adventure Update]], all types of swords could be used to parry to block some forms of damage. If the player is blocking with a sword when attacked, the sword deflects 50% of incoming damage from melee, non-magical projectiles like arrows, and explosions, along with minimizing airborne knockback. The sword is held in front of the player and its durability is not reduced by blocking. The player moves at a slower rate than [[sneaking]] if blocking with a sword. Sword blocks could be engaged and disengaged instantly, with no delay between the input and damage mitigation nor cooldown between lowering a block and raising a new one.
 
After the [[Combat Update]], the sword blocking functionality was replaced by blocking with [[shield]]s and to accommodate the [[dual wield]] system. Shields negate more damage and knockback than sword blocking from "blockable" attacks (they block 100% damage and knockback after [[Java Edition 1.11]]), but, unlike swords, they lose durability, have a 0.25 second startup period before damage can be mitigated and can be temporarily disabled by attacks with an [[axe]].

=== Knockback ===
The knockback dealt by swords used to be higher than while the players are using another melee [[item]]s, like an axe or with the hands. This feature was removed in [[Java Edition 1.9]] and is also no longer used in ''[[Bedrock Edition]]''.

=== Historical changes per version ===
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Sword JE1 BE1.png|32px]] Added iron swords.
|Iron swords cannot be [[craft]]ed yet, but can be added to the [[player]]'s [[inventory]] during world creation.}}
{{History||0.31|snap=?|The iron sword is no longer added to the player's inventory during world creation.}}
{{History||0.31|snap=20100128|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Swords made from wood, stone, and diamond have been added.
|Swords cannot be crafted yet, but have been added to the [[item]] [[chest]] in the Indev house.|A sword held by the player is now rendered to appear more 3D.}}
{{History||0.31|snap=20100129|Wood, stone, iron, and diamond swords can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Sword JE1.png|32px]] Swords can now be made out of gold.}}
{{History|||snap=20100131|Swords now have [[durability]]. 
|Better swords now last longer.
|Swords now cost 1 durability per hit, and 2 points per block broken.}}
{{History||20100206|[[File:Golden Sword JE2 BE1.png|32px]] The texture of gold swords has been slightly changed.}}
{{History|java alpha}}
{{History||v1.2.0|snap=release|[[Zombie pigmen]] now hold golden swords.}}
{{History|java beta}}
{{History||1.2|Swords, like all [[tool]]s, now have more [[item durability|durability]].
|Prior, diamond swords had 1024 durability, iron swords had 128, stone swords 64 and wood and gold had 32 durability.}}
{{History||1.5|The damages of all swords have increased by 1, due to the player's barehand damage increasing from {{hp|1}} to {{hp|2}}.
|As a result, wooden and golden swords now dealt {{hp|5}}, stone swords {{hp|7}}, iron swords {{hp|9}}, and diamond swords {{hp|11}}.}}
{{History||1.8|snap=Pre-release|Added the ability to block with a sword, giving the [[player]] more options in combat.
|Swords deflect 50% of incoming melee damage, non-magical projectiles like arrows and explosion damage, and a bit of knockback.
|The sword is held in front of the player and its durability is not reduced by blocking.|The player moves at a slower rate than [[sneaking]] when blocking with a sword.
|As barehand damage has been reduced from {{hp|2}} to {{hp|1}}, the damages of all swords have been reduced to their pre Beta 1.5 values.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Sword [[damage]] has been reduced to make way for [[enchanting]]. A diamond sword's damage has been reduced from {{hp|10}} to {{hp|7}}, iron has been reduced from {{hp|8}} to {{hp|6}} and stone has been reduced from {{hp|6}} to {{hp|5}}. Wooden and golden swords still deal {{hp|4}} damage.|Iron swords are now found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Swords can now be enchanted in the [[enchantment table]].}}
{{History||1.1|snap=12w01a|Iron swords are now found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|The [[player]] now has a rare chance of obtaining iron swords by killing [[zombie]]s and golden swords from [[zombie pigmen]] from the addition of [[rare drops]]. These swords have a 20% chance of being enchanted.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden swords.}}
{{History||1.3.1|snap=12w18a|Wooden swords can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond swords for 12–13 [[emerald]]s, and iron swords for 7–10 emeralds.
|With the [[trading]] implementation, renewable [[item]]s such as [[wheat]] can now be [[trading|sold]] to buy a diamond sword. This has now made all swords [[Renewable Resource|renewable]].}}
{{History||1.4.2|snap=12w32a|[[Zombie]]s may sometimes wield iron swords, dealing extra [[damage]].}}
{{History|||snap=12w34a|If a [[player]] has dyed leather armor equipped and selected a sword of any kind, it appears in the color of the dye applied to the armor, when switching to second or third person view.}}
{{History|||snap=12w36a|Added [[wither skeleton]]s, which hold stone swords.}}
{{History||1.4.6|snap=12w49a|[[Unbreaking]] can now be applied to a sword with an [[enchanted book]].}}
{{History||1.6.1|snap=13w18a|Golden swords are now found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.}}
{{History|||snap=13w25b|In [[Creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden swords.}}
{{History||1.8|snap=14w02a|Weaponsmith [[villager]]s now [[trading|sell]] enchanted diamond swords for 12–15 [[emerald]]s, and iron swords for 9–10 emeralds. Unenchanted swords are no longer sold.}}
{{History|||snap=14w30a|Sword holding position have been tweaked, and the blocking animation has changed. Blocking while mining was made impossible. Blocking immediately after attacking no longer continues the swing animation.}}
{{History||1.9|snap=15w31a|[[Enchanting|Enchanted]] iron and diamond swords can now be found in [[end city]] ship [[chest]]s.}}
{{History|||snap=15w33c|Swords no longer block attacks. Instead, [[shield]]s are used.}}
{{History|||snap=15w34b|Swords now use the attack speed [[attribute]]. The attack speed of a sword is 1.25 or 0.8 seconds.}}
{{History|||snap=15w34c|Nerfed swords, they now do {{hp|1}} less [[damage]] and have an attack speed of 1.45, or 0.69 seconds.
|Swords can now do a sweep attack when moving at walking speed or slower, which knock back [[mob]]s near the one hit. The attack speed meter must be filled for it to work.}}
{{History|||snap=15w36a|Each [[Sharpness]] level now adds {{hp|1}} damage to the base damage at level I and an additional {{hp|0.5}} for each additional level, down from a flat {{hp|1.25}} per level.}}
{{History|||snap=15w37a|Swords now have an attack speed of 1.6, or 0.63 seconds.}}
{{History|||snap=15w43a|The average yield of golden swords in [[nether fortress]] chests has been decreased.}}
{{History|||snap=15w49a|Sweep attack now does {{hp|1}} damage to affected [[mob]]s and players.}}
{{History||1.11.1|snap=16w50a|Golden and iron swords now [[smelt]] down into one of their respective [[nugget]]s.
|Added [[Sweeping Edge]] enchantment.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 268, 272, 267, 276 and 283.}}
{{History|||snap=18w10a|Swords can now generate in [[buried treasure]] chests.}}
{{History||September 10, 2018|link={{tweet|JasperBoerstra|1039167196801458176}}|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] [[Jasper Boerstra]] tweets an image of updated sword textures.}}
{{History||1.14|snap=18w43a|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Swords now break [[bamboo]] instantly.}}
{{History||1.16|snap=20w06a|[[File:Netherite Sword JE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden swords.}}
{{History|||snap=20w09a|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.}}
{{History|||snap=20w10a|[[File:Netherite Sword JE2 BE2.png|32px]] The texture of netherite swords has been changed.
|Netherite swords can no longer be [[crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w15a|Stone swords can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Golden and netherite swords now generate in [[bastion remnants]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.16.2|snap=20w30a|Damaged enchanted iron swords can now be found in [[bastion remnant]] chests.}}
{{History||1.17|snap=21w08a|Stone swords can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden swords.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond swords to netherite swords now requires the netherite upgrade [[smithing template]].}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all swords has been increased to 3.
|The base [[damage]] is now {{Hp|2}}, meaning that all swords now do {{Hp|1}} more damage than before}.
|The attack reach of swords has been increased to 3.5 [[block]]s.}}
{{History|||snap=Combat Test 2|The attack speed of all swords has been decreased to 2.5.}}
{{History|||snap=Combat Test 3|The attack speed of all swords has been changed from 2.5 back to 3.0.
|The attack key can now again be held down to automatically attack when the attack meter is full.
|Attacks now happen only when the sword is at 120% charge, slower than if attacks were timed.}}
{{History|||snap=Combat Test 4|Sword can now perform critical, knockback ([[sprint]]) hits on 100% charge.
|The attack reach of all weapons was decreased by 0.5 [[block]]. Sword now have a 3 [[block]]s reach.
|The 200% attack now gives a bonus reach of 1 [[block]].}}
{{History|||snap=Combat Test 5|Weapons have been nerfed. All material tiers have been nerfed by {{Hp|1}} except wood and gold, and the sword tier have been nerfed by {{Hp|1}}. This means that the wooden/stone/golden sword now does {{Hp|4}} damage, the iron sword now does {{Hp|5}} damage and the diamond sword now does {{Hp|6}} damage.}}
{{History|||snap=Combat Test 6|All weapons' attack reach have been buffed by 0.5 [[block]].
|200% attacks have been removed.
|Swords now always do sweep attack, even in the air.
|The cooldown for missed hit is a 4-tick cooldown instead of using the attack speed attribute.}}
{{History|||snap=Combat Test 7c|All weapons' attack reach have been nerfed by 0.5 [[block]]. The sword's attack reach is now 3 [[block]]s again.
|200% attacks have been re-added.
|Swords no longer sweep without [[Sweeping Edge]] and 200% charge again.
|Adjusted the netherite tier value to match the weapon nerf in Combat Test 5}}
{{History|||snap=Combat Test 8b|Enchantment bonus attack damage are now included in the base damage when calculating critical hits (they were excluded before). Due to this change, enchanted swords critical attacks are now way more powerful (especially with high enchantments)}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Sword JE1 BE1.png|32px]] Added stone swords.}}
{{History||v0.3.0|[[File:Wooden Sword JE1 BE1.png|32px]] Added wooden swords.
|Survival players no longer start out with an infinite durability stone sword in the inventory.}}
{{History||v0.3.2|[[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added iron, gold, and diamond swords.}}
{{History||v0.4.0|Iron swords have replaced stone swords in the creative inventory.}}
{{History||v0.9.0|snap=build 1|Iron swords can now be found in [[stronghold]] altar [[chest]]s and inside blacksmith chests.}}
{{History||v0.11.0|snap=build 11|Wooden, stone, golden and diamond swords are now available in the [[creative]] [[inventory]].}}
{{History||v0.11.0|snap=build 12|Wooden, stone, golden and diamond swords have been removed from creative.}}
{{History||v0.11.0|snap=build 13|All swords are available in creative mode again.}}
{{History||v0.12.1|snap=build 1|Instead of replacing the barehanded [[damage]] ({{hp|1}}), swords now add their damage onto the barehanded damage, which results in all swords doing {{hp|1}} more damage than before.|In [[creative]] mode, swords are no longer able to break [[block]]s, and no [[sound]] plays when they're hit with one.|Golden swords can now be found in [[nether fortress]] chests.
|[[Zombie]]s now rarely spawn holding an iron sword that have a chance to [[drops|dropped]].
|Golden swords are now rarely dropped by [[zombie pigmen]].
|Stone swords are now rarely dropped by [[wither skeleton]]s.}}
{{History||v0.15.0|snap=build 1|Iron swords are now sometimes dropped by [[husk]]s that spawn holding an iron sword.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted iron and diamond swords can now be found in [[end city]] [[chest]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron swords and enchanted diamond swords are now sold by weaponsmith [[villager]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden swords are now [[smelting|smeltable]].
|Added [[vex]]es, which rarely drop an iron sword if killed using [[Looting]] enchantment.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.
|Iron swords are now found in [[plains]] [[village]] weaponsmiths.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron swords can now be found in [[savanna]], [[snowy taiga]], [[taiga]] and [[desert]] village weaponsmiths.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron swords upon [[death]].
|[[Trading]] has been changed. Iron swords [[trading|sold]] by weaponsmith [[villager]]s now cost 2 [[emerald]]s while diamond swords cost 8 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Sword BE1.png|32px]] Added netherite swords.
|Netherite swords are obtained by combining one diamond sword and one [[netherite ingot]] in a [[crafting table]].
|[[File:Diamond Sword JE3 BE3.png|32px]] The texture of diamond swords has been changed.
|Golden swords are now sometimes [[drops|dropped]] by [[piglin]]s that spawn holding a golden sword.}}
{{History|||snap=beta 1.16.0.57|Netherite swords can no longer be [[crafting|crafted]].
|Netherite swords are now obtained by combining one diamond sword and one [[netherite ingot]] in a [[smithing table]].
|Stone swords can now be crafted using [[blackstone]].
|Golden and netherite swords now generate in [[bastion remnant]] chests.
|Golden swords now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds swords now generate in place of netherite swords in bastion remnant [[chest]]s.}}
{{History||1.17.30|snap=beta 1.17.20.20|Swords now break [[bamboo]] instantly.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords (all five types).}}
{{History||xbox=TU5|The ability to block with swords has been added, giving the [[player]] more options in combat.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden swords are now [[smelting|smeltable]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wooden Sword JE2 BE2.png|32px]] [[File:Stone Sword JE2 BE2.png|32px]] [[File:Iron Sword JE2 BE2.png|32px]] [[File:Golden Sword JE3 BE2.png|32px]] [[File:Diamond Sword JE2 BE2.png|32px]] The textures of all swords have been changed.}}
{{History||ps=1.92|The ability to block with swords has been removed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Sword JE1 BE1.png|32px]] [[File:Stone Sword JE1 BE1.png|32px]] [[File:Iron Sword JE1 BE1.png|32px]] [[File:Golden Sword JE2 BE1.png|32px]] [[File:Diamond Sword JE1 BE1.png|32px]] Added swords.
|Swords cannot block attacks.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*The sword's traditional [[texture]] came from [[Notch]]'s abandoned RPG, ''[[Legend of the Chambered]]''. The iron sword's texture was created first, as it was from the game, and the other swords followed.
*In ''Java Edition'', with the introduction of netherite swords, it is possible to one-hit kill undead [[mob]]s in the game (except [[wither]]s and [[zombie]]s/[[skeleton]]s with random armor) using a sword with the [[Smite]] V enchantment, without the need to perform a critical hit (this was previously possible only with a [[Smite]] V stone, iron, or diamond axe).
*Plastic diamond and enchanted swords are official ''[[Minecraft]]'' merchandise.<ref>https://shop.minecraft.net/products/minecraft-sword?_pos=1&_psq=sword&_ss=e&_v=1.0</ref><ref>https://shop.minecraft.net/products/minecraft-enchanted-purple-sword?_pos=4&_psq=sword&_ss=e&_v=1.0</ref>
*In the game [[wikipedia:Transformice|''Transformice'']], a diamond sword can be found in the shop.

== Gallery ==
=== Enchanted swords ===
<gallery>
Enchanted Wooden Sword.gif|Enchanted wooden sword.
Enchanted Stone Sword.gif|Enchanted stone sword.
Enchanted Iron Sword.gif|Enchanted iron sword.
Enchanted Golden Sword.gif|Enchanted golden sword.
Enchanted Diamond Sword.gif|Enchanted diamond sword.
Enchanted Netherite Sword.gif|Enchanted netherite sword.
</gallery>

=== Texture packs ===
<gallery>
File:Wood sword TP.png|Wooden sword in the [[Texture Pack DLC|Plastic Pack]].
Stone Sword SDGP.png|Stone sword in the [[Super Duper Graphics Pack]].
File:Gold sword Natural.png|Gold sword in the [[Texture Pack DLC|Natural Pack]].
</gallery>

=== In other media ===
<gallery>
File:Alex Fighting in Nether.jpeg|Pixel art of [[Alex]] fighting with a diamond sword in the [[Nether]].
File:Alex Retrieving Diamond Sword.jpeg|Alex retrieving another diamond sword from a [[chest]].
File:Sinister Sword Sprite MCD.png|The [[MCD:Sinister Sword|Sinister Sword]], a unique sword featured in ''Minecraft Dungeons''.
File:Sword GUI.png|A nondescript [[MCD:Sword|sword]] as it appears in ''[[Minecraft Dungeons]]''.
File:Sword (item).png|A sword as it appears in ''[[Legend of the Chambered]]''.
File:Sword Shirt.png|Officially licensed T-Shirt of a diamond sword.
File:IronSword replica.jpg|Foam replica of an iron sword.
</gallery>

== References ==
{{reflist}}

{{Items}} 
[[Category:Tools]]
[[Category:Combat]]

[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul>
12w16aAdded cheats mode.
12w25aCheats can now be turned on or off when opening a world to other players through LAN.
1.8
{{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>[[Crossbow|Crossbow]]<br/>{{For}}
{{Item
| title = Crossbow
| image = <gallery>
Crossbow.png | Crossbow
Crossbow Pull 0.png | Pull (state 0)
Crossbow Pull 1.png | Pull (state 1)
Crossbow Pull 2.png | Pull (state 2)
Arrow Loaded Crossbow.png | Arrow loaded
Firework Loaded Crossbow.png | Firework loaded
</gallery>
| rarity = Common
| renewable = Yes
| durability = 465{{only|JE|short=yes}}<br>464{{only|BE|short=1}}
| stackable = No
}}

A '''crossbow''' is a ranged [[weapon]] similar to a [[bow]] that uses [[arrow]]s or [[firework rocket|fireworks]] as ammunition.

== Obtaining ==
=== Crafting ===
{{Crafting
|A1=Stick|B1=Iron Ingot |C1=Stick
|A2=String|B2= Tripwire Hook|C2=String
|B3= Stick
|Output= Crossbow
|type= Combat
}}

=== Repairing ===
{{Grinding
|showdescription=1
|ingredients=2× Damaged [[Crossbow]] or<br>2× Damaged [[Arrow Loaded Crossbow]] or<br>2× Damaged [[Firework Loaded Crossbow]]
|Damaged Crossbow; Damaged Arrow Loaded Crossbow; Damaged Firework Loaded Crossbow
|Damaged Crossbow; Damaged Arrow Loaded Crossbow; Damaged Firework Loaded Crossbow
|Crossbow; Arrow Loaded Crossbow; Firework Loaded Crossbow
|description=The [[item durability|durability]] of the two crossbows is added together, plus an extra 5% durability.‌
}}

{{Crafting
|Damaged Crossbow;Damaged Arrow Loaded Crossbow;Damaged Firework Loaded Crossbow
|Damaged Crossbow;Damaged Arrow Loaded Crossbow;Damaged Firework Loaded Crossbow
|Output=Crossbow
|type=Combat
|ignoreusage=1
|showdescription=1
|description=The durability of the two crossbows is added together, plus an extra 5% durability.‌ Any loaded ammunition is lost.
}}

=== Mob loot ===

==== Pillagers ====

When killed, a [[pillager]] has a small chance (8.5%) of dropping a loaded or unloaded crossbow with random [[durability]]; the [[drop]] rate increases by 1% per [[level]] of [[Looting]]: 9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III. The [[drop]]ped crossbow can rarely (10% chance) be [[enchanted]] at level 5–19 regardless of being [[enchanted]] when it [[spawn]]ed.

Crossbows dropped by pillagers may have multiple enchantments, including duplicate enchantments on the same weapon.

==== Piglins ====
[[Piglin]]s have a chance of wielding a crossbow upon spawning, and they also have a small chance (8.5%) of dropping a loaded or unloaded crossbow of random durability when killed; this rate increases by 1% per level of [[Looting]]: 9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III. It can rarely (10% chance) be enchanted at level 5–19 regardless of being enchanted when spawned.

=== Chest loot ===

{{LootChestItem|crossbow,damaged-level-enchanted-crossbow,damaged-random-enchanted-crossbow,damaged-random-enchanted-crossbow-2}}

=== Trading ===

Journeyman-level Fletcher [[villager]]s offer to [[trading|sell]] an unenchanted crossbow for 3 [[emerald]]s.

Master-level Fletcher villagers have a {{frac|1|16}} (6.25%) chance of selling an [[enchanting|enchanted]] crossbow for 8 emeralds.{{only|bedrock}}

Master-level Fletcher villagers have {{frac|2|3}} chance of selling an enchanted crossbow for 7-22 emeralds.{{only|java}}

== Usage ==
<gallery>
Steve aiming with Crossbow.png|
Alex aiming with Crossbow.png|
Pillager Aiming with Crossbow BE.png|
Piglin with Crossbow targeting JE.png|
</gallery>

Despite using [[iron ingot]]s in their crafting recipe, crossbows cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>

=== Weapon ===
[[File:Crossbowcooldown.gif|thumb|right|Charging and shooting the crossbow {{in|bedrock}}.]]
Crossbows are similar to [[bow]]s, but take longer to load and are slightly more powerful, shooting farther with slightly higher accuracy. Alternatively, they can be loaded with a firework rocket, which flies in a straight line.

Load them by {{control|using}} them, which makes the player move at sneak speed. Unlike bows, the [[arrow]] or [[firework rocket]] can be fired only if the player releases the use button after the crossbow is loaded{{Only|je}}  or if the crossbow finishes its loading animation {{Only|be}}. At this point, it ''must be used a second time'' to fire its bolt.

Once it has reached full charge, the [[player]]'s speed returns to normal. After that, shooting a charged crossbow does not delay any of the [[player]]'s current action like [[sprinting]] or [[swimming]].

The crossbow can even be placed in another [[inventory]] slot or into an [[item frame]] without the [[arrow]] or [[firework rocket]] being unloaded or fired. A charged crossbow also remains charged after enchanting it with an enchantment table or with an anvil.

In order to use the crossbow, at least one arrow or firework rocket must be present in the inventory. The player can choose the type of arrow to fire based on its location in their [[inventory]]:
* [[File:Java Crossbow 1stP Loading.mp4|thumb|177x177px|Java Edition first-person loading animation for crossbows.]]Arrows in the off-hand, or the selected [[hotbar]] slot if the crossbow is in the off-hand, are prioritized first. 
* If there are no arrows in the off-hand or selected hotbar slot, the arrow closest to slot 0 is selected. 
Crossbows take 1.25 seconds (25 ticks) to load. 

The player can load either an arrow, spectral arrow, tipped arrow (of any effect) or a firework (of any color/type).
[[File:Bedrock Crossbow 1stP Loading.mp4|thumb|177x177px|Bedrock Edition first-person loading animation for crossbows.]]
[[Endermen]] teleport away from projectile paths, so they cannot be hit with crossbow [[arrow]]s. However, they can still get harmed by [[firework rocket]] explosions, if they can't detect the firework rocket.

;Attack strength

''Java Edition'':

{| class="wikitable" style="text-align:center" data-description="Crossbow Damage Statistic"
|-
! Damage || Arrow || Max firework
|-
| {{ItemSprite|Crossbow|text= '''Minimum'''}}
| {{hp|7}}
| {{hp|11}}
|-
| {{ItemSprite|Crossbow|text= '''Average'''}}
| {{hp|9}}
| {{hp|14.5}}
|-
| {{ItemSprite|Crossbow|text= '''Maximum'''}}
| {{hp|11}}
| {{hp|18}}
|}

''Bedrock Edition''
* Always {{hp|9}}

=== Fireworks ===

[[Firework rocket]]s can be fired by loading the crossbow only while holding the rockets in the off-hand. They fly at 32 m/s. Firework rockets with higher flight duration have a longer time before they explode and therefore travel farther. Firing a firework rocket uses 3 [[durability]] points per shot.
{| class="wikitable" style="text-align:center"
! colspan="4" |Firework rocket range
|-
|Minimum
|Average
|Maximum
|Gunpowder
|-
|32m (20 ticks)
|40.8m (25.5 ticks)
|49.6m (31 ticks)
|1 ([[File:Gunpowder JE2 BE2.png|12x12px]])
|-
|48m (30 ticks)
|56.8m (35.5 ticks)
|65.6m (41 ticks)
| 2 ([[File:Gunpowder JE2 BE2.png|12x12px]][[File:Gunpowder JE2 BE2.png|12x12px]])
|-
|64m (40 ticks)
|72.8m (45.5 ticks)
|81.6m (51 ticks)
|3 ([[File:Gunpowder JE2 BE2.png|12x12px]][[File:Gunpowder JE2 BE2.png|12x12px]][[File:Gunpowder JE2 BE2.png|12x12px]])
|}
Firework rockets also work with the [[Multishot]] enchantment, enabling the [[player]] to shoot 3 firework rockets at a time. The increased durability usage stacks, resulting in 9 durability being consumed with each shot.

A shot firework rocket explodes instantly when it hits a [[mob]] or [[block]].{{only|java}} If the firework rocket has no explosion effect, it deals no [[damage]]. The explosion of a firework rocket deals {{hp|5}} to {{hp|6}} points of damage, with one [[firework star]]. The explosion has a radius of roughly 4 blocks, which is unaffected by the firework star's [[Firework Star#Effects|effect]]. Each additional firework star on the rocket deals an additional {{hp|1}} to {{hp|2}} points of damage, for a maximum of {{hp|11}} to {{hp|18}} with 7 firework stars. The flight duration of the firework increases the maximum range the firework can travel before exploding, but does not affect the damage output. Likewise, the damage remains the same regardless of any dyes used. The [[Piercing]] enchantment causes the firework rocket to pierce a number of entities based on its respective level before exploding.{{only|java}} Unlike an arrow shot from a bow, the firework does not slow down under water.

=== Repair ===

Crossbows can be repaired in an [[anvil]] or [[grindstone]] by combining two crossbows. Any loaded ammunition is retained from the crossbow in the first slot but sacrificed from the crossbow in the second slot.

===Enchantments===
{| class="wikitable"
|+
!Name
!Description
!Max Level
|-
|[[Quick Charge]]
|Decreases the reloading time of the crossbow by {{code|level * 0.25}} seconds. Crossbows with [[Quick Charge]] III fire slightly faster than [[bow]]s. If [[commands]] are used to enchant a crossbow with Quick Charge V, the crossbow charges instantaneously. A crossbow enchanted with Quick Charge VI is effectively impossible to charge, which renders it useless. This can be done only {{in|je}}.
|III
|-
|[[Multishot]]
| Makes the crossbow fire a spread of 3 projectiles at once instead of a single projectile, which is useful for targeting mobs spread out in a small area. This works for both [[arrow]]s and [[firework rocket]]s. Firing with this enchantment still uses only one projectile, and because of that, it is possible to recover only one of the three arrows shot from a Multishot crossbow. Multishot crossbows use 3 [[item durability|durability]] points per shot, unless using fireworks for ammunition, in which case 9 durability is consumed. Mutually exclusive with Piercing.
|I
|-
|[[Piercing]]
|Makes [[arrow]]s shot from the crossbow pierce [[entity|entities]] they hit and continue their flight, which allows each arrow to hit up to {{code|level + 1}} entities. This is useful for targeting [[mob]]s closely packed together, and for conserving arrows, as they can be picked up after piercing entities. Arrows fired in this manner also ignore [[Shield|shields]]. Mutually exclusive with Multishot.
|IV
|-
|[[Unbreaking]]
|Causes a <code>(Level /(Level+1)) * 100%</code> chance a shot fired does not reduce the [[item durability|durability]] of the crossbow.
|III
|-
|[[Mending]]
|Allows a certain proportion of [[experience]] orbs collected to contribute toward repairing the crossbow, rather than raising the [[player]]'s experience.
|I
|-
|[[Curse of Vanishing]]
| Causes the crossbow to disappear instead of dropping on the ground when the player dies. The {{cmd|gamerule keepInventory}} overrides this.
|I
|}

[[Multishot]] and [[Piercing]] are mutually exclusive. Normal methods of [[enchanting]] allow only one of them to be applied to a crossbow.

Crossbows can receive 3 unique [[enchanting|enchantment]]s, and have a base enchantability of 1. Enchantments specific to crossbows include [[Quick Charge]], Multishot and Piercing.

===Fuel===
Crossbows can be used as [[fuel]] in [[furnace]]s, [[smelting]] 1.5 [[item]]s per crossbow.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Crossbow loading start.ogg
|subtitle=Crossbow charges up
|source=player
|description=When a crossbow starts to load
|id=item.crossbow.loading_start
|translationkey=subtitles.item.crossbow.charge
|volume=0.15
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Crossbow quick charge one1.ogg
|sound2=Crossbow quick charge one2.ogg
|sound3=Crossbow quick charge one3.ogg
|subtitle=Crossbow charges up
|source=player
|description=When a Quick Charge I crossbow starts to load <ref group=sound><code>quick1_3</code> occurs at half the frequency as the other sounds</ref>
|id=item.crossbow.quick_charge_1
|translationkey=subtitles.item.crossbow.charge
|volume=''varies'' <ref group=sound>0.325 for all except <code>quick1_1</code> (pitch=0.9), which is 0.25</ref>
|pitch=''varies'' <ref group=sound><code>quick1_1</code> can be 1.0 or 0.9; <code>quick1_2</code> can be 1.0 or 0.95; <code>quick1_3</code> can be 1.0</ref>
|distance=16}}
{{Sound table
|sound=Crossbow quick charge two1.ogg
|sound2=Crossbow quick charge two2.ogg
|sound3=Crossbow quick charge two3.ogg
|subtitle=Crossbow charges up
|source=player
|description=When a Quick Charge II crossbow starts to load <ref group=sound name=quickchargefrequency><code>_1</code> occurs at {{frac|2|3}} the frequency as the other sounds</ref>
|id=item.crossbow.quick_charge_2
|translationkey=subtitles.item.crossbow.charge
|pitch=''varies'' <ref group=sound name=quickchargevolume />
|volume=''varies'' <ref group=sound name=quickchargepitch />
|distance=16}}
{{Sound table
|sound=Crossbow quick charge three1.ogg
|sound2=Crossbow quick charge three2.ogg
|sound3=Crossbow quick charge three3.ogg
|subtitle=Crossbow charges up
|source=player
|description=When a Quick Charge III crossbow starts to load <ref group=sound name=quickchargefrequency />
|id=item.crossbow.quick_charge_3
|translationkey=subtitles.item.crossbow.charge
|volume=''varies'' <ref group=sound name=quickchargevolume>0.325 for all except <code>_1</code> (pitch=0.95), which is 0.25</ref>
|pitch=''varies'' <ref group=sound name=quickchargepitch><code>_1</code> can be 1.0 or 0.95; <code>_2</code> can be 1.0, 0.95, or 1.05; <code>_3</code> can be 1.0, 0.9, or 1.05</ref>
|distance=16}}
{{Sound table
|sound=Crossbow loading middle1.ogg
|sound2=Crossbow loading middle2.ogg
|sound3=Crossbow loading middle3.ogg
|sound4=Crossbow loading middle4.ogg
|subtitle=MC-203146
|source=player
|description=While a crossbow is loading <ref group=sound><code>loading_middle4</code> occurs at {{frac|1|4}} the frequency as the other sounds</ref>
|id=item.crossbow.loading_middle
|translationkey=-
|volume=0.325
|pitch=''varies'' <ref group=sound><code>loading_middle1</code> can be 1.0, 0.95, or 1.2; <code>loading_middle2</code> and <code>loading_middle3</code> can be 1.0, 0.9, or 1.05; <code>loading_middle4</code> can be 1.0</ref>
|distance=16}}
{{Sound table
|sound=Crossbow loading end.ogg
|subtitle=Crossbow loads
|source=dependent
|description=When a crossbow stops loading
|id=item.crossbow.loading_end
|translationkey=subtitles.item.crossbow.load
|volume=1.0
|pitch={{frac|13|15}}-1.2
|distance=16}}
{{Sound table
|sound=Crossbow shoot1.ogg
|sound2=Crossbow shoot2.ogg
|sound3=Crossbow shoot3.ogg
|subtitle=Crossbow fires
|source=dependent
|description=When a crossbow fires
|id=item.crossbow.shoot
|translationkey=subtitles.item.crossbow.shoot
|volume=0.8/0.9/0.9
|pitch=1.0/1.0/0.9 <ref group=sound>Multiplied by the loading percentage of the crossbow</ref>
|distance=16}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Arrow hits
|source=neutral
|description=When an arrow hits a block or entity
|id=item.crossbow.hit
|translationkey=subtitles.item.crossbow.hit
|volume=1.0
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16}}
{{Sound table
|sound=Succesfull Hit.ogg
|subtitle=Player hit
|source=player
|description=When an arrow shot by a player hits another player
|id=entity.arrow.hit_player
|translationkey=subtitles.entity.arrow.hit_player
|volume=0.18
|pitch=0.45
|distance=16}}
{{Sound table
|sound=Firework launch.ogg
|subtitle=Firework launches
|source=ambient
|description=When a crossbow fires a firework rocket
|id=entity.firework_rocket.launch
|translationkey=subtitles.entity.firework_rocket.launch
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a crossbow'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}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Crossbow loading start.ogg
|source=player
|description=When a crossbow starts to load
|id=crossbow.loading.start
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow loading middle1.ogg
|sound2=Crossbow loading middle2.ogg
|sound3=Crossbow loading middle3.ogg
|sound4=Crossbow loading middle4.ogg
|source=player
|description=While a crossbow is loading and when a crossbow stops loading
|id=crossbow.loading.middle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow loading end.ogg
|source=player
|description=''Unused sound event''
|id=crossbow.loading.end
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow quick charge one1.ogg
|sound2=Crossbow quick charge two1.ogg
|sound3=Crossbow quick charge three1.ogg
|source=player
|description=When a crossbow with Quick Charge starts to load
|id=crossbow.quick_charge.start
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow quick charge one2.ogg
|sound2=Crossbow quick charge two2.ogg
|sound3=Crossbow quick charge three2.ogg
|source=player
|description=While a crossbow with Quick Charge is loading
|id=crossbow.quick_charge.middle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow quick charge one3.ogg
|sound2=Crossbow quick charge two3.ogg
|sound3=Crossbow quick charge three3.ogg
|source=player
|description=When a crossbow with Quick Charge stops loading
|id=crossbow.quick_charge.end
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Crossbow shoot1.ogg
|sound2=Crossbow shoot2.ogg
|sound3=Crossbow shoot3.ogg
|source=player
|description=When a crossbow fires
|id=crossbow.shoot
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=player
|description=When an arrow hits a block or entity
|id=random.bowhit
|volume=1.0
|pitch=1.09-1.3}}
{{Sound table
|sound=Firework launch.ogg
|source=ambient
|description=When a crossbow fires a firework rocket
|id=firework.launch
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a crossbow'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=Crossbow
|spritetype=item
|nameid=crossbow
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Crossbow
|spritetype=item
|nameid=crossbow
|id=575
|form=item
|foot=1}}

===Item data===

{{el|java}}:
{{main|Player.dat format}}
<div class="treeview" style="margin-top: 0;">
*{{nbt|compound|tag}}: The '''tag''' tag.
{{:Player.dat_format/Crossbow}}
</div>

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

==Achievements==
{{load achievements|Sniper Duel;Archer;Bullseye}}

==Advancements==
{{load advancements|Take Aim;Bullseye;Sniper Duel;Ol' Betsy;Who's the Pillager Now;Two Birds;Arbalistic}}

==History==
{{History||September 29, 2018|link={{tweet|Minecraft|1046094916902965249}}|Crossbows are announced at [[MINECON Earth 2018]].}}
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Crossbow.png|32px]] [[File:Crossbow Pull 0.png|32px]] [[File:Crossbow Pull 1.png|32px]] [[File:Crossbow Pull 2.png|32px]] [[File:Arrow Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] [[File:Crossbow Pull 0.png|32px]] [[File:Crossbow Pull 1.png|32px]] [[File:Crossbow Pull 2.png|32px]] [[File:Firework Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] Added crossbows.
|Crossbows can be enchanted with either the [[Quick Charge]] (Highest Level III), [[Piercing]] (Highest Level IV) or [[Multishot]] (Highest Level I).}}
{{History|||snap=18w47a|Crossbows can now be found inside loot [[chest]]s at the top of [[pillager outpost]]s.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|sell]] crossbows and enchanted crossbows.}}
{{History||1.16|snap=20w07a|[[File:Piglin with Crossbow.png|32px]] [[File:Piglin left handed with Crossbow.png|35px]] [[File:Piglin using one hand to hold a loaded crossbow JE1.png|35px]] Added [[piglin]]s, which can spawn with and [[drops|drop]] crossbows.}}
{{History|||snap=20w16a|Crossbows now generate randomly enchanted in [[bastion remnants]] chests.}}
{{History||1.18|snap=21w37a|Crossbow durability is increased to 465 to match {{edition|BE}}.}}
{{History||1.19.4|snap=23w07a|The crossbow recipes are no longer unlocked by [[stick]]s.}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|Enchantments exclusive to crossbows are no longer obtainable from villager [[trading]].}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Crossbow.png|32px]] [[File: Crossbow Pull 0.png|32px]] [[File: Crossbow Pull 1.png|32px]] [[File: Crossbow Pull 2.png|32px]] [[File:Arrow Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] [[File:Crossbow Pull 0.png|32px]] [[File:Crossbow Pull 1.png|32px]] [[File:Crossbow Pull 2.png|32px]] [[File:Firework Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] Added crossbows.
|Crossbows are currently apart of [[Experimental Gameplay]].}}
{{History||1.9.0|snap=beta 1.9.0.0|Added [[pillager]]s, which use and [[drops|drop]] crossbows.}}
{{History|||snap=beta 1.9.0.3|Crossbows now appear bigger in a pillager's hand.}}
{{History||1.10.0|snap=beta 1.10.0.3|Crossbows are now fully implemented and separate from [[Experimental Gameplay]].
|Crossbows can now be found in [[pillager outpost]] [[chest]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Unenchanted and [[enchanting|enchanted]] crossbows can now be [[trading|bought]] from fletcher [[villager]]s.}}
{{History||1.12.0|snap=beta 1.12.0.3|Journeyman-level fletcher villagers now have 100% chance to [[trading|sell]] unenchanted crossbow, rather than 50% chance.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Piglin with Crossbow BE.png|32px]] Added [[piglin]]s, which can spawn with and [[drops|drop]] crossbows.}}
{{History|||snap=beta 1.16.0.57|Crossbows now generate randomly enchanted in [[bastion remnants]] chests.}}

{{History|PS4}}
{{History||1.90|[[File:Crossbow.png|32px]] [[File: Crossbow Pull 0.png|32px]] [[File: Crossbow Pull 1.png|32px]] [[File: Crossbow Pull 2.png|32px]] [[File:Arrow Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] [[File:Crossbow Pull 0.png|32px]] [[File:Crossbow Pull 1.png|32px]] [[File:Crossbow Pull 2.png|32px]] [[File:Firework Loaded Crossbow.png|32px]] [[File:Crossbow.png|32px]] Added crossbows.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*Alongside [[pillager]]s, crossbows were inspired by ''[[Minecraft Dungeons]]'', even though they were added in the base game first.<ref>{{cite|url=https://discord.com/channels/579770991056519194/818903542139453480/819631528593588244| title = March 2021 developper Q&A|website=discord.com|date=March 11, 2021}}</ref>
*Crossbows [[enchanting|enchanted]] with [[Quick Charge]] VI and above get stuck on the first frame on the recharging animation because the resulting charge time is negative, and the game never reaches the time markers that tell it to advance the animation or the reloading procedure itself. It is technically possible to charge such crossbows, but this would require overflowing the value that determines how long the crossbow has been charged. This takes such an amount of time that this is practically impossible: for example, charging a crossbow with Quick Charge VI would take 69.4 years to complete.
*Although Piercing allows arrows to bypass [[shield]]s, they can't get through the wither armor.
*The crossbow's first-person loading animation in [[Bedrock Edition]] is different from [[Java Edition]].
*Even if a crossbow is already wound with a projectile, when it drops on the ground, it always looks uncharged.<ref>{{bug|MC-137552}}</ref>
*In real life, crossbows don't shoot the same arrows as bows, rather they shoot shorter, thicker, and oftentimes fletchless arrows (usually called "bolts") made to withstand the crossbow's increased power, which can shatter conventional arrows.

==Gallery==
<gallery>
File:CrossbowMinecon.png|A crossbow shown at [[MINECON Earth 2018]].
File:PillagerMinecon.png|A [[pillager]] armed with a crossbow, shown at MINECON Earth 2018.
File:EquippingCrossbow.png|How the crossbow is equipped.
File:Enchanted_Crossbow.gif|An enchanted crossbow.
File:Steve_Charging_Crossbow.gif|Steve charging crossbow {{in|java}}.
File:Alex_Charging_Crossbow.gif|Alex charging crossbow {{in|java}}.
File:Pillager_Charging_Crossbow.gif|Pillager charging crossbow.
File:Piglin_Charging_Crossbow.gif|Piglin charging crossbow.
File:Crossbow_(MCD).png|The ''Minecraft Dungeons'' variant of the crossbow
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--crossbow Taking Inventory: Crossbow] – Minecraft.net on October 20, 2022

{{Items}}

[[Category:Combat]]
[[Category:Renewable resources]]

[[de:Armbrust]]
[[es:Ballesta]]
[[fr:Arbalète]]
[[it:Balestra]]
[[ja:クロスボウ]]
[[ko:쇠뇌]]
[[pl:Kusza]]
[[pt:Besta]]
[[ru:Арбалет]]
[[th:หน้าไม้]]
[[zh:弩]]</li></ul>
14w03aNBT data now supports using string IDs rather than numerical IDs.
Numerical IDs no longer work in other parts of commands, though they still work for NBT data.
1.11
{{Extension DPL}}<ul><li>[[Scute|Scute]]<br/>{{about|the item used to craft turtle shell helmets|the helmet|Turtle Shell}}
{{Item
| image = Scute.png
| renewable = Yes
| stackable = Yes (64)
|title=Turtle scute}}

'''Turtle Scutes''' are [[item]]s that baby [[turtle]]s drop when they grow into adults. They can be used to craft [[turtle shell]]s which can be used to brew the [[potion of the Turtle Master]].

== Obtaining ==

=== Mob loot ===

Baby [[turtle]]s drop a single scute when they grow up into adults, which is the only way possible to obtain the [[item]].

== Usage ==

Scutes can be crafted into [[turtle shell]]s.

=== Crafting ingredient ===

{{crafting usage}}

=== Repairing ===
Scutes are the [[repair]] items for the turtle [[armor material]], and thus can be used to repair [[turtle shell]]s in an [[anvil]].

=== Trading ===
Expert-level cleric [[villager]]s have a {{frac|2|3}} chance to buy 4 scutes for an [[emerald]] as part of their [[trading|trades]].{{only|java}}

Expert-level cleric villagers have a 50% chance to buy 4 scutes for an emerald as part of their seventh trades.{{only|bedrock}}

Expert-level leatherworker villagers buy 4 scutes for an emerald as part of their trades.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Scute
|spritetype=item
|nameid=scute
|aliasid=turtle_shell_piece
|id=572
|form=item
|translationkey=item.turtle_shell_piece.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.13|snap=18w07a|[[File:Scute JE1 BE1.png|32px]] Added turtle shell pieces.}}
{{History|||snap=18w07b|"Turtle Shell Pieces" have now been renamed to "Scutes."}}
{{History||1.14|snap=19w11a|Cleric and leatherworker [[villager]]s now [[trading|buy]] scutes.}}

{{History|bedrock}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Scute JE1 BE1.png|32px]] Added scutes.}}
{{History||1.11.0|snap=beta 1.11.0.4|Scutes can be [[trading|sold]] to cleric and leatherworker [[villager]]s.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Scute JE1 BE1.png|32px]] Added scutes.}}
{{history|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Scutes used to be called "Turtle Shell Pieces", they were renamed after it was pointed out that "Scute" was a more technical term.<ref>https://www.reddit.com/r/minecraftsuggestions/comments/7xnp2o/rename_turtle_shell_pieces_to_scutes/</ref>

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[de:Hornschild]]
[[es:Escama de tortuga]]
[[fr:Écaille de tortue]]
[[ja:カメのウロコ]]
[[ko:인갑]]
[[lzh:鱗]]
[[pl:Tarczka]]
[[pt:Escama de tartaruga]]
[[ru:Щиток]]
[[th:เกล็ดเต่า]]
[[uk:Черепок]]
[[zh:鳞甲]]</li><li>[[Disc Fragment|Disc Fragment]]<br/>{{Item
| image = Disc Fragment.png
| renewable = No
| stackable = Yes (64)
}}

A '''disc fragment''' is a [[music disc]] fragment obtained from [[ancient city]] loot chests. Nine fragments can be combined in a [[Crafting Table|crafting table]] to make a music disc named "5".

== Obtaining ==
=== Chest loot ===
{{LootChestItem|disc-fragment-5}}

== Usage ==
=== Crafting ingredient ===
{{crafting usage|Disc Fragment 5}}
== Data values ==
=== ID ===
{{ID table
|edition=java<!--
|showitemtags=y-->
|showforms=y
|firstcolumnname=Track
|generatetranslationkeys=y
|displayname=Samuel Åberg - 5
|spritename=disc-fragment-5
|spritetype=item
|nameid=disc_fragment_5<!--
|itemtags=-->
|form=item
|foot=y}}

== History ==
{{History|java}}
{{History||1.19|snap=22w16a|[[File:Disc Fragment.png|32px]] Added disc fragments.}}
{{History|bedrock}}
{{History||1.19.0|snap=beta 1.19.0.28|[[File:Disc Fragment.png|32px]] Added disc fragments.}}
{{History|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
9 to 5.jpg|9 fragments of the 5 music disc.
</gallery>

==See also==
* {{EnvLink|Music}}
* {{ItemLink|Music Disc}}

{{Items}}

[[de:Plattenbruchstück]]
[[es:Fragmento de disco]]
[[fr:Fragment de disque]]
[[ja:レコードの破片]]
[[pl:Fragment płyty]]
[[pt:Fragmento de disco]]
[[ru:Фрагмент пластинки 5]]
[[uk:Фрагмент платівки]]
[[zh:唱片残片]]
[[Category:Non-renewable resources]]</li></ul>
16w32aAdded block state support to commands.
1.13
{{Extension DPL}}<ul><li>[[Cooked Salmon|Cooked Salmon]]<br/>{{Dungeons hatnote|type=consumable}}
{{Item
| title = Cooked Salmon
| image = Cooked Salmon.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = Yes (64)
}}
'''Cooked salmon''' is a [[food]] item obtained by cooking [[raw salmon]].

== Obtaining ==

=== Mob loot ===

====Salmon====
[[Salmon]] always drops 1 raw salmon when killed, unaffected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref> If it is killed while on [[fire]], it drops 1 [[Cooked Salmon|cooked salmon]] instead.
====Guardians and elder guardians====
[[Guardian|Guardians]] and [[Elder Guardian|elder guardians]] have a 2.5% chance to drop a random fish, with 25% of them being raw salmon, which drops as cooked if the guardian was on fire. The chance of getting the fish drop is increased by 1% per level with [[Looting]] (for a maximum of 5.5% with Looting III), but the type of fish is not affected.
====Polar bears ====
[[Polar bear]]s have a 25% chance of dropping 0–2 raw salmon when killed. The maximum amount can be increased by 1 per level of Looting, for a maximum of 0-5 with Looting III. If killed while on fire, they drop cooked salmon instead.
=== Cooking ===

Cooked salmon can be obtained by cooking raw salmon in a [[furnace]], [[smoker]], or on a [[campfire]]. Each piece of cooked salmon removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).

{{smelting|Raw Salmon|Cooked Salmon|0,35}}

=== Chest loot ===
{{LootChestItem|cooked-salmon}}

=== Trading ===

Apprentice-level fishermen villagers have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to sell 6 cooked salmon for 6 raw salmon and an [[emerald]].

== Usage ==

=== Food ===

To eat cooked salmon, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} and 9.6 [[Hunger#Mechanics|saturation]], the same as [[cooked mutton]].

=== Wolves ===

{{IN|Bedrock}}, cooked salmon can be fed to [[wolves]] only if they are not at full health, healing them by {{hp|6|mob=1}}. Cooked salmon does not accelerate 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=Cooked Salmon
|spritetype=item
|nameid=cooked_salmon
|itemtags=fishes
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Salmon
|spritetype=item
|nameid=cooked_salmon
|id=269
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Lion Hunter}}

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

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

== History ==

{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||1.8|snap=14w02a|Cooked salmon can no longer be [[trading|traded]] by [[villager]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>cooked_fish</code> IDs have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 349 and 250.}}
{{History|||snap=18w08b|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}
{{History|||snap=18w10a|Cooked salmon now generates in [[buried treasure]] [[chest]]s.}}
{{History|||snap=19w11a|Fisherman [[villager]]s can now convert raw salmon to cooked salmon, if [[trading|paid]] with emeralds.}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||v0.12.1|snap=build 1|Salmon now restores [[hunger]] instead of [[health]].}}
{{History||v0.16.0|snap=build 1|Salmon is now dropped by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked salmon can now be obtained from [[trading]] with fishermen [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.52|Salmon now drops cooked salmon when killed on [[fire]].}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* [[Fishing]]
* [[Cooked Cod]]

{{items}}

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

[[de:Gebratener Lachs]]
[[es:Salmón ahumado]]
[[pt:Salmão assado]]
[[ko:익힌 연어]]
[[zh:熟鲑鱼]]
[[ru:Жареный лосось]]</li><li>[[Gold Nugget|Gold Nugget]]<br/>{{About|the nugget|the block that can drop nuggets|Gilded Blackstone|the ore|Gold Ore|the ingot form|Gold Ingot|the mineral block|Block of Gold}}
{{Item
| image = Gold Nugget.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Gold nuggets''' are items used to make [[gold ingot]]s and other various golden items. One gold nugget is effectively worth one-ninth of a gold ingot.

== Obtaining ==

=== Mob loot ===

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

=== Crafting ===

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

=== Smelting ===

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

=== Chest loot ===

{{LootChestItem|gold-nugget}}

=== Mining ===

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

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

== Usage ==

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

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

=== Crafting ingredient ===

{{crafting usage}}

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

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

== See also ==

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

{{Items}}

[[cs:Zlatý nuget]]
[[de:Goldklumpen]]
[[es:Pepita de oro]]
[[fr:Pépite d'or]]
[[hu:Aranyrög]]
[[it:Pepita d'oro]]
[[ja:金塊]]
[[ko:황금 조각]]
[[nl:Goudklompje]]
[[pl:Bryłka złota]]
[[pt:Pepita de ouro]]
[[ru:Кусочек золота]]
[[uk:Золотий самородок]]
[[zh:金粒]]
[[Category:Renewable resources]]</li></ul>
17w45aA new library named Brigadier is now used to parse commands. Different components of commands are displayed in different colors, and errors are displayed in red without having to run the command. Commands, for the most part, do not allow uppercase letters, and are now much faster and more efficient.
17w46aThe player now has the option to toggle automatic command suggestions.
The command UI has a new prototype, and now works in multiplayer.
17w47aAdded an option in chat to toggle automatic command suggestions.
17w48aTweaked the command suggestion UI.
Reworked tab-completion for coordinates.
17w50aLocal coordinates can now be specified in commands using ^.
Tab-completing when not targeting a block suggests ~ ~ ~.
18w01aChanged all custom names (blocks, items, entities, block entities) to translatable text components.
Thrower and Owner nbt keys of item entities are no longer strings, but are instead compounds with two longs named L and M.
owner nbt key of snowballs, eggs and ender pearls are no longer strings, but are instead compounds with two longs named L and M.
18w02aErrors during a command are now a nicer error message (with a tool tip for more info).
Server commands now run from world spawn in the Overworld, instead of at 0,0,0.
18w03aImproved performance of command parsing and command execution.
18w05aAdded basic entity selector suggestions in the command UI.
A warning is now logged for ambiguous commands.
18w06aAdded command suggestions for entity selectors.
Whitespaces are now allowed in entity selectors & block state arguments.
September 26, 2018Brigadier open-sourced under the MIT license. (Source code previously was available on the library site, with no license specified).
1.16
{{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>[[Horse Armor|Horse Armor]]<br/>{{Item
| image = <gallery>
Leather Horse Armor.png | Leather 
Iron Horse Armor.png | Iron
Golden Horse Armor.png | Golden
Diamond Horse Armor.png | Diamond
</gallery>
| image2 = <gallery>
Leather Horse Armor (item).png|Leather
Iron Horse Armor (item).png|Iron
Golden Horse Armor (item).png|Golden
Diamond Horse Armor (item).png|Diamond
</gallery>
| extratext = View [[#Gallery|all renders]]
| renewable = 
* '''Leather''': Yes
* '''All others''': No
| stackable = No
}}

'''Horse armor''' is a special type of [[armor]] that can be given to a [[horse]] to wear.

== Obtaining ==

===Chest loot===
{{LootChestItem|iron-horse-armor}}
{{LootChestItem|golden-horse-armor}}
{{LootChestItem|diamond-horse-armor}}

===Crafting===
{{crafting
|A1= Leather
|C1= Leather
|A2= Leather
|B2= Leather
|C2= Leather
|A3= Leather
|C3= Leather
|Output= Leather Horse Armor
|type=Miscellaneous
}}

Only leather horse armor can be crafted; other horse armor can be obtained only from chest loot from some generated structures.

===Trading===
Expert-level [[leatherworker]] villagers [[trading|sell]] leather horse armor for 6 [[emerald]]s as part of their trade.

==Usage==

Only normal adult horses can wear armor; foals, [[donkey]]s, [[mule]]s, and undead variants such as [[skeleton horse]]s and [[zombie horse]]s cannot be equipped with armor.

=== Types ===
Horse armor has leather, iron, gold, and diamond variants. However, horse armor does not have netherite or chainmail variants.

=== Armor Stands ===
Horse armor cannot be placed or displayed on [[armor stand]]s. 

===Protection===
Horse armor can be equipped to horses either by manually placing it in its respective slot by pressing E while riding the horse ({{SlotSprite|Horse Armor}}), or by right-clicking the horse with it.

There is a gradual increase in the defense given from a horse wearing the different types of armor. Note that golden horse armor provides more protection than iron horse armor, whereas the opposite is true for [[armor|player armor]].
{| class="wikitable" data-description="Armor defense"
|-
! Material !! [[Armor]]
|-
! [[Leather]]
| {{armor|3}} 
|-
! [[Iron]]
| {{armor|5}} 
|-
! [[Gold]]
| {{armor|7}} 
|-
! [[Diamond]]
| {{armor|11}} 
|}
When a horse dies while equipped with any horse armor, it drops its normal loot, saddle (if it had one), and the horse armor.

Leather horse armor protects horses from freezing in [[powder snow]], but it does not negate other powder snow effects (e.g., falling through, inability to jump).

===Durability===
Unlike [[armor|player armor]], horse armor does not have durability. This means a single horse armor can be used infinitely unless destroyed.
=== Enchanting ===
Unlike [[armor|player armor]], horse armor cannot be enchanted in survival mode. However, {{in|java}} Creative mode, horse armor can be used with an [[anvil]] to enchant with [[Depth Strider]], [[Thorns]], [[Respiration]], [[Feather Falling]], and [[Curse of vanishing]]. Other enchantments can be applied, but they have no effect.

=== Dyeing ===
Leather horse armor can be dyed 12,326,391 different colors (using lone dyes or dye combinations) and put onto a horse to display that color. These changes can be reverted by {{control|using}} a filled [[cauldron]] with dyed leather horse armor.

===Smelting usage===
{{Smelting|showname=1|Iron Horse Armor;Golden Horse Armor|Iron Nugget;Gold Nugget|0,1}}

===Piglins===
{{EntityLink|Piglin|Piglins}} are attracted to golden horse armor and run toward any golden horse armor on the ground, inspecting it for 6 to 8 seconds before putting it in their inventory.

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Horse armor.ogg
|subtitle=Horse armor equips
|source=neutral
|description=When armor is equipped to a horse
|id=entity.horse.armor
|translationkey=subtitles.entity.horse.armor
|volume=0.5
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Horse armor.ogg
|source=neutral
|description=When armor is equipped to a horse
|id=mob.horse.armor
|volume=0.6
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Leather Horse Armor
|spritetype=item
|nameid=leather_horse_armor
|form=item}}
{{ID table
|displayname=Iron Horse Armor
|spritetype=item
|nameid=iron_horse_armor
|form=item}}
{{ID table
|displayname=Diamond Horse Armor
|spritetype=item
|nameid=diamond_horse_armor
|form=item}}
{{ID table
|displayname=Golden Horse Armor
|spritetype=item
|nameid=golden_horse_armor
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|showaliasids=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather Horse Armor
|spritetype=item
|nameid=leather_horse_armor
|aliasid=horsearmorleather
|id=530
|form=item
|translationkey=item.horsearmorleather.name}}
{{ID table
|displayname=Iron Horse Armor
|spritetype=item
|nameid=iron_horse_armor
|aliasid=horsearmoriron
|id=531
|form=item
|translationkey=item.horsearmoriron.name}}
{{ID table
|displayname=Diamond Horse Armor
|spritetype=item
|nameid=diamond_horse_armor
|aliasid=horsearmordiamond
|id=533
|form=item
|translationkey=item.horsearmordiamond.name}}
{{ID table
|displayname=Golden Horse Armor
|spritetype=item
|nameid=golden_horse_armor
|aliasid=horsearmorgold
|id=532
|form=item
|translationkey=item.horsearmorgold.name
|foot=1}}

=== Item data ===
When leather horse armor is dyed, it has the following NBT:

{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: Parent tag.
** {{nbt|compound|display}}: Display properties.
*** {{nbt|int|color}}: The color of the leather armor. The tooltip displays "Dyed" if advanced tooltips are disabled, otherwise it displays the hexadecimal color value. Color codes are calculated from the Red, Green and Blue components using this formula:<br>'''<span style="color:red">Red</span>[[wikipedia:Logical shift|<<]]16 + <span style="color:green">Green</span><<8 + <span style="color:blue">Blue</span>'''<ref>For positive values larger than 0x00FFFFFF, the top byte is ignored. All negative values produce white.</ref>
</div>

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

== History ==
{{History|java}}
{{History||1.6.1|snap=13w16a|[[File:Iron Horse Armor JE1 BE1.png|32px]] [[File:Golden Horse Armor JE1 BE1.png|32px]] [[File:Diamond Horse Armor JE1 BE1.png|32px]]<br>[[File:Iron Horse Armor (item) JE1 BE1.png|32px]] [[File:Golden Horse Armor (item) JE1 BE1.png|32px]] [[File:Diamond Horse Armor (item) JE1 BE1.png|32px]] Added horse armor.
|Horse armor can be [[crafting|crafted]] using the following recipe.
{{{!}} class{{=}}"collapsible collapsed"
! Recipe
{{!}}-
{{!}}
{{Crafting Table
  |C1=Iron Ingot; Gold Ingot; Diamond
  |A2=Iron Ingot; Gold Ingot; Diamond 
  |B2=Any Wool
  |C2=Iron Ingot; Gold Ingot; Diamond
  |A3=Iron Ingot; Gold Ingot; Diamond
  |B3=Iron Ingot; Gold Ingot; Diamond
  |C3=Iron Ingot; Gold Ingot; Diamond
  |Output=Iron Horse Armor; Golden Horse Armor; Diamond Horse Armor
}}
{{!}}}
}}
{{History|||snap=13w18a|The crafting recipe for horse armor has been removed.
|Horse armor can now be found in [[chest]]s in [[jungle temple|jungle]] & [[desert temple]]s, [[dungeon]]s, [[nether fortress]]es, [[stronghold]] altar rooms and [[village]] blacksmith buildings.
|Iron horse armor can now additionally be found in [[mineshaft]] chests.}}
{{History|||snap=13w21a|Horse armor is no longer stackable, to be consistent with other types of [[armor]].}}
{{History||1.9|snap=15w31a|Horse armor has been added to [[end city]] [[chest]]s.}}
{{History|||snap=15w43a|The average yield of horse armor in [[nether fortress]] chests has slightly decreased.}}
{{History|||snap=15w44a|The average yield of horse armor in [[desert temple]] chests has increased.
|The average yield of iron horse armor from [[dungeon]] chests has slightly decreased.
|Iron horse armor has been removed from [[mineshaft]] [[chest]]s.}}
{{History||1.11.1|snap=16w50a|Golden and iron horse armor can now be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History||1.13|snap=17w45a|[[File:Iron Horse Armor JE2.png|32px]] [[File:Golden Horse Armor JE2.png|32px]] [[File:Diamond Horse Armor JE2.png|32px]] The textures of horse armor have been changed, as the [[model]] of [[horse]]s has changed.}}
{{History|||snap=17w46a|[[File:Iron Horse Armor 17w46a.png|32px]] [[File:Golden Horse Armor 17w46a.png|32px]] [[File:Diamond Horse Armor 17w46a.png|32px]] The model of horse armor has been changed, but the textures of horse armor have remained unaltered.}}
{{History|||snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 417, 418 and 419.}}
{{History|||snap=18w03a|[[File:Iron Horse Armor JE3.png|32px]] [[File:Golden Horse Armor JE3 BE2.png|32px]] [[File:Diamond Horse Armor JE3 BE2.png|32px]] The textures of horse armor have been changed, as the [[model]] of [[horse]]s has changed.}}
{{History|||snap=18w22a|[[File:Iron Horse Armor JE4 BE2.png|32px]] The texture of iron horse armor when equipped has been changed.<ref>{{bug|MC-124357}}</ref>}}
{{History|||snap=pre2|A bug with the [[horse]] skin and horse armor textures not applying correctly has been fixed.<ref>{{bug|MC-124364}}</ref>}}
{{History||1.14|snap=18w50a|[[File:Iron Horse Armor (item) JE2 BE2.png|32px]] [[File:Golden Horse Armor (item) JE2 BE2.png|32px]] [[File:Diamond Horse Armor (item) JE2 BE2.png|32px]] The textures of horse armor [[item]]s have been changed.}}
{{History|||snap=February 20, 2019|slink=https://twitter.com/_LadyAgnes/status/1098134917299531776?s=19|Leather horse armor announced for {{el|je}}.}}
{{History|||snap=19w08a|[[File:Iron Horse Armor JE5 BE3.png|32px]] [[File:Golden Horse Armor JE4 BE3.png|32px]] [[File:Diamond Horse Armor JE4 BE3.png|32px]]<br>[[File:Iron Horse Armor (item) JE3.png|32px]] [[File:Golden Horse Armor (item) JE3 BE3.png|32px]] [[File:Diamond Horse Armor (item) JE3 BE3.png|32px]] The textures of iron, gold and diamond horse armor have been changed.
|[[File:Leather Horse Armor JE1 BE3.png|32px]] [[File:Leather Horse Armor (item) JE1.png|32px]] Added leather horse armor, which can be [[dyeing|dyed]] 12,326,391 different colors, similar to leather [[armor]].}}
{{History|||snap=19w11a|Leatherworker [[villager]]s now [[trading|sell]] leather horse armor.}}
{{History||1.14.1|snap=Pre-Release 1|[[File:Leather Horse Armor (item) JE2.png|32px]] The texture of leather horse armor [[item]] has been changed to be more consistent with the other types of horse armor.
|[[File:Iron Horse Armor (item) JE4 BE3.png|32px]] The texture of iron horse armor item has been changed.}}
{{History||1.16|snap=20w15a|Horse armor placed in a dispenser can now be put on tamed horses.}}
{{History|||snap=20w16a|Golden horse armor now generates in [[ruined portal]] chests.}}
{{History||1.17|snap=21w13a|Leather horse armor now protects [[horse]]s from [[freezing]].}}
{{History||1.19|snap=22w13a|Diamond horse armor may now be found in [[ancient city]] [[chest]]s.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Leather Horse Armor BE1.png|32px]] [[File:Iron Horse Armor JE1 BE1.png|32px]] [[File:Golden Horse Armor JE1 BE1.png|32px]] [[File:Diamond Horse Armor JE1 BE1.png|32px]]<br>[[File:Leather Horse Armor (item) BE1.png|32px]] [[File:Iron Horse Armor (item) JE1 BE1.png|32px]] [[File:Golden Horse Armor (item) JE1 BE1.png|32px]] [[File:Diamond Horse Armor (item) JE1 BE1.png|32px]] Added horse armor and [[dyeing|dyeable]] leather horse armor as a version exclusive.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Horse armor can now be found inside [[end city]] [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden horse armor are now [[smelting|smeltable]].}}
{{History|bedrock}}
{{History||1.2.6|snap=beta 1.2.6.2|[[File:Leather Horse Armor BE2.png|32px]] [[File:Iron Horse Armor JE4 BE2.png|32px]] [[File:Golden Horse Armor JE3 BE2.png|32px]] [[File:Diamond Horse Armor JE3 BE2.png|32px]] The textures of horse armor have been changed, as the [[model]] of [[horse]]s has been changed.}}
{{History||1.10.0|snap=beta 1.10.0.3|Horse armor can now be found in [[plains]] [[village]] weaponsmith [[chest]]s.
|[[File:Leather Horse Armor JE1 BE3.png|32px]] [[File:Iron Horse Armor JE5 BE3.png|32px]] [[File:Golden Horse Armor JE4 BE3.png|32px]] [[File:Diamond Horse Armor JE4 BE3.png|32px]]<br>[[File:Leather Horse Armor (item) BE2.png|32px]] [[File:Iron Horse Armor (item) JE2 BE2.png|32px]] [[File:Golden Horse Armor (item) JE2 BE2.png|32px]] [[File:Diamond Horse Armor (item) JE2 BE2.png|32px]] The textures of all horse armor have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Horse armor can now be found in [[savanna]], [[desert]], [[taiga]], [[snowy taiga]] and [[snowy tundra]] [[village]] weaponsmith [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Leather horse armor can now be [[trading|bought]] from leatherworker [[villager]]s.}}
{{History|||snap=beta 1.11.0.5|[[File:Leather Horse Armor (item) BE3.png|32px]] [[File:Iron Horse Armor (item) JE4 BE3.png|32px]] [[File:Golden Horse Armor (item) JE3 BE3.png|32px]] [[File:Diamond Horse Armor (item) JE3 BE3.png|32px]] The textures of all horse armor [[item]]s have been changed.}}
{{History||1.17.0|snap=beta 1.16.230.54|Leather horse armor now protects [[horse]]s from [[freezing]].}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Iron Horse Armor JE1 BE1.png|32px]] [[File:Golden Horse Armor JE1 BE1.png|32px]] [[File:Diamond Horse Armor JE1 BE1.png|32px]]<br>[[File:Iron Horse Armor (item) JE1 BE1.png|32px]] [[File:Golden Horse Armor (item) JE1 BE1.png|32px]] [[File:Diamond Horse Armor (item) JE1 BE1.png|32px]] Added horse armor.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden horse armor are now [[smelting|smeltable]].}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|[[File:Leather Horse Armor BE1.png|32px]]<br>[[File:Leather Horse Armor (item) BE1.png|32px]] Added leather horse armor.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Leather Horse Armor JE1 BE3.png|32px]] [[File:Iron Horse Armor JE5 BE3.png|32px]] [[File:Golden Horse Armor JE4 BE3.png|32px]] [[File:Diamond Horse Armor JE4 BE3.png|32px]]<br>[[File:Leather Horse Armor (item) BE3.png|32px]] [[File:Iron Horse Armor (item) JE3.png|32px]] [[File:Golden Horse Armor (item) JE3 BE3.png|32px]] [[File:Diamond Horse Armor (item) JE3 BE3.png|32px]] The textures of leather, iron, gold and diamond horse armor have been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Leather Horse Armor BE1.png|32px]] [[File:Iron Horse Armor JE1 BE1.png|32px]] [[File:Golden Horse Armor JE1 BE1.png|32px]] [[File:Diamond Horse Armor JE1 BE1.png|32px]]<br>[[File:Leather Horse Armor (item) BE1.png|32px]] [[File:Iron Horse Armor (item) JE1 BE1.png|32px]] [[File:Golden Horse Armor (item) JE1 BE1.png|32px]] [[File:Diamond Horse Armor (item) JE1 BE1.png|32px]] Added horse armor.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
Leather Horse Armor.png | Undyed Leather armor
White Leather Horse Armor.png | White Leather armor
Light Gray Leather Horse Armor.png | Light Gray Leather armor
Gray Leather Horse Armor.png | Gray Leather armor
Black Leather Horse Armor.png | Black Leather armor
Brown Leather Horse Armor.png | Brown Leather armor
Red Leather Horse Armor.png | Red Leather armor
Orange Leather Horse Armor.png | Orange Leather armor
Yellow Leather Horse Armor.png | Yellow Leather armor
Lime Leather Horse Armor.png | Lime Leather armor
Green Leather Horse Armor.png | Green Leather armor
Cyan Leather Horse Armor.png | Cyan Leather armor
Light Blue Leather Horse Armor.png | Light Blue Leather armor
Blue Leather Horse Armor.png | Blue Leather armor
Purple Leather Horse Armor.png | Purple Leather armor
Magenta Leather Horse Armor.png | Magenta Leather armor
Pink Leather Horse Armor.png | Pink Leather armor
</gallery>

=== Screenshots ===
<gallery>
Armored Horse.png|A [[horse]] equipped with iron horse armor and bound to a fence post by a [[lead]].
13w21a-new-HorseUI-inventory.png|The GUI for horses implemented in [[Java Edition 13w21a|13w21a]], which allows the removal and switching of armor.
GodSpawner.png|A golden horse armor found in a [[dungeon]] chest, which coincidentally contains an [[enchanted golden apple]].
Horses with armor.png|4 [[horse]]s equipped with [[leather]], [[iron]], [[gold]], and [[diamond]] armor.
Leather Horse Armor 1.jpg|First image of leather horse armor.
Leather Horse Armor 2.jpg|Second image of leather horse armor.
Leather Horse Armor 3.jpg|Third image of leather horse armor.
Leather Horse Armor 4.jpg|Fourth image of leather horse armor.
Leather Horse Armor 5.jpg|Fifth image of leather horse armor.
</gallery>

== Notes ==
{{Notelist}}

== References ==
{{Reflist}}

{{items}}

[[Category:Armor]]

[[de:Rossharnisch]]
[[es:Armadura para caballo]]
[[fr:Armure pour cheval]]
[[it:Bardatura]]
[[ja:馬鎧]]
[[ko:말 갑옷]]
[[nl:Paardenharnas]]
[[pl:Zbroja końska]]
[[pt:Armadura para cavalo]]
[[ru:Конская броня]]
[[uk:Кінські обладунки]]
[[zh:马铠]]</li></ul>
20w06aAdded /locatebiome.
20w17aAdded /attribute.
1.17
{{Extension DPL}}<ul><li>[[Raw Cod|Raw Cod]]<br/>{{about|the item|the mob|Cod}}
{{redirect|Raw Fish|raw salmon|Raw Salmon|pufferfish|Pufferfish (item)|tropical fish/clownfish|Tropical fish (item)}}
{{Item
| image = Raw Cod.png
| renewable = Yes
| heals = {{hunger|2}}
| stackable = Yes (64)
}}

'''Raw cod''' is a [[food]] item that can be eaten by the player or cooked to make [[cooked cod]].

== Obtaining ==

=== Mob loot ===

==== Cod ====
[[Cod]] always drops 1 raw cod when killed, unaffected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref> If it is killed while on [[fire]], it drops 1 [[cooked cod]] instead.

==== Dolphins ====
When killed, [[Dolphin|dolphins]] drop 0–1 raw cod. 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 cod instead.

==== Guardians and elder guardians ====

[[Guardian]]s and [[elder guardian]]s have a 40% and 50% chance, respectively, to drop raw cod when killed. {{IN|java}}, cooked cod is dropped if a guardian is on fire when killed.

Guardians and elder guardians also have a 2.5% chance to drop a random fish, with 60% of them being raw cod, which drops as cooked if the guardian was on fire. The chance of getting the fish drop is increased by 1% per level with [[Looting]] (for a maximum of 5.5% with Looting III), but the type of fish is not affected.

==== Polar bears ====

[[Polar bear]]s have a 75% chance of dropping 0–2 raw cod when killed. The maximum amount can be increased by 1 per level of Looting, for a maximum of 0-5 with Looting III. If killed while on fire, they drop cooked cod instead.

=== Fishing ===
{{main|Fishing}}

Raw cod can be obtained from fishing. The wait time of one being caught is decreased with the [[Lure]] enchantment and the chance of one being caught is slightly decreased with the [[Luck of the Sea]] enchantment (named as such because it increases treasure, not fish).

Catching cod awards 1-6 experience.

=== Natural generation ===
{{el|java}}{{LootChestItem|raw-cod}}

=== Villager gifts ===
{{in|java}}, fisherman [[villager]]<nowiki/>s throw raw cod at [[player]]s under the [[Hero of the Village]] effect.

== Usage ==

=== Smelting ingredient ===

{{smelting
|Raw Cod
|Cooked Cod
|0.35
}}

=== Food ===

Raw cod restores {{hunger|2}} [[hunger]] and 0.4 [[Hunger#Mechanics|saturation]].

=== Cats ===

Raw cod can be used to tame [[cat]]s with {{frac|1|3}} chance of success, get cats off of [[chest]]s, and [[bed]]s, [[breed]] cats, and make baby cats grow up faster by 10% of the remaining time. Additionally, raw cod can be used to heal cats by {{hp|2|mob=1}}.

Raw cod can be used to gain [[ocelot]] trust, breed ocelots, and make baby ocelots grow up by 10%. 

=== Dolphins ===

[[Dolphin]]s can be fed raw cod. Doing this improves their trust and interaction with the player. However, unlike most animals, feeding dolphins does not allow them to breed.

When a player feeds raw cod to a dolphin, it swims toward the nearest chest in an [[underwater ruins]] or [[shipwreck]]. If the chest in the nearest structure is broken, they swim to the next nearest structure that has a chest.

===Trading===

Fisherman villagers have 50% chance to sell 6 cooked cod for 6 raw cod and 1 [[emerald]] as part of their first tier trade.

Apprentice-level fisherman villagers have a {{frac|2|3}} chance to buy 15 raw cod for an emerald in Java Edition, and always offer the same trade in Bedrock Edition.

=== Wolves ===
{{IN|bedrock}}, raw cod can be used to feed [[wolves]], to heal them by {{hp|2|mob=1}}. However, unlike other meat items, raw cod cannot be used to speed up the growth of baby wolves nor used to breed them, thus making it only feedable when wolves are not at full health.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|showaliasids=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Cod
|spritetype=item
|nameid=cod
|aliasid=fish
|id=264
|form=item
|translationkey=item.fish.name
|foot=1}}

== Achievements ==

{{load achievements|Delicious Fish;Lion Tamer;Echolocation}}

== Advancements ==
{{load advancements|Husbandry;A Balanced Diet;Fishy Business;A Complete Catalogue}}

== History ==
{{History|java alpha}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|[[File:Raw Cod JE1 BE1.png|32px]] Added raw fish, which restores {{hp|2}}.}}
{{History|java beta}}
{{History||1.5|Cooking raw fish now gives the '''Delicious Fish''' [[achievement]].}}
{{History||1.8|snap=Pre-release|Raw fish is now stackable to 64 and fills {{hunger|2}} instead of {{hp|2}}.}}
{{History|java}}
{{History||1.2.1|snap=12w04a|Raw fish can now be fed to [[ocelot]]s to tame them into cats.}}
{{History||1.8|snap=14w02a|Fisherman [[villager]]s now [[trading|sell]] 6 cooked fish for 1 [[emerald]] plus 6 raw fish.}}
{{History|||snap=14w25a|Raw fish is now obtainable as a rare [[drops|drop]] from [[guardian]]s and [[elder guardian]]s.}}
{{History||1.10|snap=16w20a|Raw fish is now dropped from [[polar bear]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> and <code>cooked_fish</code> IDs have been split up into their own IDs.
|"Raw Fish" has been renamed to "Raw Cod".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 349.}}
{{History|||snap=18w07a|Raw cod is now used to breed [[turtle]]s.}}
{{History|||snap=18w07b|Raw cod is no longer used to [[breeding|breed]] turtles. [[Seagrass]] is used instead.}}
{{History|||snap=18w08b|Cod, and other [[fish]], have been added as [[mob]]s, which drop their (raw) item form when killed.
|[[File:Raw Cod JE2 BE2.png|32px]] The texture of raw cod has been changed.}}
{{History|||snap=18w15a|Raw cod can now be used to feed [[dolphin]]s.
|Raw cod can now be obtained as a [[drops|drop]] from [[dolphin]]s.}}
{{History||1.14|snap=18w43a|[[File:Raw Cod JE3.png|32px]] The texture of raw cod has been changed.}}
{{History|||snap=18w47b|[[File:Raw Cod JE4 BE2.png|32px]] The previous texture change to raw cod has been reverted.}}
{{History|||snap=18w48a|Raw cod can now be found in chests in [[village]] fisher cottages.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] raw cod.}}
{{History|||snap=19w13a|Fisherman villagers now give raw cod to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Raw Cod JE1 BE1.png|32px]] Added raw fish.}}
{{History||v0.12.1|snap=build 1|Raw fish now restore [[hunger]] instead of [[health]].
|Raw fish can now be used to feed [[ocelot]]s to tame them into [[cat]]s.}}
{{History||v0.16.0|snap=build 1|Raw fish is now [[drops|dropped]] by [[guardian]]s and [[elder guardian]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added [[polar bear]]s, which [[drops|drop]] raw fish.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Fisherman [[villager]]s now [[trading|sell]] 6 cooked fish for 1 [[emerald]] plus 6 raw fish.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[Cod]] and other [[fish]] have been added as [[mob]]s, which [[drops|drop]] their (raw) [[item]] form when killed.
|[[File:Raw Cod JE4 BE2.png|32px]] The texture of raw cod has been changed.}}
{{History|||snap=beta 1.2.20.2|Raw cod is now [[drops|dropped]] by [[dolphin]]s and can be used to feed them.}}
{{History||1.5.0|snap=beta 1.5.0.0|Giving raw cod to [[dolphin]]s lead the [[player]] to the nearest [[underwater ruins]] or [[shipwreck]].}}
{{History||1.7.0|snap=beta 1.7.0.2|"Raw Fish" has been renamed to "Raw Cod".}}
{{History||1.8.0|snap=beta 1.8.0.8|Raw cod can no longer can be used to tame [[ocelot]]s.
|Raw cod can now be used to [[breeding|breed]] ocelots and increase baby ocelot growth speed.
|Added [[stray cat]]s, which can be tamed using raw cod.}}
{{History||1.11.0|snap=beta 1.11.0.4|Raw cod can be [[trading|sold]] to fisherman [[villager]]s.
|Fisherman villagers now have 50% chance to [[trading|sell]] 6 cooked cod for 6 raw cod and an [[emerald]] as part of their first tier [[trading|trade]].}} 

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Raw Cod JE1 BE1.png|32px]] Added raw fish.}}
{{History||xbox=TU5|Raw fish is now stackable to 64.
|Raw fish now fills [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|Raw fish can now be fed to [[ocelot]]s to tame them into [[cat]]s.}}
{{History||xbox=TU13|ps=1.0|Raw fish is no longer removed from the [[player]]'s [[inventory]] when trying to tame an [[ocelot]] in [[creative]] mode.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|"Raw Fish" has been renamed to "Raw Cod".
|[[File:Raw Cod JE4 BE2.png|32px]] The texture of raw cod has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Raw Cod JE1 BE1.png|32px]] Added raw fish.}}
{{History|foot}}

== Issues ==

{{issue list}}
== Trivia ==
[[File:Steve wearing Raw Cod.png|75px]] [[File:Alex wearing Raw Cod.png|75px]]

* While a raw cod cannot be equipped in the head slot in Survival mode, equipping it using the {{cmd|item}} command causes it to appear at the side of the player's head.

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

== References ==
{{reflist}}

{{items}}

[[de:Roher Kabeljau]]
[[es:Bacalao crudo]]
[[ja:生鱈]]
[[ko:생대구]]
[[pt:Bacalhau cru]]
[[ru:Сырая треска]]
[[zh:生鳕鱼]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Bow|Bow]]<br/>{{For}}
{{For|the ranged weapon of a similar name|Crossbow}}
{{Item
| image = <gallery>
Bow.png | Bow
Bow (Pull 0).png | Pulled (state 0)
Bow (Pull 1).png | Pulled (state 1)
Bow (Pull 2).png | Pulled (state 2)
</gallery>
| rarity = Common
| renewable = Yes
| durability = 384
| stackable = No
}}

A '''bow''' is a ranged [[weapon]] that shoots [[arrow]]s.

== Obtaining ==

=== Crafting ===

{{crafting
|showname=0
|B1= Stick
|C1= String
|A2= Stick
|C2= String
|B3= Stick
|C3= String
|Output= Bow
|type= Combat
}}

===Mob loot===

==== Skeletons and Strays ====

[[Skeleton]]s and [[stray]]s have an 8.5% chance of dropping a normal or enchanted bow on death when killed by a [[player]] or a tamed [[wolf]]. 

The chance of dropping a bow is increased by 1% per level of [[Looting]], allowing up to an 11.5% chance of dropping. 

The chance of being enchanted depends on the [[difficulty]], whether it is normal or hard. The enchantment level is equal to enchant level 5-22. 

Bows of [[skeleton trap]]s are always enchanted at level 5 to 23. The exact level depends on [[regional difficulty]], as on Easy it is always a level-5 enchantment.

==== Illusioners ====
{{exclusive|java|section=1}}

[[Illusioner]]s have an 8.5% chance of dropping an unenchanted bow when killed by the player. The chance of dropping a bow is increased by 1% per level of Looting, allowing up to an 11.5% chance of dropping. 

=== Trading ===

Apprentice-level fletcher [[villager]]s sell bows for 2 [[emerald]]s as part of their [[trading|trade]]s.

Expert-level fletcher villagers sell enchanted bows for 7–21 emeralds as part of their trades. The enchantment level is equal to enchant level 5–19.

=== Fishing ===

Bows have a chance of being caught by [[fishing]]. When caught, the bow may be damaged and contain random [[enchantment]]s equivalent to a level 30 enchantment from an [[enchanting table]], including treasure enchantments like [[Mending]].

=== Repairing ===
{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Bow]]
|Damaged Bow
|Damaged Bow
|Bow
|description=The durability of the two bows is added together, plus an extra 5% durability.
}}
{{Crafting
|Damaged Bow
|Damaged Bow
|Output=Bow
|type=Combat
|ignoreusage=1
}}

== Usage ==

=== Weapon ===
[[File:Steve aiming with Bow.png|150px|right]]
[[File:Alex aiming with Bow.png|150px|right]]

Bows can be drawn back by {{control|using}} them. In order to use a bow, the player must have at least one [[arrow]] in their [[inventory]] or be in [[Creative]] mode. The arrow that is shown inside the bow always looks like a regular arrow, regardless of what kind of arrow is actually being shot from the bow.<ref>{{bug|MC-87685||Drawn bow texture does not reflect arrow that will be shot|WF}}</ref>

When drawing a bow, the display zooms in slightly. Charging the bow to its maximum causes it to visually shake as an indicator. Releasing the button shoots an [[arrow]] if it is charged at least 15%. Drawing a bow can be canceled by switching to another hotbar slot while holding use.

While the bow is being charged or remains fully charged, the player is forced to move at [[sneaking]] speed, unless they are riding a [[horse]], [[minecart]] or [[boat]], or flying with [[elytra]]. It is not possible to [[Sprinting|sprint]] while charging a bow or holding a drawn bow. When the bow is released, normal motion resumes although any prior sprint is cancelled. Sneaking while drawing the bow makes the player move even slower.

If an arrow hits another player, the player that shoots the arrow hears a high-pitched "ding" sound.{{only|je}}

Fully charged shots launch critical arrows which have a trail of [[particles]] behind them and deal up to <math display="inline">\left ( \frac{3x}{2} \right ) + 2</math>damage, where <math>x</math>is the damage after any enchantments. The listed values below describe maximum damage from a bow with no [[Power]] enchantments, assuming the target is at a distance where drag and gravity are negligible. However, the critical damage is likely to be more around 8-10; critical damage is added at a random value between <math>x</math>and <math display="inline">\left ( \frac{3x}{2} \right ) + 2</math> and it is rare to have minimum or maximum values. The damage dealt can ultimately be less than the maximum damage if the arrow slows down after being shot. 

{| class="wikitable" style="text-align:center" data-description="Shot base damage by changing time"
|-
! Charging time
! Maximum attack damage
|-
|{{ItemSprite|Bow|text= '''0.1 s'''}} (no charge)
|{{hp|1}}
|-
|{{ItemSprite|Bow|text= '''0.2–0.9 s'''}} (medium charge)
|{{hp|5}}
|-
|{{ItemSprite|Bow|text= '''1+ s'''}} (full charge)
|{{hp|6}}
|-
|{{ItemSprite|Bow|text= '''1+ s'''}} (critical)
|{{hp|11}}
|-
|}

The game stores the damage of arrows even in values with a decimal point. For example, it is possible for a critical arrow shot to cause damage values such as 6.4. In this cases of a broken value, the game can round up or down and store the amount for subsequent damage sources.

Any projectile thrown by the player is under the influence of momentum in current versions of ''Minecraft''. Naturally, the player's movement speed can be modified under a number of circumstances, affecting the ballistic trajectory of projectiles, and as a result, the damage inflicted by arrows.

In [[Java Edition Combat Tests]], to avoid sniping, arrows shot from fully-charged bows become non-critical if held drawn back for longer than three seconds. Instantaneous effects on tipped arrows are scaled by 1/8, just like the duration of other effects. For example, Instant Damage I arrow will deal an additional {{hp|0.75}} magical damage.

Damage caused by the arrow is not affected by the [[Strength]] effect.

[[Endermen]] cannot be shot using an arrow, because the arrow either disappears as the enderman teleports, or it gets deflected. Even while immobile, the enderman is immune to damage from arrows. However, an arrow shot from a bow enchanted with [[Flame]] can ignite the enderman.

=== Crafting ingredient ===

{{crafting usage|Bow, Damaged Bow}}

=== Enchantments ===

Bows can receive several different [[enchantment]]s and have a base enchantability of 1. Bow enchantments have no effect on [[arrow]] speed or the distance it travels. In [[Bedrock Edition]], if a bow is enchanted with any level 1 enchantment, it always gets Power I.{{verify|This used to be in the trivia section. Not valid in Java Edition.}}

{| class="wikitable col-3-center"
|+
!Name
!Summary
!Max Level
|-
|[[Power]]
|Increases the damage dealt by bow-shot arrows.
|V
|-
|[[Punch]]
|Increases the knockback dealt by bow-shot arrows.
|II
|-
|[[Flame]]
|Ignites arrows, dealing fire damage to anyone hit as well as igniting TNT and campfires.
|I
|-
|[[Infinity]]<ref group=n name=exclusive>Mending and Infinity are mutually exclusive.</ref> 
|Stops the bow from consuming arrows when shot. A minimum of 1 arrow is still required to work.
|I
|-
|[[Unbreaking]]
|Grants a chance to negate durability consumption, making the bow last longer.
|III
|-
|[[Mending]]<ref group=n name=exclusive></ref>
|Repairs the bow using experience, but also preventing the player from gaining score.
|I
|-
|[[Curse of Vanishing]]
|The bow vanishes on death, not dropping as an item. Overridden by keepInventory.
|I
|}
;Notes
{{Reflist|group=n}}

=== Fuel ===

A bow can be used as [[fuel]] in [[furnace]]s, smelting 1.5 items per bow {{in|java}} or 1 item per bow {{in|bedrock}}.

== Arrows ==

{{main|Arrow}}

As in real life, a flying [[arrow]] in ''Minecraft'' is affected by gravity. Its vertical speed is modified by one block downward every second, resulting in a {{w|Parabola|parabolic}} flight path. An arrow slows down if shot through water, reducing its damage to near zero unless brought back into the air or otherwise given momentum.{{Only|Java}}

Arrows that hit solid [[blocks]] become stuck and can be retrieved, unless the arrow was shot by a bow [[enchant]]ed with [[Infinity]], a player in Creative mode, or a mob.

An arrow shot through [[lava]] ignites, giving it the effect of the [[Flame]] enchantment, igniting any entity it hits. If not extinguished, the fire inflicts up to {{hp|4}} damage. Although a [[wither skeleton]] does not spawn naturally with bows, if it holds a bow then it also shoots flaming arrows.

On impact, an arrow can trigger a wooden [[pressure plate]], [[target]] block, [[wooden button]], or [[tripwire]]. Arrows cannot trigger stone pressure plates or stone buttons.

The player can choose the type of arrow to shoot based on its location in the inventory. Arrows in the off-hand, or the selected hotbar slot if the bow is in the off-hand, are prioritized first. If there are no arrows in the off-hand or selected hotbar slot then the arrow closest to [[Inventory#Slots|slot 0]] is selected.

Arrows shot by bows in [[Bedrock Edition]] has a slightly higher range than arrows shot by bows in [[Java Edition]].

==Sounds==
{{edition|java}}:
{{Sound table
|sound=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|subtitle=Arrow hits
|source=neutral
|description=When an arrow impacts something
|id=entity.arrow.hit
|translationkey=subtitles.entity.arrow.hit
|volume=1.0
|pitch={{frac|12|11}}-{{frac|4|3}}
|distance=16}}
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Arrow fired
|source=player
|description=When a bow shoots an arrow
|id=entity.arrow.shoot
|translationkey=subtitles.entity.arrow.shoot
|volume=1.0
|pitch={{frac|4|3}}-1.125 <ref group=sound>Depends on how long the bow has been charging. uncharged bows give {{frac|5|6}}-0.625</ref> 
|distance=16}}
{{Sound table
|sound=Succesfull Hit.ogg
|subtitle=Player hit
|source=player
|description=When an arrow shot by a player hits another player
|id=entity.arrow.hit_player
|translationkey=subtitles.entity.arrow.hit_player
|volume=0.18
|pitch=0.45
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a bow'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=Arrow hit1.ogg
|sound2=Arrow hit2.ogg
|sound3=Arrow hit3.ogg
|sound4=Arrow hit4.ogg
|source=player
|description=When an arrow impacts something
|id=random.bowhit
|volume=1.0
|pitch=1.09-1.3}}
{{Sound table
|sound=Bow shoot.ogg
|source=player
|description=When a bow shoots an arrow
|id=random.bow
|volume=1.0
|pitch=0.83-1.25}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a bow'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=Bow
|spritetype=item
|nameid=bow
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bow
|spritetype=item
|nameid=bow
|id=300
|form=item
|foot=1}}

==Achievements==

{{load achievements|Sniper Duel;Archer;Dispense with this;Bullseye}}

==Advancements==

{{load advancements|Take Aim;Sniper Duel;Bullseye}}

==Video==

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

==History==
{{History|java classic}}
{{History||June 14, 2009|link=https://notch.tumblr.com/post/123343045/my-vision-for-survival|[[Notch]] discussed how bows and [[arrow]]s would work in [[Survival]] mode: "Bows and arrows can be made out of wood. To use it, select the bow from your inventory and make sure you’ve got some arrows. Click in front of you, and an arrow goes flying using real physics. To actually HIT something, aim above it."}}
{{History||0.24 SURVIVAL TEST|The [[player]] did not need a bow to shoot arrows. Instead, {{Key|Tab}} was used to fire arrows. However, arrows still had to be collected to shoot. Launching arrows this way was much slower than the bow that now fires them.}}
{{History|java indev}}
{{History||0.31|snap=20100110|[[File:Bow JE1.png|32px]] Added bow texture to [[items.png]].}}
{{History|||snap=20100122|[[File:Bow JE2 BE1.png|32px]] Added bows as item with changed texture. The right mouse button can be held down to fire in rapid succession. Each [[arrow]] deals {{hp|4}} for each hit. They fly in a [[wikipedia:Trajectory of a projectile|ballistic trajectory]] affected by gravity and drag in air or water. They travel approximately 15 [[block]]s when fired parallel to a flat plane. Arrows also have a maximum range of around 52 blocks when fired at a 38 degree angle on a flat plane.
|Bows often fail to interact with objects, but instead shoot. This is due to the fact that shooting arrows is an instantaneous action.
|At this point, bows have no durability, and can essentially be used infinitely.}}
{{History|java alpha}}
{{History||v1.2.6|Interacting with objects (door, chest, etc.) while holding a bow no longer shoots the arrow.}}
{{History|java beta}}
{{History||1.2|Bows are now used to craft [[dispenser]]s.}}
{{History||1.8|snap=July 8, 2011|slink={{tweet|notch|89414265441763328}}|[[Notch]] teased hold-to-charge bows.}}
{{History|||snap=July 13, 2011|slink={{tweet|notch|91250232981061632}}|Notch indicated that along with bow charging, he would add an [[achievement]] based around shooting a [[skeleton]] at 50 meters, eventually to be known as ''Sniper duel''.}}
{{History|||snap=Pre-release|Bow behavior has been overhauled; they now need to be charged to fire.}}
{{History|java}}
{{History||1.0.0|snap=RC1|A fully charged [[arrow]] from a bow now consistently deals {{hp|9}} damage, with a rare chance of dealing {{hp|10}}.
|Bows now have a [[durability]] of 385 uses.
|Bows no longer need arrows for ammo in [[Creative]] mode.
|The bow can now be [[enchanting|enchanted]] via console commands, but no enchantment affects it.}}
{{History||1.1|snap=release|Bows can now be legitimately enchanted. Four enchantments have been added: [[Flame]], [[Punch]], [[Power]] and [[Infinity]].}}
{{History||1.2.1|snap=12w06a|[[Skeleton]]s now have a 2.5% chance of dropping a bow. One fifth of the time, this bow is enchanted with Power I (20%).}}
{{History||1.4.6|snap=12w50a|Bows can now be enchanted with [[Unbreaking]] using an [[anvil]] and an appropriate [[enchanted book]].}}
{{History|||snap=pre|When a [[player]] hits another player from far away with a bow it makes a high pitched "dinging" sound.}}
{{History||1.7.2|snap=13w36a|Bows can now be obtained as a "treasure" [[item]] from [[fishing]].
|Bows can now be [[enchanting|enchanted]] with [[Unbreaking]] directly in an [[enchantment table]] without the use of an [[anvil]].}}
{{History||1.8|snap=14w02a|Fletcher [[villager]]s now [[trading|sell]] 1 bow for 2–3 [[emerald]]s.}}
{{History|||snap=14w30a|Bow placement when drawing back has been slightly changed.}}
{{History||1.9|snap=15w31a|When shooting, the arrows are no longer offset to the right of the Crosshair.
|The bow in the hotbar now shows an [[arrow]] when being drawn.
|Bows can now shoot an additional 14 types of arrows, selected based on the arrow type held in the off-hand or closest to slot 0.
|Bows cannot be used in the off-hand.}}
{{History|||snap=15w37a|The bow can now be used in the off-hand.
|Bows now prioritize the selected hotbar slot for [[arrow]]s if the bow is in the off hand.
|When using the bow in the off-hand, the bow does do the animation, but does not aim at the target.}}
{{History|||snap=?|Momentum now affects the physics of arrows fired from bows.}}
{{History||1.10|snap=16w20a|Bows are now used by [[stray]]s and can now sometimes be obtained as a rare [[drop]].}}
{{History||1.11|snap=16w33a|Bows can now be used to fuel [[furnace]]s.}}
{{History||1.11.1|snap=16w50a|[[Infinity]] and [[Mending]] are now mutually exclusive for bows.}}
{{History||1.12|snap=17w16a|Bows are now used by [[illusioner]]s and can now sometimes be obtained as a rare [[drop]], although unenchanted.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 261.}}
{{History||1.13.1|snap=18w30a|{{bug|MC-88356}}: Fixed a bug: When using the bow in the off-hand, the bow does do the animation, but does not aim at the target.}}
{{History||1.14|snap=19w11a|Fletcher [[villager]]s now [[trading|sell]] enchanted bows.}}

{{History|pocket alpha}}
{{History||v0.3.3|[[File:Bow JE2 BE1.png|32px]] Added bows.}}
{{History||v0.4.0|Bows now have a durability of 385 uses.
|Bows also now slow down the player while aiming.}}
{{History||v0.5.0|Bows are now obtainable after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 1|[[File:Bow BE2.png|32px]] The texture of bows has been changed.}}
{{History|||snap=build 7|Bows can now be used as fuel in a [[furnace]].}}
{{History||v0.11.0|snap=build 1|Bows can now be obtained as a "treasure" [[item]] from [[fishing]].}}
{{History||v0.12.1|snap=build 1|Fully charged bows now cause [[particle]]s.
|Bows can now be [[enchanting|enchanted]].
|Bows obtained by [[fishing]] can now be caught enchanted.
|Bows are no longer available from the [[nether reactor]].}}
{{History||v0.15.0|snap=build 1|Added [[stray]]s, which are equipped with a bow that can rarely be dropped by them.
|Bows can now shoot an additional 14 types of [[arrow]]s, selected based on the arrow type closest to slot 0.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Bows can now be obtained by [[trading]] with a fletcher [[villager]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Added the [[Mending]] enchantment, which can now be applied to bows and is mutually exclusive to the [[Infinity]] enchantment.
|[[Arrow]]s can now be placed in the offhand slot and bows now prioritize the arrows in that slot.}}
{{History|bedrock}}
{{History||?|Momentum now affects the physics of arrows fired from bows.}}
{{History||1.8.0|snap=beta 1.8.0.10|Bows in the hotbar now show an [[arrow]] when being drawn.}}
{{History||1.10.0|snap=beta 1.10.0.3| [[File:Bow JE2 BE1.png|32px]] The texture of bows has been changed to match {{el|je}}'s texture.}}
{{History||1.11.0|snap=beta 1.11.0.4|Fletcher villagers now sell unenchanted bows for 2 emeralds, and enchanted bows for 8 emeralds.}}
{{History||1.16.210|snap=beta 1.16.210.58|Bows in first-person view is now held differently.<ref>{{bug|MCPE-116741}}</ref>}}
{{History||1.17.0|snap=beta 1.17.0.52|Bows are now held like it was before [[Bedrock Edition beta 1.16.210.58|1.16.210.58 beta]].<ref>{{bug|MCPE-116741}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Bow JE2 BE1.png|32px]] Added bows.}}
{{History||xbox=TU5|Bow behavior is overhauled; they now need to be charged to fire.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Bows can now be obtained by [[trading]] with a fletcher [[villager]].}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|Bows can now shoot an additional 14 types of [[arrow]]s, selected based on arrow type held in the off-hand or closest to slot 0.}}
{{History|foot}}

Historical sounds:

{| class="wikitable"
!Sound
!From
!to
!Pitch
|-
|{{sound||Bow Shooting Old.ogg}}
|0.31
|Sound Update
|1.0
|}

==Issues==
{{issue list}}

==Trivia==
* Bows were left unchanged in the [[Texture Update]].<ref>{{bug|MC-168156|||WAI}}</ref>
*Dinnerbone got the idea for the high-pitched "ding" sound from playing on a former PvP server called Project Ares.<ref>{{tweet|Dinnerbone|280044119345229826|Also things I learnt from pvping today: Bows need to ding when you hit people (it's so much fun/rewarding!) & arrows don't render far enough|December 15, 2012}}</ref><ref>{{ytl|-b5aXYacYsk|Minecraft PvP with Dinnerbone & Docm77 - Team DocBone @ 11:52|docm77|December 7, 2013|t=712s}}</ref>

==Gallery==
<gallery>
Enchanted Bow.gif|An enchanted bow.
Bow Shooting.gif|Using the bow.
1.9bow.gif|Drawback animation.
Bow SDGP.png|Bow in the [[Super Duper Graphics Pack]].
Hunting Wabbits.jpg|Using a bow to hunt rabbits.
</gallery>

==References==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--bow Taking Inventory: Bow] – Minecraft.net on April 13, 2023

{{items}}

[[Category:Combat]]
[[Category:Renewable resources]]

[[cs:Luk]]
[[de:Bogen]]
[[es:Arco]]
[[fr:Arc]]
[[hu:Íj]]
[[it:Arco]]
[[ja:弓]]
[[ko:활]]
[[nl:Boog]]
[[pl:Łuk]]
[[pt:Arco]]
[[ru:Лук]]
[[uk:Лук]]
[[zh:弓]]</li></ul></nowiki>
20w46aRemoved /replaceitem. Replaced with /item replace.
1.18
{{Extension DPL}}<ul><li>[[Blue Dye|Blue Dye]]<br/>{{Item
|image = Blue_Dye_JE1_BE1.png
|renewable = Yes
|stackable = Yes (64)
}}

'''Blue dye''' is a [[Dye#Primary|primary dye color]].

== Obtaining ==
=== Crafting ===
{{Crafting
 |Lapis Lazuli
 |Output=Blue Dye
 |type=Material
 |head=1
}}
{{Crafting
 |Cornflower
 |Output=Blue Dye
 |type=Material
 |foot=1
}}
=== Chest loot ===
{{#invoke:LootChest|base3|blue-dye}}

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Blue Dye
|spritetype=item
|nameid=blue_dye
|aliasid=dye / 18
|id=399
|form=item
|translationkey=item.dye.blue_new.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.14|snap=18w43a|[[File:Blue_Dye_JE1_BE1.png|32px]] Added blue dye.}}
{{History|||snap=18w44a|Blue dyes now can changed the text color on the [[sign]]s to blue.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell blue dyes.}}
{{History|||snap=19w11a|Blue dyes can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Blue dyes can now used to craft newly added [[blue candle]]s.}}
{{History|||snap=21w19a|Blue dyes can no longer used to craft blue candles.}}
{{History|||snap=Pre-release 1|Blue dyes can once again used to craft blue candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Blue dyes can now change the text color on [[hanging sign]]s to blue.}}
{{History||1.20|snap=23w12a|Blue dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Blue dye 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]]; blue dye now is in the common loot.}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Blue_Dye_JE1_BE1.png|32px]] Added blue dye.}}
{{History||1.9.0|snap=beta 1.9.0.0|Added [[flower|cornflowers]], which can be used to [[crafting|craft]] blue dye.}}
{{History||1.10.0|snap=beta 1.10.0.3|Blue dye can now be used to [[dye]] white [[carpet]]s and uncolored [[glass pane]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Blue dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of blue dye has been changed from <code>dye/18</code> to <code>blue_dye</code>.}}

{{History|ps4}}
{{History||1.83|[[File:Blue_Dye_JE1_BE1.png|32px]] Added blue dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

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

[[de:Blauer Farbstoff]]
[[es:Tinte azul]]
[[fr:Teinture bleue]]
[[ja:青色の染料]]
[[ko:파란색 염료]]
[[pl: Niebieski barwnik]]
[[pt:Corante azul]]
[[zh:蓝色染料]]</li><li>[[Block Inspector|Block Inspector]]<br/>{{MinecraftEdu feature}}
{{stub}}

{{Item
| image = BlockInspector.png
| stackable = No {{verify}}
}}

'''Block Inspector''' is an item used to display the name of the block the player is looking at on screen.

== Data values ==
{{ID table
|generatetranslationkeys=java
|displayname=Block Inspector
|spritetype=item
|nameid=block_inspector|foot=1}}

==History==
{{History|MinecraftEDU}}
{{History||0.9848|[[File:BlockInspector.png|32px]] Added block inspectors.}}
{{History|foot}}

{{Items}}</li></ul>
21w37aAdded /jfr.
Upcoming Java Edition
1.18.2
{{Extension DPL}}<ul><li>[[Beetroot|Beetroot]]<br/>{{about|the basic food item|the seeds|Beetroot Seeds|the soup|Beetroot Soup}}
{{Item
| title = Beetroot
| image = Beetroot.png
| heals = {{hunger|1}}
| renewable = Yes
| stackable = Yes (64)
}}

A '''beetroot''' is a food and [[dye]] ingredient.

== Obtaining ==

=== Farming ===
Beetroots are obtained from harvesting a fully grown [[beetroots|crop block]], which drops 1 beetroot and 1-4 seeds ({{frac|2|5|7}} seeds per plant harvested on average). Seed yield can be increased using a tool enchanted with [[Fortune]], with Fortune III harvesting an average of {{frac|5|3|7}} seeds per plant.

These crops can be found growing in [[village]]s or can be grown from planted [[beetroot seeds]].<!-- Do not add locations for finding seeds. Where to find seeds is described in the article about the seeds. -->

== Usage ==

=== Food ===
A beetroot can be eaten to restore {{hunger|1}} [[hunger]] and 1.2 hunger [[Hunger#Mechanics|saturation]]. Six beetroots can be crafted into [[beetroot soup]], which restores six times the hunger and saturation of a single beetroot.

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

=== Breeding ===
Beetroots can be used to [[breeding|breed]] [[pig]]s. Pigs also follow a player who is holding beetroot.

[[Villager]]s can pick up beetroot items to become willing, allowing them to breed. Villagers need 12 beetroots before they can breed.

=== Composting ===
Placing beetroot into a [[composter]] has a 65% chance of raising the compost level by 1.

=== Trading ===

Novice-level Farmer villagers have a 25%{{only|bedrock}} or 40%{{only|java}} chance to buy 15 beetroots for an emerald.

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Beetroot
|spritetype=item
|nameid=beetroot
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Beetroot
|spritetype=item
|nameid=beetroot
|id=285
|form=item
|foot=1}}

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

== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Beetroot JE1 BE1.png|32px]] Beetroots have been added, along with its [[beetroot seeds|seeds]] and [[beetroot soup]]. Beetroot can also be used to craft [[rose red]] dye.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 434.}}
{{History||1.14|snap=18w43a|[[File:Beetroot JE2 BE2.png|32px]] The texture of beetroot has been changed.}}
{{History|||snap=19w03a|Placing beetroot into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Beetroot now has a 65% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|buy]] beetroots.}}
{{History||1.17|snap=21w13a|The model of the [[crop]] for the beetroot crops has been tweaked that the backside textures are mirrored.}}

{{History|pocket alpha}}
{{History||November 13, 2013|link=http://instagram.com/p/gnkWOlJMB3/|[[Jeb]] announces on [[wikipedia:Instagram|Instagram]] that [[Johan Bernhardsson]] is working on a surprise feature for 0.8.0 alongside a picture of the [[player]] holding beetroot.}}
{{History||November 14, 2013|link={{tweet|jbernhardsson|400902957782147072}}|Johan posts another image of beetroot, confirming that the image previously posted by Jeb was indeed beetroot.}}
{{History||v0.8.0|snap=build 2|[[File:Beetroot JE1 BE1.png|32px]] Added beetroots. They are not obtainable in the Creative inventory.}}
{{History||v0.9.0|snap=build 1|Beetroot can now be used to lead and [[breeding|breed]] [[pig]]s.}}
{{History||v0.12.1|snap=build 1|Beetroot now restore [[hunger]], rather than [[health]].
|Beetroot can now generate in [[village]]s as [[crop]]s.}}
{{History||v0.13.1|Added beetroot to the Creative inventory.<ref name="missing beetroot item">https://bugs.mojang.com/browse/MCPE-10497</ref><!---{{info needed}}, the bug tracker has very little information. It's not in the Creative inventory in v0.12.1 or v0.13.0 initial release, but is in v0.14.0--->}}
{{History||v0.16.0|snap=build 1|Beetroot can now be used to craft [[rose red]] dye.}}
{{History||v0.16.2|Beetroot can now be found in [[chest]]s inside large houses in [[snowy taiga]] and [[snowy tundra]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|[[Villager]]s can now can pick up beetroot to become willing.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Beetroot JE2 BE2.png|32px]] The texture of beetroot has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Beetroot can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Beetroot can now be sold to farmer villagers.}}

{{History|console}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|switch=1.0.1|[[File:Beetroot JE1 BE1.png|32px]] Added beetroots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Beetroot JE2 BE2.png|32px]] The texture of beetroot has been changed.}}

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

== Issues ==

{{Issue list}}

== Gallery ==

<gallery>
File:Beetrootstwitpic.png|The image released by [[Johan Bernhardsson]] on [[Wikipedia:Twitter|Twitter]].
File:Pigs following beetroot holder.png|Pigs following the [[player]].
File:Village Wheat Beetroot Farm.png|Beetroots generated in a [[village]].
File:Beetroot farm.png|A beetroot garden.
</gallery>

== References ==
{{Reflist}}

{{Items}}

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

[[cs:Červená řepa]]
[[de:Rote Bete]]
[[es:Remolacha]]
[[fr:Betterave]]
[[hu:Cékla]]
[[it:Barbabietola]]
[[ja:ビートルート]]
[[ko:비트]]
[[nl:Biet]]
[[pl:Burak]]
[[pt:Beterraba]]
[[ru:Свёкла]]
[[th:บีทรูท]]
[[uk:Буряк]]
[[zh:甜菜根]]</li><li>[[Cooked Salmon|Cooked Salmon]]<br/>{{Dungeons hatnote|type=consumable}}
{{Item
| title = Cooked Salmon
| image = Cooked Salmon.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = Yes (64)
}}
'''Cooked salmon''' is a [[food]] item obtained by cooking [[raw salmon]].

== Obtaining ==

=== Mob loot ===

====Salmon====
[[Salmon]] always drops 1 raw salmon when killed, unaffected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref> If it is killed while on [[fire]], it drops 1 [[Cooked Salmon|cooked salmon]] instead.
====Guardians and elder guardians====
[[Guardian|Guardians]] and [[Elder Guardian|elder guardians]] have a 2.5% chance to drop a random fish, with 25% of them being raw salmon, which drops as cooked if the guardian was on fire. The chance of getting the fish drop is increased by 1% per level with [[Looting]] (for a maximum of 5.5% with Looting III), but the type of fish is not affected.
====Polar bears ====
[[Polar bear]]s have a 25% chance of dropping 0–2 raw salmon when killed. The maximum amount can be increased by 1 per level of Looting, for a maximum of 0-5 with Looting III. If killed while on fire, they drop cooked salmon instead.
=== Cooking ===

Cooked salmon can be obtained by cooking raw salmon in a [[furnace]], [[smoker]], or on a [[campfire]]. Each piece of cooked salmon removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).

{{smelting|Raw Salmon|Cooked Salmon|0,35}}

=== Chest loot ===
{{LootChestItem|cooked-salmon}}

=== Trading ===

Apprentice-level fishermen villagers have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to sell 6 cooked salmon for 6 raw salmon and an [[emerald]].

== Usage ==

=== Food ===

To eat cooked salmon, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} and 9.6 [[Hunger#Mechanics|saturation]], the same as [[cooked mutton]].

=== Wolves ===

{{IN|Bedrock}}, cooked salmon can be fed to [[wolves]] only if they are not at full health, healing them by {{hp|6|mob=1}}. Cooked salmon does not accelerate 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=Cooked Salmon
|spritetype=item
|nameid=cooked_salmon
|itemtags=fishes
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Salmon
|spritetype=item
|nameid=cooked_salmon
|id=269
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Lion Hunter}}

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

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

== History ==

{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||1.8|snap=14w02a|Cooked salmon can no longer be [[trading|traded]] by [[villager]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>cooked_fish</code> IDs have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 349 and 250.}}
{{History|||snap=18w08b|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}
{{History|||snap=18w10a|Cooked salmon now generates in [[buried treasure]] [[chest]]s.}}
{{History|||snap=19w11a|Fisherman [[villager]]s can now convert raw salmon to cooked salmon, if [[trading|paid]] with emeralds.}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||v0.12.1|snap=build 1|Salmon now restores [[hunger]] instead of [[health]].}}
{{History||v0.16.0|snap=build 1|Salmon is now dropped by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked salmon can now be obtained from [[trading]] with fishermen [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.52|Salmon now drops cooked salmon when killed on [[fire]].}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Cooked Salmon JE2 BE2.png|32px]] The texture of cooked salmon has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cooked Salmon JE1 BE1.png|32px]] Added cooked salmon.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* [[Fishing]]
* [[Cooked Cod]]

{{items}}

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

[[de:Gebratener Lachs]]
[[es:Salmón ahumado]]
[[pt:Salmão assado]]
[[ko:익힌 연어]]
[[zh:熟鲑鱼]]
[[ru:Жареный лосось]]</li></ul>
22w03aAdded /placefeature.
Pocket Edition Alpha
v0.7.4
{{Extension DPL}}<ul><li>[[Glow Ink Sac|Glow Ink Sac]]<br/>{{For|the regular sac dropped by squids|Ink Sac}}
{{Item
|Image=Glow Ink Sac.png
| renewable = Yes
| stackable = Yes (64)
|}}

A '''glow ink sac''' is an item dropped by a [[glow squid]] upon death. Unlike regular ink sacs, it can be added to [[sign]]s to make glowing text, and can be used to craft glow item frames.

== Obtaining ==
=== Mob loot ===
[[Glow squid]]s drop 1–3 glow ink sacs upon death. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–6 with Looting III.

=== Compound creation ===
A glow ink sac can be created from its base [[element]]s, using the [[compound creator]].{{only|bedrock|education}}

{| class="wikitable"
!Name
!Elements
!Example recipe
|- <!-- Temporarily using crafting grid as substitute for compound creator (template not yet available), since the layout is the same, even if the appearance is different -->
!Glow Ink Sac
|1 Iron<br>1 Sulfur<br>4 Oxygen
|{{Crafting Table
|shapeless= 1
|A2=Iron |B2=Sulfur |C2=Oxygen,4
|Output=Glow Ink Sac}}
|}

== Usage ==	
=== Crafting ingredient ===
{{Crafting usage}}

=== Signs ===
[[File:Glow Ink Sign with Orange Dye JE2.png|thumb|150px|An oak sign with a glow ink sac used on it.]]
Glow ink sacs can be used on [[sign]]s or [[hanging sign]]s to make their text brighter in low light levels. This also adds an outline around the text on the sign, the color of which is based on the color of the sign's text. The text does not emit any light, it is only more visible in darkness, similarly to the eyes of spiders and endermen. Normal [[ink sacs]] can be applied to revert glowing text back to default.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|subtitle=Glow Ink Sac splotches
|source=block
|description=When a glow ink sac is used on a [[sign]]
|id=item.glow_ink_sac.use
|translationkey=subtitles.item.glow_ink_sac.use
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.95, or 1.05</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|source=sound
|description=When a glow ink sac is used on a sign
|id=sign.ink_sac.use
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Glow Ink Sac
|spritetype=item
|nameid=glow_ink_sac
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glow Ink Sac
|spritetype=item
|nameid=glow_ink_sac
|form=item
|id=503
|foot=1}}

== Advancements ==
{{load advancements|Glow and Behold}}

== History ==
{{History|java}}
{{History||1.17|snap=21w03a|[[File:Glow Ink Sac JE1 BE1.png|32px]] Added glow ink sacs.}}
{{History||1.17.1|snap=Pre-release 1|[[Zombie]]s, [[husk]]s, [[zombie villager]]s, and [[drowned]] no longer pick up [[glow ink sac]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Glow ink sacs can now be used to make the text glow on a [[hanging sign]].}}

{{History|bedrock}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.59|[[File:Glow Ink Sac JE1 BE1.png|32px]] Added glow ink sacs.}}
{{History|||snap=beta 1.16.210.60|Glow ink sacs have been removed temporarily.}}
{{History|||snap=beta 1.16.220.50|[[File:Glow Ink Sac JE1 BE1.png|32px]] Re-added glow ink sacs.}}
{{History||1.17.0|snap=beta 1.17.0.52|Glow ink sacs are now available without enabling [[experimental gameplay]].}}
{{History||1.17.30|snap=beta 1.17.30.20|[[Zombie]]s, [[husk]]s, [[zombie villager]]s, and [[drowned]] no longer pick up [[glow ink sac]]s.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--glow-ink-sac Taking Inventory: Glow Ink Sac] – Minecraft.net on October 14, 2021

{{Items}}

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

[[de:Leuchttintenbeutel]]
[[es:Saco de tinta luminosa]]
[[it:Sacca d'inchiostro luminescente]]
[[ja:輝くイカスミ]]
[[pl:Torbiel ze świecącym atramentem]]
[[pt:Bolsa de tinta brilhante]]
[[ru:Светящийся чернильный мешок]]
[[uk:Сяйний чорнильний мішок]]
[[zh:荧光墨囊]]</li><li>[[Diamond|Diamond]]<br/>{{For}}
{{redirect|Diamonds|the achievement|Achievements#DIAMONDS!|the advancement|Advancements#Diamonds!}}
{{Item
| image = Diamond.png
| renewable = No
| stackable = Yes (64)
| rarity = Common}}
A '''diamond''' is a mineral that can only be obtained from [[Diamond Ore|diamond ore]], [[chest loot|loot chests]] and [[Suspicious Block|suspicious blocks]]. It is required to craft diamond [[tool]]s and [[armor]] (and therefore obtain [[obsidian]] to access the [[The Nether|Nether]]), [[enchanting table]]s, [[jukebox]]es and duplicate [[smithing template]]s.

== Obtaining ==
{{see also|Tutorials/Diamonds}}
=== Mining ===
{{see also|Diamond Ore#Natural generation}}
[[Diamond ore]] can be mined using an iron [[pickaxe]] or stronger. An ore drops a single diamond. If mined by any other tool, it drops nothing. If the pickaxe is enchanted with [[Fortune]], it can drop an extra diamond per level of Fortune, allowing for a maximum of 4 diamonds with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops an ore block rather than a diamond. The ore is found at level 15 or lower, most commonly between -50 and -64; levels -58 and -59 are the preferred levels to mine at since they don't contain [[bedrock]], as it starts spawning at -60.

=== Chest loot ===
{{LootChestItem|diamond}}

=== Suspicious sand ===

When brushing [[suspicious sand]] in [[desert pyramid]]s, they have a {{frac|1|7}} chance to drop a diamond.

=== Crafting ===
{{Crafting
|Block of Diamond
|Output= Diamond,9
|type= Material
}}

=== Smelting ===
{{Smelting
|showname=1
|Diamond Ore; Deepslate Diamond Ore
|Diamond
|1
}}

== Usage ==

Diamonds are mainly used to craft high-tier armor and equipment, which in turn are also used in making [[netherite]] armor and equipment. 

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===

{{IN|bedrock}}, expert-level armorer, toolsmith, and weaponsmith villagers buy one diamond for an emerald as part of their trades.

{{IN|java}}, journeyman-level armorer villagers have a 40% chance of offering to buy one diamond for one emerald. Expert-level toolsmith villagers have {{frac|2|3}} chance of offering to buy one diamond for one emerald. Expert-level weaponsmith villagers always offer to buy one diamond for one emerald.

=== Repairing ===

Diamonds are the repair items for the diamond [[tier]] and [[armor material]], and thus can be used to [[item repair|repair]] the following items in an [[anvil]] or [[grindstone]]:
* {{ItemLink|Diamond Helmet}}
* {{ItemLink|Diamond Chestplate}}
* {{ItemLink|Diamond Leggings}}
* {{ItemLink|Diamond Boots}}
* {{ItemLink|Diamond Sword}}
* {{ItemLink|Diamond Pickaxe}}
* {{ItemLink|Diamond Axe}}
* {{ItemLink|Diamond Shovel}}
* {{ItemLink|Diamond Hoe}}

=== Beacons ===

Diamonds can be used to select powers from a [[beacon]]. The player must select one of the available powers then insert a diamond into the item slot. 

A diamond can be substituted for an [[iron ingot]], a [[gold ingot]], an [[emerald]] or a [[netherite ingot]].

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Diamond
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Diamond
|Diamond Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}

;Trim color palette
The following color palettes are shown on the designs on trimmed armor:
*{{TrimPalette|diamond}}
*{{TrimPalette|diamond|darker=1}} (a darker color palette is used when a diamond armor piece is trimmed using a diamond).

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Diamond
|spritetype=item
|nameid=diamond
|itemtags=beacon_payment_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Diamond
|spritetype=item
|nameid=diamond
|id=304
|form=item
|foot=1}}

== Achievements ==

{{load achievements|DIAMONDS!;Diamonds to you!;Enchanter}}

== Advancements ==

{{load advancements|Diamonds!}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100128|[[File:Diamond JE1 BE1.png|32px]] Added diamonds. Initially, they were referred to as "emeralds".
|A stack of 100 diamonds can be found inside the  [[Indev house]] [[chest]]s.}}
{{History|||snap=20100129|Diamond can be used to craft [[diamond block]]s and diamond [[sword]]s, [[shovel]]s, [[pickaxe]]s and [[axe]]s.
|Diamonds can no longer be found inside the Indev House due to all items having been removed from its chests.
|Diamond can be obtained by smelting diamond blocks.}}
{{History|||snap=20100130|[[Emerald]]s from the previous version are now officially known as "diamonds", though this has no actual effect as item names are not yet displayed in-game.
|[[Diamond block]]s now require 9 diamonds (3×3) instead of 4 (2×2) to be [[crafting|crafted]], making them much more expensive.}}
{{History||20100206|Diamonds are now used to craft diamond [[hoe]]s.}}
{{History||20100212-1|Diamonds are now used to craft diamond [[helmet]]s, [[chestplate]]s, [[leggings]] and [[boots]].}}
{{History|java alpha}}
{{History||v1.0.14|Diamonds are now used to craft [[jukebox]]es.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Diamonds are now found in [[mineshaft]] [[chest]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[Diamond ore]] can now be [[smelting|smelted]] into diamonds.}}
{{History|||snap=Beta 1.9 Prerelease 3|Diamonds are now used to craft [[enchantment table]]s.
|Diamonds are now found in [[stronghold]] altar [[chest]]s.}}
{{History||1.1|snap=12w01a|Diamonds are now found in [[village]] [[villager|blacksmith]] [[chest]]s.}}
{{History||1.3.1|snap=12w21a|Diamonds can now be [[trading|traded]] to blacksmith [[villager]]s in quantities of 3–5 for 1 [[emerald]].
|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing diamonds.}}
{{History|||snap=12w21b|Diamonds have been changed in the game code from "emerald" to "diamond", due to actual [[emerald]]s being added. Diamond's original name during [[Indev]], as stated above, was emerald in the code, and was kept this way until this snapshot.}}
{{History|||snap=12w22a|Added [[jungle temple]]s, which contain loot [[chest]]s with diamonds.}}
{{History|||snap=1.3|[[File:Diamond JE2 BE2.png|32px]] The texture of diamonds has been changed.}}
{{History||1.4.6|snap=12w49a|Diamonds can now be used to [[crafting|craft]] a [[firework star]] with a trail.}}
{{History||1.6.1|snap=13w16a|Diamond is now used to craft diamond [[horse armor]].}}
{{History|||snap=13w18a|Diamond is no longer used to craft diamond [[horse armor]].|Diamonds are now found in [[nether fortress]] [[chest]]s.}}
{{History||1.8|snap=14w02a|Diamonds can now be [[traded]] to any black apron [[villager]] in quantities of 3–4 for 1 [[emerald]], as their tier III trade.}}
{{History||1.9|snap=15w31a|Diamonds now generate in [[end city]] [[chest]]s.}}
{{History|||snap=15w43a|The average yield of diamonds have been slightly decreased in [[nether fortress]] chests.}}
{{History|||snap=15w44a|The average yield of diamonds in [[desert temple]] and [[mineshaft]] chests have been decreased.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 264.}}
{{History|||snap=18w10a|Diamonds now generate in [[buried treasure]] [[chest]]s.}}
{{History|||snap=18w11a|Diamonds now generate in [[shipwreck]] treasure chests.}}
{{History||1.14|snap=18w43a|[[File:Diamond JE3 BE3.png|32px]] The texture of diamonds has been changed.}}
{{History|||snap=18w50a|Diamonds can now be found in [[chest]]s in [[village]] toolsmith houses.}}
{{History||1.16|snap=20w16a|Diamonds now generate in bastion remnants chests.}}
{{History||1.16.2|snap=20w30a|The chance of finding diamonds in bastion remnant chests is increased from 8.6% to 15.8%.}}
{{History||1.17|snap=21w08a|Diamonds can now drop and be smelted from [[deepslate diamond ore]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Diamonds can now be used to craft [[smithing template]]s.
|Diamonds can now be used as an armor trim material.}}
{{History|||snap=23w07a|Diamonds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s.}}
{{History||1.20|snap=23w12a|The probability for the diamond to generate in the [[suspicious sand]] in [[desert temple]] has been changed from 1/7 to 1/8.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Diamond JE1 BE1.png|32px]] Added diamonds. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.2|Diamonds can be collected and used to craft [[blocks of diamond]] and diamond [[axe]]s, [[pickaxe]]s, [[sword]]s and [[shovel]]s.}}
{{History||v0.4.0|Diamonds are now used to [[crafting|craft]] diamond [[hoe]]s.}}
{{History||v0.5.0|Diamonds are now used to craft [[nether reactor core]]s.}}
{{History||v0.6.0|Diamonds are now used to craft diamond [[armor]].}}
{{History||v0.8.0|snap=build 1|[[File:Diamond JE2 BE2.png|32px]] The texture of diamonds has been changed.}}
{{History||v0.12.1|snap=build 1|Diamonds are now used to craft [[enchanting table]]s.
|Diamonds are no longer used to craft [[nether reactor core]]s and are now instead dropped by it.
|Diamonds now generate in [[nether fortress]] [[chest]]s.}}
{{History||v0.13.0|snap=build 1|Diamonds now have a chance to generate in [[desert temple]] chests.}}
{{History||v0.14.0|snap=build 1|Diamonds are now found in [[minecart with chest]]s in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Diamonds can now be found in [[jungle temple]] [[chest]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Diamonds can now be found in altar [[chest]]s in [[stronghold]]s, [[dungeon]] chests and [[end city]] chests.}}
{{History|||snap=alpha 1.0.0.0|Diamonds can now be found in [[villager|blacksmith]] [[chest]]s in [[village]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|3-4 diamonds can now be traded to blacksmith [[villager]]s for an [[emerald]] as part of their third tier trades.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Diamonds can now be used to [[crafting|craft]] a [[firework star]] with a trail. 
|Diamonds can now be used to craft [[jukebox]]es.}}
{{History||1.4.0|snap=beta 1.2.14.2|Diamonds can now be found inside [[buried treasure]] [[chest]]s and [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Diamonds can now be found in [[plains]] [[village]] weaponsmith chests.
|[[File:Diamond JE3 BE3.png|32px]] The texture of diamonds has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Diamonds can now be found in village toolsmith chests and in [[savanna]], [[desert]], [[taiga]], and [[snowy taiga]] village weaponsmith chests.}}
{{History|||snap=beta 1.11.0.4|Armorer, toolsmith, and weaponsmith [[villager]]s now [[trading|buy]] one diamond for an [[emerald]] as part of their fourth tier [[trading|trades]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Diamonds can now be found in [[bastion remnant]] chests.}}
{{History||1.17.0|snap=beta 1.16.230.52|Diamonds can now drop and be smelted from [[deepslate diamond ore]].}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Diamonds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Diamonds can now be used to craft [[smithing template]]s.
|Diamonds can now be used as an armor trim material.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Diamond JE1 BE1.png|32px]] Added diamonds.}}
{{History||xbox=TU5|Diamonds are now found in the new [[mineshaft]] [[chest]]s.}}
{{History||xbox=TU7|Diamonds are now used to craft [[enchantment table]]s.}}
{{History||xbox=TU9|Diamonds are now found in [[village]] [[villager|blacksmith]] [[chest]]s.}}
{{History||xbox=TU14|ps=1.04|Diamonds can now be [[trading|traded]] to blacksmith [[villager]]s in quantities of 3–5 for 1 [[emerald]].
|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing diamonds.|Added [[jungle temple]]s, which contain loot [[chest]]s with diamonds.|[[File:Diamond JE2 BE2.png|32px]] The texture of diamonds has been changed.}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|Diamonds can now be used to [[crafting|craft]] a [[firework star]] with a trail|Diamonds are now found in the new [[nether fortress]] [[chest]]s.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Diamonds can now be [[traded]] to any black apron [[villager]] in quantities of 3–4 for 1 [[emerald]], as their tier III trade.}}
{{History||xbox=TU46|xbone=CU36|ps=1.36|wiiu=Patch 15|Diamonds now generate in [[end city]] [[chest]]s.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Diamonds now generate in [[buried treasure]] [[chest]]s.|Diamonds now generate in [[shipwreck]] treasure chests.}}
{{History||xbox=none|ps=1.90|wiiu=none|[[File:Diamond JE3 BE3.png|32px]] The texture of diamonds has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Diamond JE2 BE2.png|32px]] Added diamonds.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*Unlike in ''Minecraft'', newly mined [[Wikipedia:Diamond|diamond]]s in real life are rough, cloudy stones. The largest, purest ones are polished into crystal-clear gemstones, while the rest are used in industry for cutting and grinding.
*Although diamonds themselves are not renewable, all tools, weapons, and armor made from diamonds can be acquired through [[trading]], and are therefore renewable. Other items crafted from diamonds are not renewable.
*In the April fools version [[Java Edition 2.0]], [[Diamond Chicken|diamond chickens]] can lay diamonds. This does not exist in newer versions, as this was a joke.
*The item forms of diamonds and [[Turtle Egg|turtle eggs]] have the same shape.

==Gallery==
<gallery>
File:DiamondOre.png|Naturally occurring diamonds.
File:MultipleOreBlobs.png|Multiple ore blobs.
File:Lava Diamond.png|Diamond ore near Lava.
File:Diamond ore blob.png|Another Diamond ore blob near Lava.
File:10 ore diamond blob.png|10 ore diamond blob.
File:Trading a diamond for an emerald.png|A blacksmith offering an [[emerald]] for a diamond.
File:Diamond Pendant Necklace JINX.jpg|Official diamond pendant made by [https://www.jinx.com JINX].
File:All Mine JINX.jpg|Official t-shirt artwork "All Mine" which features a diamond. Made by JINX
File:4 ways of viewing 12 diamonds in stone form.png|4 ways of viewing 12 diamonds in stone form
</gallery>

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--diamond Taking Inventory: Diamond] – Minecraft.net on February 20, 2019

{{items}}

[[cs:Diamant]]
[[de:Diamant]]
[[el:Διαμάντι]]
[[es:Diamante]]
[[fr:Diamant]]
[[hu:Gyémánt]]
[[it:Diamante]]
[[ja:ダイヤモンド]]
[[ko:다이아몬드]]
[[nl:Diamant]]
[[pl:Diament]]
[[pt:Diamante]]
[[ru:Алмаз]]
[[th:เพชร]]
[[tr:Elmas]]
[[uk:Діамант]]
[[zh:钻石]]
[[Category:Non-renewable resources]]</li></ul>
Added support for commands, though none are implemented yet.
v0.16.0
{{Extension DPL}}<ul><li>[[Glow Ink Sac|Glow Ink Sac]]<br/>{{For|the regular sac dropped by squids|Ink Sac}}
{{Item
|Image=Glow Ink Sac.png
| renewable = Yes
| stackable = Yes (64)
|}}

A '''glow ink sac''' is an item dropped by a [[glow squid]] upon death. Unlike regular ink sacs, it can be added to [[sign]]s to make glowing text, and can be used to craft glow item frames.

== Obtaining ==
=== Mob loot ===
[[Glow squid]]s drop 1–3 glow ink sacs upon death. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–6 with Looting III.

=== Compound creation ===
A glow ink sac can be created from its base [[element]]s, using the [[compound creator]].{{only|bedrock|education}}

{| class="wikitable"
!Name
!Elements
!Example recipe
|- <!-- Temporarily using crafting grid as substitute for compound creator (template not yet available), since the layout is the same, even if the appearance is different -->
!Glow Ink Sac
|1 Iron<br>1 Sulfur<br>4 Oxygen
|{{Crafting Table
|shapeless= 1
|A2=Iron |B2=Sulfur |C2=Oxygen,4
|Output=Glow Ink Sac}}
|}

== Usage ==	
=== Crafting ingredient ===
{{Crafting usage}}

=== Signs ===
[[File:Glow Ink Sign with Orange Dye JE2.png|thumb|150px|An oak sign with a glow ink sac used on it.]]
Glow ink sacs can be used on [[sign]]s or [[hanging sign]]s to make their text brighter in low light levels. This also adds an outline around the text on the sign, the color of which is based on the color of the sign's text. The text does not emit any light, it is only more visible in darkness, similarly to the eyes of spiders and endermen. Normal [[ink sacs]] can be applied to revert glowing text back to default.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|subtitle=Glow Ink Sac splotches
|source=block
|description=When a glow ink sac is used on a [[sign]]
|id=item.glow_ink_sac.use
|translationkey=subtitles.item.glow_ink_sac.use
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.95, or 1.05</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|source=sound
|description=When a glow ink sac is used on a sign
|id=sign.ink_sac.use
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Glow Ink Sac
|spritetype=item
|nameid=glow_ink_sac
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glow Ink Sac
|spritetype=item
|nameid=glow_ink_sac
|form=item
|id=503
|foot=1}}

== Advancements ==
{{load advancements|Glow and Behold}}

== History ==
{{History|java}}
{{History||1.17|snap=21w03a|[[File:Glow Ink Sac JE1 BE1.png|32px]] Added glow ink sacs.}}
{{History||1.17.1|snap=Pre-release 1|[[Zombie]]s, [[husk]]s, [[zombie villager]]s, and [[drowned]] no longer pick up [[glow ink sac]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Glow ink sacs can now be used to make the text glow on a [[hanging sign]].}}

{{History|bedrock}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.59|[[File:Glow Ink Sac JE1 BE1.png|32px]] Added glow ink sacs.}}
{{History|||snap=beta 1.16.210.60|Glow ink sacs have been removed temporarily.}}
{{History|||snap=beta 1.16.220.50|[[File:Glow Ink Sac JE1 BE1.png|32px]] Re-added glow ink sacs.}}
{{History||1.17.0|snap=beta 1.17.0.52|Glow ink sacs are now available without enabling [[experimental gameplay]].}}
{{History||1.17.30|snap=beta 1.17.30.20|[[Zombie]]s, [[husk]]s, [[zombie villager]]s, and [[drowned]] no longer pick up [[glow ink sac]]s.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--glow-ink-sac Taking Inventory: Glow Ink Sac] – Minecraft.net on October 14, 2021

{{Items}}

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

[[de:Leuchttintenbeutel]]
[[es:Saco de tinta luminosa]]
[[it:Sacca d'inchiostro luminescente]]
[[ja:輝くイカスミ]]
[[pl:Torbiel ze świecącym atramentem]]
[[pt:Bolsa de tinta brilhante]]
[[ru:Светящийся чернильный мешок]]
[[uk:Сяйний чорнильний мішок]]
[[zh:荧光墨囊]]</li><li>[[Bread|Bread]]<br/>{{dungeons hatnote|type=item}}
{{Item
| title = Bread
| image = Bread.png
| renewable = Yes
| heals = {{hunger|5}}
| stackable = Yes (64)
}}
'''Bread''' is a [[food]] [[item]] that can be eaten by the [[player]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |A2=Wheat
  |B2=Wheat
  |C2=Wheat
  |Output=Bread
  |type=Foodstuff
}}

=== Chest loot ===

{{LootChestItem|bread}}

=== Trading ===

Novice-level farmer [[Villager|villagers]] sell 6 bread for one [[emerald]] as part of their [[Trading|trades]]. {{IN|java}} they only have a 40% chance of offering this trade.

=== Villager gifts ===

Farmer villagers may use wheat they have harvested to craft bread, which they can trade with other villagers.

Farmer villagers may throw bread at players under the [[Hero of the Village]] effect.{{only|java}}

== Usage ==

=== Food ===
{{see also|Tutorials/Hunger management|title1= Hunger management}}

Bread can be eaten with the use control while it is selected in the [[hotbar]]. Eating bread restores {{hunger|5}} [[hunger]] and 6.0 [[Hunger#Mechanics|hunger saturation]].

=== Breeding ===

Villagers can pick up bread items to become willing, allowing them to breed. Villagers require 3 bread to become willing.

=== Composting ===
Placing bread into a [[composter]] has an 85% chance of raising the compost level by 1. It is more efficient to compost [[wheat]] than bread made from wheat.

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Bread
|spritetype=item
|nameid=bread
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bread
|spritetype=item
|nameid=bread
|id=261
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Bake Bread}}

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

== History ==

{{History|java indev}}
{{History||20100206|[[File:Bread JE1 BE1.png|32px]] Bread has been added, which now restores {{hp|5}}.}}
{{History||20100223|Bread now requires 3 [[wheat]] (1 row of 3) instead of 6 (2 rows of 3) to be crafted.}}
{{History|java infdev}}
{{History||?|Bread is no longer stackable.}}
{{History||20100625-2|Bread can now be found in the new [[dungeon]] [[chest]]s.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Bread is now stackable to 64.
|Bread now restores {{hunger|5}} instead of {{hp|5}}.
|[[Dungeon]] [[chests]] now contain more bread, now that it stacks.
|Bread can now be found in the new [[stronghold]] storerooms and [[mineshaft]] [[chest]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Bread can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History||1.1|snap=12w01a|Bread can now be found in the new [[village]] blacksmith chests.}}
{{History||1.3.1|snap=12w16a|Bread can now be found in the new [[bonus chest]]s.}}
{{History|||snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 3–4 loaves of bread for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Bread JE2 BE2.png|32px]] The dark outline has now been removed from the bread texture.}}
{{History||1.6.1|snap=13w16a|Bread can now be used to feed [[horse]]s.}}
{{History||1.8|snap=14w02a|Farmer [[villager]]s now [[trading|sell]] 2–4 loaves of bread for 1 [[emerald]].}}
{{History|||snap=14w26c|[[Horse]]s no longer can eat bread.}}
{{History||1.9|snap=15w44a|The average yield of bread from [[mineshaft]] and [[dungeon]] [[chest]]s has now been decreased.}}
{{History||1.11|snap=16w39a|Bread can now found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 297.}}
{{History||1.14|snap=18w43a|[[File:Bread JE3 BE3.png|32px]] The texture of bread has now been changed.}}
{{History|||snap=18w48a|Bread can now generate inside chests in cartographer houses, tanneries and plains [[village]] houses.}}
{{History|||snap=18w49a|Bread can now generate inside chests in mason houses, and savanna and snowy [[village]] houses.}}
{{History|||snap=18w50a|Bread can now generate inside chests in village temples, toolsmith, and desert and taiga [[village]] houses.}}
{{History|||snap=19w03a|Placing bread into the new [[composter]] now has an 80% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Bread now has an 85% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w13a|Farmer villagers now give bread to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Bread JE1 BE1.png|32px]] Added bread.}}
{{History||v0.5.0|Bread now restores {{hp|5}} instead of {{hp|2}}.}}
{{History||v0.8.0|snap=build 1|[[File:Bread JE2 BE2.png|32px]] The dark outline has now been removed from the bread texture.}}
{{History||v0.12.1|snap=build 1|Bread now restores [[hunger]] instead of [[health]].}}
{{History||v0.14.0|snap=build 1|Bread can now be found inside [[minecart with chest]]s in [[mineshaft]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|[[Villager]]s now require bread to become willing, in order to [[breeding|breed]].
|Farmer [[villager]]s now [[trading|sell]] 2-4 loaves of bread for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Bread can now be found in [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Bread can now be found inside [[bonus chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Bread JE3 BE3.png|32px]] The texture of bread has now been changed.
|Bread can now be found inside [[plains]] [[village]] houses [[chest]]s, plains tannery house chests, village cartographer house chests and plains weaponsmith chests.}}
{{History||1.11.0|snap=beta 1.11.0.1|Bread can now be found in village chests other than plains.
|Bread can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now [[trading|sell]] 6 bread for one [[emerald]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Bread JE1 BE1.png|32px]] Added bread.}}
{{History||xbox=TU5|Bread is now stackable to 64. 
|Bread now restores [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Bread JE2 BE2.png|32px]] The dark outline has now been removed from the bread texture.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Bread JE3 BE3.png|32px]] The texture of bread has now been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Bread JE2 BE2.png|32px]] Added bread.}}
{{History|foot}}

== Issues ==
{{issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--bread Taking Inventory: Bread] – Minecraft.net on February 25, 2021

{{Items}}

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

[[cs:Chléb]]
[[de:Brot]]
[[es:Pan]]
[[fr:Pain]]
[[hu:Kenyér]]
[[it:Pane]]
[[ja:パン]]
[[ko:빵]]
[[nl:Brood]]
[[pl:Chleb]]
[[pt:Pão]]
[[ru:Хлеб]]
[[th:ขนมปัง]]
[[uk:Хліб]]
[[zh:面包]]</li></ul>
build 1Added commands.
Functionality of most commands is equivalent to Java Edition 1.10 usage. Differences include: no support for data tags.
Bedrock Edition
1.2.0
{{Extension DPL}}<ul><li>[[Chain|Chain]]<br/>{{about|the block|the enchantment in Minecraft Dungeons|MCD:Chains|the armor tier named chainmail|Armor|the armor material called chainmail|Armor materials}}
{{Block
|image=<gallery>
Chain Axis Y.png | Y-axis
Chain Axis X.png | X-axis
Chain Axis Z.png | Z-axis
</gallery>
| transparent = Yes
| light = No
| tool = Wooden pickaxe
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}

'''Chains''' are metallic decoration [[block]]s.

== Obtaining ==
=== Breaking ===

Chains can be mined using any [[pickaxe]]. If mined without a pickaxe, it drops nothing.
{{breaking row|Chain|Pickaxe|Wood|horizontal=1}}

=== Natural generation ===
Chains generate in [[bastion remnant]]s and sometimes in [[ruined portal]]s that generate in the Nether. They always generate above [[magma cube]] spawners, also found in [[bastion]]s.

Chains can also generate in [[mineshafts]]. They generate on the sides of a wooden bridge (a mid-air corridor) when the distance between the bridge and the highest solid block below it is higher than the distance to the lowest solid block above it. Chains here generate vertically in a pillar between the bridge and the ceiling. The lowest block of the pillar, connecting the chain to the bridge, is always an [[oak fence]].

=== Chest loot ===
{{LootChestItem|chain}}

=== Crafting ===
{{Crafting
|B1=Iron Nugget
|B2=Iron Ingot
|B3=Iron Nugget
|Output=Chain
|type=Building block
}}

== Usage ==
Chains can be used to suspend [[bell]]s, [[hanging sign]]s, or both types of [[lantern]]s (normal lanterns and soul lanterns), as the chain texture connects to the chain of the lantern seamlessly as if it were part of it, and it connects the hanging sign chains together. Chains do not require a supporting block to be placed whether it is on the top, next to it or at the bottom. It can exist completely free-standing in mid air<ref>{{bug|MC-178791}}</ref> and it can be rotated. Chains connect horizontally or vertically, but not across different orientations (so a chain with N orientation does not connect to a chain with E orientation in the adjacent block).
Horizontal chains one block above a surface may be walked over. Horizontal chains two blocks above a surface prevent players from traveling past them. Vertical chains block travel if targeted directly, but may be skirted.

Precision is required, but chains can be walked on, allowing for inconspicuous, although somewhat costly, bridges.

Chains can be pushed by [[piston]]s without being broken.

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

== Sounds ==
{{Sound table/Block/Chain}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Chain
|spritetype=block
|nameid=chain
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Chain
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=chain
|spritetype=block
|nameid=chain
|id=541
|form=block
|itemform=item.chain}}
{{ID table
|displayname=Item
|spritename=chain
|spritetype=item
|nameid=chain
|id=619
|form=item
|translationkey=tile.chain.name
|foot=1}}

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

== History ==
{{History|java}}
{{History||1.16|snap=20w16a|[[File:Chain (item) JE1 BE1.png|32px]] [[File:Chain Axis Y JE1 BE1.png|32px]] Added chains.
|Chains generate in the newly added [[bastion remnant]]s, and can be found in their [[chest]]s.
|Chains currently use the generic metal [[block]] [[sound]]s.}}
{{History|||snap=20w17a|Unique [[sound]]s have been added for chains.}}
{{History|||snap=20w18a|Chains can now be [[waterlogged]].}}
{{History||1.16.2|snap=20w30a|The chance of finding chains in bastion remnant chests is decreased from 31.5% to 24.4%.}}
{{History|||snap=Pre-release 1|[[File:Chain Axis X JE1 BE1.png|32px]] [[File:Chain Axis Z JE1 BE1.png|32px]] Chains can now be placed in all orientations.}}
{{History||1.17|snap=21w07a|Chains can now generate in [[mineshaft]]s.}}
{{History|||snap=21w13a|[[File:Chain (UD) JE2.png|32px]] [[File:Chain (NS) JE2.png|32px]] [[File:Chain (EW) JE2.png|32px]] The model of chains has been changed so that the backside texture is mirrored.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Chains are now used to craft [[hanging sign]]s.}}

{{History|bedrock}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Chain_(item)_JE1_BE1.png|32px]] [[File:Chain Axis Y JE1 BE1.png|32px]] Added chains.}}
{{History|||snap=beta 1.16.0.63|Unique [[sound]]s have been added for chains.}}
{{History||1.16.100|snap=beta 1.16.100.54|[[File:Chain Axis X JE1 BE1.png|32px]] [[File:Chain Axis Z JE1 BE1.png|32px]] Chains can now be placed in all orientations.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|Chains are now used to craft [[hanging sign]]s.}}
{{History|foot}}

== Issues ==
{{issue list}}
== Trivia ==
* A vertical chain, being a solid, but not a full [[block]], allows for many sizes of [[mob]]s and [[player]]s to pass alongside each piece horizontally.
* Despite its name, it cannot be [[crafted]] into [[chainmail armor]].<ref>{{bug|MC-178979}} - Invalid</ref>
* Chains do not stick together when moved by pistons, regardless of orientation.

== Gallery ==
<gallery>
Chained Stone Bricks.jpg|Chains and stone bricks.
Barbell.jpg|Chains and chiseled blackstone.
Barbell Evoker.jpg|An evoker lifting weights.
Chain with Lantern.png|A [[lantern]] hanging from a chain.
Chain with Spawner.png|A [[spawner]] hanging with a chain found in the bastion remnants.
</gallery>

== References ==
{{reflist}}

{{blocks|Building}}
{{Items}}

[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Nether blocks]]

[[de:Kette]]
[[es:Cadena]]
[[fr:Chaîne]]
[[ja:鎖]]
[[ko:사슬]]
[[pl:Łańcuch]]
[[pt:Corrente]]
[[ru:Цепь]]
[[zh:锁链]]</li><li>[[Bottle of Entity|Bottle of Entity]]<br/>{{joke feature}}
{{exclusive|java}}
{{WIP}}
{{see also|Potion|Splash Potion}}
{{Item
|image=Bottle of Entity.png
|image2=Splash Bottle of Entity.png
|image3=Bottle of Void.png
|stackable= No
}}

'''Bottles of entity''' are items that transform players into the respective mobs when drunk.

'''Splash bottle of entity''' are a variation of bottles of mob that can be thrown.

'''Bottle of void''' is a special bottle to transform back to the original player. Right clicking with it on a transformed player will remove the transformation and convert the bottle into a bottle of entity of that transformation.

A transformation into an entity will sometimes lead to special effects. For example, transforming into a chicken will allow the player to glide slowly to the ground. The chicken will however take fall damage upon landing, killing it and transforming the player back to themselves.
Transforming into an enderman will cause the player to be teleported randomly when a projectile it aimed at it or when they're being looked at by other players. Transforming into any mob capable of flight (for example, a bat) will allow the player to fly in survival mode as if they were in creative mode.

== Sounds ==<!--No sounds when thrown from a player or dispenser-->
Splash bottles of entities use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|subtitle=Bottle fills
|source=neutral
|description=When an entity is collected using a bottle of void
|id=item.bottle.fill
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Drink.ogg
|subtitle=Sipping
|source=player
|description=While a player is drinking a bottle of entity
|id=entity.generic.drink
|translationkey=subtitles.entity.generic.drink
|volume=0.5
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Glass dig1.ogg
|sound2=Glass dig2.ogg
|sound3=Glass dig3.ogg
|subtitle=Bottle smashes
|source=neutral
|description=When a splash bottle of entity impacts something <ref group=sound>This sound is played six times simultaneously</ref>
|id=entity.splash_potion.break
|translationkey=subtitles.entity.potion.splash
|volume=1.0
|pitch=0.9-1.0
|distance=16
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Bottle of Entity
|spritetype=item
|nameid=bottle_of_entity
|form=item
|translationkey=item.minecraft.bottle_of_entity,item.minecraft.bottle_of_entity.specific}}
{{ID table
|showforms=y
|generatetranslationkeys=y
|displayname=Splash Bottle of Entity
|spritetype=item
|nameid=splash_bottle_of_entity
|form=item
|translationkey=item.minecraft.splash_bottle_of_entity,item.minecraft.splash_bottle_of_entity.specific}}
{{ID table
|showforms=y
|generatetranslationkeys=y
|displayname=Bottle of Void
|spritetype=item
|nameid=bottle_of_void
|form=item
|translationkey=item.minecraft.bottle_of_void
|foot=1}}

== History ==
{{History|java}}
{{History||23w13a_or_b|[[File:Bottle of Entity.png|32px]] [[File:Splash Bottle of Entity.png|32px]] [[File:Bottle of Void.png|32px]] Added bottle of entity, splash bottle of entity, and bottle of void.}}
{{History|foot}}

{{items}}
{{Jokes}}

[[ja:Bottle of Entity]]
[[pt:Frasco de entidade]]
[[Category:Joke items]]</li></ul>
?A new command parsing system is now used.

Issues

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

See also

References