Minecraft Wiki
Register
Advertisement

Commands are advanced functions activated by typing certain strings of text.

Usage

In a regular Minecraft client or the stand alone client, commands are entered via Minecraft's chat window, which is displayed by pressing the T key (default) or / key. Using the / key will also enter the forward slash that commands require as a prefix, so it is a useful shortcut. Pressing Tab ↹ while entering commands cycles through possible commands or arguments.

Commands may also be entered in a multiplayer server's console, but are not preceded by a / when entered this way. Commands in command blocks can be preceded by a slash, but it is not required. Commands in a command block may also require an optional argument, usually a player's username.

The majority of commands are only available in the following situations:

  • In a Minecraft multiplayer server game, entered by an operator or command block.
  • In other multiplayer games, entered by the player who opened a LAN game with cheats enabled, or is hosting their own multiplayer server
  • In singleplayer, if cheats were enabled at world creation (via the "More World Options..." button).

Some player commands are also available in singleplayer even when cheats are not enabled.

Note: 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"). You do not actually need to be on a LAN or have others join. This is not permanent, but will allow the use of commands until you quit the world, and changes you make via commands (items spawned, etc.) will be saved with the world. You can do this each time you start playing the world again. Note that this will disable game pausing for the duration, so while open to LAN, you should get somewhere safe or reload your world before using the Game Menu. Remember that you can disable your LAN world by reloading the world.

Tilde notation

Many commands allow relative coordinates to be specified using tildes (~). A number following a tilde is an offset from something rather than a coordinate. The sign of the offset specifies whether to go in the positive or negative direction for that axis. A single tilde by itself is shorthand for ~0.

For example, tp 0 64 0 will teleport the user to the coordinate (0, 64, 0), while tp ~3 ~ ~-3 will teleport the user to a position +3 blocks in the "x" direction (i.e., east), keep their current height, and -3 blocks in the "z" direction (i.e., north).

Usually absolute coordinates can be mixed with relative coordinates. For example, tp ~ 64 ~ will keep the user's "x" and "z" coordinates the same, but teleport them to absolute height 64.

The origin for the offset depends on the command. For example, for /tp the offset is from the starting position. Other common offsets include from the position of the command's execution or from another coordinate specified by the command.

Target selectors

In most commands where a player may be specified as an argument, it is possible to "target" one or more players satisfying certain conditions instead of specifying players by name. To target players by condition, choose a target selector variable and, optionally, one or more target selector arguments to modify the conditions to be satisfied.

For example, to change the game mode of all players on team Red to creative mode, instead of specifying them by name individually:

/gamemode creative @a[team=Red]


Target selector variables

Summary of target selector variables
Variable Function
@p nearest player
@r random player
@a all players
@e all entities

A target selector variable identifies the broad category of targets to select. There are four variables:

@p
Targets the nearest player. If there are multiple nearest players, caused by them being precisely the same distance away, a player is selected by the time the player most recently joined the server.
Target selector arguments may be used to reduce the set of players from which the nearest player will be selected. For example, @p[team=Red] will target the nearest player on team Red even if there are other players closer.
The c target selector argument can be used to increase the number of nearest players targeted (for example, @p[c=3] will target the three nearest players). When negative, c will reverse the order of targeting (for example, @p[c=-1] will target the farthest player).
@r
Targets a random player.
Target selector arguments may be used to reduce the set of players from which a random player will be targeted. For example, @r[team=Red] will only target a random player from team Red.
The c target selector argument can be used to increase the number of random players targeted. For example, @r[c=3] will target three random players.
@a
Targets all players.
Target selector arguments may be used to reduce the set of players targeted. For example, @a[team=Red] will only target players on team Red.
@e
Targets all entities (including players).
Target selector arguments may be used to reduce the set of entities targeted. For example, @e[type=Cow] will only target cows.


Target selector arguments

Summary of target selector arguments
Argument(s) Selection criteria
x, y, z coordinate
r, rm radius (max, min)
m game mode
c count
l, lm experience (max, min)
score_name max score
score_name_min min score
team team name
name player name
dx, dy, dz volume dimensions
rx, rxm vertical rotation (max, min)
ry, rym horizontal rotation (max, min)
type entity type

After using a target selector, you can optionally use arguments to modify the set of targets selected. When used with @a or @e, arguments narrow down the number of targets from the full list to a specific few. When used with @p or @r, arguments narrow the number of targets down from the full list to a smaller set from which the nearest or random player is selected.

Add argument-value pairs as a comma-separated list contained within square brackets after the target selector variable:

@<variable>[<argument>=<value>,<argument>=<value>,…].

Spaces are not allowed around the brackets, equal signs, or commas, and only commas may be used to separate argument-value pairs.

Arguments are case-sensitive and unsupported arguments are silently ignored. For example, kill @e[type=Creeper,r=20] will kill all creepers in a 20-block radius, but kill @e[Type=Creeper,r=20] will kill all entities (including players) in that radius because there's no longer an argument limiting the targets to just creepers.

If the first few arguments (up to four) are specified simply as values without identifying the arguments, they are assumed to be, in order, x, y, z, and r. Thus, the following two commands are identical:

/gamemode creative @a[x=10,y=20,z=30,r=4]
/gamemode creative @a[10,20,30,4]
Selecting targets by coordinate
[x=X,y=Y,z=Z] — Selects targets based on distance to that exact position. Combine with selecting by radius to select only targets at that specific position.
The coordinates have to be exact - tilde notation is not available for selector argument coordinates.
Selecting targets by radius
[r=R] — Selects only targets less than R blocks from the command's execution.
[rm=RM] — Selects only targets more than RM blocks from the command's execution.
If a coordinate (above) and either or both radius/i are both defined, the radius/i will center on the coordinate rather than the postion of the command's execution. By using a very distant coordinate and a very large radius, it is possible to simulate a near-linear edge to use to specify targets.
Selecting targets by game mode
[m=M] — Selects only targets with the specified game mode. Permitted value for M are:
  • -1: all game modes
  • 0: survival mode
  • 1: creative mode
  • 2: adventure mode
  • 3: spectator mode
Selecting targets by count
[c=C] — Selects only the specified number of targets. Usually in order of distance from the command executor.
When used with @p or @r, this argument defaults to 1, so using a higher number will increase the number of nearest or random targets returned. When used with @a or @e, this argument returns only the nearest targets.
If there are multiple nearest players, caused by them being precisely the same distance away, a player is selected by the time the player most recently joined the server. For example, if equally distant, @a[c=1] will select the player who has been on the server the longest and @e[type=Creeper,c=3] will select the three oldest creepers.
When used with a negative value, the order of targets is reversed. For example, @p[c=-3] will return the three farthest targets, and, if all potential targets are equally far away, @e[c=-3] will select the last three targets created.
Selecting targets by experience level
[l=L] — Selects only targets with no more than L experience levels.
[lm=LM] – Selects only targets with no less than LM experience levels.
Selecting targets by score
[score_name=SCORE] — Selects only targets with a score in objective name of no more than SCORE.
[score_name_min=SCOREMIN] — Selects only targets with a score in objective name of no less than SCOREMIN.
For example, @a[score_points_min=30,score_points=39] will select all players with a score in objective "points" between 30 and 39 (inclusive).
Selecting targets by team
[team=TEAM] — Selects only targets on team TEAM.
[team=!TEAM] — Selects only targets not on team TEAM.
[team=] — Selects only targets not on any team.
Selecting targets by name
[name=NAME] — Selects only targets named NAME.
[name=!NAME] — Selects only targets not named NAME.
Selecting targets by volume
[dx=DX,dy=DY,dz=DZ]
Selects only targets within the volume defined as starting from the location where the command was executed and extending DX blocks in the positive "x" direction (i.e., east), DY blocks in the positive "y" direction (i.e., upwards), and DZ blocks in the positive "z" direction (i.e., south). All values must be positive. If an initial coordinate is specified with the x, y, and z arguments, that will be used instead of the position of the command's execution for the lower northwestern corner (dx, dy, and dz still specify distances from that coordinate; they do not specify a separate coordinate).
It is possible to combine selection by radius and selection by volume, in which case the command will only select targets within the overlap of both regions (within certain radius/i of the volume's lower northwest corner and not outside the defined volume).
Selecting targets by vertical rotation
[rx=RX] — Selects only targets with a maximum vertical rotation of RX.
[rxm=RXM] — Selects only targets with a minimum vertical rotation of RXM.
Vertical rotation values vary from -90.0 facing straight up to 90.0 facing straight down (thus vertical rotation values increase with rotation downwards).
Selecting targets by horizontal rotation
[ry=RY] — Selects only targets with a maximum horizontal rotation of RY.
[rym=RYM] — Selects only targets with a minimum horizontal rotation of RYM.
Horizontal rotation values vary from -180.0 (facing due north), to -90.0 (facing due east), to 0.0 (facing due south), to 90.0 (facing due west), to 179.9 (just west of due north) before wrapping back to -180.0 (thus horizontal rotation values increase with rotation to the right, or clockwise viewed from above).
Selecting targets by type
[type=TYPE] — Selects only targets of the specific entity type.
[type=!TYPE] — Selects only targets not of the specific entity type.
Primarily only used with the @e variable (because all players are type=Player). "Entity types" are the entity IDs used to identify different types of entities internally (for example, Creeper for creepers, MinecartRideable for regular minecarts, PrimedTnt for primed TNT, etc.). Entity IDs are case-sensitive and invalid entity IDs will cause the command to fail.


Data tags

NBT tags can be specified for items and entities created with the /give, /summon and other commands. Data tags are data structures. The format is JSON, although it is not strict (lenient). The data is represented as a comma separated list of pairs. Each pair has the format <key>:<value>. The key is the name of the NBT tag and the value is the data that should be assigned to it. Tag names are case-sensitive, and whitespace outside keys or values is ignored.

The value can be different types:

  • String is a piece of text, can be wrapped with double-quotes. Double quotes have to be used if the String contains commas, curly brackets or square brackets. To use double-quotes inside Strings, the quote is escaped by a backslash (\"). When using most commands, escaping is disabled (except for double quotes) and keys must not be quoted (probably a bug [1]). This causes an issue where trailing backslashes do not work (as do any other things that need to be escaped), even when escaped properly. The reason is that it escapes the quotation mark after the string which causes a malformed JSON object. Example:"My name is \"Steve\""
  • Number are 1 or more digits that can have a leading sign (+/-). They're classified in Integers, that don't have a decimal mark, Doubles, that uses a dot (.) as a decimal mark, and Floats, that also have f appended after the number. Examples: integer:-128; double:-1.2345; & float:1.2f
  • List (or 'Array') is multiple, comma separated values wrapped with square brackets. The containing values do not need to be of the same type. Example:[1,2,3]
  • Boolean can either be true or false, but using Numbers works, too. When using numbers, 0 is false, everything else is true. Example:true
  • Compound or 'Object' is a container for data structures (as explained above). They are wrapped with curly braces.
Notice: The Data tag itself is a Compound. Example: {Health:18,CustomName:"Friend"}
  • null This is a placeholder an empty value. Do not put quotes. Example:null

When commands such as /testfor, /testforblock, and /clear are used to match NBT tags, they only check for the presence of the given tags in the target entity/block/item. This means that the entity/block/item may have additional tags and will still match. This is true even for lists/arrays: the order of a list is not acknowledged, and as long as every requested element is in the list, it will match even if there are additional elements.

For a complete listing of defined tags (though not all can be modified by commands), see:

For a complete list of identifiers, see:

Raw JSON text

The /tellraw and /title commands use a specific lenient JSON format to specify complicated text. Similar to the NBT format notation above, concepts such as Strings, Objects (Compounds), and Lists are used to represent the various properties of the raw text.

The format of raw JSON text is a JSON Object which supports the following (mostly optional) elements:

  • The base chat component Object
    •  text: A string representing raw text to display directly in chat. Note that selectors such as "@a" and "@p" are not translated into player names; use selector instead.
    •  extra: A list of additional objects, sharing the same format as the base object.
      • A list element with the same format as the base object (recursive). Note that all properties of this object are inherited by children except for text, extra, translate, with, and score. This means that children will retain the same formatting and events as this object unless they explicitly override them.
    •  color: The color to render this text in. Valid values are "black", "dark_blue", "dark_green", "dark_aqua", "dark_red", "dark_purple", "gold", "gray", "dark_gray", "blue", "green", "aqua", "red", "light_purple", "yellow", "white", and "reset" (cancels out the effects of colors used by parent objects). Technically, "bold", "underline", "italic", "strikethrough", and "obfuscated" are also accepted, but it may be better practice to use the tags below for such formats.
    •  bold: Boolean (true/false) - whether to render text in bold. Defaults to false.
    •  underlined: Boolean (true/false) - whether to render text underlined. Defaults to false.
    •  italic: Boolean (true/false) - whether to render text in italics. Defaults to false.
    •  strikethrough: Boolean (true/false) - whether to render text with a strikethrough. Defaults to false.
    •  obfuscated: Boolean (true/false) - whether to render text obfuscated. Defaults to false.
    •  insertion: When the text is shift-clicked by a player, this string will be inserted in their chat input. It will not overwrite any existing text the player was writing.
    •  clickEvent: Allows for events to occur when the player clicks on text.
      •  action: The action to perform when clicked. Valid values are "open_url" (opens value as a URL in the player's default web browser), "run_command" (has value entered in chat as though the player typed it themselves. This can be used to run commands, but the command will fail if the player does not have the required permissions to use it), and "suggest_command" (similar to "run_command", but the text only appears in the player's chat input, and is not automatically entered. Unlike insertion, this will replace the existing contents of the chat input).
      •  value: The URL, chat, or command used by the specified action. Note that commands must be prefixed with the usual "/" slash.
    •  hoverEvent: Allows for a tooltip to be displayed when the player hovers their mouse over text.
      •  action: The type of tooltip to show. Valid values are "show_text" (shows raw JSON text), "show_item" (shows the tooltip of an item which can have NBT tags), "show_achievement" (shows formatted text describing an achievement or statistic. Normal achievement names are green, final achievement names are dark_purple, and statistic names are gray. In addition, a description is given for achievements), and "show_entity" (shows an entity's name, possibly its type, and its UUID).
      •  value: The formatting of this tag varies depending on the action. Note that "show_text" is the only action to support an Object as the value; all other action values are Strings and should thus be wrapped in quotes.
        • "show_text": Can be either a raw String of text, or an Object with the same formatting as this base object. Note that clickEvent and hoverEvent do not function within the tooltip, but the formatting and extra tags still work.
        • "show_item": A string formatted like item NBT data. Contains the "id" tag, and optionally the "Damage" tag and "tag" tag (which is the same compound used as "dataTag" in the /give command).
        • "show_achievement": The achievement or statistic's name. This uses the same format as achievement and statistic Scoreboard objective criteria and the /achievement command.
        • "show_entity": A string formatted like a compound with the string values "type" (such as "Zombie"), "name", and "id" (should be an entity UUID, but can actually be any string).
    •  translate: The translation identifier of text to be displayed using the player's selected language. This identifier is the same as the identifiers found in lang files from assets or resource packs. The translated text will only be displayed if the text string is not used.
    •  with: A list of chat component arguments and/or string arguments to be used by translate.
      • The arguments are text corresponding to the arguments used by the translation string in the current language, in order (for example, the first list element corresponds to "%1$s" in a translation string).
    •  score: A compound for displaying a player's score in an objective. Displays nothing if the player is not tracked in the given objective. Ignored completely if text or translate is present.
      •  name: The name of the player whose score should be displayed. Selectors (such as @p) can be used, in addition to "fake" player names created by the scoreboard system. In addition, if the name is "*", it will show the player's own score (for example, /tellraw @a {score:{name:"*",objective:"obj"}} will show every online player their own score in the "obj" objective). Note that non-player entity scores (such as @e[type=Cow]) do not show, even if the entity has been given a score in the objective.
      •  objective: The internal name of the objective to display the player's score in.
      •  value: Optional. If present, this value is used regardless of what the score would have been.
    •  selector: A string containing a selector (@p,@a,@r, or @e) and, optionally, selector arguments. Unlike text, the selector will be translated into the correct player/entity names. If more than one player/entity is detected by the selector, it will be displayed in a form such as 'Name1 and Name2' or 'Name1, Name2, Name3, and Name4'. Ignored completely if text, translate, or score is present.

Due to the extra tag, the above format may be recursively nested to produce very complex and functional text strings. However, a raw json text doesn't have to be complicated at all: virtually all properties are optional and may be left out.

To be valid, each object must have at least either text, translate, or score (everything else is optional). As a matter of shorthand, however, the entire Object may be substituted with a String. In this case, that string will be considered the value of the text property. For example, "This is raw text" is equivalent to {text:"This is raw text"}. This shorthand substitution is valid anywhere a raw text object is required (including the base <raw json message> argument of /tellraw, the elements of the extra list, and the value of a "show_text" hover_event).

Finally, unlike other commands using JSON, /tellraw Strings support Unicode via the notation \u####, where #### is the Unicode hexadecimal number for the desired character.

External links
Skylinerw's JSON Formatting Examples
Tellraw Generator

List of commands

Syntax
If you see… Then
plain text Enter this literally, exactly as shown.
italics Replace this with an appropriate value.
<angle brackets> This is a required argument.
[square brackets] This is an optional argument.
x|y

Pick one of the options shown.

Available options are shown separated by vertical bars: |

ellipsis … The argument may consist of multiple words separated by spaces.
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 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
Describes restrictions on who can use the command or in what context.
  • None: The command can be used by any player in any world. The following commands have no restrictions: /help, /me, /tell, and /trigger.
  • Operator: The command may only be used by an operator or in singleplayer mode with cheats enabled. On multiplayer servers, the results of these commands are broadcast to other ops online.
No multiplayer commands permit target selectors in arguments and, except for /list, multiplayer commands cannot be used in command blocks. Many of these commands can be used on players who have never been to the server, or even on names which are not (or cannot be) registered as Minecraft accounts.


achievement

Commands/infobox

Gives a player an achievement or increases a statistic.

Syntax
achievement <give|take> <stat_name|*> [player]
Arguments
stat_name
Must be either:
  • achievement.achievement_name, where achievement_name is a valid achievement identifier
  • stat.statistic_name, where statistic_name is a valid statistic identifier
  • * to represent all achievements
player (optional)
Must be a player name or a target selector. If not specified, defaults to the command's executor. Not optional in command blocks.
Result
Fails if arguments aren't specified properly, or if player fails to resolve to one or more online players.
On success, grants or removes the specified achievement(s) (and all prerequisite achievements) to the player(s) or increases/decreases the specified statistic of the player(s) by 1.
Examples
To grant the "Overkill" achievement to yourself: achievement give achievement.overkill
To grant the "Taking Inventory" achievement to Alice: achievement give achievement.openInventory Alice
To increase the "Mob Kills" statistic by 1 for the nearest player: achievement give stat.mobKills @p
To remove all achievements from all players: achievement take * @a
See also
Commands to modify player:


ban

These commands manage a server banlist. The server banlist is a list of players or IP addresses that will not be allowed to connect to the server. Bans supersede any whitelisting in place.

See also: /whitelist


ban

Commands/infobox

Adds player to banlist.

Syntax
ban <name> [reason …]
Arguments
name
The name of the player to be banned. Does not need to be online, or even real.
reason (optional)
Text to be displayed with the ban, to other operators and in the server logs.
Result
Always succeeds. The player name is added to the server banlist which prevents anyone from connecting to the server by that name.


ban-ip

Commands/infobox

Adds IP address to banlist.

Syntax
ban-ip <address|name> [reason …]
Arguments
address|name
Must be a player name or an IP address.
reason (optional)
Text to be displayed with the ban, to other operators and in the server logs.
Result
Fails if address|name is neither a valid IP address nor the name of an online player.
On success, the IP address (of the online player, or the address specified) is added to the server banlist which prevents anyone from connecting to the server from that address.


banlist

Commands/infobox

Displays banlist.

Syntax
banlist ips
banlist players
Result
Always succeeds. Displays banned IP addresses or banned players.


blockdata

Commands/infobox

Modifies the data tag of a block.

Syntax
blockdata <x> <y> <z> <dataTag>
Arguments
x y z
Specifies the coordinates of the block to be modified. May be provided in tilde notation to identify a position relative to the command's execution.
dataTag
Specifies the data tag elements to be added to, or overwrite elements of, the specified block. Must be a compound NBT tag (for example, {CustomName:Fred}).
Result
Fails if arguments are not specified properly.
On success, modifies the data tag of the targeted block.
Examples
To change the primary power of the beacon at (0,64,0) to Haste:
blockdata 0 64 0 {Primary:3}
See also


clear

Commands/infobox

Clears items from player inventory.

Syntax
clear [player] [item] [data] [maxCount] [dataTag]
Arguments
player (optional)
Must be a player name or a target selector. If not specified, defaults to the command's user. Not optional in command blocks.
item data (optional)
Specifies the id and data of the item to be cleared. If neither argument is specified, clears all items from the inventory. If item is specified, but not data, all items with id item are cleared, regardless of their data. data can be set to -1 to ignore data and clear all blocks of a certain id when maxCount or dataTag must be specified but data needs to be ignored.
maxCount (optional)
Specifies the maximum number of items to be cleared. If not specified, or if -1, clears all items. If 0, does not clear items, but returns successfully if there were items that could have been cleared (allowing detection of items rather than clearing of items).
dataTag (optional)
Specifies the data tags of the item to be cleared (only items matching the specified data tags will be cleared — data tags not specified will not be considered). Must be a compound NBT tag (for example, {display:{Name:Fred}}).
Result
Fails if the arguments are not specified properly, if player fails to resolve to one or more online players, or if no items are removed.
On success, removes the specified items from the player(s).
Examples
To clear your entire inventory: clear
To clear all items from Alice's inventory: clear Alice
To clear all wool items from Alice's inventory: clear Alice minecraft:wool
To clear all orange wool items from the inventory of all players: clear @a minecraft:wool 1
To clear all golden swords with the "Sharpness I" enchantment from the nearest player, regardless of their damage value:
clear @p minecraft:golden_sword -1 -1 {ench:[{id:16s,lvl:1s}]}
See also
/give — give items to player


clone

Commands/infobox

Clones blocks from one region to another.

Syntax
clone <x1> <y1> <z1> <x2> <y2> <z2> <x> <y> <z> [mode] [mode2] [TileName]
The in-game help for the clone command does not yet list the final two arguments. mode2 and TileName are placeholder names for the purpose of discussion.
Arguments
x1 y1 z1 and x2 y2 z2
Specifies any two opposing corner blocks of the region to be cloned (the "source region"). May use tilde notation to specify distances relative to the command's execution.
The blocks that make up the corners extend in the positive direction from the coordinates used to identify them. Because of this, the lesser coordinates of each axis will be right on the region boundary, but the greater coordinates will be one block from the boundary, and the block volume of the source region will be (xgreater - xlesser + 1) × (ygreater - ylesser + 1) × (zgreater - zlesser + 1). For example, 0 0 0 0 0 0 has a 1-block volume, and 0 0 0 1 1 1 and 1 1 1 0 0 0 both identify the same region with an 8-block volume.
x y z
Specifies the lower northwest corner (i.e., the smallest coordinates of each axis) of the region to clone to (the "destination region"). May use tilde notation to specify a distance relative to the command's execution.
mode (optional)
Must be one of:
  • filtered — Clone only blocks with the specified block id (see TileName below).
  • masked — Copy only non-air blocks. Blocks in the destination region that would otherwise be overwritten by air are left unmodified.
  • replace — Copy all blocks, overwriting all blocks of the destination region with the blocks from the source region.
If not specified, defaults to replace.
mode2 (optional)
Must be one of:
  • force — Force the clone even if the source and destination regions overlap.
  • move — Clone the source region to the destination region, then replace the copied blocks with air. When used in filtered mode, only the cloned blocks will be replaced with air.
  • normal — Don't move or force. Used when TileName also needs to be specified.
If not specified, defaults to normal.
TileName (optional)
Specifies the block id (for example, minecraft:stone) to copy when using filtered mode. Not optional when using filtered mode.
Result
Fails if the arguments are not specified correctly, if the block volume of the source region is greater than 32768 (enough for the equivalent of eight chunk sections), if the source and destination region overlap (unless using force mode), or if one or both regions isn't currently rendered.
On success, overwrites blocks in the destination region with blocks from the source region, leaving the source region unmodified (unless using move mode).
See also
/fill — fill a region with a block


debug

Commands/infobox

Starts or stops a debugging session.

Syntax
debug <start|stop|chunk> [<x> <y> <z>]
Arguments
start
Starts a new debug profiling session.
stop
Stops the active debug profiling session.
chunk
Unknown
x y z (optional, except in chunk mode)
Only valid in chunk mode.
Result
Fails if tried to start a debug session when one is already active, or if tried to stop a debug session when none is running.
On success, starts or stops the debug session. While active, includes notifications about potential performance bottlenecks in the console. When stopped, creates a profiler results file in the folder "debug".


defaultgamemode

Commands/infobox

Sets the default game mode (creative, survival, etc.) for new players entering a multiplayer server.

Syntax
defaultgamemode <mode>
Arguments
mode
Must be one of:
  • survival (can be abbreviated as s or 0) for survival mode
  • creative (can be abbreviated as c or 1) for creative mode
  • adventure (can be abbreviated as a or 2) for adventure mode
  • spectator (can be abbreviated as sp or 3) for spectator mode
"hardcore" is not a valid option for the mode argument, as it is technically not a game mode.
Result
Fails if arguments aren't specified properly.
If successful, sets the default game mode that is shown on the world selection menu. New players that join the world will be put into the default game mode.
Examples
To set the default game mode to survival: defaultgamemode survival, defaultgamemode s, or defaultgamemode 0
See also
/gamemode – changes a player's game mode


deop

Commands/infobox

Revoke operator status from a player.

Syntax
deop <player>
Arguments
player
Specifies a player to remove from the list of operators. May be anything but target selectors will not evaluate and only actual player names will produce a useful result.
Result
Always succeeds if restrictions are satisfied. If player matches a name on the list of operators, the name is removed from the list and any player by that name no longer has operator status.
Examples
To remove Alice from the list of operators: deop Alice


difficulty

Commands/infobox

Sets the difficulty level (peaceful, easy, etc.).

Syntax
difficulty <new difficulty>
Arguments
new difficulty
Must be one of:
  • peaceful (can be abbreviated as p or 0) for peaceful difficulty
  • easy (can be abbreviated as e or 1) for easy difficulty
  • normal (can be abbreviated as n or 2) for normal difficulty
  • hard (can be abbreviated as h or 3) for hard difficulty
"hardcore" is not a valid option for the new difficulty argument, as it is not a difficulty.
Result
Fails if arguments aren't specified properly.
If successful, changes the game's difficulty. On a multiplayer server lasts only until the server is restarted — on restart, difficulty is reloaded from server.properties.
Examples
To change the difficulty to hard: difficulty hard, difficulty h, or difficulty 3
See also
/gamemode – changes a player's game mode (creative, survival, etc.)


effect

Commands/infobox

The effect command manages status effects on players and other entities.

Syntax
effect <player> clear (removes all effects)
effect <player> <effect> [seconds] [amplifier] [hideParticles] (gives an effect)
Arguments
player
Specifies the target(s). Must be a player name or a target selector (@e is permitted to target entities other than players).
effect
Specifies the effect to grant. Must be a status effect id (for example, 1 or minecraft:speed).
seconds (optional)
Specifies the effect's duration in seconds. Must be between 0 and 1,000,000 (inclusive). If not specified, defaults to 30 seconds.
amplifier (optional)
Specifies the number of additional levels to add to the effect. Must be between 0 and 255 (inclusive). If not specified, defaults to 0.
hideParticles (optional)
Specifies whether the particles of the status effect should be hidden. Must be either true or false. If not specified, defaults to false.
Result
Fails if arguments are not specified correctly, if player fails to resolve to one or more valid entities (named players must be online), if seconds was specified as 0 and the target did not have the effect, or if no effects were removed in clear mode.
On success:
  • clear — clears all status effects from the target(s).
  • effect — Adds the status effect to the target(s). If a target already has the status effect, a new status effect with the same amplifier will only override the old duration if it is longer, but a new status effect with a higher duration will override any previous duration. If seconds is set to 0, cancels the specified effect instead.
Examples
To grant a Speed 1 effect to the nearest player for 60 seconds: effect @p 1 60
To grant a Speed 3 effect to the nearest player for 60 seconds: effect @p 1 60 2
To clear any Haste effects from all players: effect @a 3 0
To clear all effects from all zombies: effect @e[type=Zombie] clear


enchant

Commands/infobox

Adds an enchantment to a player item.

Syntax
enchant <player> <enchantment ID> [level]
Arguments
player
Specifies the target(s). Must be a player name or target selector.
enchantment ID
Specifies the enchantment to be added to the item held by the target. Must be a valid enchantment ID (for example, 16 or minecraft:sharpness).
level (optional)
Specifies the enchantment level. Must be at least 1 and not greater than the maximum level for the specified enchantment. If not specified, defaults to 1.
Result
Fails if arguments are not specified correctly, if player fails to resolve to one or more online players, or if the enchantment is not valid for the item or conflicts with current enchantments (for example, "Fire Protection" cannot be given to armor which already has "Protection", and "Sharpness III" cannot be given to a sword which already has "Sharpness I").
On success, adds the specified enchantment to the item held by the target.
Examples
To give the Infinity enchantment to all players holding a bow: enchant @a 51


entitydata

Commands/infobox

Modifies the data tag of an entity.

Syntax
entitydata <entity> <dataTag>
Arguments
entity
Specifies the entity(ies) to be modified. Must be an entity UUID or the @e target selector.
dataTag
Specifies the data tag elements to be added to, or overwrite elements of, the specified entity. Must be a compound NBT tag (for example, {CustomName:Fred}).
Result
Fails if arguments are not specified properly, or if entity fails to resolve to one or more non-player entities (players can not be changed).
On success, modifies the data tag of the targeted entity(ies).
Examples
To prevent all current zombies from picking up loot:
entitydata @e[type=Zombie] {CanPickUpLoot:0}


execute

Commands/infobox

Executes a command with a different user and position.

Syntax
execute <entity> <x> <y> <z> <command …>
An alternate syntax allows the command to be executed only if a specific block is detected:
execute <entity> <x> <y> <z> detect <x2> <y2> <z2> <block> <data> <command …>
Arguments
entity
Specifies the target to be the command's executor. Must be a player name or target selector.
x y z
Specifies the position from which to run the command. x and z must be within the range -30,000,000 to 30,000,000 (inclusive). May use tilde notation to specify distances relative to the target.
command
Specifies the command to be run. Must be a valid command.
x2 y2 z2 (detect mode only)
Specifies the position of the block to check. x2 and z2 must be within the range -30,000,000 to 30,000,000 (inclusive). May use tilde notation to specify distances relative to (x,y,z).
block and data (detect mode only)
Specifies the block id and data which the block at (x2,y2,z2) must match for the command to run. block must be a valid block id (for example, minecraft:stone), and data must be a valid block data for that type of block or -1 to match any block data.
Result
Fails if arguments are not specified properly, if entity fails to resolve to one or more valid entities (named players must be online), if the checked block is not of the correct block id and data, or if the specified command fails.
On success, executes the specified command as if executed by the specified target(s) with operator-level permission at the specified coordinate.
Examples
To summon lightning bolts at the positions of every zombie:
execute @e[type=Zombie] ~ ~ ~ summon LightningBolt
To summon lightning bolts at the positions of every zombie standing on any type of sand:
execute @e[type=Zombie] ~ ~ ~ detect ~ ~-1 ~ minecraft:sand -1 summon LightningBolt
See also
/testforblock — tests for a certain block at a specified position (including specific data tags)


fill

Commands/infobox

Fills all or parts of a region with a specific block.

Syntax
fill <x1> <y1> <z1> <x2> <y2> <z2> <TileName> [dataValue] [oldBlockHandling] [dataTag]
The fill command also has an optional alternate syntax when using the replace option:
fill <x1> <y1> <z1> <x2> <y2> <z2> <TileName> <dataValue> replace [replaceTileName] [replaceDataValue]
Arguments
x1 y1 z1 and x2 y2 z2
Specifies any two opposing corner blocks of the region to be filled (the "fill region"). May use tilde notation to specify distances relative to the command's execution.
The blocks that make up the corners extend in the positive direction from the coordinates used to identify them. Because of this, the lesser coordinates of each axis will be right on the region boundary, but the greater coordinates will be one block from the boundary, and the block volume of the source region will be (xgreater - xlesser + 1) × (ygreater - ylesser + 1) × (zgreater - zlesser + 1). For example, 0 0 0 0 0 0 has a 1-block volume, and 0 0 0 1 1 1 and 1 1 1 0 0 0 both identify the same region with an 8-block volume.
TileName
Specifies the block to fill the region with. Must be a block id (for example, minecraft:stone).
dataValue (optional)
Specifies the block data to use for the fill block. Must be between 0 and 15 (inclusive).
oldBlockHandling (optional)
Must be one of:
  • destroy - Replaces all blocks (including air) in the fill region with the specified block, dropping the replaced blocks and block contents as entities as if they had been mined.
  • hollow - Replaces only blocks on the outer edge of the fill region with the specified block. Inner blocks are changed to air, dropping their contents as entities but not themselves.
  • keep - Replaces only air blocks in the fill region with the specified block.
  • outline - Replaces only blocks on the outer edge of the fill region with the specified block. Inner blocks are not affected.
  • replace - Replaces all blocks (including air) in the fill region with the specified block, without dropping blocks or block contents as entities. Optionally, instead of specifying a data tag for the replacing block, block id and data values may be specified to limit which blocks are replaced (see replaceTileName and replaceDataValue below)
If not specified, defaults to replace.
dataTag (optional)
Specifies the data tag to use for the fill block (for example, contents of a chest, patterns on a banner, etc.). Must be a compound NBT tag (for example, {CustomName:Fred}). Cannot be combined with the replaceTileName and replaceDataValue arguments.
replaceTileName replaceDataValue (optional)
Arguments are only valid when oldBlockHandling is replace. Cannot be combined with the dataTag argument.
Specifies the block id and data of the blocks in the fill region to be replaced. If replaceDataValue is not specified, data value is ignored when determining which blocks to replace. If both arguments are not specified, replaces all blocks in the fill region.
Result
Fails if arguments are not specified properly, if the fill region is not rendered, if the block volume of the fill region is greater than 32768, if dataValue or dataTag are invalid for the specified block id, or if no blocks were changed.
On success, changes blocks in the fill region to the specified block.


gamemode

Commands/infobox

Sets a player's game mode.

Syntax
gamemode <mode> [player]
Arguments
mode
Must be one of:
  • survival (can be abbreviated as s or 0) for survival mode
  • creative (can be abbreviated as c or 1) for creative mode
  • adventure (can be abbreviated as a or 2) for adventure mode
  • spectator (can be abbreviated as sp or 3) for spectator mode
"hardcore" is not a valid option for the mode argument, as it is technically not a game mode.
player (optional)
If specified, must be either a player's username or a target selector. If unspecified, defaults to the player using the command. When used in a command block, player is not optional.
Result
Fails if arguments aren't specified properly, or if player fails to resolve to one or more online players.
If successful, changes the game mode of the default or specified players.
Examples
To put yourself into creative mode: gamemode creative, gamemode c, or gamemode 1
To put all players into survival mode: gamemode 0 @a
See also
defaultgamemode – sets the initial game mode for players joining the world


gamerule

Commands/infobox

Sets or queries a game rule value.

Syntax
gamerule <rule name> [value]
Arguments
rule name
Specifies the game rule to set or query. May be any value, but predefined game rules which affect gameplay include:
  • commandBlockOutput - Whether command blocks should notify admins when they perform commands
  • doDaylightCycle - Whether time progresses
  • doFireTick - Whether fire should spread and naturally extinguish
  • doMobLoot - Whether mobs should drop items
  • doMobSpawning - Whether mobs should naturally spawn
  • doTileDrops - Whether blocks should have drops
  • keepInventory - Whether the player should keep items in their inventory after death
  • logAdminCommands - Whether to log admin commands to server log
  • mobGriefing - Whether creepers, endermen, ghasts, withers, rabbits, sheep and villagers should be able to change blocks and whether zombies, skeletons, and zombie pigmen can pick up items
  • naturalRegeneration - Whether the player can regenerate health naturally if their hunger is full enough (doesn't affect external healing, such as golden apples, the Regeneration effect, etc.)
  • randomTickSpeed - How often a random tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick. Like other game rules, may be set to any value, but only numbers will be useful: 0 to disable random ticks, higher numbers for more random ticks (default value is 3).
  • reducedDebugInfo - Whether the debug screen shows all or reduced infomation
  • sendCommandFeedback - Whether the feedback from commands executed by a player should show up in chat
  • showDeathMessages - Whether a message appears in chat when a player dies
value (optional)
Specifies the value to set the game rule to. May be any value, though only values of true or false specified for predefined game rules will actually affect gameplay (except randomTickSpeed which should be a number 0 or higher to affect gameplay).
Result
Fails if rule name is not defined and value is not provided (i.e., attempting to query an undefined game rule).
On success, returns the value of the game rule (if value is not provided) or sets the game rule to the specified value (if value is provided).
New game rules may be defined and set (by providing a value) or queried (by not providing a value).
Examples
To stop the day-night cycle: gamerule doDaylightCycle false
To stop natural healing: gamerule naturalRegeneration false
To define a new game rule called MyNewRule and sets its value to 10: gamerule MyNewRule 10


give

Commands/infobox

Gives an item to a player.

Syntax
give <player> <item> [amount] [data] [dataTag]
Arguments
player
Specifies the target to give item(s) to. Must be a player name or target selector.
item
Specifies the item to give. Must be a valid item id (for example, 256 or minecraft:iron_shovel), or block id for which items exist.
amount (optional)
Specifies the number of items to give. Must be between 1 and 64 (inclusive). If not specified, defaults to 1.
data (optional)
Specifies the item data of the given item(s). Must be an integer between -2,147,483,648 and 2,147,483,647 (inclusive, without the commas), but values which are invalid for the specified item id default to 0. If not specified, defaults to 0.
dataTag (optional)
Specifies the data tag of the given item(s). Must be a compound NBT tag (for example, {display:{Name:Fred}}).
Result
Fails if arguments are not specified properly, or if player fails to resolve to one or more online players.
On success, summons the specified item(s) at the location(s) of the target(s). If player resolves to multiple targets, each receives the specifed number of items. The item entity's Owner tag is set to the target and its PickupDelay tag set to 0[verify] so the item can be picked up immediately and only by the target (if the target has room in their inventory).
Examples
To summon 30 blocks of spruce wood planks at John's location with Lore that says "Wooden planks":
give John minecraft:planks 30 1 {display:{Lore:["Wooden planks"]}}
See also
/summon — summon any entity at any location


help

Commands/infobox

Provides help for commands.

Syntax
help [page|command name]
? [page|command name]
Arguments
page|command name (optional)
Specifies the page number of the command list or the command to provide help for. If not specified, defaults to 1 (the first page of the command list).
Result
Fails if page is not a valid page number, or if command name is not a valid command name. Technically fails even if a valid command name is specified, although it displays the usage of the command.
On success, displays a page of the command list. Multiplayer commands will not be displayed while in singleplayer, even when open to LAN players.
If a valid command name was specified, displays the usage for that command. For some complicated commands may show only the basic usage — additional information can sometimes be gained by attempting to type the command and using the auto-complete control (defaults to Tab ↹ key) to explore available options for each argument.
Examples
To display the first page of the command list: ? or help
To display the third page of the command list: ? 3
To display the usage for the help command: help help


kick

Commands/infobox

Kicks a player off a server.

Syntax
kick <player> [reason …]
Description
Forcibly disconnects player from the server, displaying an optional reason to them.
Success Conditions
player must be online.


kill

Commands/infobox

Kills entities (players, mobs, items, etc.).

Syntax
kill [player|entity]
Arguments
player|entity
Specifies the target(s) to be killed (including "non-living" entities like items, vehicles, etc.). Must be a player name or a target selector. If not specified, defaults to the command's user. Not optional in command blocks.
Result
Fails if player|entity fails to resolve to one or more entities (named players must be online).
On success, inflicts 1000♥ × 500 void damage to targets, killing them instantly even if in Creative mode (a high-level Resistance effect cannot protect the targets either). The text "Ouch! That looks like it hurt." will be displayed to affected players in the chat.
Examples
To "kill" all item entities (making them vanish from the world): kill @e[type=Item]


list

Commands/infobox

Lists players on the server.

Syntax
list
Description
Shows the names of all currently-connected players (the same can be achieved when pressing tab)
Success Conditions
Always succeeds, even in a command block.


me

Commands/infobox

Displays a message about yourself.

Syntax
me <action …>
Description
Sends a narrative message to the other players in the form of "* Yourname action" (e.g., "* Alice sneezes." or "* Alice exploded." ). If a multi-person target selector (e.g., @a) is used in action, the list of names is formatted as "name1, name2, and name3", or "name1 and name2" for two names. Therefore, regardless of any target selectors which are used in action, this command will only output once.
Success Conditions
All target selectors (e.g., @p) in action must evaluate.


op

Commands/infobox

Grants operator status to a player.

Syntax
op <player>
Description
Grants player operator status on the server.
Success Conditions
Always succeeds.


pardon

Commands/infobox

Removes entries from the banlist.

Syntax
pardon <name>
pardon-ip <address>
Arguments
name
Specifies the name to remove from the banlist.
address
Specifies the IP address to remove from the banlist. Must be a valid IP address.
Result
Fails if arguments are not specified properly.
On success, if the name or the IP address is on the banlist, it is removed, allowing anyone to connect to the server by that name or from that IP address.


particle

Commands/infobox

Creates particles.

Syntax
particle <name> <x> <y> <z> <xd> <yd> <zd> <speed> [count] [mode]
Arguments
name
Specifies the particle to create. Must be a particle name (for example, explode).
x y z
Specifies the position at which to create the particle. All values (including y) must be between -30,000,000 and 30,000,000 (inclusive, without the commas). May use tilde notation to specify a position relative to the command's execution.
xd yd zd
Specifies the direction and velocity of the particle. Each argument is the velocity in blocks per second on a particular axis.
Exception: When name is reddust, mobSpell, or mobSpellAmbient and count is 0 or not specified, specifies the color of the particle in RGB format offset from the particle's default color (reddust's default is a near-red (a random red tint between 0.8 and 1.0), while the others default to black). For example, with reddust, 0 0 0 produces a red particle, -1 1 0 produces a green particle (red is reduced to 0 and green increased to 1), 0 0 1 produces a purple particle (blue is added to the original red), etc. With mobSpell or mobSpellAmbient, 0 0 0 produces a black particle, 0 1 0 produces a green particle, 0 0 0.5 produces a dark blue particle, etc. If count is greater than 0, colors are randomized.
speed
Specifies the speed of the particle. Must be at least 0.
count (optional)
Specifies the number of particle effects to create. Must be at least 0 (which produces one particle).
mode (optional)
Specifies the display mode. May be anything but only force will have an effect: to allow the particle(s) to be seen beyond the usual 16 block radius.
Result
Fails if arguments are not specified properly.
On success, creates the specified particle.
Examples
To create a stationary huge explosion particle 10 blocks to the east:
particle hugeexplosion ~10 ~ ~ 0 0 0 0


playsound

Commands/infobox

Plays a sound.

Syntax
playsound <sound> <player> [x] [y] [z] [volume] [pitch] [minimumVolume]
Arguments
sound
Specifies the sound to play. Must be a sound event defined in sounds.json (for example, mob.pig.say).
A sound event may be affiliated with multiple sounds, and the sound which is actually produced will be chosen at random from them, modified by their "weight", just as the game normally would. For example, the mob.pig.say sound event will play one of several pig sounds at random, because the event has multiple sounds associated with it.
Resource packs may add their own events to sounds.json; the command will successfully play these. File names are not used by this command; it strictly uses the events defined in sounds.json (which may not even be similar to the original file names and paths), and thus a resource pack adding new sound files must define events for them (this is not necessary when replacing old sounds which are already in defined events).
player
Specifies the sound's target. Must be a player name or a target selector.
x y z (optional)
Specifies the position to play the sounds from. May use tilde notation to specify a position relative to the target(s).
volume (optional)
Specifies the distance that the sound can be heard. Must be at least 0.0. For values less than 1.0, the sound will be quieter and have a smaller sphere within which it may be heard. For values greater than 1.0, the sound will not actually grow louder, but its audible range (a 16-block radius at 1.0) will be multiplied by volume. There will always be a gradual falloff to silence based on distance from the center of the sphere.
pitch (optional)
Specifies the pitch of the sound. Must be between 0.0 and 2.0 (inclusive) — values lower than 1.0 lower the pitch and increase the duration, values greater than 1.0 raise the pitch and reduce the duration. The minimum pitch is 0.5; smaller values will result in identical sounds. If not specified, defaults to 1.0.
minimumVolume (optional)
Specifies the volume for targets outside the sound's normal audible sphere. If a target is outside the normal sphere, the sound will instead be centered some short distance from the target (less than four blocks away), and minimumVolume will determine its volume. Must be between 0.0 and 1.0 (inclusive).
Result
Fails if arguments are not specified properly, if player fails to resolve to one or more online players, or if the targets are unable to hear the sound from where it is played.
On success, plays a sound for the targeted players.


publish

Commands/infobox

Opens single-player world to the local network.

Syntax
publish
Description
Opens your single-player game for LAN friends to join. This command appears in the singleplayer cheats.
Success Conditions
Cannot be used in a command block.


replaceitem

Commands/infobox

Replaces items in the inventories of blocks (chest, furnaces, etc.) or entities (players or mobs).

Syntax
replaceitem block <x> <y> <z> <slot> <item> [amount] [data] [dataTag]
replaceitem entity <selector> <slot> <item> [amount] [data] [dataTag]
Arguments
x y z (block mode only)
Specifies the position of the block to be modified. May use tilde notation to specify a position relative to the command's execution.
selector (entity mode only)
Specifies the entity to modify. Must be a player name or target selector.
slot
Specifies the inventory slot to be modified. Valid values depend on whether a block or an entity is being modified.
For blocks, must be slot.container.slot_number where slot_number is replaced with a number specifying the slot.
  • Chests, dispensers, droppers, hoppers, and trapped chests are numbered 0 for the top-left slot and then increase first horizontally, then vertically (so, for example, a chest's top row slots are numbered 0 to 8 from left to right). Double chests and double trapped chests are treated as two single container blocks.
  • A brewing stand's bottom slots are numbered 0 to 2 from left to right, and its top slot is 3.
  • A furnace's slots are numbered 0 for the input slot, 1 for the fuel slot, and 2 for the output slot.
Other blocks which hold items but don't have inventory GUIs (flower pots and jukeboxes) can only be changed with /blockdata.
For entities, must be one of the following, where slot_number is replaced with a number specifying the slot:
Slot Slot Numbers Restrictions
slot.armor.chest armor stands, mobs, and players only (though not all mobs will show or make use of the items)
slot.armor.feet
slot.armor.head
slot.armor.legs
slot.weapon armor stands and mobs only (though not all mobs will show or make use of the items)
slot.enderchest.slot_number 0 to 26 players only
slot.hotbar.slot_number 0 to 8
slot.inventory.slot_number 0 to 26
slot.horse.saddle horses, donkeys, and mules only; item must be a saddle
slot.horse.armor horses only; item must be a type of horse armor
slot.horse.chest.slot_number 2 to 16 donkeys and mules with chests only
slot.villager.slot_number 0 to 7 villagers only
The inventory of an item frame can only be changed with /entitydata.
item
Specifies the item to be placed in the block or entity's inventory slot. Must be an item id, or a block id for which an item exists (for example, minecraft:golden_sword).
amount (optional)
Specifies the number of items to be placed in the block or entity's inventory slot. Must be between 1 and 64 (inclusive), even for items with a smaller stack size.
data (optional)
Specifies the item data for the item(s) to be placed in the block or entity's inventory slot. Must be an integer between -2,147,483,648 and 2,147,483,647 (inclusive, without the commas), but values which are invalid for the specified item id will default to 0. If not specified, defaults to 0.
dataTag (optional)
Specifies the data tag for the item(s) to be placed in the block or entity's inventory slot. Must be a compound NBT tag (for example, {display:{Name:Fred}}).
Result
Fails if arguments are not specified properly, if the specified block is not a container, if selector fails to resolve to one or more entities (named players must be online), or if the targeted entity does not have the specified slot (for example, zombies don't have slot.horse.armor).
On success, replaces the items in the specified slot with the specified items (previous items in that slot are lost).
Examples
To replace the items in the bottom-right slot of a single chest one block above with four spruce saplings:
replaceitem block ~ ~1 ~ slot.container.26 minecraft:sapling 4 1
To replace the items in the rightmost hotbar slot of the nearest player with four spruce saplings:
replaceitem entity @p slot.hotbar.8 minecraft:sapling 4 1
See also
/blockdata — can also replace items in a container
/entitydata — can also replace items in a mob's inventory, or modify the drop chances of armor and weapons
/give — give items to players without specifying specific inventory slots or overwriting other items


save

Commands/infobox

These commands manage server saves.


save-all

Saves the server to disk.

Syntax
save-all
Description
Forces the server to write all pending changes to the world and player data to disk.
Success Conditions
Always succeeds.


save-off

Disables automatic server saves.

Syntax
save-off
Description
Disables the server writing to the world files. All changes will temporarily be queued.
Success Conditions
Always succeeds.


save-on

Enables automatic server saves.

Syntax
save-on
Description
Enables the server writing to the world files. This is the default behavior.
Success Conditions
Always succeeds.


say

Commands/infobox

Says a message to multiple players.

Syntax
say <message …>
Description
Broadcasts message to all players on the server. If a multi-person target selector (e.g., @a) is used, the list of names is formatted as "name1, name2, and name3", or "name1 and name2" for two names. Therefore, regardless of any target selectors which are used, this command will only output once.
Success Conditions
All target selectors (e.g., @p) in the message must evaluate.


scoreboard

Commands/infobox

These commands manage scoreboard objectives, players, and teams.

Syntax
scoreboard <objectives|players|teams>

See Scoreboard#Command reference for more information.


seed

Commands/infobox

Displays the world seed.

Syntax
seed
Description
Displays the seed. This command can always be used in single-player mode, regardless of whether cheats are enabled or not.
Success Conditions
Always succeeds (if user is a command block, player in singleplayer, or server op).


setblock

Commands/infobox

Changes a block to another block.

Syntax
setblock <x> <y> <z> <TileName> [dataValue] [oldBlockHandling] [dataTag]
Arguments
x y z
Specifies the position of the block to be changed. May use tilde notation to specify a position relative to the command's execution.
TileName
Specifies the new block. Must be a block id (for example, minecraft:stone).
dataValue (optional)
Specifies additional data to further describe the new block. Must be between 0 and 15 (inclusive). If not specified, defaults to 0.
oldBlockHandling (optional)
Specifies how to handle the block change. Must be one of:
  • destroy — The old block drops both itself and its contents (as if destroyed by a player). Plays the appropriate block breaking noise.
  • keep — Only air blocks will be changed (non-air blocks will be "kept").
  • replace — The old block drops neither itself nor any contents. Plays no sound.
If not specified, defaults to replace.
dataTag (optional)
Specifies the data tag for the new block. Must be a compound NBT tag (for example, {CustomName:Fred}).
Result
Fails if arguments are not specified properly, if tried to change a non-air block in keep mode, or tried to replace a block with an identical copy in keep or replace mode.
On success, changes the block at the specified position.
See also
  • /blockdata — modifies the data tags of a block
  • /clone — copies blocks from one region to another
  • /fill — fills a region with a block


setidletimeout

Commands/infobox

Sets the time before idle players are kicked from the server.

Syntax
setidletimeout <Minutes until kick>
Description
Set the idle kick timer. Any players idle for Minutes until kick will be kicked.
Success Conditions
Always succeeds.


setworldspawn

Commands/infobox

Sets the world spawn.

Syntax
setworldspawn
setworldspawn <x> <y> <z>
Arguments
x y z (optional)
Specifies the coordinates of the world spawn. x and z must be within the range -30,000,000 to 30,000,000 (inclusive). y must be between 0 and 256 (inclusive). May use tilde notation to specify coordinates relative to the command's execution. If not specified, defaults to the position of the command's execution. Not optional in command blocks.
Players will always spawn on the top block near (x,z) — y is effectively ignored. Although spawn chunks are usually kept loaded at all times, new spawn chunks won't be loaded by this command until a player moves within range. Compasses (which in Minecraft point to the world spawn rather than north) will also not update to the change until the world is reloaded.
Result
Fails if arguments are not specified correctly.
On success, sets the world spawn to the specified coordinate.


spawnpoint

Commands/infobox

Sets the spawn point for a player.

Syntax
spawnpoint
spawnpoint <player>
spawnpoint <player> <x> <y> <z>
Arguments
player (optional)
Specifies the player whose spawn point should be set. Must be a player name or a target selector. If not specified, defaults to the command's user. Not optional in command blocks.
x y z (optional)
Specifies the coordinates of the player's new spawn point. x and z must be integers within the range -30,000,000 to 30,000,000 (inclusive). y must be an integer between 0 and 256 (inclusive). May use tilde notation to specify coordinates relative to the command's execution. If not specified, defaults to the position of the specified player(s).
Result
Fails if arguments are not specified correctly, or if player fails to resolve to one or more online players.
On success, sets the spawn point of the targeted player(s) to the specified coordinate.


spreadplayers

Commands/infobox

Teleports entities (players, mobs, items, etc.) to random surface locations within an area.

Syntax
spreadplayers <x> <z> <spreadDistance> <maxRange> <respectTeams> <player …>
Arguments
x z
Specifies the center of the region to spread targets to. x and z must be between -30,000,000 and 30,000,000 (exclusive). May use tilde notation to specify coordinates relative to the command's execution.
spreadDistance
Specifies the minimum distance between targets. Must be at least 0.0.
maxRange
Specifies the maximum distance on each horizontal axis from the center of the area to spread targets (thus, the area is square, not circular). Must be at least 1.0 greater than spreadDistance.
respectTeams
Specifies whether to keep teams together. Must be true or false. If true, targets on the same team will be teleported to the same location.
player
Specifies the targets to spread. Must be one or more player names and/or target selectors separated by spaces (@e is permitted to target entities other than players).
Result
Fails if arguments are not specified properly, if there are too many targets to satisfy the spreadDistance requirement within the specified area, or if a target is attempted to be spread to outside the world boundary.
On success, teleports targets to random surface locations within the specified area. Targets will always be placed on the top block at a location, and never on lava.
Examples
To teleport all players by team to random surface locations in a 1,000×1,000-block area centered on (0,0), with a minimum distance between teams of 200 blocks:
spreadplayers 0 0 200 500 true @a
To teleport one random player from each of three teams (Red, Blue, and Green), as well as Alice and Bob, to random surface locations in a 200×200-block area centered on (0,0), with a minimum distance between players of 50 blocks:
spreadplayers 0 0 50 100 false @r[team=Red] @r[team=Blue] @r[team=Green] Alice Bob
See also
/tp — teleports a single player or entity to a specific position (even underground).


stats

Commands/infobox

Manages the updating of scoreboard objectives with the results of other commands.

Commands can be executed by blocks (specifically, command blocks and signs) or by entities (players can execute commands directly, and other entities can be the origin of commands indirectly with the /execute command). When a command is executed, the command returns one or more "command stats": the success count, number of blocks affected, number of entities affected, number of items affected, and/or a query result (such as from /time query daytime).

The stats command allows "selectors" and "objectives" to be set (or cleared) for each of these command stats for specific blocks or entities. Selectors (for example, @e) are stored exactly as entered, and don't get evaluated immediately. When a command is later run by the block or entity, the stored selector is then used to target (other) entities and update their scoreboard objective with the value of the command stat. That value can then be displayed or operated on, just like any other scoreboard value.

The success count from a command block can also be acquired with a redstone comparator, but that is capped at a maximum value of 15, while scoreboard objectives can hold any value from -2,147,483,648 to 2,147,483,647. Success counts and query results are also usually displayed in the chat.

Syntax
stats block <x> <y> <z> clear <stat>
stats block <x> <y> <z> set <stat> <selector> <objective>
stats entity <selector2> clear <stat>
stats entity <selector2> set <stat> <selector> <objective>
Arguments
x y z (block mode only)
Specifies the position of the block to post command stats from. x and z must be between -30,000,000 and 30,000,000 (inclusive, without the commas) and y must be between 0 and 256 (inclusive). May use tilde notation to specify a position relative to the command's execution.
selector2 (entity mode only)
Specifies the entity to post command stats from. Must be a player name or a target selector.
stat
Specifies the command stat whose selector and objective are to be cleared or set. Must be one of:
  • AffectedBlocks — returns the number of blocks affected by a command
  • AffectedEntities — returns the number of entities affected by a command
  • AffectedItems — returns the number of items affected by a command
  • QueryResult — returns the result of a command query
  • SuccessCount — returns a command's success count
selector (set mode only)
Specifies the selector to be evaluated when a command is run by the specified block or entity to determine which entity(ies) scoreboard objective is to be updated with the result returned by stat. May be anything because it won't be evaluated until a command is run by the specified block or entity, but only a player name or a target selector will produce useful results (though player names can be fake, so even real players don't need to be online).
objective (set mode only)
Specifies the name of the objective to be updated with the result returned by stat. May be anything because it won't be evaluated until a command is run by the specified block or entity, but only the name of a defined objective will produce useful results.
Result
Fails if arguments are not specified properly, if the specified block cannot track stats (in other words, it fails if the specified block is not a command block or sign), or if selector2 fails to evaluate to one or more valid entities (named players must be online).
On success, clears or sets the selector and objective to be updated with the result returned by stat.
Examples
To set the block at (0,64,0) to update scoreboard objective MyObj of the nearest player with the value of any query result returned by the block:
stats block 0 64 0 set QueryResult @p MyObj
To stop the block at (0,64,0) from updating any scoreboard obectives with the success count of commands it executes:
stats block 0 64 0 clear SuccessCount
To have the nearest wither skull update the scoreboard objective NumBlocks of fake player #FakePlayer with the number of blocks affected by commands executed by the wither skull:
stats entity @e[type=WitherSkull,c=1] set AffectedBlocks #FakePlayer NumBlocks
See also
/blockdata — can also change the selector and objectives of blocks by altering data tags directly
/entitydata — can also change the selector and objectives of entities by altering data tags directly


stop

Commands/infobox

Stops a server.

Syntax
stop
Description
Saves all changes to disk, then shuts down the server.
Success Conditions
Always succeeds.


summon

Commands/infobox

Summons an entity (mobs, projectiles, items, vehicles, etc.).

Syntax
summon <EntityName> [x] [y] [z] [dataTag]
Arguments
EntityName
Specifies the entity to be summoned. Must be an entity id (for example, Bat, EntityHorse, WitherSkull, XPOrb, PrimedTNT, etc.) or LightningBolt.
x y z (optional)
Specifies the position to summon the entity. x and z must be between -30,000,000 to 30,000,000 (inclusive), and y must be at least 0. May use tilde notation to specify a position relative to the command's execution. If not specified, defaults to the position of the command's execution.
dataTag (optional)
Specifies the data tag for the entity. Must be a compound NBT tag (for example, {CustomName:Fred}). Lightning has no additional data tags that can be specified.
Result
Fails if arguments are not specified properly.
On success, creates the specified entity at the specified position.
Examples
To summon a charged creeper named "Powered Creeper" at the current position:
summon Creeper ~ ~ ~ {powered:1,CustomName:Powered Creeper}
To summon lightning 10 blocks west of the current position:
summon LightningBolt ~-10 ~ ~


tell

Commands/infobox

Sends a private message to one or more players.

Syntax
tell <player> <private message …>
msg <player> <private message …>
w <player> <private message …>
Arguments
player
Specifies the targeted player(s) to send the private message to. Must be a player name (or a target selector, but only if the user is an operator).
private message
Specifies the message to send. May include spaces (as well as target selectors, but only if run from the server console — in other words, from the computer running the server, or by remote access to it).
Result
Fails if any target selectors in either argument fail to resolve to at least one online player, or if a named player is not online.
On success, only the targeted player(s) see the private message in their chat.
Any target selectors in the private message will each resolve to one or more player names (as "name" for a single player, "name1 and name2" for two players, or "name1, name2, …, and nameN" for N players, without the quotes).
Examples
To privately tell Alice to start the mission: tell Alice Start the mission!


tellraw

Commands/infobox

Sends a JSON message to players.

Syntax
tellraw <player> <raw json message>
Arguments
player
Specifies the player(s) to send the message to. Must be a player name or target selector.
raw json message
Specifies the message to send. Must be valid raw JSON text (for example, {text:"Hi there!",bold:true}).
Result
Fails if arguments are not specified properly, or if player fails to evaluate to one or more online players.
On success, the targeted players receive the JSON message in their chat.
See also
/say — send a simple text message to all players
/tell — send a simple text message to specific players


testfor

Commands/infobox

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

Syntax
testfor <player> [dataTag]
Arguments
player
Specifies the targets to count. Must be a player name or a target selector (@e is permitted to target entities other than players).
dataTag (optional)
Specifies the data tags the entities must have to match successfully. Must be a compund NBT tag (for example, {XpLevel:3}).
Result
Fails if arguments are not specified properly, or if player fails to resolve to one or more entities (named players must be online).
On success, produces a success count equal to the number of targets matching player, which can be measured by a redstone comparator facing away from the command block.
Examples
To test if Alice is online: testfor Alice
To count the number of players in survival mode within a 3-block radius of (0,64,0): testfor @a[0,64,0,3,m=0]
To count the number of players currently flying: testfor @a {abilities:{flying:1b}}
To count the number of zombies within a 20-block radius of (0,64,0): testfor @e[0,64,0,20,type=Zombie]


testforblock

Commands/infobox

Tests whether a certain block is in a specific location.

Syntax
testforblock <x> <y> <z> <TileName> [dataValue] [dataTag]
Arguments
x y z
Specifies the position of the block to test. x and z must be between -30,000,000 and 30,000,000 (inclusive, without the commas) and y must be between 0 and 255 (inclusive). May use tilde notation to specify a position relative to the command's execution.
TileName
Specifies the block to test for. Must be a valid block id (for example, minecraft:stone).
dataValue (optional)
Specifies the block data to test for. dataValue must be between -1 and 15 (inclusive). If not specified, or if -1, dataValue matches any block data value.
dataTag (optional)
Specifies the block data tags to test for. Must be a compound NBT tag (for example, {CustomName:Fred}). If not specified, dataTag matches any block data tag.
Result
Fails if arguments are not specified properly, if the block at the specified position does not match the specified block id or data, or if the specified data tag has different values than are defined in the block's data tag (dataTag does not need to match the block's entire data tag, and data tags in the argument which are undefined in the block will not cause the command to fail).
On success, returns a success count of 1.
Examples
To test if the block at (0,64,0) is any type of wool:
testforblock 0 64 0 minecraft:wool
testforblock 0 64 0 minecraft:wool -1
To test if the block at (0,64,0) is orange wool:
testforblock 0 64 0 minecraft:wool 1
To test if the block below is a jukebox with the "mall" record inside:
testforblock ~ ~-1 ~ minecraft:jukebox -1 {Record:2261}


testforblocks

Commands/infobox

Tests whether the blocks in two regions match.

Syntax
testforblocks <x1> <y1> <z1> <x2> <y2> <z2> <x> <y> <z> [mode]
Arguments
x1 y1 z1 and x2 y2 z2
Specifies two opposing corners of the region to use as the pattern to test for (the "source region"). x1, z1, x2, and z2 must all be between -30,000,000 and 30,000,000 (inclusive, without the commas), and y1 and y2 must be between 0 and 255 (inclusive). May use tilde notation to specify coordinates relative to the command's position. The number of blocks in the source region must not exceed 524,288.
x y z
Specifies the lower northwestern corner (the corner with the most-negative values) of the region to be checked (the "destination region"). x and z must both be between -30,000,000 and 30,000,000 (inclusive, without the commas), and y must be between 0 and 254 (inclusive). May use tilde notation to specify coordinates relative to the command's position. Source and destination regions may overlap.
mode (optional)
Specifies how to match blocks. Must be one of:
  • all — every block in the source and destination regions must match exactly.
  • maskedair blocks in the source region will match any block in the destination region.
If not specified, defaults to all.
Result
Fails if arguments are not specified properly, or if the source and destination regions do not match.
On success, returns the number of matching blocks (the total number of blocks in all mode, or the number of source region non-air blocks in masked mode).


time

Commands/infobox

Changes or queries the world's game time.

Syntax
time <add|query|set> <value>
Arguments
value
Specifies the time to add, query, or set:
  • add - Must be between 0 and 2,147,483,647 (inclusive, without the commas)
  • query - Must be daytime or gametime.
  • set - Must be between 0 and 2,147,483,647 (inclusive, without the commas), day, or night.
Result
Fails if arguments are not specified properly.
On success:
  • add - adds value to the world's game time
  • query - returns the day time (game ticks since midnight) or the game time (game ticks since world start)
  • set - sets the world game time to value (day = 1,000, night = 13,000).
Examples
To set the time to 1,000: time set 1000 or time set day
To add one day to the world time: time add 24000


title

Commands/infobox

Manages screen titles.

Screen titles are displayed to players as a single line of large center-aligned text in the middle of their displays and can include a second line of text called a "subtitle". Both lines can include complicated formatting. Screen titles can be set to fade in and fade out, and the duration they are displayed can also be specified. Screen titles scale in size with the GUI Scale and screen titles which are too big to fit on the screen are not line-wrapped (they just overflow off the screen on both sides).

Syntax
The command has five variations, each with different arguments.
title <player> clear (removes a screen title from the screen)
title <player> reset (resets options to default values)
title <player> subtitle <raw json title> (specifies the subtitle text)
title <player> times <fadeIn> <stay> <fadeOut> (specifies fade-in, stay, and fade-out times)
title <player> title <raw json title> (displays the screen title)
Arguments
player
Specifies the player(s) to display a screen title to. Must be a player name or target selector.
raw json title (subtitle and title mode only)
Specifies the text to display as a title or subtitle. Must be valid raw JSON text (for example, {text:"Chapter I",bold:true}).
fadeIn, stay, and fadeOut (times mode only)
Specifies the time in game ticks (1/20ths of a second) for the screen title to fade in, stay, and fade out. All values must be between -2,147,483,648 and 2,147,483,647 (inclusive, without the commas), but values below 0 will be treated as 0. If not specified (or if reset), default to 20 (1 second), 60 (3 seconds), and 20 (1 second).
Result
Title command

Example result of the title command.

Fails if arguments are not specified properly, or if player fails to evaluate to one or more online players.
On success:
  • clear — Clears the screen title from the screens of the specified player(s). If no screen title is currently being displayed, has no effect.
  • reset — Resets the subtitle text to blank text, the fade-in time to 20 (1 second fade-in), the stay time to 60 (3 seconds), and the fade-out time to 20 (1 second fade-out) for the specified player(s).
  • subtitle — If a screen title is currently being displayed to the specified player(s), changes the currently-displayed subtitle to the new specified text; otherwise, specifies the subtitle for the next screen title to be displayed to the specified player(s).
  • times — If a screen title is currently being displayed to the specified player(s), changes the fade-in, stay, and fade-out times of the current screen title (and of all future screen titles); otherwise, specifies the times for future screen titles to be displayed to the specified player(s).
  • title — Displays the specified text to the specified player(s), or changes the currently-displayed text to the new specified text. After fade-out, resets the subtitle back to blank text, but does not reset fade-in, stay, and fade-out times.
Examples
To display a bold screen title "Chapter I" with a gray italic subtitle "The story begins…" to all players:
  1. title @a subtitle {text:"The story begins…",color:gray,italic:true}
  2. title @a title {text:"Chapter I",bold:true}


toggledownfall

Commands/infobox

Toggles the weather.

Syntax
toggledownfall
Result
Always succeeds. If weather is currently clear, rain or snow starts. If weather is currently rain or snow, stops.


tp

Commands/infobox

Teleports entities (players, mobs, items, etc.).

Syntax
tp [target player] <destination player>
tp [target player] <x> <y> <z> [<y-rot> <x-rot>]
Arguments
target player (optional)
Specifies the targets to be teleported. Must be either a player name or a target selector (@e is permitted to target entities other than players). If not specified, defaults to the command's user. Not optional in command blocks.
destination player
Specifies the targets to teleport the target player to. Must be either a player name or a target selector (@e is permitted to target entities other than players).
x y z
Specifies the coordinates to teleport the targets to. x and z must fall within the range -30,000,000 to 30,000,000 (exclusive, without the commas), and y must be at least 0. May use tilde notation to specify a position relative to the target's current position.
y-rot (optional)
Specifies the horizontal rotation (-180.0 for due north, -90.0 for due east, 0.0 for due south, 90.0 for due west, to 179.9 for just west of north, before wrapping back around to -180.0). Tilde notation can be used to specify a rotation relative to the target's previous rotation.
x-rot (optional)
Specifies the vertical rotation (-90.0 for straight up to 90.0 for straight down). Tilde notation can be used to specify a rotation relative to the target's previous rotation.
Result
Fails if the arguments are not specified correctly, if target player fails to resolve to one or more entities (named players must be online), or if destination player fail to resolve to a single entity (a named player must be online).
On success, teleports the targets to the specified destination.
Examples
To teleport yourself to Alice: tp Alice
To teleport all players to yourself: tp @a @p
To teleport yourself to (x,z) = (100,100) but three blocks above your current position: tp 100 ~3 100
To rotate the nearest player 10 degrees to the right without changing their position: tp @p ~ ~ ~ ~10 ~


trigger

Commands/infobox

Sets a trigger to be activated in a tellraw message.

Syntax
trigger <objective> <add|set> <value>
Description
Used together with /tellraw to let players activate systems made by operators or mapmakers. The objective must be an enabled scoreboard objective of the criteria "trigger". The given value is either added to its existing value, or becomes its new value, depending on whether the second argument is add or set. The value of the objective is only changed for the player who uses the command.
Success Conditions
objective must have the "trigger" criteria and the player who is running the command must be able to modify objective.


weather

Commands/infobox

Sets the weather.

Syntax
weather <clear|rain|thunder> [duration in seconds]
Arguments
clear
Specifies to set the weather to clear weather.
rain
Specifies to set the weather to rain (or snow in cold biomes).
thunder
Specifies to set the weather to a thunderstorm (or a thunder snowstorm in cold biomes).
duration in seconds
Specifies the time for the specified weather to last. Must be between 1 and 1,000,000 (inclusive, without the commas).
Result
Fails if arguments are not specified properly.
On success, changes the weather for the specified duration (in seconds).
Examples
To get clear weather for one Minecraft day: weather clear 1200
To make it rain, but let it end at its own pace: weather rain 1


whitelist

Commands/infobox

Adds or removes a player from a server whitelist.

Syntax
whitelist <add|remove> <player>
Description
Adds or removes player from the whitelist.
Success Conditions
Always succeeds.


whitelist list

Displays the server whitelist.

Syntax
whitelist list
Description
Displays all players in the whitelist.
Success Conditions
Always succeeds.


whitelist on|off

Turns the server whitelist on or off.

Syntax
whitelist <on|off>
Description
Enables/disables the server's use of a whitelist. Note: Server ops will always be able to connect when the whitelist is active, even if their names do not appear in the whitelist.
Success Conditions
Always succeeds.


whitelist reload

Reloads the server whitelist.

Syntax
whitelist reload
Description
Reloads the list of playernames in white-list.txt (1.7.5 or earlier) or whitelist.json (1.7.6 or later) from disk (used when white-list.txt or whitelist.json has been modified outside of Minecraft).
Success Conditions
Always succeeds.


worldborder

Commands/infobox

These commands manage the world border.

Syntax
The command has eight variations, each with different arguments:
worldborder add <sizeInBlocks> [timeInSeconds] (increased the world border diameter)
worldborder center <x> <z> (recenters the world boundary)
worldborder damage amount <damagePerBlock> (specifies world border damage rate)
worldborder damage buffer <sizeInBlocks> (specifies world border damage buffer distance)
worldborder get (returns the world border diameter)
worldborder set <sizeInBlocks> [timeInSeconds] (sets the world border size and speed)
worldborder warning distance <blocks> (specifies the world border warning distance)
worldborder warning time <seconds> (specifies the world border warning time)
Arguments
sizeInBlocks (add, damage buffer, and set modes only)
Specifies a distance in blocks:
  • add — specifies the number of blocks to add to the world border diameter.
  • damage buffer — specifies the distance outside the world buffer before players start taking damage. Must be at least 0.0. Initially set to 5.0.
  • set — Specifies the new diameter for the world border. Must be between 1.0 and 60,000,000 (inclusive, without the commas).
timeInSeconds (add and set modes only)
Specifies the number of seconds it should take for the world border to move from its current diameter to the new diameter. Must be at least 0. If not specified, defaults to 0.
x z (center mode only)
Specifies the horizontal coordinates of the world border's center. Must be between -30,000,000 and 30,000,000 (inclusive, without the commas). May use tilde notation to specify coordinates relative to the command's execution.
damagePerBlock (damage amount mode only)
Specifies the damage a player takes per second per block past the world border buffer. For example, if damagePerBlock is 0.1, a player 5 blocks outside the world border buffer will take 0.5 damage per second (damage less than half a heart might not change the visual health display, but will still accumulate). Must be at least 0.0. Initially set to 0.2.
blocks (warning distance mode only)
Specifies the distance from the world border at which players will begin to see a visual warning of the world border's proximity. Must be at least 0. Initially set to 5.
seconds (warning time mode only)
Specifies the time in seconds before a moving world border overruns a player when they will begin to see a visual warning of the world border's proximity. For example, if seconds is 5, players will get a visual warning when the moving world border is 5 seconds or less away from passing their position. Must be at least 0. Initially set to 15.
Result
Fails if arguments are not specified properly, or if new world diameter will be less than 1.0 or greater than 60,000,000.
On success:
  • add — The world border begins changing its diameter. If sizeInBlocks is positive, the world border will turn green and start increasing; if negative, the world border will turn red and start decreasing. If timeInSeconds is 0 or unspecified, the change occurs immediately; otherwise the change proceeds at a rate of (sizeInBlocks/2)/timeInSeconds blocks per second.
  • center — The center of the world border immediate moves to the specified coordinates.
  • damage amount — Sets the world border damage amount to the specified value. Any player outside the world border buffer will take this amount of damage per second per block past the world border buffer distance.
  • damage buffer — Sets the world border buffer distance to the specified value. Players won't take damage until they move past this distance from the world border.
  • get — Shows the current world border diameter in the chat.
  • set — The world border begins changing its diameter. If sizeInBlocks is bigger than the current diameter, the world border will turn green and start increasing; if smaller, the world border will turn red and start decreasing. If timeInSeconds is 0 or unspecified, the change occurs immediately; otherwise the change proceeds at a rate of ((sizeInBlocks-<cirrent diameter>)/2)/timeInSeconds blocks per second.
  • warning distance — Sets the world border warning distance to this value.
  • warning time — Sets the world border warning time to this value.


xp

Commands/infobox

Adds experience to a player.

Syntax
xp <amount> [player]
xp <amount>L [player]
Arguments
amount
Specifies the amount of experience to give to the player. Must be between 0 and 2,147,483,647 (inclusive, without the commas).
If an L is added to the end, adds levels instead. Levels must be between -2,147,483,648 and 2,147,483,647 (inclusive, without the commas) — negative values remove levels instead of adding them.
player (optional)
Specifies the target of the command. Must be a player name or a target selector. If not specified, defaults to the command's executor. Not optional in command blocks.
Result
Fails if arguments are not specified properly, or if player fails to resolve to one or more online players.
On success, adds experience or adds/removes levels. Total experience and levels will not be reduced below 0.
Examples
To give 7 experience to yourself: xp 7
To give 3 levels to Alice: xp 3L Alice
To remove all levels from all players: xp -2147483648L @a


Video

Commands/video

History

c
0.0.15a_03
{{Extension DPL}}<ul><li>[[Cooked Mutton|Cooked Mutton]]<br/>{{Item
| title = Cooked Mutton
| heals = {{hunger|6}}
| renewable = Yes
| stackable = Yes (64)
| rarity = Common}}
{{redirect|Mutton|the raw version|Raw Mutton}}
'''Cooked mutton''' is a [[food]] item obtained from cooking [[raw mutton]].

== Obtaining ==

=== Mob loot ===

==== Sheep ====
Adult [[sheep]] drop 1–2 cooked mutton if killed while on fire. The maximum amount is increased by 1 per level of [[looting]], for a maximum of 1-5 with Looting III.

=== Cooking ===
Cooked mutton can be obtained by cooking raw mutton in a [[furnace]], [[smoker]], or [[campfire]].

{{Smelting
  |showname=1
  |Raw Mutton
  |Cooked Mutton
  |0,35
}}

=== Trading ===
{{IN|bedrock}}, apprentice-level butcher [[villager]]s have a 25% chance to sell 4 cooked mutton for one [[emerald]] as part of their trades.

{{IN|java}}, butcher villagers may give the players with the [[Hero of the Village]] effect cooked mutton.

== Usage ==

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

=== Wolves ===
Cooked mutton 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 Mutton
|spritetype=item
|nameid=cooked_mutton
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Mutton
|spritetype=item
|nameid=cooked_mutton
|aliasid=muttoncooked
|id=551
|form=item
|translationkey=item.muttonCooked.name
|foot=1}}

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

== Video ==

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

== History ==

{{History|java}}
{{History||1.8|snap=June 30, 2014|slink=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweeted images of cooked mutton and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Cooked Mutton JE1.png|32px]] Added cooked mutton.}}
{{History|||snap=14w33b|[[File:Cooked Mutton JE2 BE1.png|32px]] The texture of raw mutton 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>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 424.}}
{{History||1.14|snap=18w43a|[[File:Cooked Mutton JE3 BE2.png|32px]] The texture of cooked mutton has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked mutton to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Cooked Mutton JE2 BE1.png|32px]] Added cooked mutton.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Mutton JE3 BE2.png|32px]] The texture of cooked mutton has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked mutton can now be [[trading|bought]] from butcher [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cooked mutton has been changed from <code>muttoncooked</code> to <code>cooked_mutton</code>.}}

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

{{History|3ds}}
{{History||0.1.0|[[File:Cooked Mutton JE2 BE1.png|32px]] Added cooked mutton.}}
{{History|foot}}

== Issues ==

{{issue list}}

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

== References ==

{{reflist}}

{{items}}

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

[[de:Gebratenes Hammelfleisch]]
[[es:Cordero asado]]
[[fr:Mouton cuit]]
[[it:Carne ovina cotta]]
[[ja:焼き羊肉]]
[[ko:익힌 양고기]]
[[nl:Gebraden schapenvlees]]
[[pl:Pieczona baranina]]
[[pt:Carneiro assado]]
[[ru:Жареная баранина]]
[[zh:熟羊肉]]</li><li>[[Saddle|Saddle]]<br/>{{about|normal saddles|the removed horse saddle|Horse Saddle}}
{{item
| image = <gallery>
Saddle (Pig).png | Pig
Saddle (Horse).png | Horse
Saddle (Strider).png | Strider
</gallery>
| invimage = Saddle
| renewable = Yes
| stackable = No
}}

A '''saddle''' is an [[item]] required to ride [[Pig|pigs]] and [[Strider|striders]] or control ridden [[camel]]s, [[Horse|horses]], [[Donkey|donkeys]] and [[Mule|mules]].

== Obtaining ==
=== Chest loot ===
{{LootChestItem|saddle}}

=== Fishing ===
Saddles can be obtained as a "treasure" item from [[fishing]] with a base chance (without fishing rod enchantments) of 0.8%.

=== Trading ===
Master-level [[Trading#Leatherworker|leatherworker]] [[villager]]s have a 50% chance to sell a saddle for 6 [[Emerald|emeralds]] as their trade.{{only|bedrock}} This trade is always offered in ''Java Edition''.

=== Mob loot ===
Any mob that the player equips with a saddle drops the saddle upon death.

A [[strider]] may spawn being ridden by a [[zombified piglin]], which causes it to spawn wearing a saddle. This saddle always drops when the strider is killed.

A [[ravager]] always spawns with a saddle and always drops the saddle upon death. Looting does not affect the drop.

== Usage ==
[[File:SaddledHorse.png|thumb|right|A [[horse]] equipped with a saddle.]]
While [[camel]]s, [[horse]]s, [[donkey]]s, [[mule]]s and [[Skeleton Horse|skeleton horse]]s{{Only|Java}} can always be ridden, a saddle is required to control them. These mobs (only after being tamed, in the case of equine mobs) can be equipped with a saddle by placing it in their inventory, which can be opened by pressing {{control|use}} while holding a saddle or {{control|sneaking}}. The saddle can be unequipped by removing it from {{SlotSprite|Saddle}} the specific inventory slot. 

Saddles are required to ride [[Pig|pigs]] and [[Strider|striders]], but even with a saddle their movement cannot be controlled like other mobs. A [[Carrot on a Stick|carrot on a stick]] (for pigs) or a [[Warped Fungus on a Stick|warped fungus on a stick]] (for striders) is required to direct these mobs. {{control|Using}} a saddle on one of these mobs equips them with the saddle, and, since they have no inventory, there is no way to retrieve the saddle without killing the mob.

Animals can also be equipped with saddles by a [[dispenser]].

Although [[ravager]]s are equipped with saddles and sometimes ridden by other mobs, the [[player]] is unable to ride ravagers.

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=4
|sound=Saddle equip.ogg
|source=neutral
|subtitle=Saddle equips
|description=When a saddle is equipped to a camel
|id=entity.camel.saddle
|translationkey=subtitles.entity.horse.saddle
|volume=0.5
|pitch=0.8
|distance=16}}
{{Sound table
|subtitle=MC-184399
|source=neutral
|description=When a saddle is equipped to a strider
|id=entity.strider.saddle
|translationkey=-
|volume=0.5
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Saddle equips
|source=neutral
|description=When a saddle is equipped to a horse, donkey, mule, skeleton horse, or zombie horse
|id=entity.horse.saddle
|translationkey=subtitles.entity.horse.saddle
|volume=0.5
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Saddle equips 
|source=neutral
|description=When a saddle is equipped to a pig
|id=entity.pig.saddle
|translationkey=subtitles.entity.pig.saddle
|volume=0.5
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=3
|sound=Saddle equip.ogg
|source=neutral
|description=When a saddle is equipped to a camel
|id=mob.horse.leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|source=neutral
|description=When a saddle is equipped to a horse, mule, skeleton horse, or zombie horse
|id=mob.horse.leather
|volume=0.6
|pitch=1.0}}
{{Sound table
|source=neutral
|description=When a saddle is equipped to a donkey
|id=mob.horse.leather
|volume=0.5
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Saddle
|spritetype=item
|nameid=saddle
|id=371
|form=item
|foot=1}}

== Achievements ==
{{load achievements|When Pigs Fly}}

== Advancements ==
{{load advancements|This Boat Has Legs}}

== History ==
{{needs render|type=old|isolated saddles in 1.13 dev|section=11}}
{{History|java infdev}}
{{History||20100625-2|[[File:Saddle (Pig) JE1 BE1.png|32px]] [[File:Saddle JE1 BE1.png|32px]] Added saddles.
|Saddles do not [[drops|drop]] from saddled [[pig]]s.
|Saddles can be found in the new [[dungeon]] [[chest]]s.}}
{{History|java}}
{{History||1.2.4|snap=release|When baby animals were introduced, baby [[pig]]s could be ridden just like adult pigs. After this version, baby pigs can no longer be saddled.}}
{{History||1.3.1|snap=12w21a|Saddles can now be [[trading|bought]] from butcher [[villager]]s for 6–7 [[emerald]]s each, and thus have become [[renewable resource|renewable]].}}
{{History||1.4.2|snap=12w36a|Saddles now [[drops|drop]] from killing saddled [[pig]]s.
|Added [[Carrot on a Stick|carrot on a stick]] to direct saddled pigs, effectively controlling them.}}
{{History|||snap=12w37a|Pigs can now jump when being ridden.}}
{{History||1.6.1|snap=13w18a|Regular saddles can now be used to ride [[horse]]s, while previously they required [[Horse Saddle|horse saddle]]s.
|Added saddles to the loot tables of [[mineshaft]] minecarts, [[stronghold]] altar chests, [[village]] blacksmith chests, as well as [[Desert pyramid|desert]] and [[jungle pyramid]]s.
|Added chests to [[Nether Fortress|nether fortresses]], where saddles can be found.}}
{{History||1.7.2|snap=13w36a|Saddles can now be [[fishing|fished]] with [[Fishing Rod|fishing rod]]s and are described as treasure.}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: leatherworker [[villager]]s now [[trading|sell]] saddles for 8–10 [[emerald]]s each, and butchers no longer [[trading|trade]] saddles.}}
{{History||1.9|snap=15w31a|Saddles can now be found in [[End City|end city]] [[chest]]s.}}
{{History|||snap=15w43a|The average yield of saddles in [[Nether Fortress|nether fortress]] chests has been slightly decreased.}}
{{History|||snap=15w44a|Saddles have been removed from [[mineshaft]] chests.
|The average yield of saddles in [[dungeon]] chests has been decreased.
|The average yield of saddles in [[desert pyramid|desert temple]] chests has been increased.}}
{{History||1.13|snap=17w45a|[[File:White Horse (Saddle) 17w45a.png|50px]] The models of the horse's saddle has been changed.}}
{{History|||snap=17w46a|[[File:White Horse (Saddle) 17w46a.png|50px]] The models of the horse's saddle has been changed once again.}}
{{History|||snap=17w47a|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 329.}}
{{History|||snap=18w03a|[[File:White Horse (Saddle) 18w03a.png|50px]] The models of the horse's saddle has been changed once again.}}
{{History|||snap=pre2|[[File:White Horse (Saddle) 1.13pre2.png|50px]] The models of the horse's saddle has been changed once again. The reins bit has now been rendered. Also, the lines of the reins are no longer rendered except when riding.}}
{{History||1.14|snap=18w43a|Added [[ravager|illager beast]]s, which [[drops|drop]] saddles.
|[[File:Saddle (Pig) JE2 BE2.png|32px]] [[File:Saddle (Horse) JE2 BE2.png|32px]] <br>[[File:Saddle JE2 BE2.png|32px]] The textures of saddles have been changed.}}
{{History|||snap=18w48a|Saddles can now be found in [[chest]]s in [[village]] tanneries.}}
{{History|||snap=18w49a|Saddles can now be found in chests in [[savanna]] village houses.}}
{{History||1.16|snap=20w13a|[[File:Saddle (Strider) JE1 BE1.png|32px]] Added [[strider]]s, which can be ridden with saddles.}}
{{History|||snap=20w15a|Saddles placed in a [[dispenser]] can now saddle pigs, striders, and tamed horses, donkeys and mules.}}
{{History|||snap=20w16a|Saddles now generate in [[Bastion Remnant|bastion remnant]] chests.}}
{{History|||snap=20w17a|[[File:Saddle (Strider) JE2.png|32px]] The texture of the strider saddles has been changed. The front and back orientation of the saddle has been corrected.<ref>{{bug|MC-176116}}</ref>}}
{{History||1.19|snap=22w13a|Saddles may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Saddles can be used to ride [[camel]]s with the use of a built-in experimental data pack.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Saddle JE1 BE1.png|32px]] Added saddles. They are currently unobtainable and have no practical usage since they cannot be equipped on any mobs.}}
{{History||v0.9.0|snap=build 1|Saddles can now be obtained from [[village]] blacksmith [[chest]]s.}}
{{History||v0.11.0|snap=build 1|Saddles can now be [[fishing|fished]] with [[fishing rod]]s and are described as treasure.}}
{{History||v0.12.1|snap=build 1|Saddles can now be found in [[nether fortress]]es.}}
{{History||v0.13.0|snap=build 1|Saddles can now be found in [[desert temple]]s.}} 
{{History||v0.15.0|snap=build 1|[[File:Saddle (Pig) JE1 BE1.png|32px]] [[File:Saddle (Horse) JE1 BE1.png|32px]] Saddles can now be used for riding [[horse]]s and [[pig]]s.|Saddles can now be found inside [[jungle temple]]s.}}
{{History||snap=?||Added saddles to the [[Creative inventory]].{{info needed}}}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Saddles can now be found in [[end cities]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Saddles are now [[trading|sold]] by leatherworker [[villager]]s for 8-10 [[emerald]]s as their only third tiers [[trading|trades]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|Saddles can now be found in [[plains]] [[village]] tannery and weaponsmith [[chest]]s.
|Added [[ravager]]s, which [[drops|drop]] a saddle upon death.
|[[File:Saddle (Pig) JE2 BE2.png|32px]] [[File:Saddle (Horse) JE2 BE2.png|32px]] <br>[[File:Saddle JE2 BE2.png|32px]] The textures of saddles have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Saddles can now be found in [[savanna]], [[snowy taiga]], [[taiga]] and [[snowy tundra]] village tannery [[chest]]s.
|Saddles can now be found in savanna, taiga, snowy taiga, and [[desert]] village weaponsmith chests.
|Saddles can now be found in savanna [[village]] house chests.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has been changed. Leatherworker [[villager]]s now have 50% chance to [[trading|sell]] saddles for 10 [[emerald]]s as part of their last tier [[trading|trade]].}}
{{History||1.12.0|snap=beta 1.12.0.3|The trading price of saddles has been lowered to 6 emeralds.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Saddle (Strider) JE1 BE1.png|32px]] Added [[strider]]s, which can be ridden with saddles.|Saddles now generate in [[Bastion Remnant|bastion remnant]] chests.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|Saddles can now be used to ride [[camel]]s with the use of the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Saddle (Pig) JE1 BE1.png|32px]] <br>[[File:Saddle JE1 BE1.png|32px]] Added saddles.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Saddle (Pig) JE2 BE2.png|32px]] [[File:Saddle (Horse) JE2 BE2.png|32px]] <br>[[File:Saddle JE2 BE2.png|32px]] The textures of saddles have been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Saddle (Pig) JE1 BE1.png|32px]] <br>[[File:Saddle JE1 BE1.png|32px]] Added saddles.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* A saddle is considered "armor" by the game, but the value of protection to the animal is zero.
* A saddle on a pig can still be seen if the pig is afflicted with [[Invisibility]].
* When riding a saddled mob, the hunger bar is replaced by hearts (representing the mounted mob's health) resembling the look of the saddle.

== Gallery ==
<gallery>
File:Pig saddle.png|A [[player]] riding a [[pig]] (before [[Java Edition Beta 1.8|Beta 1.8]]).
File:Horse saddle.png|A player riding a [[horse]].
File:13w21a-new-HorseUI-inventory.png|The horse interface implemented in [[Java Edition 13w21a|13w21a]] that allows for the removal of saddles, but only on horses, [[donkey]]s or [[mule]]s.
File:Saddled Mule (picture).png|Mule equipped with both a saddle and a [[chest]].
File:GodSpawner.png|A saddle found in a monster room chest, which coincidentally contains an [[enchanted golden apple]].
</gallery>

== See also ==
* [[Transportation]]

== References ==
{{reflist}}

{{items}}

[[cs:Sedlo]]
[[de:Sattel]]
[[es:Montura]]
[[fr:Selle]]
[[hu:Nyereg]]
[[it:Sella]]
[[ja:鞍]]
[[ko:안장]]
[[nl:Zadel]]
[[pl:Siodło]]
[[pt:Sela]]
[[ru:Седло]]
[[zh:鞍]]
[[Category:Renewable resources]]
[[uk:Сідло]]</li></ul>
Added /broadcast.
0.0.16a_01Tropical fish also have assigned names that can be seen after capture. In Java Edition, the smaller text under the item name is displayed showing the fish name, similar to the text that displays enchantments under enchanted items. In Bedrock Edition, the item name is displayed showing "Bucket of <fish name>". Their colors are mostly named according to the colored block names, though with a few exceptions:
  • White
  • Silver
  • Gray
  • Black
  • Brown
  • Red
  • Orange
  • Yellow
  • Lime
  • Green
  • Teal
  • Sky
  • Blue
  • Plum
  • Magenta
  • Rose

The base color comes first, and if the pattern color is different, it comes after that. Lastly, the fish bucket is given a name according to the shape and pattern of the fish:

Flopper Glitter Betty
Stripey Blockfish Clayfish
Tropical Fish Patterns
Kob Snooper Brinely
SunStreak Dasher Spotty

Some tropical fish don't follow the normal naming system, and instead, reference real-life fish species. Apart from these names, these types of fish aren't different from regular tropical fish in terms of design or behavior.

These varieties are:

Name Type
Anemone Orange-Gray Stripey
Black Tang Gray Flopper
Blue Dory ‌[Bedrock Edition only] Gray-Sky SunStreak
Blue Tang ‌[Java Edition only] Gray-Blue Flopper
Butterfly Fish ‌[Bedrock Edition only]/Butterflyfish ‌[Java Edition only] White-Gray Clayfish
Cichlid Blue-Gray SunStreak
Clownfish Orange-White Kob
Cotton Candy Betta Rose-Sky Spotty
Dottyback Plum-Yellow Blockfish
Emperor Red Snapper White-Red Clayfish
Goatfish White-Yellow Spotty
Moorish Idol White-Gray Glitter
Ornate Butterfly ‌[Bedrock Edition only]/Ornate Butterflyfish ‌[Java Edition only] White-Orange Clayfish
Parrotfish Teal-Rose Dasher
Queen Angel Fish ‌[Bedrock Edition only]/Queen Angelfish ‌[Java Edition only] Lime-Sky Brinely
Red Cichlid Red-White Betty
Red Lipped Blenny Gray-Red Snooper
Red Snapper Red-White Blockfish
Threadfin White-Yellow Flopper
Tomato Clown ‌[Bedrock Edition only] Red-White SunStreak
Tomato Clownfish ‌[Java Edition only] Red-White Kob
Triggerfish Gray-White SunStreak
Yellowtail Parrot ‌[Bedrock Edition only]/Yellowtail Parrotfish ‌[Java Edition only] Teal-Yellow Dasher
Yellow Tang Yellow Flopper
Changed /broadcast to /say.
0.0.17a
{{Extension DPL}}<ul><li>[[:Category:Education Edition items|Category:Education Edition items]]<br/>[[Category:Education Edition]]
[[Category:Items]]</li><li>[[Minecart|Minecart]]<br/>{{about|the rideable minecart in Minecraft|other uses|Minecart (disambiguation)|}}
{{distinguish|Minecraft}}
{{ItemEntity
|image=Minecart.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops={{ItemLink|Minecart}} (1)
|health={{hp|6}}
}}
A '''minecart''' is a train-like vehicle [[entity]] that runs on [[Rail (disambiguation)|rail]]s.

== Obtaining ==

Minecarts can be retrieved by {{control|attack|text=attacking}} them for some time. Minecarts can also be retrieved with one attack from a [[pickaxe]] provided the player's attack cooldown is reset. A minecart is also destroyed if it makes contact with a [[cactus]], or if shot with a [[bow]] and arrow.

=== Crafting ===

{{Crafting
|A2= Iron Ingot
|C2= Iron Ingot
|A3= Iron Ingot
|B3= Iron Ingot
|C3= Iron Ingot
|Output= Minecart
|type= Transportation
}}

=== Entity loot ===
[[Minecart with command block]]s can be given to the player with the {{cmd|/give}} command or through the creative inventory under certain conditions{{only|java}}; [[minecart with spawner]]s{{only|java}} are available only via the {{cmd|/summon}} command. Each drop 1 minecart when broken.

== Usage ==
[[File:RideableMinecart.png|thumb|right|A rideable minecart on rails surrounded by wood slabs]]

A minecart can be placed in the same manner as most blocks but can be placed only on top of a [[rail]]. Once placed, it may be derailed by pushing it off the end of the track. After this, it can be railed again by placing a rail directly below it or pushing it onto a track.

=== Crafting ingredient ===

{{crafting usage}}

=== Transportation ===
[[File:Steve Riding a Minecart.png|thumb|right|upright|[[Steve]] riding a minecart]]
{{see also|Transportation|Riding}}

Minecarts can be ridden by {{control|use|text=pressing the "use" control}} on them. Once inside, an external impulse may be needed to make the minecart start moving. The player can slowly move the minecart forward while riding it, by pressing {{control|forward}}. If a mob walks in front of an empty minecart, it is pulled into the cart.

After rolling off of the end of a track, a minecart can be pushed around on open blocks. If a minecart is pushed onto or falls onto tracks, it "snaps" to those tracks. When riding a minecart, if the minecart lands on a rail, the player does not take any fall damage. <!--Minecarts and arrows don't interact anymore.-->

Unlike with [[bed]]s, there is no message above the hotbar for attempting to enter a fully occupied minecart.<ref>{{Cite bug|MC|161251|Attempting to enter an occupied bed displays a message over the hotbar, but attempting to enter an occupied vehicle does not|date=September 18, 19|resolution=Works as Intended}}</ref>

=== Dismounting ===
Players can exit the minecart by pressing {{control|sneak}}. When a player or mob dismounts a minecart, either by choice, by breaking the minecart, or by passing over an [[activator rail]], the minecart tries to find a safe ejection destination one block away. First it checks the eight horizontally adjacent blocks in the following order of priority relative to direction of travel: right, left, rear right, rear left, front right, front left, rear, front. A valid destination has a block underneath with a solid (not necessarily full) top surface and a space with enough headroom and width for the passenger to fit in when standing at the center. The space can even contain liquid or have open trapdoors if the mob is slim enough, and presence of other mobs doesn't matter. If no valid destination exists on same horizontal level, the minecart then checks the blocks one above, then one below. For a player, the minecart also checks for crawlable destinations. If still none, the minecart chooses its own location. Once the minecart picks a destination, it actually ejects the passenger one block up in the air and the passenger settles down on its own. Under a low ceiling this may cause one tick of suffocation damage. The air drop exists to allow passengers to land on carpet or bottom slabs.

== Behavior ==

=== Speed ===

Minecarts have a predefined speed limit of exactly 8 blocks per second. However, this speed limit does not change the minecart's speed value but instead limits how far a minecart can travel each tick to 0.4 blocks. Therefore, a minecart moving from powered rail to normal rail will move at constant speed for some time until decelerating because its internal speed value is over its speed limit of 8.

[[Powered rail]]s powered by redstone give minecarts a boost of speed. Speed is gradually decreased (due to drag) if there are no powered rails to assist its movement, and an unpowered powered rail slows down a minecart rapidly. The speed decreases at a faster rate when going uphill, compared to when moving horizontally. A minecart does not need powered rails to assist its movement down a hill.
<!-- Is this comparison to real-life physics necessary? - One unit of kinetic energy could be defined as the energy gained by a cart going down a one-block slope and lost by a cart when it goes up a one-block slope. If a 45-degree downward slope is connected directly into an upward slope, an initial height of 60 blocks results in a final height of 40 blocks, a loss of 20 units of potential energy. But if 20 sections of flat track are inserted between the slopes, the final height is 35. This implies that one unit of energy is lost for every 4 sections of horizontal track traveled with an initial stored energy of between 60 and 40. At much lower speeds, much less energy is lost, implying that the energy lost is a percentage of the cart's current energy. The above gives about 0.5% energy loss per section of track. One implication of this is that more energy lost when the cart has more energy, so a gradual slope should allow you to travel much farther distances than a steep slope followed by a long flat section. (This is different from real-life physics, where friction does not increase with velocity. However, it may be an attempt to mirror air resistance, which ''does'' increase with velocity.) -->

Anything in the way of the minecart brings it to a stop. Once a minecart has left the track, it rapidly decelerates within one or two blocks. When mobs touch a minecart, they affect it in the same way a player would, i.e. mobs that move up against a still cart set it in motion.

If a minecart is moving fast enough, it can skip across one block without a track and reattach to track on the other side, at significantly reduced energy and speed. A minecart's hitbox can skip turns if the minecart is boosted using enough powered rails.<ref>{{Cite bug|MC|179971|Minecart skips turns if too fast|date=April 22, 2020}}</ref>

The speed and momentum of a minecart can differ depending on whether or not it is empty, and in the case where a minecart has a container, the speed can differ depending on the quantity and type of items inside.

=== Merged minecarts ===

{{IN|java}}, two or more minecarts can be merged by pushing them into each other so that they overlap. Merged minecarts move as a collective, like a train, and can be useful for long-distance transport because while moving in a straight line, they ''do not need powered rails to keep their speed''.

To summarize:
* Minecarts can also be merged by ''dropping'' a minecart on another minecart.
* Merged minecarts do not lose speed while traveling on straight rails
* ''Corners'' in the rails might cause merged minecarts to unmerge.
* Minecarts with ''chest'' (even fully filled) can also be merged and also do ''not'' require powered rails.

=== Distance traveled by empty carts starting on a downward slope ===

This table shows the distance traveled by an unoccupied minecart on a downward slope, with a boost (or no boost). The most efficient way is to use only 1 boost at the bottom of the incline on the flat surface. Using 2 increases distance by about 20% or 1.5 blocks. All distance trends based on the height seem to be logarithmic.
The carts started from rest, on a slope Height blocks up.

{| class="wikitable" data-description="Distance traveled"
|-
! Height !! No Boost !! Bottom !! Bottom and Top !! All boosts on incline and bottom
|-
| 1 || 2.77m || 8.77 || 10.8 || 10.8
|-
| 2 || 4.59m || 9.59 || 10.83 || 13.37
|-
| 3 || 5.81m || 9.81 || 11.66 || 15.12
|-
| 4 || 7.04m || 10.04 || 12.46 || 16.95
|-
| 5 || 7.87m || 10.87 || 12.29<!--(Yes, it did actually travel less)--> || 17.95
|-
| 10 || 11.65m || 13.38 || 15.12 || 21.68
|-
| 100 || 15.87m || 17.05 || 17.54 || 25.34
|}

=== Collision ===

Minecarts are about the same size as a block (1×1). Because of this, a ladder, door, or trapdoor prevents it from falling down a 1×1 hole. Carts on [[rail]]s also ignore collision in certain situations. A cart traveling uphill, downhill, or on a curve with a block placed in front of it, goes through the block.<ref>{{Cite bug|MC|8004|Minecarts glitch through the stop block of a track that ends with a turn or a downward slope|date=January 20, 2013}}</ref>

A minecart that reaches the end of a rail up against an opaque solid block bounces back, but if the block is transparent then it stops. The minecart can even bounce against an opaque block from a standstill if the rail underneath is powered. A player or mob riding in a minecart does not collide with or suffocate in any transparent blocks but suffocates inside opaque blocks.

Minecarts are completely unaffected by [[ice]], [[packed ice]], and [[blue ice]]<ref>{{Cite bug|MC|8265|Minecarts don't slide on any sort of ice|date=January 25, 2013}}</ref>; they can also be destroyed by coming in contact with [[lava]] or [[fire]].

=== Mobs ===
{{missing information|section|some other mobs that cannot be picked up by minecarts}}
[[File:Minecart shake.gif|thumb|right|Minecart shaking due to being on top of an activator rail.]]
Mobs can ride minecarts, but cannot control them. Mobs cannot exit the minecart unless the minecart is destroyed or moves onto an active [[activator rail]].<ref>{{bug|MC-3866||Endermen, Tamed Wolves and Ocelots cannot teleport when in a Minecart|WAI}}</ref> However, {{in|bedrock}}, [[endermen]] are able to teleport out of minecarts.<ref>{{bug|MCPE-31761||Endermen can still teleport out of the boats and minecarts}}</ref>

A mob can ride a minecart when pushing by a moving minecart on rails {{in|java}} or when colliding with a minecart {{in|bedrock}}. It is easier to pick up a mob when a minecart is turning. {{IN|bedrock}}, [[armor stand]]s can also be picked up.

Most mobs can be picked up by minecarts, except [[ender dragon]]s, [[warden]]s, and [[wither]]s. {{IN|java}}, [[iron golem]]s cannot be picked up either.

A [[jockey]] riding a minecart automatically accelerates the minecart.<ref>{{bug|MC-71998||Minecarts that have passengers within them riding mobs can move automatically when not on rails}}</ref> Mobs in minecarts don't despawn, and don't count towards the mob cap.{{only|java}}<ref>{{bug|MC-182897||Some passenger mobs don't count to the mob cap|WAI}}</ref>

=== Boats ===
{{exclusive|java|section=yes}}
{{UsesBug|section=yes}}
Due to the bug {{bug|MC-113871}}, [[boat]]s can be captured by minecarts. When a boat is placed in a minecart, the minecart travels faster on rails, approximately as fast as on powered rails. The movement in the boat minecart is glitchy and moving forward with the W key moves the cart backward relative to the player, and vice versa for moving backward with the S key. The minecart also moves on the rail-less ground at a crawling speed, but it does not float in the water despite being in a boat. 

Using this glitch can be far more resource-efficient since the boat minecart can move at the speed of a powered rail track on flat ground and on slopes. Another physics glitch with the boat minecart is the extreme reduction in friction when the minecart is on rails, which is similar to the lack of friction when a boat is riding on ice. This glitch can be done in Survival without cheats simply by pushing a minecart into a boat on the track. This bug is now patched.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts use the Friendly Creatures sound category for entity-dependent sound events.<ref group="sound" name="oddcats" />
{{Sound table
|sound=Minecart inside.ogg
|subtitle=MC-177078
|source=Friendly Creatures <ref group="sound" name="oddcats">{{Cite bug|MC|42132|The sounds of minecarts aren't controlled by the correct sound slider|date=December 13, 2013}}</ref>
|overridesource=1
|description=While the player is inside of a moving minecart 
|id=entity.minecart.inside
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume>Based on horizontal speed; it is clamped between 0.0 and 0.75 and will not play if speed is less than 0.01</ref>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart inside underwater1.ogg
|sound2=Minecart inside underwater2.ogg
|sound3=Minecart inside underwater3.ogg
|subtitle=MC-204124
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While inside of a moving minecart when the player's eye level is underwater 
|id=entity.minecart.inside.underwater
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume/>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls <ref group="sound">Shows far less often than it should - see {{bug|MC-181831}}</ref>
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While a minecart 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 inside.ogg
|source=neutral
|description=While the player is inside of a moving minecart
|id=minecart.inside}}
{{Sound table
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart is moving
|id=minecart.base
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=item
|nameid=minecart
|id=370
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=entity
|nameid=minecart
|id=84
|foot=1}}

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

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

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

== Achievements ==
{{load achievements|On A Rail}}

== History ==
{{History|java infdev}}
{{History||20100618|[[File:Minecart JE1.png|32px]] [[File:Minecart (item) JE1.png|32px]] Added minecarts. 
|Minecarts are not rideable but instead are used to store things in.
|Right-clicking minecarts opens them like a [[chest]] (with the container called "Minecart". Filling them up makes the [[dirt]] layer inside them rise.}}
{{History||20100624|[[File:Minecart JE2.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] The entity model and item texture of minecarts have been changed.
|The minecart mechanics have been changed to being rideable, removing their ability to store items.
| Minecarts now render a chest inside for unknown reasons.}}
{{History|java alpha}}
{{History||v1.0.4|[[File:Minecart JE3 BE1.png|32px]] Removed the phantom chest from minecarts.
|A [[sitting]] animation for riding minecarts has been added.}}
{{History||v1.0.14|Minecarts are now used to craft [[minecart with furnace]] and [[minecart with chest]].}}
{{History||v1.2.2|Minecarts now appear to other players and can be ridden in multiplayer.
|Minecarts are no longer fully solid - they no longer block movement, and can no longer be stood on top of.}}
{{History|java beta}}
{{History||1.5|Minecarts now break faster with hands.
|[[Powered rail]]s have been introduced, which enables minecarts to move automatically, although previous methods of boosting no longer works, or does not work as effectively.
|The [[detector rail]]s have been introduced for use in detecting minecarts. Prior to this update, carts were detected by using [[pressure plate]]s in line with cart tracks. This had the often undesirable effect of dramatically slowing or even stopping the minecart, which limited the use of this design mostly to boosters.}}
{{History||1.6|snap=Test Build 3|A minecart now transfers any [[Damage#Fall damage|fall damage]] it suffers onto its rider and is not destroyed upon impact.}}
{{History||1.8|snap=Pre-release|If the [[player]] punches a minecart when descending from a jump, it shows the [[Damage#Critical hit|critical hit]] animation. This also happens if the player punches the cart while still in it.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[Daniel Rosenfeld|C418]] posted a [[sound]] showing the sound that minecarts make.}}
{{History|||snap=Beta 1.9 Prerelease 6|The texture of minecarts has changed slightly.}}
{{History||1.3.1|snap=12w15a|Minecarts can now be shot out from [[dispenser]]s.}}
{{History|||snap=12w21b|The [[player]] no longer spawns on top/inside of the minecart after getting out. Instead, the player gets out a few [[block]]s away. Also, the player can nudge a stationary minecart while inside it to move onto a [[Powered Rail|powered rail]], etc.}}
{{History||1.4.2|snap=12w38b|[[Sound]]s for minecarts have been added.}}
{{History||1.5|snap=13w02a|Minecarts can now be edited with a third-party program to show any [[block]] inside of it (it does not take on the characteristics of this block), as well as make it take on the characteristics of any cart.
|Minecart types no longer all share the same [[entity]] ID – <code>Minecart</code> – and are no longer distinguished by a <code>Type</code> field. They have been given separate entity IDs.
|Minecarts are now used to craft [[TNT minecart]]s.}}
{{History|||snap=13w03a|Minecarts are now used to craft [[hopper minecart]]s.}}
{{History|||snap=13w06a|Added [[minecart with spawner]].}}
{{History||1.6.2|snap=release|A [[player]] in a moving minecart no longer turns with the minecart.}}
{{History||1.7.2|snap=13w39a|Added [[minecart with command block]].}}
{{History||1.8|snap=14w11a|Minecart physics have been changed - they now go faster and further, can derail at corners if going too fast and refuse to go uphill and they can also (if going fast enough) go over 1 [[block]].
|The collision and position handling of minecarts have been improved.}}
{{History|||snap=14w17a|All changes to old minecart physics used before 14w11a have been reverted.}}
{{History||1.9.1|snap=pre2|Extreme typos in minecarts with hoppers and chests, reading "''container.minecart'''' have been fixed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartRideable</code> to <code>minecart</code>.
|The player's [[hunger]] bar is now visible when riding in a minecart.}}
{{History||1.13|snap=17w47a|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 328.}}
{{History||1.14|snap=18w43a|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}
{{History|||snap=19w13a|Minecarts now move much slower when pushed along standard [[rail]]s using the W key, even slower on unpowered golden rails, and cannot be pushed off of unpowered golden rails without the [[player]] looking at a certain angle.}}
{{History||1.16|snap=20w09a|Minecart now checks dismount position height against entity height.}}
{{History|||snap=20w16a<!--cannot confirm due to how assets are handled - assuming this due to MC-91163 fix version-->|Minecarts no longer have subtitles for movement.}}
{{History|||snap=20w18a|Mobs in minecarts no longer [[Spawn#Despawning|despawn]].}}
{{History||1.17|snap=20w45a|Minecarts can now move in [[water]].}}
{{History||1.19|snap=22w13a|Minecarts no longer drop when breaking a [[Minecart with Chest|minecart with chest]], [[Minecart with Hopper|hopper]], [[Minecart with Furnace|furnace]], or [[Minecart with TNT|TNT]].<ref>{{bug|MC-249493|||Fixed}}</ref>}}
{{History||1.20|snap=23w16a|Sniffers can now enter [[minecart]]s.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 2|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History|||snap=build 3|Minecarts now ride smoother.}}
{{History||v0.13.0|snap=build 1|[[Sound]]s for minecarts have been added.}}
{{History|||snap=build 2|Minecarts now stack on top of each other.}}
{{History||v0.14.0|snap=build 1|Minecarts can now be used to craft [[Minecart with Chest|storage]], [[Minecart with TNT|TNT]], and [[Minecart with Hopper|hopper minecart]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|Minecarts are now twice the speed than in other editions.}}
{{History||xbox=TU12|Minecarts are now slower.}}
{{History||xbox=TU13|ps=1.0|Minecarts are now faster again.}}
{{History||xbox=TU21|xbone=CU9|ps=1.14|The minecart limit has been increased.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Minecart [[sound]]s have been updated.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The texture of minecarts has been changed.}}

{{History|new 3DS}}
{{History||0.1.0|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart_(item)_JE2_BE1.png|32px]] Added minecarts.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Minecarts appear to float above the track, as their model has no wheels.
* If the player views their inventory while riding in a minecart, they appear sitting down in mid-air.
* The player can teleport to another minecart while sitting in a minecart by right-clicking a minecart in their range. This can be used as an elevator to quickly rise up when minecarts are placed on top of each other.
* If the sound is muted in the options while riding a minecart, and then turned back up, the minecart no longer makes noise in the client until the player exits the minecart.
* If a saddled pig is riding a minecart, the player can ride the pig. Doing so causes the minecart to be able to ride freely at the player's walking speed. It is unknown whether this is a glitch.
* It seems that hunger does not deplete while inactive in a minecart (at least in normal difficulty).
* A minecart (alongside rails and powered rails) are used as Steve's Side-Special in the crossover fighting game Super Smash Bros. Ultimate.

== Gallery ==
<gallery>
Minecart fire pig.png|A pig inside a burning minecart
MinecartInfdev1.png|A Minecart opened in Minecraft Infdev
MinecartInfdev2.png|A Minecart filled in Minecraft Infdev
2ed Spawner Minecart Image and 1st Dispenser cart image.jpg|An image of two [[Minecart with Spawner]]s and unimplemented Minecart with Dispensers.
Minecart with chest and head thing.png|The first image [[Jens Bergensten|Jeb]] released.<ref>{{Tweet|jeb|289000646210904064}}</ref>
Pocket Edition v0.8.0 alpha Development minecarts.png|The first image of minecarts in {{edition|PE}}.
Minecart Booster.png|Minecart booster.
MinecartStack.png|Minecarts being stacked on each other.
Villager minecart.png|Villager in a minecart.
Minecartride.jpg|Player in minecart.
Blocks in Invisible Minecarts.png|Minecarts can be edited to show any block inside, and can also be edited to be invisible.
File:Minecart (Trails and Tales Summer Event) Render.png|A wooden minecart, featured in the [[Trails & Tales Event]].
File:Minecoins 5.png|Two minecarts, as depicted on [[Minecraft Marketplace|Minecoin]] gift cards.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--minecart Taking Inventory: Minecart] – Minecraft.net on September 6, 2019

{{Items}}
{{entities}}

[[Category:Mechanics]]

[[cs:Vozík]]
[[de:Lore]]
[[es:Vagoneta]]
[[fr:Wagonnet]]
[[hu:Csille]]
[[it:Carrello da miniera]]
[[ja:トロッコ]]
[[ko:광산 수레]]
[[nl:Mijnkar]]
[[pl:Wagonik]]
[[pt:Carrinho de mina]]
[[ru:Вагонетка]]
[[th:รถราง]]
[[uk:Вагонетка]]
[[zh:矿车]]</li></ul>
Added /setspawn.
One of the first singleplayer commands.
0.0.20
{{Extension DPL}}<ul><li>[[Heart of the Sea|Heart of the Sea]]<br/>{{Item
| image = Heart of the Sea.png
| stackable = Yes (64)
| rarity = Uncommon
| renewable = No
}}

A '''heart of the sea''' is a rare [[item]] that can be crafted into a [[conduit]].

== Obtaining ==
The heart of the sea must be found. It cannot be crafted or obtained by trading, making it a [[non-renewable resource]].

A heart of the sea is obtained from a [[buried treasure]]. The location is marked with a noticeable red X on a [[Explorer Map|buried treasure map]], which is found in [[Ocean_Ruins|ocean ruins]] and [[Shipwreck|shipwrecks]]. Feeding [[raw cod]] or [[raw salmon]] to a [[dolphin]] causes the dolphin to swim toward the nearest [[buried treasure]], [[shipwreck]], or [[ocean ruins]].

=== Chest loot ===

{{LootChestItem|heart-of-the-sea}}

== Usage ==
=== Crafting===

{{crafting usage}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Heart of the Sea
|spritetype=item
|nameid=heart_of_the_sea
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Heart of the Sea
|spritetype=item
|nameid=heart_of_the_sea
|id=571
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.13|snap=18w15a|[[File:Heart of the Sea JE1 BE2.png|32px]] Added heart of the sea.}}
{{History|||snap=18w19a|Heart of the sea now generates in all [[buried treasure]] [[chest]]s in a stack of 1.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|An entry in the [[buried treasure]] loot table has been added named <code>nautilus_core</code>. It is unobtainable though since the <code>nautilus_core</code> has not been added into the game yet.}}
{{History|||snap=beta 1.2.20.1|[[File:Heart of the Sea BE1.png|32px]] Added heart of the sea as an [[item]] obtainable in buried treasure [[chest]]s. It cannot be used to craft [[conduit]]s yet.}}
{{History|||snap=beta 1.2.20.2|[[File:Heart of the Sea JE1 BE2.png|32px]] The texture of heart of the sea has been changed.}}
{{History||1.5.0|snap=beta 1.5.0.1|Heart of the sea can now be used to craft [[conduit]]s.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Heart of the Sea JE1 BE2.png|32px]] Added heart of the sea.}}

{{History|education}}
{{History||1.4.0|[[File:Heart of the Sea JE1 BE2.png|32px]] Added heart of the sea. It generates in all [[buried treasure]] [[chest]]s in a stack of 1.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Before the heart of the sea was added to {{el|be}}, there was an entry found in the buried treasure chest loot table named <code>nautilus_core</code>, which was later revealed to be the heart of the sea. Despite the name change, the heart of the sea continues to be referred to as the <code>nautilus_core</code> in most game files.

== External Links ==
*[https://www.minecraft.net/en-us/article/heart-sea Taking Inventory: Heart of the Sea] – Minecraft.net on August 31, 2023

{{items}}

[[Category:Non-renewable resources]]

[[de:Herz des Meeres]]
[[fr:Cœur de la mer]]
[[es:Corazón del mar]]
[[it:Cuore del mare]]
[[ja:海洋の心]]
[[ko:바다의 심장]]
[[nl:Hart van de zee]]
[[pl:Serce oceanu]]
[[pt:Coração do mar]]
[[ru:Сердце моря]]
[[uk:Серце моря]]
[[zh:海洋之心]]</li><li>[[Magenta Dye|Magenta Dye]]<br/>{{Item
| image = Magenta Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Magenta dye''' is a [[Dye#Quasi-Primary|quasi-primary color dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showdescription=1
  |showname=0
  |Allium
  |Output=Magenta Dye
  |type=Material
}}
{{Crafting
  |Lilac
  |Output=Magenta Dye,2
  |type=Material
}}
{{Crafting
  |Purple Dye
  |Pink Dye
  |Output=Magenta Dye,2
  |type=Material
}}
{{Crafting
  |Blue Dye
  |Red Dye
  |Pink Dye
  |Output=Magenta Dye,3
  |type=Material
}}
{{Crafting
  |Lapis Lazuli
  |Red Dye
  |Pink Dye
  |Output=Magenta Dye,3
  |type=Material
  |description={{only|bedrock|education}}
}}
{{Crafting
  |Blue Dye
  |Red Dye
  |Red Dye
  |White Dye
  |Output=Magenta Dye,4
  |type=Material
}}
{{Crafting
  |Lapis Lazuli;Lapis Lazuli;Blue Dye
  |Red Dye;Red Dye;Red Dye
  |Red Dye;Red Dye;Red Dye
  |Bone Meal;White Dye;Bone Meal
  |Output=Magenta Dye,4
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Magenta Dye
|spritetype=item
|nameid=magenta_dye
|aliasid=dye / 13
|id=408
|form=item
|translationkey=item.dye.magenta.name
|foot=1}}

== Video ==
{{yt|IkaIFDQJNUU}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Magenta dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History||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 [[shulker box]]es, which can be dyed.}}
{{History||1.12|snap=17w15a|Added 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|Magenta dye is now crafted using [[blue dye]] and [[white dye]], instead of [[lapis lazuli]] and [[bone meal]].
|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}
{{History|||snap=18w44a|Magenta dye can now change the text color on [[sign]]s to magenta.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells magenta dye.}}
{{History|||snap=19w11a|Magenta dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Magenta dye can now be used to craft [[magenta candle]]s.}}
{{History|||snap=21w19a|Magenta dye can no longer be used to craft magenta candles.}}
{{History|||snap=Pre-release 1|Magenta dye can now once again be used to craft magenta candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Magenta dye can now change the text color on [[hanging sign]]s to magenta.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Magenta dye is now craftable with one [[lapis lazuli]], two [[rose red]]s, and one [[bone meal]].
|Magenta dye can now be used to craft magenta wool.}}
{{History||v0.6.0|Magenta dye can now be used to dye [[sheep]].}}
{{History||v0.8.0|snap=build 1|Magenta dye can now additionally be crafted with one [[purple dye]] and one [[pink dye]], or with one [[lapis lazuli]], one [[rose red]], and one pink dye.}}
{{History||v0.9.0|snap=build 11|Magenta dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Magenta dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Magenta dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Magenta dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Magenta dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Magenta dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Magenta dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Magenta dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Magenta dye is now [[trading|sold]] by [[wandering trader]]s.
|Magenta dye can now be used to dye white [[carpet]]s and regular [[glass pane]]s.
|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Magenta dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of magenta dye has been changed from <code>dye/13</code> to <code>magenta_dye</code>.}}

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

{{History|new 3ds}}
{{History||0.1.0|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

{{Items}}

[[Category:Dyes]]

[[cs:Purpurové barvivo]]
[[de:Magenta Farbstoff]]
[[es:Tinte magenta]]
[[fr:Teinture magenta]]
[[hu:Bíborvörös festék]]
[[ja:赤紫色の染料]]
[[ko:자홍색 염료]]
[[nl:Magenta kleurstof]]
[[pl:Karmazynowy barwnik]]
[[pt:Corante magenta]]
[[ru:Сиреневый краситель]]
[[zh:品红色染料]]
[[Category:Renewable resources]]</li></ul>
Added /solid.
The first multiplayer commands.
a
1.0.16
{{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>[[Cooked Porkchop|Cooked Porkchop]]<br/>{{Item
| title = Cooked Porkchop
| image = Cooked Porkchop.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable =  Yes (64)
}}

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

== Obtaining ==
{{see also|Tutorials/Animal farming|title1=Animal farming}}

Cooked porkchops can be obtained by cooking [[raw porkchop]]s or by [[trading]] with butchers, and is a [[drops|drop]] from [[pig]]s and [[hoglin]]s that die while on [[fire]].

=== Mob loot ===

==== Pigs ====

Adult [[pig]]s drop 1–3 cooked porkchop if killed while on fire. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III.

==== Hoglins ====

Adult [[hoglin]]s drop 2–4 cooked porkchop if killed while on fire. The maximum amount is increased by 1 per level of Looting, for a maximum of 7 with Looting III.

=== Cooking ===

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

=== Trading ===
{{IN|java}}, apprentice-level butcher [[villager]]s have a {{frac|2|3}} chance of selling 5 cooked porkchop for 1 [[emerald]].

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

{{IN|bedrock}}, apprentice-level butcher villagers have a 25% chance to sell 5 cooked porkchop for 1 emerald.

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

== Usage ==

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

To eat cooked porkchop, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 12.8 [[Hunger#Mechanics|saturation]].

=== Wolves ===

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

=== Piglins ===
[[Piglin]]s pick up any cooked porkchops in their [[item (entity)|item]] form. However, they do not eat it.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cooked Porkchop
|spritetype=item
|nameid=cooked_porkchop
|itemtags=piglin_food
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Porkchop
|spritetype=item
|nameid=cooked_porkchop
|id=263
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Pork Chop}}

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

== History ==

{{History|java indev}}
{{History||20100219|[[File:Cooked Porkchop JE1.png|32px]] Added cooked porkchops.
|Cooked porkchops restore {{hp|8}} and do not stack in the [[inventory]].
|Created by cooking [[raw porkchops]] in the inventory.}}
{{History|java alpha}}
{{History||v1.2.0|snap=preview|[[Zombie pigmen]] now [[drops|drop]] 0-2 cooked porkchops upon [[death]].}}
{{History|java beta}}
{{History||1.5|[[Pig]]s now [[drops|drop]] cooked porkchops when killed with [[fire]].}}
{{History||1.8|snap=Pre-release|[[File:Cooked Porkchop JE2 BE1.png|32px]] The texture of cooked porkchops has been changed to avoid confusion with [[steak]].
|Cooked porkchops are now stackable to 64 and restore [[hunger]] instead of [[health]].
|Cooked porkchops now restore {{hunger|8}} to the food bar.
|Cooked porkchops are no longer dropped by [[zombie pigmen]] upon their [[death]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Cooked porkchop can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Butcher [[villager]]s now [[trading|sell]] 6–7 cooked porkchops for 1 [[emerald]].}}
{{History||1.4.2|snap=12w37a|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|Butcher [[villager]]s now [[trading|sell]] 5–7 cooked porkchops for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 320.}}
{{History||1.14|snap=18w43a|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give cooked porkchops to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w07a|[[Hoglin]]s now drop cooked porkchops if killed while on fire.}}
{{History|||snap=20w16a|Cooked porkchops can now be found in hoglin stable chests in [[bastion remnant]]s.}}
{{History||1.16.2|snap=20w30a|Cooked porkchops can now be found in generic bastion remnant chests as well.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Cooked Porkchop JE2 BE1.png|32px]] Added cooked porkchops.}}
{{History||v0.5.0|Cooked porkchops now restore {{hp|8}} instead of {{hp|4}}.}}
{{History||v0.8.0|snap=build 1|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History||v0.12.1|snap=build 1|Cooked porkchops now restore [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Butcher [[villager]]s now [[trading|sell]] 5–7 cooked porkchops for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops 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 porkchops 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]] 5 cooked porkchops instead of 3.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Cooked Porkchop JE1.png|32px]] Added cooked porkchops.}}
{{History||xbox=TU3|[[File:Cooked Porkchop JE2 BE1.png|32px]] The texture of cooked porkchops has been changed to be consistent with [[Java Edition]].}}
{{History||xbox=TU5|Cooked porkchops are now stackable to 64.
|Cooked porkchops now fill [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Cooked Porkchop JE3 BE2.png|32px]] The texture of cooked porkchops has been changed, so that it no longer has a dark outline.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Porkchop JE4 BE3.png|32px]] The texture of cooked porkchops has been changed.}} 

{{History|new3DS}}
{{History||0.1.0|[[File:Cooked Porkchop JE3 BE2.png|32px]] Added cooked porkchops.}}
{{History|foot}}

== Issues ==
{{issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--porkchop Taking Inventory: Porkchop] – Minecraft.net on February 13, 2020

{{Items}}

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

[[cs:Pečená kotleta]]
[[de:Gebratenes Schweinefleisch]]
[[es:Chuleta de cerdo cocinada]]
[[fr:Côtelette de porc cuite]]
[[hu:Sült sertésszelet]]
[[ja:焼き豚]]
[[nl:Gebraden varkensvlees]]
[[pl:Pieczony schab]]
[[pt:Costeleta de porco assada]]
[[ru:Жареная свинина]]
[[uk:Смажена свинина]]
[[zh:熟猪排]]</li></ul>
Added /ban, /ban-ip, /banlist, /deop, /kick, /op, /pardon, /pardon-ip and /stop.
1.0.16_01
{{Extension DPL}}<ul><li>[[Brown Dye|Brown Dye]]<br/>{{Item
| image = Brown Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Brown dye''' is a [[Dye#Primary|primary color dye]] derived from [[cocoa beans]].

== Obtaining ==
=== Crafting ===
{{Crafting
 |Cocoa Beans
 |Output=Brown Dye
 |type=Material
 |head=
}}

== Usage  ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===

Apprentice-level Shepherd villagers have a 20% chance to buy 12 brown dye for an emerald.‌{{only|bedrock}}

Expert-level Shepherd villagers have a {{frac|2|7}} chance to buy 12 brown dye for an emerald.{{only|java}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Brown Dye
|spritetype=item
|nameid=brown_dye
|aliasid=dye / 17
|id=398
|form=item
|translationkey=item.dye.brown_new.name
|foot=1}}

== History ==
{{expand section|Item textures and more from a development video on twitter by bartek.}}
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Brown Dye JE1 BE1.png|32px]] Added brown dye.}}
{{History|||snap=18w44a|Brown dye now can change the text color on [[sign]]s to brown.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell brown dyes.}}
{{History|||snap=19w11a|Brown dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Brown dye can now used to craft newly added [[brown candle]]s.}}
{{History|||snap=21w19a|Brown dye can no longer used to craft brown candles.}}
{{History|||snap=Pre-release 1|Brown dye can once again used to craft brown candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Brown dye now can change the text color on [[hanging sign]]s to brown.}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Brown Dye JE1 BE1.png|32px]] Added brown dye.}}
{{History||1.11.0|snap=beta 1.11.0.4|Brown dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of brown dye has been changed from <code>dye/17</code> to <code>brown_dye</code>.}}

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

== Issues ==

{{issue list}}

{{Items}}

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

[[de:Brauner Farbstoff]]
[[es:Tinte marrón]]
[[fr:Teinture marron]]
[[ja:茶色の染料]]
[[ko:갈색 염료]]
[[pl:Brązowy barwnik]]
[[pt:Corante marrom]]
[[th:สีย้อมสีน้ำตาล]]
[[zh:棕色染料]]</li><li>[[Helmet|Helmet]]<br/>{{Update|Include information about armor trims and updated netherite upgrade information.}}
{{redirect|Cap|mob spawning caps|Spawn}}
{{redirect|Turtle Shell|the item dropped by maturing turtles|Scute}}
{{Item
| image = <gallery>
Leather Cap.png| Leather
Chainmail Helmet.png| Chainmail
Iron Helmet.png| Iron
Diamond Helmet.png| Diamond
Golden Helmet.png| Golden
Netherite Helmet.png| Netherite
Turtle Shell.png| Turtle Shell
</gallery>
| durability = 
* Leather: 55
* Chainmail: 165
* Iron: 165
* Golden: 77
* Diamond: 363
* Netherite: 407
* Turtle Shell: 275
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| stackable = No
}}
'''Helmets''' are a type of [[armor]] that covers the head of the player. There are seven types of helmets: '''leather cap''', '''chainmail helmet''', '''iron helmet''', '''diamond helmet''', '''gold helmet''', '''netherite helmet''', and '''turtle shell'''.

==Obtaining ==

===Crafting===

{{crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=Helmet
   |A2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
   |B2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
   |C2= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
    |A3= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
    |C3= Leather;Gold Ingot;Iron Ingot;Diamond;Scute
  |description=
  |Output= Leather Cap;Golden Helmet;Iron Helmet;Diamond Helmet;Turtle Shell
  |type= Combat
}}
{{crafting
  |ignoreusage=1
  |name=[[Helmet]]
  |ingredients=Damaged matching helmet
  |Damaged Leather Cap; Damaged Golden Helmet; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Diamond Helmet; Damaged Turtle Shell; Damaged Netherite Helmet
  |Damaged Leather Cap; Damaged Golden Helmet; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Diamond Helmet; Damaged Turtle Shell; Damaged Netherite Helmet
  |Output= Leather Cap; Golden Helmet; Chainmail Helmet; Iron Helmet; Diamond Helmet; Turtle Shell; Netherite Helmet
  |description= The durability of the two helmets is added together, plus an extra 5% durability.
  |type= Combat
  |foot=1
}}

===Upgrading===

{{Smithing
|head=1
|Netherite Upgrade
|Diamond Helmet
|Netherite Ingot
|Netherite Helmet
|tail=1
}}

===Repairing===
====Grinding====
{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Leather Cap]] or<br>2x Damaged [[Chainmail Helmet]] or<br>2x Damaged [[Iron Helmet]] or<br>2x Damaged [[Golden Helmet]] or<br>2x Damaged [[Diamond Helmet]] or<br>2x Damaged [[Netherite Helmet]] or<br>2x Damaged [[Turtle Shell]]
|Damaged Leather Cap; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Golden Helmet; Damaged Diamond Helmet; Damaged Netherite Helmet; Damaged Turtle Shell
|Damaged Leather Cap; Damaged Chainmail Helmet; Damaged Iron Helmet; Damaged Golden Helmet; Damaged Diamond Helmet; Damaged Netherite Helmet; Damaged Turtle Shell
|Leather Cap; Chainmail Helmet; Iron Helmet; Golden Helmet; Diamond Helmet; Netherite Helmet; Turtle Shell
|description=The durability of the two helmets are added together, plus an extra 5% durability.
}}

====[[Anvil mechanics#Unit repair|Unit repair]]====
Helmets can be repaired in an [[anvil]] by adding units of the [[armor material]]'s repair material, with each repair material restoring 25% of the helmet's maximum durability, rounded down.

===Mob loot===

If a [[zombie]], [[husk]], [[stray]] or [[skeleton]] is wearing armor, there is a 8.5% chance (9.5% with [[Looting]] I, 10.5% with Looting II and 11.5% with Looting III) for the mob to drop a helmet upon death. The dropped helmet is usually badly damaged, and may be [[enchanted]] with enchantment levels 5-19.

{{IN|bedrock}}, [[vindicator]]s and [[pillager]]s spawned in [[raid]]s have a 8.3525% chance (10.28% on hard) to drop [[iron]] helmets. The dropped helmets are usually badly damaged, and have a 50% chance of being [[enchanted]] with a random [[enchantment]].

===Natural generation===
Two [[armor stand]]s are found in each taiga [[village]] outdoor armory, one of them equipped with an [[iron helmet]].

===Chest loot===
{{IN|BE}}, a sealed room in [[woodland mansion]]s can appear that has a chest sometimes containing an [[Efficiency]] I leather cap.<ref>{{bug|MCPE-109048}}</ref>
{{LootChestItem|leather-cap,random-enchanted-leather-cap,chainmail-helmet,iron-helmet,level-enchanted-iron-helmet,golden-helmet,random-enchanted-golden-helmet,diamond-helmet,damaged-diamond-helmet,level-enchanted-diamond-helmet,damaged-random-enchanted-diamond-helmet,damaged-random-enchanted-diamond-helmet-2}}

===Trading===

{{IN|java}}, novice-level armorer villagers have a 40% chance to sell an iron helmet for 4 emeralds. Journeyman-level armorers have a 40% chance to sell a chainmail helmet for 1 emerald. Master-level armorers always sell an enchanted diamond helmet for 11-27 emeralds. Apprentice-level leatherworker villagers have a {{frac|2|3}} chance to sell a leather cap<ref group="note" name="dye note">The leather armor has a random color created by two dyes (possibly the same dye twice.)</ref> for 5 emeralds. Master-level leatherworker villagers offer the same trade.

Armorer villagers may give the players with the [[Hero of the Village]] effect a chainmail helmet.

{{IN|bedrock}}, novice-level armorer villagers have a 25% chance to sell iron helmet for 5 emeralds, {{frac|1|3}} chance to sell chainmail helmet at journeyman-level for an emerald, and 50% chance to sell enchanted diamond helmet for 8 emeralds at master-level. Apprentice-level leatherworker villagers have a 50% chance to sell leather cap for 5 emeralds as part of their trades, and 50% chance to sell an enchanted leather cap for 5 emeralds at the master level.

{{notelist|columns=1}}

==Usage ==

Helmets can be placed in the top armor slot of a player's [[inventory]] for activation.

===Defense points===

Defense points are each signified by half of a shirt of mail in the armor bar above the health bar. Each defense point reduces any damage dealt to the player that is absorbed by armor by 4%, increasing additively with the number of defense points. Different materials and combinations of armor provide different levels of defense.

The following table shows the number of defense points added by helmets.

{| class="wikitable" data-description="Helmet defense points"
|-
! scope="col" |Material
! scope="col" |
|-
! scope="row" |Leather
|{{armor|1}}
|-
! scope="row" |Golden
| rowspan="4" |{{armor|2}}
|-
! scope="row" |Chainmail
|-
! scope="row" |Iron
|-
! scope="row" |Turtle Shell
|-
! scope="row" |Diamond
| rowspan="2" |{{armor|3}}
|-
! scope="row" |Netherite
|}

===Knockback resistance===
A netherite helmet provides 10% knockback resistance.

===Durability===

The following table shows the amount of damage each piece of armor can absorb before being destroyed.

Any "hit" from a damage source that can be blocked by armor removes one point of durability from each piece of armor worn for every {{hp|4}} of incoming damage (rounded down, but never below 1). Damage taken that armor doesn't protect (such as [[Damage#Fall damage|falling]] or [[Damage#Drowning|drowning]]) does not damage the armor, even if it is enchanted to protect against that type of damage. The following chart displays how many hits helmets can endure.

Netherite armor is not damaged by [[lava]] or [[fire]] when worn.

{| class="wikitable" data-description="Helmet durability"
|-
!Material
!Durability
|-
! scope="row" |Leather
|55
|-
! scope="row" |Golden
|77
|-
! scope="row" |Chainmail
| rowspan="2" |165
|-
! scope="row" |Iron
|-
! scope="row" |Turtle Shell
|275
|-
! scope="row" |Diamond
|363
|-
! scope="row" |Netherite
|407
|}

====Repair====

Helmets may be [[item repair|repaired]] by using them along with some of their crafting material (leather, gold ingots, iron ingots, diamonds or netherite) in an [[anvil]]. Chainmail helmets may be repaired in this way with iron ingots. They may also be repaired by crafting them together with another helmet of like material.

===Enchantments===
A helmet can receive the following [[enchantment]]s. Note that while iron and chainmail have the same durability, chainmail has a higher [[Tutorials/Enchanting mechanics#Enchantability|enchantability]] than iron or diamond.
{| class="wikitable"
|-
!Enchantment !!Max Level !!Notes
|-
|[[Fire Protection]]|| IV ||<ref group="note" name="exclusive">Fire Protection, Blast Protection, Projectile Protection and Protection are mutually exclusive</ref>
|-
|[[Projectile Protection]]|| IV ||<ref group="note" name="exclusive" />
|-
|[[Blast Protection]]|| IV ||<ref group="note" name="exclusive" />
|-
|[[Protection]]|| IV ||<ref group="note" name="exclusive" />
|-
|[[Unbreaking]]||III
|
|-
|[[Respiration]]||III
|
|-
|[[Aqua Affinity]]||I
|
|-
|[[Thorns]]||III ||<ref group="note" name="anvil">Only from using an [[anvil]] and [[enchanted book]]s.</ref>
|-
|[[Mending]]||I ||<ref group="note" name="anvil2">Only from chest loot, fishing, or an anvil and enchanted books.</ref>
|-
|[[Curse of Binding]]||I ||<ref group="note" name="anvil2" />
|-
|[[Curse of Vanishing]]||I ||<ref group="note" name="anvil2" />
|}
{{notelist}}

===Turtle shell effect===

Equipping a {{ItemSprite|Turtle Shell}} turtle shell provides the {{EffectLink|Water Breathing}} status effect, allowing the player to remain underwater for an additional 10 seconds. The time that this effect lasts does not begin to count down until the player dives underwater, then the 10 seconds are counted down. The effect immediately recharges after exposure to air.

===Brewing ingredient===
A turtle shell can also be used as a potion brewing ingredient.
{{Brewing
 |Turtle Shell
 |Potion of the Turtle Master
 |Potion of the Turtle Master
 |Potion of the Turtle Master
 |showname=1
}}

===Smelting usage===

{{Smelting|showname=1|Iron Helmet;Chainmail Helmet;Golden Helmet|Iron Nugget;Iron Nugget;Gold Nugget|0,1}}
===Piglins===
{{EntityLink|Piglin|Piglins}} are attracted to ''golden'' helmets and pick them up, examining them for 6 to 8 seconds. Piglins can wear other helmets but are not attracted to them. They prefer stronger helmets over weaker helmets, with one exception: They always prefer golden helmets, throwing out stronger helmets in favor of gold helmets. Enchanted helmets are preferred over unenchanted helmets.

==Sounds ==
{{el|je}}:
{{Sound table
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|subtitle=Leather armor rustles
|source=player
|description=When a leather helmet is equipped
|id=item.armor.equip_leather
|translationkey=subtitles.item.armor.equip_leather
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|subtitle=Chain armor jingles
|source=player
|description=When a chainmail helmet is equipped
|id=item.armor.equip_chain
|translationkey=subtitles.item.armor.equip_chain
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|subtitle=Iron armor clanks
|source=player
|description=When an iron helmet is equipped
|id=item.armor.equip_iron
|translationkey=subtitles.item.armor.equip_iron
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|subtitle=Gold armor clinks
|source=player
|description=When a gold helmet is equipped
|id=item.armor.equip_gold
|translationkey=subtitles.item.armor.equip_gold
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|subtitle=Diamond armor clangs
|source=player
|description=When a diamond helmet is equipped
|id=item.armor.equip_diamond
|translationkey=subtitles.item.armor.equip_diamond
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|subtitle=Netherite armor clanks
|source=player
|description=When a netherite helmet is equipped
|id=item.armor.equip_netherite
|translationkey=subtitles.item.armor.equip_netherite
|volume=0.8
|pitch=1.0/0.9
|distance=16}}
{{Sound table
|sound=Equip turtle shell.ogg
|subtitle=Turtle Shell thunks
|source=player
|description=When a turtle shell is equipped
|id=item.armor.equip_turtle
|translationkey=subtitles.item.armor.equip_turtle
|volume=1.0
|pitch=1.0/0.85/1.1
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a helmet'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=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|source=player
|description=When a leather helmet or a turtle shell is equipped
|id=armor.equip_leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|source=player
|description=When a chain helmet is equipped
|id=armor.equip_chain
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|source=player
|description=When an iron helmet is equipped
|id=armor.equip_iron
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|source=player
|description=When a gold helmet is equipped
|id=armor.equip_gold
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|source=player
|description=When a diamond helmet is equipped
|id=armor.equip_diamond
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|source=player
|description=When a netherite helmet is equipped.
|id=armor.equip_netherite
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Water Splash Old.ogg
|source=block
|description=When a leather helmet is dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a leather helmet's dye is removed using a cauldron
|id=cauldron.cleanarmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a helmet's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

==Data values ==
=== ID===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Leather Cap
|spritetype=item
|nameid=leather_helmet
|itemtags=freeze_immune_wearables
|form=item}}
{{ID table
|displayname=Chainmail Helmet
|spritetype=item
|nameid=chainmail_helmet
|form=item}}
{{ID table
|displayname=Iron Helmet
|spritetype=item
|nameid=iron_helmet
|form=item}}
{{ID table
|displayname=Diamond Helmet
|spritetype=item
|nameid=diamond_helmet
|form=item}}
{{ID table
|displayname=Golden Helmet
|spritetype=item
|nameid=golden_helmet
|form=item}}
{{ID table
|displayname=Netherite Helmet
|spritetype=item
|nameid=netherite_helmet
|form=item}}
{{ID table
|displayname=Turtle Shell
|spritetype=item
|nameid=turtle_helmet
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather Cap
|spritetype=item
|nameid=leather_helmet
|id=335
|form=item}}
{{ID table
|displayname=Chainmail Helmet
|spritetype=item
|nameid=chainmail_helmet
|id=339
|form=item}}
{{ID table
|displayname=Iron Helmet
|spritetype=item
|nameid=iron_helmet
|id=343
|form=item}}
{{ID table
|displayname=Diamond Helmet
|spritetype=item
|nameid=diamond_helmet
|id=347
|form=item}}
{{ID table
|displayname=Golden Helmet
|spritetype=item
|nameid=golden_helmet
|id=351
|form=item}}
{{ID table
|displayname=Netherite Helmet
|spritetype=item
|nameid=netherite_helmet
|id=609
|form=item}}
{{ID table
|displayname=Turtle Shell
|spritetype=item
|nameid=turtle_helmet
|id=573
|form=item
|foot=1}}

===Item data===
When leather caps are dyed, it has the following NBT:
<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>

==Achievements ==
{{load achievements|Iron Man;Tie Dye Outfit;Cover me in debris;Oooh, shiny!}}

==Advancements ==
{{load advancements|Suit Up;Cover me With Diamonds;Oh Shiny;Cover Me in Debris;A Furious Cocktail;How Did We Get Here}}

==History ==
{{History|java classic}}
{{History||August 13, 2009|link=wordofnotch:162091556|Notch tested armor models on [[mob (entity)|mob]]. Only [[chestplate]]s and helmets were available. They were merely aesthetic at the time and had no effect on gameplay.}}
{{History||0.24_SURVIVAL_TEST|[[File:Plate Helmet.png|32px]] Added [[Java_Edition_removed_features#Armor_in_Survival_Test|plate helmet]]s.
|[[File:Chainmail Helmet JE1.png|32px]] Added the model and the texture for unused [[Java_Edition_removed_features#Armor_in_Survival_Test|chain helmet]]s.
|[[File:Zombie full set.png|32px]] [[File:Skeleton helmet.png|26px]] Plate armor models have been tested on [[zombie]]s and [[skeleton]]s. It had no effect on gameplay.}}
{{History|java indev}}
{{History||0.31|snap=20091223-1|Plate and chain armor [[model]]s are no longer used.}}
{{History|||snap=20091231-2|[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Studded Helmet (item) JE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] Added [[item]]s of relation to leather, [[History of textures/Unused textures#Studded armor|studded]], chainmail and plate (iron) helmets.
|The textures of leather helmets are taken from one of [[Notch]]'s previous games, ''[[Legend of the Chambered]]''. The rest are from ''[[Legend of the Chambered 2]]''.}}
{{History||20100206|[[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added items of golden and diamond helmets.
|Removed leather-chain helmets.}}
{{History||20100212-1|Added armor models.
|[[File:Indev 20100212 armor.png|50px]] Armor models are now displayed on the [[player]] in the [[inventory]].}}
{{History||20100218|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]] Added models of leather, chainmail, iron, gold, and diamond helmets.
|Helmets can now be [[crafting|crafted]] and worn.
|Helmets now function. All helmets give {{Armor|3}}. Helmets have limited [[item durability|durability]], with lower tier helmets less durable than higher tier helmets.}}
{{History|java alpha}}
{{History||v1.0.8|With the introduction of [[leather]], "Cloth Cap" has been renamed to "Leather Cap".
|Leather cap is now [[crafting|crafted]] with leather instead of [[wool|cloth]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|The armor protection behavior has been changed. Prior to this update, the total armor protection is based in this equation: (((''total equipped armor damage reduction'' − 1) × (''all equipped armor max damage'' − ''total equipped armor damage'')) ÷ (''total equipped armor max damage'' + 1)). Armor no longer reduces certain damage types to be covered by enchantments.}}
{{History|||snap=October 3, 2011|slink={{tweet|notch|120859830339637249}}|The first images of a [[player]] wearing enchanted armor are revealed.}}
{{History|||snap=Beta 1.9 Prerelease 3|Iron helmets can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Helmets can now be [[enchanting|enchanted]].}}
{{History||1.1|snap=12w01a|Iron helmets can now be found in the new blacksmith [[chest]]s in [[village]]s.}}
{{History||1.2.1|snap=12w06a|[[Zombie]]s now drop iron helmets on rare occasions and [[zombie pigman|zombie pigmen]] now drop golden helmets.}}
{{History||1.3.1|snap=12w15a|{{key|Shift}}+clicking can now be used to wear helmets.}}
{{History|||snap=12w21a|Chain helmets can now be obtained legitimately in [[survival]] mode through [[trading]].
|Blacksmith [[villager]]s now [[trading|sell]] chain helmets for 5–6 emeralds.
|Blacksmith villagers now sell diamond helmets for 7 emeralds.
|Blacksmith villagers now sell iron helmets for 4–5 emeralds.
|Butchers now sell leather caps for 2–3 emeralds.}}
{{History||1.4.2|snap=12w32a|[[Mob]] armor has been reintroduced. A partial or full set of any armor is now sometimes worn by [[zombie]]s, [[skeleton]]s and [[zombified piglins|zombie pigmen]], with the likelihood increasing with difficulty.}}
{{History|||snap=August 17, 2012|slink={{tweet|Dinnerbone|236445090929844225}}|[[Jeb]] and [[Dinnerbone]] tweeted pictures of [[dye]]able leather armor.}}
{{History|||snap=12w34a|Leather helmets can now be dyed by [[crafting]] a leather armor piece with [[dye]]s. Dyes can be removed by {{control|use|text=using}} dyed leather armor on a [[cauldron]] with [[water]].
|[[File:Leather Cap JE2.png|32px]] [[File:Leather Cap (item) JE2.png|32px]] Default leather caps textures are now slightly darker.}}
{{History|||snap=12w36a|[[Dye]]d leather caps are now more saturated and have a slight tint of tan in respect to the default armor color.}}
{{History|||snap=12w37a|[[File:Leather Cap JE3 BE2.png|32px]] [[File:Leather Cap (item) JE3 BE2.png|32px]] Leather armor now has non-dyed parts on the cap. This has been implemented so that [[player]]s can distinguish between other types of helmets and similarly colored leather caps.}}
{{History||1.5|snap=13w04a|Helmets in the [[player]]'s hand can now be equipped by right-clicking.
|[[Dispenser]]s can now equip nearby players with helmets.}}
{{History||1.8|snap=14w02a|[[Trading|Trades]] changed: armorer [[villager]]s now [[trading|sell]] chain helmets for 5–7 emeralds.
|Armorer villagers no longer sell diamond helmets.
|Armorer villagers now sell iron helmets for 4–6 emeralds.
|Leatherworkers no longer sell other leather caps.}}
{{History|||snap=14w05a|Helmets no longer turns red when [[mob]]s and [[player]]s are hurt.}}
{{History|||snap=14w06a|Helmets are now visible on [[giant]]s.}}
{{History|||snap=14w25a|Chain helmets [[Java Edition removed features#Chainmail armor|cannot be crafted anymore]] due to the [[item]] form of [[fire]] being [[Java Edition removed features#Obtainable until 1.8|removed]].}}
{{History||1.9|snap=15w31a|Enchanted iron and diamond helmets can now be found in [[end city]] ship [[chest]]s.
|[[Mob]]s now wear armor from the bottom to the top, rather than from the top to the bottom. This means that a mob with three armor pieces, for example, spawn with all armor except a helmet.}}
{{History|||snap=15w34b|Helmet [[item durability|durability]] now affects armor value.}}
{{History|||snap=15w36a|Armor and armor [[enchanting|enchantment]] calculations have been changed. For the original values, see [[Armor/Before 1.9|here]].}}
{{History|||snap=15w36d|Helmet durability affecting value has been removed.
|Helmets now has an attribute controlling the defense points.}}
{{History|||snap=15w50a|Added <code>equip</code> [[sound]]s for leather armor.}}
{{History|||snap=16w02a|Armor and armor enchantment calculations have been changed again.}}
{{History|||snap=16w05a|Armor calculations have been changed, once again.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 298, 302, 306, 310 and 314.}}
{{History|||snap=18w07a|[[File:Turtle Shell.png|32px]] [[File:Turtle Shell (item) JE1 BE1.png|32px]] Added turtle shells.}}
{{History|||snap=18w09a|Golden helmets now have a chance of generating in [[underwater ruins]].}}
{{History|||snap=18w11a|Enchanted leather caps can now generate in the chests of [[shipwreck]]s.}}
{{History|||snap=18w20a|"Chain Helmet" has now been renamed to "Chainmail Helmet".}}
{{History||1.14|snap=18w43a|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Iron Helmet JE2 BE2.png|32px]] [[File:Golden Helmet JE2 BE2.png|32px]] [[File:Diamond Helmet JE2 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmets have been changed.}}
{{History|||snap=18w48a|Leather caps can now be found in [[chest]]s in [[village]] tanneries.}}
{{History|||snap=18w50a|Iron helmets can now be found on [[armor stand]]s in [[taiga]] villages.}}
{{History|||snap=19w08a|[[File:Golden Helmet (item) JE3 BE3.png|32px]] The textures of gold helmet [[item]]s have been changed.}}
{{History|||snap=19w11a|Armorer villagers now sell enchanted diamond helmets, making diamond helmets effectively [[renewable resource|renewable]] again.
|Leatherworker villagers now sell randomly [[dye]]d leather caps.}}
{{History|||snap=19w13a|Armorer villagers now give chainmail helmets to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|[[File:Netherite Helmet JE1.png|32px]] [[File:Netherite Helmet (item) JE1.png|32px]] Added netherite helmets.}}
{{History|||snap=20w07a|[[File:Leather piglin helmet.png|32px]] [[File:Chainmail piglin helmet.png|32px]] [[File:Iron piglin helmet.png|32px]] [[File:Golden piglin helmet.png|32px]] [[File:Diamond piglin helmet.png|32px]] [[File:Netherite piglin helmet JE1.png|32px]] Added textures and [[model]]s for all helmets when they are used by [[piglin]]s.
|Netherite helmets are now obtained by combining one diamond armor piece and one netherite ingot in a crafting table.
|[[File:Turtle Shell piglin MC-172110.png|32px]] Turtle shells, when used by piglins and [[zombified piglin]]s, result in a [[missing texture]] when being displayed.<ref>{{Cite bug|MC|172110|Texture of turtle shells is missing when worn by a piglin or zombified piglin|date=February 14, 2020}}</ref>}}
{{History|||snap=20w09a|[[File:Diamond Helmet (item) JE3 BE3.png|32px]] The textures of diamond helmet [[item]]s have been changed.}}
{{History|||snap=20w10a|[[File:Netherite Helmet JE2 BE1.png|32px]] [[File:Netherite Helmet (item) JE2 BE1.png|32px]] The texture of netherite helmets has been changed.
|[[File:Netherite piglin helmet.png|32px]] The texture of netherite helmets for [[piglin]]s has been changed.
|Netherite helmets can no longer be [[crafting|crafted]].
|Netherite helmets are now obtained by combining one diamond helmet and one netherite ingot in a [[smithing table]].}}
{{History|||snap=20w16a|Golden and netherite helmets now generate randomly [[enchanting|enchanted]], and sometimes [[damage]]d, in [[bastion remnant]] and [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds helmets now generate in place of netherite helmets in bastion remnant [[chest]]s.}}
{{History|||snap=pre3|The special helmet [[model]]s and textures created for [[piglin]]s have been removed except for leather helmets.}}
{{History||1.17|snap=20w48a|Wearing a leather helmet now prevents [[Powder Snow#Freezing|freezing]] entirely.}}
{{History|||snap=21w13a|The two unused textures of the leather cap for [[piglin]]s<ref><code>/assets/minecraft/textures/models/armor/piglin_leather_layer_1.png</code></ref><ref><code>/assets/minecraft/textures/models/armor/piglin_leather_layer_1_overlay.png</code></ref> have been removed.}}
{{History||1.18.2|snap=22w03a|Netherite helmet knockback resistance is no longer random.}}
{{History||1.19|snap=22w17a|[[File:Leather Cap JE5.png|32px]] The texture of the leather cap item has been changed.|Changed the leather cap texture when worn so the center bar now extends to the bottom of the back face.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Non-leather helmets can now be trimmed using a [[smithing table]].
|There are 10 types of material that determine the color of the trim:
*Iron
*Copper
*Gold
*Lapis
*Emerald
*Diamond
*Netherite
*Redstone
*Amethyst
*Quartz
|Upgrading diamond helmets to netherite helmets now requires the netherite upgrade [[smithing template]].}}
{{History|||snap=23w05a|Leather caps can now be trimmed using a smithing table.|Helmets can now have trims of the same material it is made out of.}}
{{History|||snap=23w06a|Swapped {{cd|iron}} and {{cd|iron_darker}} palette, then made {{cd|iron_darker}} darker overall.}}
{{History||1.19.4|snap=23w05a|Helmets can now be swapped by {{ctrl|using}} them in the hotbar.<ref>{{bug|MC-216270|||Fixed}}</ref>}}
{{History||?|Helmets can now be swapped in [[armor stand]]s by {{ctrl|using}} them/[[head]]s/[[carved pumpkin]]s in the armor stand's slot.}}
{{History||1.20|snap=23w12a|The pattern textures of dune and sentry armor trims are changed.|Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}

{{History|pocket alpha}}
{{History||v0.6.0|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.}}
{{History||v0.8.0|snap=build 2|[[File:Leather Cap (item) JE3 BE2.png|32px]] The leather helmet sprite has been changed to that of {{el|je}}, but its armor [[model]] remains that of older versions.}}
{{History||v0.9.0|snap=build 1|Iron helmets now naturally generate in [[village]] [[chest]]s and in [[stronghold]] altar chests.}}
{{History||v0.11.0|snap=build 11|Helmets now protect against [[damage]] from [[mob]]s only.}}
{{History||v0.12.1|snap=build 1|Helmets can now be worn by mobs.
|Chainmail helmets can now be obtained in [[survival]] mode from a mob wearing it.}}
{{History||?|Helmets no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History||v0.14.0|snap=build 1|[[File:Leather Cap JE3 BE2.png|32px]] The texture of leather helmets have been changed.
|Leather helmets can now be dyed.}}
{{History||v0.15.0|snap=build 1|Helmets can now be obtained from [[stray]]s and [[husk]]s that naturally spawn with armor.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron helmets and enchanted diamond helmets can now be found inside [[chest]]s within [[end city|end cities]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Iron helmets and chainmail helmets are now [[trading|sold]] by armorer smith [[villager]]s via trading.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Golden, chain and iron helmets can now be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Chainmail helmets now generate in [[buried treasure]] chests.
|Enchanted leather helmets can now be found inside [[shipwreck]] supply room [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Golden helmets can now be found inside [[underwater ruins]] chests.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Turtle Shell.png|32px]] [[File:Turtle Shell (item) JE1 BE1.png|32px]] Added turtle shells.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Iron Helmet JE2 BE2.png|32px]] [[File:Golden Helmet JE2 BE2.png|32px]] [[File:Diamond Helmet JE2 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmets have been changed.
|Iron helmets now can be found in plains [[village]] weaponsmith [[chest]]s.
|Leather helmets can now be found inside plains village tannery chests.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron helmets now can be found in [[savanna]], [[taiga]], [[desert]], [[snowy taiga]] and [[snowy tundra]] [[village]] weaponsmith [[chest]]s.
|Leather helmets can now be found inside savanna, taiga, desert, snowy taiga and snowy tundra village tannery chests.
|Iron helmets can now be found in [[village]] armorer chests.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron helmets.
|Diamond helmets are now sold by armorer villagers.}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Golden Helmet (item) JE3 BE3.png|32px]] The textures of gold helmet [[item]]s have been changed.}}
{{History||1.12.0|snap=beta 1.12.0.2|[[File:Armor Stand with Leather Armor MCPE-44669.png|32px]] Leather armor no longer shows as being [[dye]]d properly when worn by [[armor stand]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Leather armor now appears properly dyed when worn by armor stands.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Helmet JE2 BE1.png|32px]] [[File:Netherite Helmet (item) JE2 BE1.png|32px]] Added netherite helmets.
|[[File:Diamond Helmet (item) JE3 BE3.png|32px]] The textures of diamond helmet [[item]]s have been changed.
|Helmets can now be obtained from [[piglin]]s that naturally spawn with golden helmets.}}
{{History|||snap=beta 1.16.0.57|Golden and netherite helmets now generate randomly [[enchanting|enchanted]], and sometimes [[damage]]d, in [[bastion remnant]] chests.
|Netherite helmets can no longer be [[crafting|crafted]].
|Netherite helmets are now obtained by combining one diamond helmet and one netherite ingot in a [[smithing table]].}}
{{History|||snap=beta 1.16.0.63|Diamonds helmets now generate in place of netherite helmets in bastion remnant [[chest]]s.}}
{{History|||snap=beta 1.16.200.53|Netherite helmets now gives a 90% reduction in knockback.}}
{{History||1.16.210|snap=beta 1.16.210.53|Wearing leather helmets now prevents [[Powder Snow#Freezing|freezing]] entirely.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE1 BE1.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.
|Added a quick equip for armor to the [[inventory]] interface.}}
{{History||xbox=TU12|ps=1.03|[[File:Leather Cap JE3 BE2.png|32px]] [[File:Leather Cap (item) JE3 BE2.png|32px]] The textures for leather helmets have been changed.}}
{{History||xbox=TU14|ps=1.05|Leather helmets can now be [[dye]]d.
|[[Item repair]] can now repair helmets.}}
{{History||xbox=TU25|xbone=CU13|ps=1.16|Helmets now have the quick equip functionality.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Golden, chain and iron helmets can now be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|PS4}}
{{History||1.90|[[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Golden Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Helmet (item) JE2 BE2.png|32px]] The textures of all types of helmet items have been changed (except for the leather helmets).}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Leather Cap JE1 BE1.png|32px]] [[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Iron Helmet JE1 BE1.png|32px]] [[File:Golden Helmet JE1 BE1.png|32px]] [[File:Diamond Helmet JE1 BE1.png|32px]]<br>[[File:Leather Cap (item) JE3 BE2.png|32px]] [[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Helmet (item) JE1 BE1.png|32px]] Added helmets.}}
{{History|foot}}
<gallery>
File:ArmorModel Aug 13 2009.jpg|First image of armor.
File:DinnerboneArmor.png|[[Dinnerbone]]'s first screenshot of dyed armor.
File:ArmorPE.png
</gallery>

;Armor durability from Indev until late Beta
{| class="wikitable" data-description="Armor Durability during Indev until late Beta" style="text-align:center;"
|-
!Leather
!Golden
!Chainmail
!Iron
!Diamond
|-
|33
|66
|66
|132
|264
|}

==Issues ==

{{issue list}}

==Trivia ==
*Unlike the other helmets, the netherite helmet covers most of the player's face, due to a nose guard and cheek plates.
*The turtle shell is the only helmet that is not part of a complete set.
* In Bedrock Edition, there exists a bug<ref>{{Cite bug|MCPE|109048|Efficiency 1 Leather Cap in Woodland Mansions|date=December 1, 2020}}</ref> that makes it possible to obtain a Leather Cap enchanted with Efficiency I from [[Woodland Mansion]] chests with a chance of 1.45%. The enchantment has no effect on the cap, however.

==Gallery ==
<gallery>
File:Zombie helmet.png|A zombie wearing a helmet in [[Survival Test]].
</gallery>
===Enchanted Helmets===
<gallery>
File:Enchanted Leather Cap (item).gif
File:Enchanted Chainmail Helmet (item).gif
File:Enchanted Iron Helmet (item).gif
File:Enchanted Golden Helmet (item).gif
File:Enchanted Diamond Helmet (item).gif
File:Enchanted Netherite Helmet (item).gif
File:Enchanted Turtle Shell (item).gif
</gallery>
<gallery>
File:Enchanted Leather Helmet.gif
File:Enchanted Chainmail Helmet.gif
File:Enchanted Iron Helmet.gif
File:Enchanted Golden Helmet.gif
File:Enchanted Diamond Helmet.gif
File:Enchanted Netherite Helmet.gif
File:Enchanted Turtle Shell.gif
</gallery>

==References ==
{{reflist}}

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

{{Items}}

[[Category:Armor]]

[[es:Casco]]
[[ja:ヘルメット]]
[[ko:투구]]
[[pt:Capacete]]
[[pl:Hełm]]
[[zh:头盔]]</li></ul>
Added /save-all, /save-on, /save-off and /tp.
1.0.16_02
{{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>[[Super Fertilizer|Super Fertilizer]]<br/>{{education feature}}
{{Exclusive|Bedrock|Education}}
{{Item
| image = Super Fertilizer.png
| renewable = No
| stackable = Yes (64)
}}
'''Super fertilizer''' is a powerful form of [[bone meal]] that is created using [[ammonia]] and [[phosphorus]].

== Obtaining ==

=== Lab table ===
{| class="wikitable"
! Result
! Materials Needed
|-
!rowspan=2|{{slot|Super Fertilizer}}<br>[[Super Fertilizer]]
|{{slot}}{{slot|Ammonia|link=Compound}}{{slot|Phosphorus|link=Element}}{{slot}}
|-
|<center>[[Compound|Ammonia]], [[Element|Phosphorus]]</center>
|}

== Usage ==

Super fertilizer can be used in the same way as bone meal. It produces more [[flowers]] in a larger area when used on [[grass block]]s compared to bone meal. When super fertilizer is used on a [[sapling]], a [[tree]] is instantly grown after one use, instead of multiple uses as with bone meal. Super fertilizer matures crops with a single use.

Note that super fertilizer does not instantly grow a hanging [[mangrove propagule]]. This could be a bug.

== Sounds ==
{{Sound table
|type=bedrock
|sound=Gravel hit1.ogg
|sound2=Gravel hit2.ogg
|sound3=Gravel hit3.ogg
|sound4=Gravel hit4.ogg
|source=player
|description=When super fertilizer is created by a [[lab table]]
|id=step.gravel
|volume=1.0
|pitch=0.2/0.4}}
{{Sound table
|sound=Bonemeal1.ogg
|sound2=Bonemeal2.ogg
|sound3=Bonemeal3.ogg
|sound4=Bonemeal4.ogg
|sound5=Bonemeal5.ogg
|description=When super fertilizer is successfully used
|source=Blocks
|id=item.bone_meal.use
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Super Fertilizer
|spritetype=item
|nameid=rapid_fertilizer
|id=597
|form=item
|foot=1}}

== History ==
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Super Fertilizer BE1.png|32px]] Added super fertilizer.}}

{{History|education}}
{{History||1.0.27|[[File:Super Fertilizer BE1.png|32px]] Added super fertilizer.}}
{{History|foot}}

{{items}}
{{Education Edition}}

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

[[de:Superdünger]]
[[ja:スーパー肥料]]
[[ko:슈퍼 비료]]
[[lzh:神肥]]
[[pl:Supernawóz]]
[[pt:Super fertilizante]]
[[uk:Супердобриво]]
[[zh:超级肥料]]</li></ul>
Added /list and /tell.
b
1.3
{{Extension DPL}}<ul><li>[[Yellow Dye|Yellow Dye]]<br/>{{Item
| title = Yellow Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Yellow dye''' is a [[Dye#Primary|primary dye]] created by placing a [[dandelion]] or [[sunflower]] into a [[crafting]] grid.

== Obtaining ==

=== Crafting ===
{{Crafting
  |Dandelion;Sunflower
  |Output=Yellow Dye;Yellow Dye,2
  |type=Material
}}

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

=== Trading ===

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

== Usage ==
{{dye usage}}

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

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Yellow Dye
|spritetype=item
|nameid=yellow_dye
|aliasid=dye / 11
|id=406
|form=item
|translationkey=item.dye.yellow.name
|foot=1}}

== Video ==
{{yt|nOQUDjEHGRg}}

== History ==
{{History|java beta}}
{{History||1.2|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History||1.6.6|Dandelions can now be generated using [[Bone Meal|bone meal]], making dandelion yellow [[renewable resource|renewable]].}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Dandelion yellow can be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{History||1.7.2|snap=13w36a|Can now be crafted using sunflower.}}
{{History|||snap=13w37a|Each dandelion now yields only 1 dandelion yellow, instead of 2.}}
{{History|||snap=13w41a|[[Stained glass]] can now be [[crafting|crafted]].}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be [[dye]]d.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Yellow dye can now be used to craft yellow [[concrete powder]].}}
{{History|||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|"Dandelion Yellow" has now been renamed to "Yellow Dye".
|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}
{{History|||snap=18w44a|Yellow dye can now change the text color on [[sign]]s to yellow.}}
{{History|||snap=18w49a|Yellow dye can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells yellow dye.}}
{{History|||snap=19w11a|Yellow dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Yellow dye can now be used to craft [[yellow candle]]s.}}
{{History|||snap=21w19a|Yellow dye can no longer be used to craft yellow candles.}}
{{History|||snap=Pre-release 1|Yellow dye can once again used to craft yellow candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Yellow dye can now change the text color on [[hanging sign]]s to yellow.}}
{{History||1.20|snap=23w12a|Yellow dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Yellow dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], yellow dye is now common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History||v0.8.0|snap=build 1|Dandelion yellow is now used to craft [[cocoa beans]].}}
{{History||v0.14.0|snap=build 1|Yellow dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History||v0.16.0|snap=build 1|Dandelion yellow is no longer used to [[crafting|craft]] cocoa beans.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Yellow dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Yellow dye can now be used to dye [[shulker box]]es, [[bed]]s, and craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Yellow dye can now be used to craft patterns on [[banner]]s, [[firework star]]s, and [[stained glass]].}}
{{History||1.4.0|snap=beta 1.2.20.1|Yellow dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Dandelion yellow can now be used to dye [[cat]] collars.}}
{{History|||snap=beta 1.8.0.10|"Dandelion Yellow" has now been renamed to "Yellow Dye".}}
{{History||1.10.0|snap=beta 1.10.0.3|Yellow dye is now [[trading|sold]] by [[wandering trader]]s.
|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Yellow dye can now be found in [[village]] mason [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Yellow dye can now be sold to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of yellow dye has been changed from <code>dye/11</code> to <code>yellow_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History|ps4}}
{{History||1.83|"Dandelion Yellow" has now been renamed to "Yellow Dye".}}
{{History||1.90|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

[[cs:Pampelišková žluť]]
[[de:Gelber Farbstoff]]
[[es:Tinte amarillo]]
[[fr:Teinture jaune]]
[[hu:Pitypangsárga]]
[[ja:黄色の染料]]
[[ko:노란색 염료]]
[[nl:Paardenbloemgeel]]
[[pl:Żółty barwnik]]
[[pt:Corante amarelo]]
[[ru:Жёлтый краситель]]
[[zh:黄色染料]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><li>[[Pitcher Pod|Pitcher Pod]]<br/>{{wip}}
{{Block
| image = <gallery>
Pitcher Crop Age 0 JE1.png| Age 0
Pitcher Crop Age 1 JE1.png| Age 1
Pitcher Crop Age 2 JE1.png| Age 2
Pitcher Crop Age 3 JE1.png| Age 3
Pitcher Crop Age 4 JE1.png| Age 4
</gallery>
| image2 = Pitcher Pod.png
| transparent = Yes
| light = Yes
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| rarity = Common
| flammable = No
| lavasusceptible = No
}}

A '''pitcher pod''' is an ancient bulbous seed that has a chance to be dropped by [[Sniffer|sniffers]] when they finish digging. It is the seed for [[Pitcher Plant]]s.

== Obtaining ==
[[Sniffer]]s occasionally bury their nose in the ground and start digging. Once the sniffer has finished digging, one pitcher pod has a chance to be dropped on the floor as an item.

Sniffers can only dig for pitcher pods in the following blocks:
*{{BlockLink|Dirt}}
*{{BlockLink|Grass Block}}
*{{BlockLink|Podzol}}
*{{BlockLink|Coarse Dirt}}
*{{BlockLink|Rooted Dirt}}
*{{BlockLink|Moss Block}}
*{{BlockLink|Mud}}
*{{BlockLink|Muddy Mangrove Roots}}
They cannot dig for pitcher pods on [[mycelium]].<ref>{{bug|MC-260259||Sniffers cannot dig nor find seeds on mycelium|WAI}}</ref>

== Usage ==
=== Pitcher Crop ===
{{main|Tutorials/Crop farming|title1=Pitcher Crop Farming}}
Pitcher pods can be placed on [[farmland]] by {{ctrl|using}}, where they grow through three stages as a '''pitcher crop'''.

Breaking the crop before it matures drops the pitcher pod, while breaking the final stage produces a [[pitcher plant]] and does ''not'' yield the pod. Pitcher crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops.

Farmer [[villager]]s can plant pitcher pods, but cannot harvest them once they have fully grown.<ref>{{bug|MC-263382|||WAI}}</ref>

=== Feeding ===
Pitcher pods can be used to breed [[chicken]]s and reduce the remaining growth duration of chicks by 10%.

=== Taming ===
Pitcher pods can be used to tame [[parrot]]s.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pitcher Crop
|spritetype=block
|nameid=pitcher_crop
|form=block
|blocktags=bee_growables, crops}}
{{ID table
|displayname=Pitcher Pod
|spritetype=item
|nameid=pitcher_pod
|form=item
|itemtags=villager_plantable_seeds
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pitcher Crop
|spritetype=block
|nameid=pitcher_crop
|id=-574
|form=block
|translationkey=-}}
{{ID table
|displayname=Pitcher Pod
|spritetype=item
|nameid=pitcher_pod
|id=297
|form=item
|foot=1}}

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

== Achievements ==
{{Load achievements|Planting The Past}}

== Advancements ==
{{load advancements|A Seedy Place;Planting The Past}}

== History ==
{{History|java}}
{{History||1.20|snap=23w12a|[[File:Pitcher Crop Age 0 JE1.png|32px]] [[File:Pitcher Crop Age 1 JE1.png|32px]] [[File:Pitcher Crop Age 2 JE1.png|32px]] [[File:Pitcher Crop Age 3 JE1.png|32px]] [[File:Pitcher Crop Age 4 JE1.png|32px]] [[File:Pitcher Pod JE1.png|32px]] Added pitcher crops and pods.
|[[File:Pitcher Crop Age 0 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 1 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 2 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 3 (bottom) JE1.png|32px]] [[File:Pitcher Crop Age 4 (bottom) JE1.png|32px]] The bottom face on all pitcher crop models is missing.<ref>{{bug|MC-261208}}</ref>}}
{{History|||snap=23w13a|Placing a pitcher pod in farmland now gives the player the "A Seedy Place" [[advancement]].
|Fully grown pitcher crops are now destroyed when the farmland they are placed in is destroyed.}}
{{History|||snap=23w14a|Pitcher crops can now be destroyed by [[ravagers]].|Pitcher crops' hitboxes now change according to their age.|[[File:Pitcher Crop Age 0 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 1 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 2 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 3 (bottom) JE2.png|32px]] [[File:Pitcher Crop Age 4 (bottom) JE2.png|32px]] Pitcher crops now have their bottom texture.}}
{{History|||snap=23w16a|Hitbox shape of pitcher crop has been changed for each stage of its growth.|[[Villager]]s can now plant pitcher pods.}}
{{History|||snap=23w17a|The player now get the [[advancement]] "Planting the past" when they plant pitcher pods on [[farmland]].}}

{{History|bedrock}}
{{History||1.20.0|snap=beta 1.20.0.20|[[File:Pitcher Crop Age 0 JE1.png|32px]] [[File:Pitcher Crop Age 1 JE1.png|32px]] [[File:Pitcher Crop Age 2 JE1.png|32px]] [[File:Pitcher Crop Age 3 JE1.png|32px]] [[File:Pitcher Crop Age 4 JE1.png|32px]] [[File:Pitcher Pod JE1.png|32px]] Added pitcher crops and pods.
|Unlike in Java Edition, pitcher pods can be used to feed chickens and parrots.}}
{{history|foot}}

== Notelist ==
{{notelist}}

== References ==
{{reflist}}

{{Blocks|upcoming}}
{{Items}}

[[Category:Plants]]
[[Category:Non-solid blocks]]

[[de:kannenpflanzentrieb]]
[[es:Vaina de planta odre]]
[[ja:ウツボカズラのさや]]
[[pt:Muda de planta-jarro]]</li></ul>
Added /whitelist.
r
1.3.1
{{Extension DPL}}<ul><li>[[Flint and Steel|Flint and Steel]]<br/>{{Item
| image = Flint and Steel.png
| rarity = Common
| renewable = Yes
| durability = 64
| stackable = No
}}

'''Flint and steel''' is a [[tool]] used to create [[fire]] or to ignite certain blocks, structures and mobs.

== Obtaining ==

=== Crafting ===

{{Crafting
|head=1
|showname=0
|showdescription=1
|Iron Ingot
|Flint
|Output=Flint and Steel
|type=Tool
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Flint and Steel
|Damaged Flint and Steel
|Output= Flint and Steel
|description= The durability of the two tools is added together, plus an extra 5% durability.
|type= Tool
}}

=== Chest loot ===

{{LootChestItem|flint-and-steel}}

== Usage ==
=== Igniting ===

When {{control|use|text=used}} on the space above any solid top surface, on any side of any flammable block or any side of any [[obsidian]] block within a valid unlit [[nether portal]] frame regardless of if there is a solid top surface available, the flint and steel places a [[fire]] there.

Flint and steel can be used to light unlit [[campfire]]s, [[candle]]s and [[cake|cakes with candles]].

Flint and steel can be used to light [[nether portal]]s, as any fire existing within an appropriate [[obsidian]] frame will instantly be replaced with [[Nether Portal (block)|nether portal blocks]] that occupy the entirety of the frame.

Using flint and steel on [[TNT]] ignites it. The explosion damage dealt by TNT ignited with flint and steel in this specific way counts as the player's attack. If the player is {{Control|sneak|text=sneaking}} a fire is instead placed on the side of the TNT the flint and steel was used on.

A flint and steel can be used on a [[creeper]] to force it to explode. Explosions initiated in this way cannot be cancelled.

When powered, a [[dispenser]] containing flint and steel can place fires or ignite relevant blocks such as TNT or campfires in the space directly in front of it. This reduces the flint and steel's durability. A dispenser containing a flint and steel cannot detonate creepers.

=== Enchantments ===

Flint and steel can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}   
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}   
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}   
|}

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Flint and steel click.ogg
|subtitle=Flint and Steel click
|source=block
|description=When a flint and steel is used to place fire
|id=item.flintandsteel.use|idnote=<ref name=incorrecteventnames group=sound>{{Cite bug|MC|177457|Fire charge and flint and steel sound event names do not follow item IDs|date=April 5, 2020}}</ref>
|translationkey=subtitles.item.flintandsteel.use|translationkeynote=<ref name=incorrecteventnames group=sound/>
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|subtitle=Flint and Steel click
|source=hostile
|description=When a flint and steel is used to light a creeper
|id=item.flintandsteel.use|idnote=<ref name=incorrecteventnames group=sound/>
|translationkey=subtitles.item.flintandsteel.use|translationkeynote=<ref name=incorrecteventnames group=sound/>
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a flint and steel'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=Flint and steel click.ogg
|source=block
|description=When a flint and steel is used to place fire
|id=fire.ignite
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a flint and steel'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=Flint and Steel
|spritetype=item
|nameid=flint_and_steel
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Flint and Steel
|spritetype=item
|nameid=flint_and_steel
|id=299
|form=item
|foot=1}}

== Achievements ==
{{Load achievements|Into the Nether}}

== Advancements ==
{{load advancements|We Need To Go Deeper}}

== Video ==

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

== History ==
{{more sounds|type=old|There is within the possible realm a different use sound from 2015-era Pocket Edition, can this be uploaded?}}
{{History|java indev}}
{{History||0.31|snap=20100110|[[File:Flint and Steel JE1.png|32px]] Added flint and steel.
|Flint and steel can be used to set [[fire]].}}
{{History|||snap=20100129|[[File:Flint and Steel JE2.png|32px]] The steel part of the texture has been brightened.
|Flint and steel can be used alongside [[lava]] to [[smelting|smelt]] [[ores]] and cook [[food]].<ref>http://www.youtube.com/watch?v=OpmK7rDU5bA</ref>}}
{{History|||snap=20100201-2|Flint and steel can now sometimes be dropped as loot from killing [[mobs]].}}
{{History||20100219|[[File:Flint and Steel JE3 BE1.png|32px]] The texture of flint and steel has been changed, due to its new crafting recipe.
|Flint and steel can no longer drop from mobs.
|Flint and steel can now be crafted from an [[iron ingot]] and the newly added [[flint]].
|[[Furnace]]s have been added to replace the cooking and [[smelting]] function of flint and steel.}}
{{History|java beta}}
{{History||1.7|Flint and steel, along with [[fire]] itself, [[explosion]]s and [[Mechanics/Redstone/Circuit|redstone]] are now the only ways to activate [[TNT]].<ref>{{tweet|jeb_|78154891637436416}}</ref>}}
{{History|java}}
{{History||1.3.1|snap=12w21a|The [[player]] can now [[trading|buy]] 1 flint and steel from farmer [[villager]]s for 3 [[emerald]]s, making flint and steel [[renewable]].}}
{{History||1.4.2|snap=12w38a|The [[sound]] when using flint and steel has been changed.}}
{{History||1.5|snap=13w04a|[[Dispenser]]s are now able to use flint and steel on the [[block]] in front of them.}}
{{History||1.6.1|snap=13w18a|Flint and steel can now be found in the new [[chest]]s in [[nether fortress]]es.}}
{{History|||snap=13w25a|Flint and steel now loses [[durability]] when igniting [[TNT]].}}
{{History||1.7.2|snap=13w36a|Flint and steel now has a shapeless crafting recipe.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Old recipe"
! Old recipe
{{!}}-
{{!}}
{{Crafting
|A1=Iron Ingot
|B2=Flint
|Output=Flint and Steel
|ignoreusage=1
}}
{{!}}}
|Using flint and steel on a [[creeper]] now causes it to [[explosion|explode]].}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trading|sell]] flint and steel, making it no longer renewable. However, if a villager selling flint and steel already exists in the world, it can be continuously traded with to obtain flint and steel renewably.}}
{{History||1.9|snap=15w43a|The average yield of flint and steel in [[nether fortress]] [[chest]]s has been slightly reduced.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 259.}}
{{History||1.14|snap=18w43a|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}
{{History||1.16|snap=20w07a|[[Gravel]] now can be given by the [[piglin]]s when [[bartering]], making flint and steel renewable again.}}
{{History|||snap=20w16a|Flint and steel can now be found inside [[ruined portal]] chests.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History||v0.7.0|Flint and steel can now be used to set [[fire]].}}
{{History||v0.7.4|Using flint and steel on a [[creeper]] now causes it to [[explosion|explode]].}}
{{History||v0.8.0|snap=build 1|Added flint and steel to the [[creative]] [[inventory]].}}
{{History||v0.12.1|snap=build 1|Flint and steel can now be used to activate a [[nether portal]].
|Flint and steel can now be found in [[nether fortress]]es.
|Flint and steel can now be [[enchanted]] in [[anvil]]s.}}
{{History||v0.14.0|snap=build 1|Flint and steel can now be used inside [[dispenser]]s when powered.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.51|Flint and steel can now be obtained by [[bartering]] with [[piglin]]s.|Flint and steel can now be enchanted with [[Curse of Vanishing]] through an [[anvil]].}}
{{History|||snap=beta 1.16.0.57|Flint and steel are no longer obtainable from [[bartering]].
|Flint and steel can now be found inside [[ruined portal]] chests.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History||xbox=TU3|Flint and steel, along with [[fire]] itself, [[explosion]]s and [[redstone (disambiguation)|redstone]] are now the only ways to activate [[TNT]].}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Flint and steel now makes [[sound]]s when igniting [[block]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Flint and Steel JE4 BE2.png|32px]] The texture of flint and steel has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Flint and Steel JE3 BE1.png|32px]] Added flint and steel.}}
{{History|foot}}

Historical sounds:

{| class="wikitable"
! Sound
! From
! to
! Pitch
|-
| {{sound||Flint and Steel old.ogg}}
| ?
| ?
| ?
|}

== Issues ==
{{issue list}}

== Trivia ==

* In [[Adventure mode]], flint and steel cannot light fires, nor can it ignite nether portals (unless it has the tag {{cd|CanPlaceOn:obsidian}}). However, it can still ignite TNT and creepers.
* The name "Flint and Steel" may be misleading and is inaccurate considering the game doesn’t have and possibly will have [[Java Edition mentioned features#Steel|steel]] in the game and it's crafted with iron instead. This is similar to the [[Old Growth Taiga|Old Growth Pine Taiga]], as there are no pines in the game and they have [[Spruce|Spruce Trees]] instead.
**In real life, Iron can’t be used as a fire striker, so Mojang had to rename it to Flint and Steel so it makes more sense. This explains why it is called Flint and Steel, but there is no steel in the game.
**Steel was mentioned by Mojang, as a “stronger” iron, but shortly rejected, and there are no currently no plans to add it to the game.
* Flint and steel cannot light end portals.
* Flint and Steel is the first item to mention another item that is not in the game.
*In the April Fools Snapshot, [[Java Edition 23w13a or b]], one of the possible voted was “Flint and Steel can ignite any block”.


==References==

{{Reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Křesadlo]]
[[de:Feuerzeug]]
[[es:Mechero]]
[[fr:Briquet]]
[[hu:Kovakő acéllal]]
[[ja:火打石と打ち金]]
[[ko:부싯돌과 부시]]
[[nl:Vuursteen en staal]]
[[pl:Krzesiwo]]
[[pt:Pederneira]]
[[ru:Огниво]]
[[zh:打火石]]</li><li>[[Wheat Seeds|Wheat Seeds]]<br/>{{Block
| group = Age 0
| 1-1 = Wheat Age 0.png
| 1-2 = Wheat Age 0 BE.png
| group2 = Age 7
| 2-1 = Wheat Age 7.png
| 2-2 = Wheat Age 7 BE.png
| image = Wheat Seeds.png
| extratext = [[#Renders|View all renders]]
| invimage = Wheat Seeds
| transparent = Yes
| light = No
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Wheat seeds''' ({{in|java}}) or '''seeds''' ({{in|bedrock}}) are [[item]]s obtained by breaking [[grass]], or more abundantly harvested from wheat crops, and are used to plant them.

'''Wheat crops''' are planted in [[farmland]] and used to grow [[wheat]] and wheat seeds. 

== Obtaining ==

=== Breaking ===
Harvesting fully-grown [[wheat]] [[crops]] yields from 1 to 4 seeds per crop harvested (about {{frac|2|5|7}} seeds/crop harvested on average).

In '''Bedrock edition''' yields are 0-3.[https://bugs.mojang.com/browse/MCPE-169402]<sup><nowiki>https://bugs.mojang.com/browse/MCPE-169402</sup>

Wheat seeds can be obtained from breaking all variants of [[grass]], which yields 0 to 1 seed. If harvested with a [[Fortune]] enchanted tool the drop rate from grass is increased.

The looting is calculated by a binomial distribution: a drop is attempted three times with a success rate of around 57% to yield the 0–3 drops. Each level of Fortune enchantment increases the number of attempts by one.

{| class="wikitable"
! rowspan="3" |[[Resource location]]
! rowspan="3" | Source
! colspan="5" | Drops
|- style="text-align:center"
! rowspan="2" |{{ItemLink|Wheat}}
! colspan="4" |{{ItemText|Wheat Seeds}}
|- style="text-align:center"
! Default tool
! With [[Fortune]] I
! With Fortune II
! With Fortune III
|- style="text-align:center"
| rowspan="2" |<code>blocks/wheat</code>
|{{BlockLink|Wheat}} (age 0–6)
| 0 {{ItemSprite|Wheat}}
| 1 {{ItemSprite|Wheat Seeds}}|| 1 {{ItemSprite|Wheat Seeds}}|| 1 {{ItemSprite|Wheat Seeds}}|| 1 {{ItemSprite|Wheat Seeds}}
|- style="text-align:center"
|{{BlockLink|Wheat}} (age 7)
| 1 {{ItemSprite|Wheat}}
| 1 {{ItemSprite|Wheat Seeds}} (~7.87%) ''or''<br>2 {{ItemSprite|Wheat Seeds}} (~31.49%) ''or''<br>3 {{ItemSprite|Wheat Seeds}} (~41.98%) ''or''<br>4 {{ItemSprite|Wheat Seeds}} (~18.66%)
| 1 {{ItemSprite|Wheat Seeds}} (~3.37%) ''or''<br>2 {{ItemSprite|Wheat Seeds}} (~17.99%) ''or''<br>3 {{ItemSprite|Wheat Seeds}} (~35.98%) ''or''<br>4 {{ItemSprite|Wheat Seeds}} (~31.99%) ''or''<br>5 {{ItemSprite|Wheat Seeds}} (~10.66%)
| 1 {{ItemSprite|Wheat Seeds}} (~1.44%) ''or''<br>2 {{ItemSprite|Wheat Seeds}} (~9.64%) ''or''<br>3 {{ItemSprite|Wheat Seeds}} (~25.70%) ''or''<br>4 {{ItemSprite|Wheat Seeds}} (~34.27%) ''or''<br>5 {{ItemSprite|Wheat Seeds}} (~22.85%) ''or''<br>6 {{ItemSprite|Wheat Seeds}} (~6.09%)
| 1 {{ItemSprite|Wheat Seeds}} (~0.62%) ''or''<br>2 {{ItemSprite|Wheat Seeds}} (~4.96%) ''or''<br>3 {{ItemSprite|Wheat Seeds}} (~16.52%) ''or''<br>4 {{ItemSprite|Wheat Seeds}} (~29.38%) ''or''<br>5 {{ItemSprite|Wheat Seeds}} (~29.38%) ''or''<br>6 {{ItemSprite|Wheat Seeds}} (~15.67%) ''or''<br>7 {{ItemSprite|Wheat Seeds}} (~3.48%)
|}

=== Natural generation ===
[[Village]] farm plots have a chance of being wheat crops. The exact chance depends on the style of the village:

{| class="wikitable"
! Village style !! Chance
|-
| {{EnvSprite|savanna-village}} Savanna || 80%
|-
| {{EnvSprite|desert-village}} Desert || 70%
|-
| {{EnvSprite|taiga-village}} Taiga || 60%
|-
| {{EnvSprite|plains-village}} Plains || 50%
|-
| {{EnvSprite|snowy-village}} Snowy || 20%
|}

=== Chest loot ===
{{LootChestItem|wheat-seeds}}

=== Trading ===
[[Wandering trader]]s sell wheat seeds for an [[emerald]].

=== Villager gifts ===
{{exclusive|java|section=1}}
Nitwit and unemployed [[villager]]s throw wheat seeds at players under the [[Hero of the Village]] effect.

== Usage ==

=== Crop ===
{{main|Tutorials/Crop farming|title1=Crop Farming}}

[[File:Crop states.png|thumb|Different stages of crop growth.]]

Wheat seeds can be placed on [[farmland]] by right-clicking, where they grow through eight stages. When left alone, wheat seeds planted on farmland grow to become wheat crops, which can be harvested by the player. Planted seeds require a light level of 9 or greater to continue growing. If the light level is 7 or below, the crops instantly un-plant themselves ("pop off"). It is not possible to plant seeds if the light level is too low.

Crops grow faster if the farmland they are planted in is [[Farmland#Hydration|hydrated]]. Using [[bone meal]] on crops also increases the speed of growth by randomly increasing their growth stage by 2 to 5.

Breaking the final stage produces 1 to 4 wheat seeds (or more with Fortune) and 1 [[wheat]]. If they are harvested early, they drop 1 seed without any wheat. Crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops. 

=== Breeding ===
Like other seeds, wheat seeds can be used to breed [[chicken]]s and reduce the remaining growth duration of baby chickens by 10%. Chickens also follow a player holding wheat seeds.

=== Taming ===
Like other seeds, wheat seeds can be used to tame [[parrot]]s.

=== Composting ===
Placing wheat seeds into a [[composter]] has a 30% chance of raising the compost level by 1. A stack of wheat seeds yields an average of 2.74 [[bonemeal]].

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Wheat Crops
|spritetype=block
|nameid=wheat
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Wheat Seeds
|spritetype=item
|nameid=wheat_seeds
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Wheat
|spritetype=block
|nameid=wheat
|id=59
|form=block
|itemform=item.wheat}}
{{ID table
|displayname=Seeds
|spritetype=item
|nameid=wheat_seeds
|id=291
|form=item
|foot=1}}

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

{{/BS}}

== Advancements ==
{{load advancements|A Seedy Place}}

== History ==
''For a more in-depth breakdown of changes to wheat textures and models, including a set of renders for each state, see [[/Asset history]]''
{{History|java classic}}
{{History||May 21, 2009|link=wordofnotch:110762705|[[Notch]] shows interest in adding [[crops]] on [[farmland]].}}
{{History|java indev}}
{{History||Minecraft Indev|snap=20100206|link=Minecraft Indev|slink=Java Edition Indev 20100206|[[File:Wheat Seeds JE1 BE1.png|32px]] Added seeds.
|[[File:Wheat Age 0 JE1.png|32px]] [[File:Wheat Age 1 JE1.png|32px]] [[File:Wheat Age 2 JE1.png|32px]] [[File:Wheat Age 3 JE1.png|32px]] [[File:Wheat Age 4 JE1.png|32px]] [[File:Wheat Age 5 JE1.png|32px]] [[File:Wheat Age 6 JE1.png|32px]] [[File:Wheat Age 7 JE1.png|32px]] Added crops.
|Seeds can be planted on farmland.
|Seeds have a chance of [[drop]]ping while using a [[hoe]] on a [[grass block]].}}
{{History|java beta}}
{{History||1.5|Crops destroyed by [[water]] now drop both seeds and wheat. Prior to this update, they dropped only wheat when destroyed by water.}}
{{History||1.6|snap=Test Build 3|Seeds can no longer be tilled from a grass block.
|Seeds are now found by destroying [[tall grass]] or by harvesting fully-grown crops.}}
{{History||1.8|snap=Pre-release|Crops can now be found in [[village]] farms.}}
{{History|java}}
{{History||1.4.2|snap=12w36a|[[Chicken]]s now use seeds instead of wheat to [[breeding|breed]].}}
{{History||1.8|snap=14w02a|[[Villager]]s can now harvest and plant seeds to grow crops.}}
{{History|||snap=14w06a|[[File:Wheat Age 0 JE2.png|32px]] [[File:Wheat Age 1 JE2.png|32px]] [[File:Wheat Age 2 JE2.png|32px]] [[File:Wheat Age 3 JE2.png|32px]] [[File:Wheat Age 4 JE2.png|32px]] [[File:Wheat Age 5 JE2.png|32px]] [[File:Wheat Age 6 JE2.png|32px]] [[File:Wheat Age 7 JE2.png|32px]] Crops are now a pixel higher - previously they were offset one pixel down as to match farmland. This is likely an accidental result of model conversion.}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] Crops of all stages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Wheat Age 0 JE4.png|32px]] [[File:Wheat Age 1 JE4.png|32px]] [[File:Wheat Age 2 JE4.png|32px]] [[File:Wheat Age 3 JE4.png|32px]] [[File:Wheat Age 4 JE4.png|32px]] [[File:Wheat Age 5 JE4.png|32px]] [[File:Wheat Age 6 JE4.png|32px]] [[File:Wheat Age 7 JE4.png|32px]] Crops now have models again.<ref>{{bug|MC-50232|||Fixed}}</ref> In addition, they are now offset downwards by one pixel once more.<ref>{{bug|MC-50155|||Fixed}}</ref>}}
{{History|||snap=14w25a|[[File:Wheat Age 0 JE5.png|32px]] [[File:Wheat Age 1 JE5.png|32px]] [[File:Wheat Age 2 JE5.png|32px]] [[File:Wheat Age 3 JE5.png|32px]] [[File:Wheat Age 4 JE5.png|32px]] [[File:Wheat Age 5 JE5.png|32px]] [[File:Wheat Age 6 JE5.png|32px]] [[File:Wheat Age 7 JE5.png|32px]] Crops model are now shaded.}}
{{History|||snap=14w27a|[[File:Wheat Age 0 JE6.png|32px]] [[File:Wheat Age 1 JE6.png|32px]] [[File:Wheat Age 2 JE6.png|32px]] [[File:Wheat Age 3 JE6.png|32px]] [[File:Wheat Age 4 JE6.png|32px]] [[File:Wheat Age 5 JE6.png|32px]] [[File:Wheat Age 6 JE6.png|32px]] [[File:Wheat Age 7 JE6.png|32px]] Crops are no longer shaded.}}
{{History||1.9|snap=15w38a|The drop chances of crops has been slightly improved from an average of {{frac|1|3|5}} per [[crop]] harvested to {{frac|1|5|7}}.}}
{{History||1.11|snap=16w39a|Crops now generate inside [[woodland mansion]]s.}}
{{History||1.12|snap=17w18b|Placing a wheat seeds in farmland now gives the player the "A Seedy Place" [[advancement]].}}
{{History|||snap=pre3|Seeds are now used to tame [[parrot]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 59, and the item's was 295.}}
{{History|||snap=18w14a|Seeds no longer become destroyed when an [[entity]] jumps on them if they have the [[Slow Falling]] status effect.}}
{{History|||snap=18w20a|"Seeds" have been renamed to "Wheat Seeds".
|"Crops" have been renamed to "Wheat Crops".}}
{{History||1.14|snap=18w43a|[[File:Wheat Age 0 JE7.png|32px]] [[File:Wheat Age 1 JE7.png|32px]] [[File:Wheat Age 2 JE7.png|32px]] [[File:Wheat Age 3 JE7.png|32px]] [[File:Wheat Age 4 JE7.png|32px]] [[File:Wheat Age 5 JE7.png|32px]] [[File:Wheat Age 6 JE7.png|32px]] [[File:Wheat Age 7 JE7.png|32px]] The textures of wheat crops have been changed.
|The drop rate of fully grown wheat seeds has been changed from 0-3 to 1-4.}}
{{History|||snap=18w44a|[[File:Wheat Age 6 JE8.png|32px]] [[File:Wheat Age 7 JE8.png|32px]] The textures of wheat crops of age 6 and 7 have been changed again.}}
{{History|||snap=18w47a|[[File:Wheat Age 0 JE8.png|32px]] [[File:Wheat Age 1 JE8.png|32px]] [[File:Wheat Age 2 JE8.png|32px]] [[File:Wheat Age 3 JE8.png|32px]] [[File:Wheat Age 4 JE8.png|32px]] [[File:Wheat Age 5 JE8.png|32px]] [[File:Wheat Age 6 JE9.png|32px]] [[File:Wheat Age 7 JE9.png|32px]] The textures of wheat crops have been changed, once again.}}
{{History|||snap=18w48a|Wheat seeds can now be found in [[chest]]s in [[village]] fisher cottages.}}
{{History|||snap=18w49a|Wheat seeds can now be found in chests in [[savanna]] village houses.}}
{{History|||snap=19w03a|Placement and breaking [[sound]]s have been added to wheat crops.
|Placing wheat seeds into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Wheat seeds now have a 30% chance of increasing the compost level in a composter by 1.
|Added [[Wandering Trader|wandering trader]]s, which sell wheat seeds.}}
{{History|||snap=19w13a|Nitwit and unemployed villagers now give wheat seeds to players under the [[Hero of the Village]] effect.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate wheat crops.}}
{{History||1.17|snap=21w13a|[[File:Wheat Age 0.png|32px]] [[File:Wheat Age 1.png|32px]] [[File:Wheat Age 2.png|32px]] [[File:Wheat Age 3.png|32px]] [[File:Wheat Age 4.png|32px]] [[File:Wheat Age 5.png|32px]] [[File:Wheat Age 6.png|32px]] [[File:Wheat Age 7.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes.<ref>{{bug|MC-199242|||Fixed}}</ref>}}
{{History||1.20|snap=23w12a|Wheat seeds can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Wheat seeds no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], wheat seeds are now common loot.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Wheat Seeds JE1 BE1.png|32px]] Added seeds.
|[[File:Wheat Age 0 JE6 BE1.png|32px]] [[File:Wheat Age 1 JE6 BE1.png|32px]] [[File:Wheat Age 2 JE6 BE1.png|32px]] [[File:Wheat Age 3 JE6 BE1.png|32px]] [[File:Wheat Age 4 JE6 BE1.png|32px]] [[File:Wheat Age 5 JE6 BE1.png|32px]] [[File:Wheat Age 6 JE6 BE1.png|32px]] [[File:Wheat Age 7 JE6 BE1.png|32px]] Added crops.
|Seeds can be obtained by tilling [[grass block]]s.}}
{{History||v0.9.0|snap=build 1|[[File:Wheat Age 0 BE2.png|32px]] [[File:Wheat Age 1 BE2.png|32px]] [[File:Wheat Age 2 BE2.png|32px]] [[File:Wheat Age 3 BE2.png|32px]] [[File:Wheat Age 4 BE2.png|32px]] [[File:Wheat Age 5 BE2.png|32px]] [[File:Wheat Age 6 BE2.png|32px]] [[File:Wheat Age 7 BE2.png|32px]] Faces now renders from both sides, resulting in z-fighting.
|Seeds can now be used to [[breeding|breed]] [[chicken]].
|Crops can now be found in [[village]] farms.}}
{{History|||snap=build 2|[[File:Wheat Age 0 BE3.png|32px]] [[File:Wheat Age 1 BE3.png|32px]] [[File:Wheat Age 2 BE3.png|32px]] [[File:Wheat Age 3 BE3.png|32px]] [[File:Wheat Age 4 BE3.png|32px]] [[File:Wheat Age 5 BE3.png|32px]] [[File:Wheat Age 6 BE3.png|32px]] [[File:Wheat Age 7 BE3.png|32px]] Removed some faces to fix z-fighting.}}
{{History||v0.12.1|snap=build 1|Farmer [[villager]]s can now pick up, harvest and plant seeds to grow [[wheat]].}}
{{History|||snap=build 2|Crops now always drop seeds when mined, regardless of growth stage.}}
{{History|||snap=build 8|Seeds can no longer be obtained by tilling [[grass block]]s.}}
{{History||v0.16.2|Seeds can now be found in [[chest]]s inside the large house of [[snowy tundra]] and [[snowy taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Crops now generate inside [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Seeds are now used to tame [[parrot]]s.}}
{{History||1.6.0|snap=beta 1.6.0.1|Seeds no longer become destroyed when an [[entity]] jumps on them if they have the [[Slow Falling]] status effect.}}
{{History||1.10.0|snap=beta 1.10.0.3|Seeds can now be bought from [[wandering trader]]s.
|Placement and breaking [[sound]]s have been added to crops.
|[[File:Wheat Age 0 BE.png|32px]] [[File:Wheat Age 1 BE.png|32px]] [[File:Wheat Age 2 BE.png|32px]] [[File:Wheat Age 3 BE.png|32px]] [[File:Wheat Age 4 BE.png|32px]] [[File:Wheat Age 5 BE.png|32px]] [[File:Wheat Age 6 BE.png|32px]] [[File:Wheat Age 7 BE.png|32px]] The textures of crops have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Seeds can now be found in [[savanna]] [[village]] house [[chest]]s.
|Seeds can now be used to fill up [[composter]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate crops.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wheat Seeds JE1 BE1.png|32px]] Added seeds.
|[[File:Wheat Age 0 JE6 BE1.png|32px]] [[File:Wheat Age 1 JE6 BE1.png|32px]] [[File:Wheat Age 2 JE6 BE1.png|32px]] [[File:Wheat Age 3 JE6 BE1.png|32px]] [[File:Wheat Age 4 JE6 BE1.png|32px]] [[File:Wheat Age 5 JE6 BE1.png|32px]] [[File:Wheat Age 6 JE6 BE1.png|32px]] [[File:Wheat Age 7 JE6 BE1.png|32px]] Added crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wheat Age 0 JE8.png|32px]] [[File:Wheat Age 1 JE8.png|32px]] [[File:Wheat Age 2 JE8.png|32px]] [[File:Wheat Age 3 JE8.png|32px]] [[File:Wheat Age 4 JE8.png|32px]] [[File:Wheat Age 5 JE8.png|32px]] [[File:Wheat Age 6 JE9.png|32px]] [[File:Wheat Age 7 JE9.png|32px]] The textures of crops have been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Wheat Seeds JE1 BE1.png|32px]] Added seeds.
|[[File:Wheat Age 0 JE6 BE1.png|32px]] [[File:Wheat Age 1 JE6 BE1.png|32px]] [[File:Wheat Age 2 JE6 BE1.png|32px]] [[File:Wheat Age 3 JE6 BE1.png|32px]] [[File:Wheat Age 4 JE6 BE1.png|32px]] [[File:Wheat Age 5 JE6 BE1.png|32px]] [[File:Wheat Age 6 JE6 BE1.png|32px]] [[File:Wheat Age 7 JE6 BE1.png|32px]] Added crops.}}
{{History|foot}}

=== Wheat "item" ===
{{:Technical blocks/Crops}}

== Issues ==
{{issue list}}

== Gallery ==
===Renders===
;Java Edition
<gallery>
Wheat Age 0.png|
Wheat Age 1.png|
Wheat Age 2.png|
Wheat Age 3.png|
Wheat Age 4.png|
Wheat Age 5.png|
Wheat Age 6.png|
Wheat Age 7.png|
</gallery>

;Bedrock Edition
<gallery>
Wheat Age 0 BE.png|
Wheat Age 1 BE.png|
Wheat Age 2 BE.png|
Wheat Age 3 BE.png|
Wheat Age 4 BE.png|
Wheat Age 5 BE.png|
Wheat Age 6 BE.png|
Wheat Age 7 BE.png|
</gallery>

===Screenshots===
<gallery>
AllSeeds.png|All the seeds that exist.
Wheat.jpg|Wheat crops in Pocket Edition.
Village Wheat Beetroot Farm.png| Wheat generated in a village.
</gallery>

== References ==
{{reflist}}

{{Blocks|vegetation}}
{{Items}}

[[Category:Plants]]
[[Category:Food]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]

[[de:Weizensamen]]
[[es:Semillas de trigo]]
[[fr:Graines de blé]]
[[hu:Búzamagok]]
[[it:Semi di grano]]
[[ja:小麦の種]]
[[ko:밀 씨앗]]
[[nl:Zaden]]
[[pl:Nasiona zboża]]
[[pt:Sementes de trigo]]
[[ru:Семена пшеницы]]
[[zh:小麦种子]]</li></ul></nowiki>
12w16aAdded cheats mode and /gamemode, /give, /kill, /time, /toggledownfall, and /xp.
The first operator commands.
12w17aAdded /help.
12w21aAdded /seed.
12w22aAdded /defaultgamemode.
12w24aAdded /publish.
12w25aCheats can now be turned on or off when opening a world to other players through LAN.
12w27aAdded /debug.
1.4.2
{{Extension DPL}}<ul><li>[[Brush|Brush]]<br/>{{Item
|image=Brush.png
|rarity=Common
|renewable=Yes
|durability=64
|stackable=No
}}
A '''brush''' is a [[tool]] used in [[archaeology]] to excavate [[suspicious block]]s for different items.

==Obtaining==
===Crafting===
{{Crafting
|head=1
|showname=0
|showdescription=1
|B1=Feather
|B2=Copper Ingot
|B3=Stick
|Output=Brush
|type=Tool
}}
{{crafting
|foot=1
|ignoreusage=1
|Damaged Brush
|Damaged Brush
|Output=Brush
|description=The durability of the two brushes is added together, plus an extra 5% durability.
|type=Tool
}}

==Usage==
{{Main|Suspicious Block}}
{{Control|Using}} the brush on any block displays a brushing animation, slowing down the player and creating breaking [[particles]], but not actually damaging the block or brush. When continuously brushing a [[suspicious block]], a random item slowly emerges from it until it drops out, and the block turns into regular [[sand]] or regular [[gravel]], depleting 1 [[durability]] point on the brush. It takes 96 [[game tick]]s (4.8 seconds) to brush a single suspicious block. 

=== Enchantments ===
A brush can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}   
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}   
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}   
|}

== Sounds ==
{{Edition|Java}}:
{{Sound table
<!--All of these sounds are, in fact, different-->
|sound=Brushing sand1.ogg
|sound2=Brushing sand2.ogg
|sound3=Brushing sand3.ogg
|sound4=Brushing sand4.ogg
|subtitle=Brushing Sand
|source=block
|description=While a brush is brushing suspicious sand
|id=item.brush.brushing.sand
|translationkey=subtitles.item.brush.brushing.sand
|volume=0.6
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Brushing gravel1.ogg
|sound2=Brushing gravel2.ogg
|sound3=Brushing gravel3.ogg
|sound4=Brushing gravel4.ogg
|subtitle=Brushing Gravel
|source=block
|description=While a brush is brushing suspicious gravel
|id=item.brush.brushing.gravel
|translationkey=subtitles.item.brush.brushing.gravel
|volume=0.6
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Brushing generic1.ogg
|sound2=Brushing generic2.ogg
|sound3=Brushing generic3.ogg
|sound4=Brushing generic4.ogg
|subtitle=Brushing
|source=block
|description=While a brush is brushing any other block
|id=item.brush.brushing.generic
|translationkey=subtitles.item.brush.brushing.generic
|volume=0.6
|pitch=0.6
|distance=16}}
{{Sound table
|sound=Brushing sand completed1.ogg
|sound2=Brushing sand completed2.ogg
|sound3=Brushing sand completed3.ogg
|sound4=Brushing sand completed4.ogg
|sound5=Brushing sand completed5.ogg
|subtitle=Brushing Sand completed
|source=Players<ref group=sound name=badsource>{{Bug|MC-260202}}</ref>|overridesource=1
|description=When a brush finishes brushing suspicious sand
|id=item.brush.brushing.sand.complete
|translationkey=subtitles.item.brush.brushing.sand.complete
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Brushing gravel completed1.ogg
|sound2=Brushing gravel completed2.ogg
|sound3=Brushing gravel completed3.ogg
|sound4=Brushing gravel completed4.ogg
|subtitle=Brushing Gravel completed
|source=Players<ref group=sound name=badsource/>|overridesource=1
|description=When a brush finishes brushing suspicious gravel
|id=item.brush.brushing.gravel.complete
|translationkey=subtitles.item.brush.brushing.gravel.complete
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Brushing sand1.ogg
|sound2=Brushing sand2.ogg
|sound3=Brushing sand3.ogg
|sound4=Brushing sand4.ogg
|source=player
|description=While a brush is brushing suspicious sand
|id=brush.suspicious_sand
|volume=1.0
|pitch=0.8-1.0}}
{{Sound table
|sound=Brushing gravel1.ogg
|sound2=Brushing gravel2.ogg
|sound3=Brushing gravel3.ogg
|sound4=Brushing gravel4.ogg
|source=player
|description=While a brush is brushing suspicious gravel
|id=brush.suspicious_gravel
|volume=1.0
|pitch=0.8-1.0}}
{{Sound table
|sound=Brushing generic1.ogg
|sound2=Brushing generic2.ogg
|sound3=Brushing generic3.ogg
|sound4=Brushing generic4.ogg
|source=player
|description=While a brush is brushing any other block
|id=brush.generic
|volume=1.0
|pitch=0.8-1.0}}
{{Sound table
|sound=Brushing sand completed1.ogg
|sound2=Brushing sand completed2.ogg
|sound3=Brushing sand completed3.ogg
|sound4=Brushing sand completed4.ogg
|sound5=Brushing sand completed5.ogg
|source=player
|description=When a brush finishes brushing suspicious sand
|id=brush_completed.suspicious_sand
|volume=1.0
|pitch=0.8-1.0}}
{{Sound table
|sound=Brushing gravel completed1.ogg
|sound2=Brushing gravel completed2.ogg
|sound3=Brushing gravel completed3.ogg
|sound4=Brushing gravel completed4.ogg
|source=player
|description=When a brush finishes brushing suspicious gravel
|id=brush_completed.suspicious_gravel
|volume=1.0
|pitch=0.8-1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Brush
|spritetype=item
|nameid=brush
|id=684
|form=item
|foot=1}}

== Advancements ==
{{load advancements|Respecting the Remnants}}

== History ==
{{History||October 3, 2020|link=https://youtu.be/DBvZ2Iqmm3M?t=2178|[[File:Brush (pre-release 1).png|32px]][[File:Brush 2.png|32px]] Brushes were announced at [[Minecraft Live 2020]] with two variants.}}
{{History||?|link=https://youtu.be/klP9SrJFDU8?t=206|[[File:Brush (pre-release 2).png|32px]] Changed the brush's item texture.}}
{{History||February 10, 2023|[[File:Brush JE1 BE1.png|32px]] [[Sofia Dankis]] posted an article about upcoming archaeology features, including brushes.|link=https://www.minecraft.net/en-us/article/archeology-coming-minecraft-120}}
{{History|java}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Brush JE1 BE1.png|32px]] Added brushes with an updated texture behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].|The crafting recipe was originally three [[string]] and two [[stick]]s.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
|A1 = String
|B1 = String
|C1 = String
|B2 = Stick
|B3 = Stick
|Output = Brush
|type = Tool
|ignoreusage=1}}
{{!}}}
}}
{{History|||snap=1.19.4 Pre-release 1|The crafting recipe for brushes has been changed:
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
|B1 = Feather
|B2 = Copper Ingot
|B3 = Stick
|Output = Brush
|type = Tool
|ignoreusage=1}}
{{!}}}
}}
{{History||1.20|snap=23w12a|Brushes are now available without using the "Update 1.20" experimental data pack.
|Brushes can now brush [[suspicious gravel]].}}
{{History|||snap=23w14a|The brushing sound of brush is now controlled by the "Blocks" sound slider instead of the "Players" sound slider.}}
{{History|||snap=23w17a|The player now gets the [[advancement]] "Respecting the Remnants" when they use a brush on a [[suspicious block]] to obtain a [[pottery sherd]].}}

{{History|bedrock}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|[[File:Brush JE1 BE1.png|32px]] Added brushes behind the "[[Bedrock Edition 1.20.0|Next Major Update]]" [[experimental]] toggle.
|The crafting recipe is originally three [[string]] and two [[stick]]s.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
|A1 = String
|B1 = String
|C1 = String
|B2 = Stick
|B3 = Stick
|Output = Brush
|type = Tool
|ignoreusage=1}}
{{!}}}
}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|The crafting recipe for brushes has been changed:
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}{{Crafting Table
|B1 = Feather
|B2 = Copper Ingot
|B3 = Stick
|Output = Brush
|type = Tool
|ignoreusage=1}}
{{!}}}
}}
{{History||1.20.0|snap=beta 1.20.0.21|Brushes are now available without using the "Next Major Update" experimental toggle.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== References ==
{{Reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/brush Taking Inventory: Brush] – Minecraft.net on July 6, 2023

{{Items}}

[[Category:Renewable resources]]

[[de:Pinsel]]
[[es:Pincel]]
[[ja:ブラシ]]
[[pt:Pincel]]
[[pl:Pędzel]]
[[uk:Щітка]]
[[zh:刷子]]</li><li>[[Raw Porkchop|Raw Porkchop]]<br/>{{Item
| title = Raw Porkchop
| image = Raw Porkchop.png
| renewable = Yes
| heals = {{hunger|3}}
| stackable = Yes (64)
}}
A '''raw porkchop''' is a [[food]] item that can be eaten by the [[player]] or cooked to make a [[cooked porkchop]].

== Obtaining ==

=== Mob loot ===

==== Pigs ====

Adult [[pig]]s drop 1–3 raw porkchop when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III. If killed while on fire, they drop [[cooked porkchop]] instead.

==== Hoglins ====

Adult [[hoglin]]s drop 2–4 raw porkchop when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 7 with Looting III. If killed while on fire, they drop [[cooked porkchop]] instead.

=== Chest loot ===

{{LootChestItem|raw-porkchop}}

== Usage ==

=== Food ===

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

=== Smelting ingredient ===

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

=== Trading ===

{{IN|bedrock}}, novice-level butcher [[villager]]s have a {{frac|1|3}} chance to [[trading|buy]] 7 raw porkchop for an [[emerald]] as part of their [[trading|trades]].

{{IN|java}}, novice-level butcher villagers have a 40% chance to buy 7 raw porkchop for an emerald.

=== Wolves ===

Raw porkchops 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.

=== Piglins ===
[[Piglin|Piglins]] instantly pick up raw or [[Cooked Porkchop|cooked porkchops]] that are within 1 block of them, unless they have already picked up one within the last 10 seconds. Porkchops picked up are not dropped upon the piglin's death.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Porkchop
|spritetype=item
|nameid=porkchop
|id=262
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Pork Chop}}

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

== History ==

{{History|java indev}}
{{History||20100219|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops. 
|Raw porkchops restore {{hp|3}} and do not stack in the [[inventory]].
|Raw porkchops are [[drops|dropped]] by [[pig]]s.}}
{{History|java beta}}
{{History||1.4|Raw porkchops can now be given to [[wolf|wolves]].}}
{{History||1.8|snap=Pre-release|Raw porkchops can now be stacked to 64.<ref>{{Tweet|jeb|103408168356421632|Some Minecraft food changes...}}</ref> 
|Raw porkchops now restore {{hunger|3}} to the [[Hunger|food bar]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Raw porkchops can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Raw porkchops can now be [[trading|sold]] to butcher [[villager]]s, at 14–17 pork chops for 1 [[emerald]].}}
{{History|||snap=12w25a|[[Pig]]s now [[drops|drop]] 1–3 porkchops instead of 0–2.}}
{{History||1.4.2|snap=12w37a|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed; butcher villagers now [[trading|buy]] 14–18 porkchops for 1 emerald.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 319.}}
{{History||1.14|snap=18w43a|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}
{{History|||snap=18w49a|Raw porkchops can now be found in [[chest]]s in [[village]] butcher shops.}}
{{History||1.16|snap=20w07a|Raw porkchops are dropped by the new [[hoglin]]s.
|Raw porkchops have a {{frac|5|109}} (~4.59%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 2–5.}}
{{History|||snap=20w09a|Raw porkchops can no longer be obtained by bartering with piglins.}}
{{History|||snap=20w16a|Raw porkchops now generate in [[bastion remnants]] chests.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops.}}
{{History||v0.5.0|Raw porkchops now restore {{hp|3}} instead of {{hp|1}}.}}
{{History||v0.8.0|snap=build 1|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has that dark outline.}}
{{History||v0.12.1|snap=build 1|Raw porkchops now restore [[hunger]] instead of [[health]].}}
{{History||v0.16.2|[[Pig]]s now [[drops|drop]] 1–3 raw porkchops rather than 0–2.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|14–18 raw porkchops can now be [[trading|sold]] to butcher [[villager]]s for an [[emerald]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|Raw porkchops can now be found in [[village]] butcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Butcher [[villager]]s now have {{frac|1|3}} chance to [[trading|buy]] 7 raw porkchops.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops.}}
{{History||xbox=TU5|Raw porkchops are now stackable to 64 and fills [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has a dark outline.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Raw Porkchop JE2 BE2.png|32px]] Added raw porkchops.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
I Porkchop Minecraft JINX.jpg|Official T-shirt artwork "I Porkchop Minecraft" sold by [https://www.jinx.com JINX].
I Brake for Porkchop Bumper Sticker JINX.jpg|An official bumper sticker featuring a raw porkchop sold by JINX.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--porkchop Taking Inventory: Porkchop] – Minecraft.net on February 13, 2020

{{Items}}

[[Category:Food]]

[[cs:Syrová kotleta]]
[[de:Rohes Schweinefleisch]]
[[es:Chuleta de cerdo cruda]]
[[fr:Côtelette de porc crue]]
[[hu:Nyers disznóhús]]
[[ja:生の豚肉]]
[[nl:Rauw varkensvlees]]
[[pl:Surowy schab]]
[[pt:Costeleta de porco crua]]
[[ru:Сырая свинина]]
[[uk:Сира свинина]]
[[zh:生猪排]]
[[Category:Renewable resources]]</li></ul>
12w32aAdded /difficulty, /gamerule, /spawnpoint, and /weather.
Added target selectors.
12w37aAdded /clear.
12w38aAdded item arguments to /clear.
12w41aThe limit for /xp is now 2,147,483,647 instead of 5,000.
1.4.4
{{Extension DPL}}<ul><li>[[Nether Star|Nether Star]]<br/>{{Distinguish|Firework Star}}
{{Item
| image = Nether Star.gif
| renewable = Yes
| stackable = Yes (64)
| rarity = Uncommon
}}
The '''Nether Star''' is a rare item [[drops|dropped]] by the [[wither]] that is used solely to [[Crafting|craft]] [[Beacon]]s.

== Obtaining ==

=== Mob loot ===

The nether star can be obtained only by defeating the [[Wither]] [[Mob#Boss mobs|boss]], which is created using [[Soul sand]] and [[Head|Wither Skeleton Skulls]]. One nether star is dropped each time; the dropped amount is not affected by the [[Looting]] enchantment. {{IN|java}}, nether stars dropped by withers take 10 minutes to despawn and are immune to explosions. {{IN|bedrock}}, nether star items never despawn, neither by time nor by explosions.

== Usage ==

The nether star has the same animated glint as [[enchanted]] items, [[potion]]s, and [[end crystal]]s.

A dropped nether star item cannot be destroyed by [[explosion]]s. However, it can still be destroyed by a falling [[anvil]],‌{{only|java}} [[fire]], [[lava]], [[cacti]], or [[the Void]].

It is used to [[Crafting|craft]] a [[beacon]].

=== Crafting ingredient ===

{{crafting usage|match=start}}

== Achievements ==
{{load achievements|The beginning;The beginnig?.}}

== Advancements ==
{{load advancements|Withering Heights}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Nether Star
|spritetype=item
|nameid=nether_star
|aliasid=netherstar
|id=518
|form=item
|translationkey=item.netherStar.name
|foot=1}}

== Video ==

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

== History ==

{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Nether Star JE1.png|32px]] The texture of the nether star has been added.}}
{{History|||snap=12w36a|[[File:Nether Star JE1.gif|32px]] Added nether stars.
|Nether stars are [[drops|dropped]] by the [[wither]].}}
{{History|||snap=12w37a|[[File:Nether Star JE2 BE1.gif|32px]] The texture of nether stars has been changed so that they no longer have a dark outline.}}
{{History||1.4.6|snap=12w49a|[[Drops|Dropped]] nether stars can no longer be destroyed by [[explosion]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 399.}}
{{History||1.14|snap=18w43a|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}
{{History||1.16|snap=20w07a|Nether star has become a [[renewable resource]], as [[soul sand]], one of the blocks used to construct withers, is now renewable through [[bartering]].}}

{{History|pocket alpha}}
{{History||v0.16.0|snap=build 4|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}

{{History|New 3DS}}
{{History||1.3.12|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==

<gallery>
File:Nether Star JE3 BE2.png|The nether star without enchanted animated glint.
File:Star Drop.png|The nether star dropped by the wither.
File:Wither, left- Nether Star, right.png|A wither to the left, and a nether star to the right.
</gallery>

== References ==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--nether-star Taking Inventory: Nether Star] – Minecraft.net on May 11, 2023

{{Items}}

[[cs:Netheritová hvězda]]
[[de:Netherstern]]
[[es:Estrella del Inframundo]]
[[fr:Étoile du Nether]]
[[hu:Alvilági csillag]]
[[it:Stella del Nether]]
[[ja:ネザースター]]
[[ko:네더의 별]]
[[nl:Netherster]]
[[pl:Netherowa gwiazda]]
[[pt:Estrela do Nether]]
[[ru:Звезда Нижнего мира]]
[[tr:Nether Yıldızı]]
[[uk:Зірка Незеру]]
[[zh:下界之星]]
[[Category:Renewable resources]]</li><li>[[Leggings|Leggings]]<br/>{{Update|Include information about armor trims and updated netherite upgrade information.}}
{{Item
| image = <gallery>
Leather Pants.png | Leather
Chainmail Leggings.png | Chainmail
Iron Leggings.png | Iron
Diamond Leggings.png | Diamond
Golden Leggings.png | Golden
Netherite Leggings.png | Netherite
</gallery>
| durability = 
* Leather: 75
* Chainmail: 225
* Iron: 225
* Golden: 105
* Diamond: 495
* Netherite: 555
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| stackable = No
}}
'''Leggings''' are a type of [[armor]] that covers the lower body of the player. There are six types of leggings: '''leather pants'''<ref group=fn>Known as '''leather trousers''' in British English variant.{{only|java}}</ref>, '''chainmail leggings''', '''iron leggings''', '''diamond leggings''', '''gold leggings''', and '''netherite leggings'''.

== Obtaining ==

=== Crafting ===

{{crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=Leggings
  |A1= Leather;Gold Ingot;Iron Ingot;Diamond
  |B1= Leather;Gold Ingot;Iron Ingot;Diamond
  |C1= Leather;Gold Ingot;Iron Ingot;Diamond
   |A2= Leather;Gold Ingot;Iron Ingot;Diamond
   |C2= Leather;Gold Ingot;Iron Ingot;Diamond
    |A3= Leather;Gold Ingot;Iron Ingot;Diamond
    |C3= Leather;Gold Ingot;Iron Ingot;Diamond
  |Output= Leather Pants;Golden Leggings;Iron Leggings;Diamond Leggings
  |type= Combat
}}
{{crafting
  |foot=1
  |ignoreusage=1
  |name=Leggings
  |ingredients=Damaged Matching Leggings
  |Damaged Leather Pants; Damaged Golden Leggings; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
  |Damaged Leather Pants; Damaged Golden Leggings; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
  |Output= Leather Pants; Golden Leggings; Chainmail Leggings; Iron Leggings; Diamond Leggings; Netherite Leggings
  |description= The durability of the two leggings is added together, plus an extra 5% durability. Removes any enchantments.
  |type= Combat
}}

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

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=Damaged Matching Leggings
|Damaged Leather Pants; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Golden Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
|Damaged Leather Pants; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Golden Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
|Leather Pants; Chainmail Leggings; Iron Leggings; Golden Leggings; Diamond Leggings; Netherite Leggings
|description=The durability of the two leggings are added together, plus an extra 5% durability.
}}

==== [[Anvil mechanics#Unit repair|Unit repair]] ====
Leggings may be repaired on an [[anvil]] by combining them with their corresponding crafting material (leather, gold ingots, iron ingots, diamonds, or netherite ingots), with each repair material restoring 25% of the leggings' maximum durability, rounded down. Any enchantments are retained. Chainmail leggings may be repaired in this way with iron ingots. Leggings may also be repaired by crafting them together with another pair of leggings of the same material, although enchantments are lost.

=== Mob loot ===

If a [[zombie]], [[piglin]], [[zombie pigman]] or [[skeleton]] is wearing armor, there is an 8.5% chance (9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III) for the mob to drop leggings upon death. The leggings are usually badly damaged and may be enchanted.

[[Vindicator]]s and [[pillager]]s spawn in [[raid]]s have a chance to drop iron leggings, which are usually badly damaged, and may be enchanted.

=== Chest loot ===
{{IN|BE}}, a sealed room in [[woodland mansion]]s can appear that has a chest sometimes containing an [[Efficiency]] I leather pants.<ref>{{bug|MCPE-109048}}</ref>
{{LootChestItem|leather-pants,random-enchanted-leather-pants,chainmail-leggings,iron-leggings,level-enchanted-iron-leggings,golden-leggings,random-enchanted-golden-leggings,diamond-leggings,damaged-diamond-leggings,level-enchanted-diamond-leggings,damaged-random-enchanted-diamond-leggings,damaged-random-enchanted-diamond-leggings-2}}

=== Trading ===
{{IN|java}}, novice-level armorer villagers have a 40% chance to sell iron leggings for 7 emeralds. Apprentice-level armorer villagers have a 50% chance to sell chainmail leggings for 3 emeralds. Expert-level armorer villagers always sell enchanted diamond leggings for 18-35 emeralds. Novice-level leatherworker villagers have a {{frac|2|3}} chance to sell randomly dyed<ref group="note">The leather armor has a random color created by two dyes (possibly the same dye twice).</ref> leather pants for 3 emeralds.

Armorer villagers may give the players with the [[Hero of the Village]] effect chainmail leggings. {{only|java}}

{{IN|bedrock}}, novice-level armorer villagers have a 25% chance of selling iron leggings for 7 emeralds. Apprentice-level armorers have a {{frac|1|3}} chance to sell chainmail leggings for 3 emeralds. Expert-level armorers have a 50% chance to sell enchanted diamond leggings for 14 emeralds. Novice-level leatherworker villagers have 50% chance to sell leather pants for 3 emeralds.

{{notelist|columns=1}}

== Usage ==

Leggings can be placed in the 3rd armor slot of a player's [[inventory]] for activation.

=== Defense points ===

Defense points are each signified by half of a shirt of mail in the armor bar above the health bar. Each defense point reduces any damage dealt to the player that is absorbed by armor by 4%, increasing additively with the number of defense points. Different materials and combinations of armor provide different levels of defense.

The following table shows the number of defense points added by leggings.

{| class="wikitable" data-description="Defense points"
|-
!scope="col" | Material
!scope="col" | Defense points
|-
!scope="row" | Leather
| {{armor|2}}
|-
!scope="row" | Golden
| {{armor|3}}
|-
!scope="row" | Chain
| {{armor|4}}
|-
!scope="row" | Iron
| {{armor|5}}
|-
!scope="row" | Diamond
| rowspan="2" | {{armor|6}}
|-
!scope="row" | Netherite
|}

=== Knockback resistance ===
Netherite leggings provide 10% knockback resistance.

=== Durability ===

The following table shows the amount of damage each piece of armor can absorb before being destroyed.

Any "hit" from a damage source that can be blocked by armor removes one point of durability from each piece of armor worn for every {{hp|4}} of incoming damage (rounded down, but never below 1). Damage taken but not protected by that armor (such as [[Damage#Fall damage|falling]] or [[Damage#Drowning|drowning]]) does not damage the armor, even if it is enchanted to protect against that type of damage. The following chart displays how many hits leggings can endure.

Netherite armor is not damaged by [[lava]] or [[fire]] when worn.

{| class="wikitable" data-description="Durability"
|-
! Material
!Durability
|-
!scope="row" | Leather
| 75
|-
!scope="row" | Golden
| 105
|-
!scope="row" | Chain/Iron
| 225
|-
!scope="row" | Diamond
| 495
|-
!scope="row" | Netherite
| 555
|}

=== Enchantments ===

Leggings can receive the following [[enchantment]]s:
{| class="wikitable"
|-
! Enchantment !! Max Level  !! Notes
|-
| [[Fire Protection]] || IV || <ref group=note name=exclusive>Fire Protection, Blast Protection, Projectile Protection and Protection are mutually exclusive</ref>
|-
| [[Projectile Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Blast Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Unbreaking]] || III ||
|-
|  [[Thorns]] || III || <ref group="note" name="anvil">Only from using an [[anvil]] and [[enchanted book]]s.</ref>
|-
| [[Mending]] || I || <ref group=note name="anvil2">Only from chest loot, fishing, or an anvil and enchanted books.</ref>
|-
| [[Curse of Binding]] || I || <ref group="note" name="anvil2"/>
|-
| [[Curse of Vanishing]] || I || <ref group="note" name="anvil2"/>
|-
| [[Swift Sneak]] || III || <ref group=note name="anvil"/>
|}
{{notelist}}

=== Smelting usage ===

{{Smelting|showname=1|Iron Leggings;Chainmail Leggings;Golden Leggings|Iron Nugget;Iron Nugget;Gold Nugget|0,1}}
=== Piglins ===
{{EntityLink|Piglin|Piglins}} are attracted to ''golden'' leggings and pick them up, examining them for 6 to 8 seconds. Piglins can wear other leggings but are not attracted to them. They prefer stronger leggings over weaker leggings, with one exception: They always prefer golden leggings over all other leggings, throwing out stronger leggings in favor of gold leggings. Enchanted leggings are preferred over unenchanted leggings.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|subtitle=Leather armor rustles
|source=player
|description=When leather leggings are equipped
|id=item.armor.equip_leather
|translationkey=subtitles.item.armor.equip_leather
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|subtitle=Chain armor jingles
|source=player
|description=When chainmail leggings are equipped
|id=item.armor.equip_chain
|translationkey=subtitles.item.armor.equip_chain
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|subtitle=Iron armor clanks
|source=player
|description=When iron leggings are equipped
|id=item.armor.equip_iron
|translationkey=subtitles.item.armor.equip_iron
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|subtitle=Gold armor clinks
|source=player
|description=When gold leggings are equipped
|id=item.armor.equip_gold
|translationkey=subtitles.item.armor.equip_gold
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|subtitle=Diamond armor clangs
|source=player
|description=When diamond leggings are equipped
|id=item.armor.equip_diamond
|translationkey=subtitles.item.armor.equip_diamond
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|subtitle=Netherite armor clanks
|source=player
|description=When netherite leggings are equipped
|id=item.armor.equip_netherite
|translationkey=subtitles.item.armor.equip_netherite
|volume=0.8
|pitch=1.0/0.9
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a pair of leggings' 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=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|source=player
|description=When leather leggings are equipped
|id=armor.equip_leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|source=player
|description=When chain leggings are equipped
|id=armor.equip_chain
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|source=player
|description=When iron leggings are equipped
|id=armor.equip_iron
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|source=player
|description=When gold leggings are equipped
|id=armor.equip_gold
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|source=player
|description=When diamond leggings are equipped
|id=armor.equip_diamond
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|source=player
|description=When netherite leggings are equipped.
|id=armor.equip_netherite
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Water Splash Old.ogg
|source=block
|description=When leather leggings are dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When leather leggings' dye is removed using a cauldron
|id=cauldron.cleanarmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a pair of leggings' durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Leather Pants
|spritetype=item
|nameid=leather_leggings
|itemtags=freeze_immune_wearables
|form=item}}
{{ID table
|displayname=Chainmail Leggings
|spritetype=item
|nameid=chainmail_leggings
|form=item}}
{{ID table
|displayname=Iron Leggings
|spritetype=item
|nameid=iron_leggings
|form=item}}
{{ID table
|displayname=Diamond Leggings
|spritetype=item
|nameid=diamond_leggings
|form=item}}
{{ID table
|displayname=Golden Leggings
|spritetype=item
|nameid=golden_leggings
|form=item}}
{{ID table
|displayname=Netherite Leggings
|spritetype=item
|nameid=netherite_leggings
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather Pants
|spritetype=item
|nameid=leather_leggings
|id=337
|form=item}}
{{ID table
|displayname=Chainmail Leggings
|spritetype=item
|nameid=chainmail_leggings
|id=341
|form=item}}
{{ID table
|displayname=Iron Leggings
|spritetype=item
|nameid=iron_leggings
|id=345
|form=item}}
{{ID table
|displayname=Diamond Leggings
|spritetype=item
|nameid=diamond_leggings
|id=349
|form=item}}
{{ID table
|displayname=Golden Leggings
|spritetype=item
|nameid=golden_leggings
|id=353
|form=item}}
{{ID table
|displayname=Netherite Leggings
|spritetype=item
|nameid=netherite_leggings
|id=611
|form=item
|foot=1}}

=== Item data ===
When leather pants are dyed, it has the following NBT:
<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>

== Achievements ==
{{load achievements|Iron Man;Tie Dye Outfit;Cover me in debris;Oooh, shiny!}}

== Advancements ==
{{load advancements|Suit Up;Cover me With Diamonds;Oh Shiny;Cover Me in Debris}}

== History ==
{{Cleanup|Split history into just leggings history}}
{{Needs render|type=old|Add of armor models from February 12, 2010 ("Added armor models" / "Armor models are displayed on the player in the inventory").}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Studded Leggings (item) JE1.png|32px]] [[History of textures/Unused textures#Studded armor|Studded leggings]] are now able to be seen in the [[inventory]]. This was taken directly from one of [[Notch|Notch's]] game's ''[[Legend of the Chambered 2]]''.}}
{{History||February 9, 2010|link=wordofnotch:380486636|[[File:Notch revealed armor.png|32px]] [[Notch]] revealed new models for armor, which included leggings.}}
{{History||20100212-1|Added leggings models.{{more info|No armor sets were added until later, what does this mean?}}
|[[File:Indev 20100212 armor.png|50px]] Leggings models are now displayed on the [[player]] in the [[inventory]].{{more info|No armor sets were added until later, what does this mean?}}}}
{{History||20100218|[[File:Leather Pants JE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added cloth leggings, which have been given the textures from one of [[Notch]]'s previous games, ''[[Legend of the Chambered]]''.
|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added chain leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added gold leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added diamond leggings.
|Leggings can be [[crafting|crafted]] and worn.
|Leggings now function, giving {{Armor|6}}. Leggings have limited [[item durability|durability]], with lower tier leggings less durable than higher tier leggings.}}
{{History|java alpha}}
{{History||v1.0.8|"Wool leggings" have been renamed to "leather leggings".{{verify|Were they "pants" or "leggings" at the time? If not, when did the name change?}}
|Leather pants are now [[crafting|crafted]] with [[leather]] instead of [[wool]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|The armor protection behavior has been changed. Previous to this update, the total armor protection is based in this equation: (((''total equipped armor damage reduction'' − 1) × (''all equipped armor max damage'' − ''total equipped armor damage'')) ÷ (''total equipped armor max damage'' + 1)).}}
{{History|||snap=October 3, 2011|slink={{tweet|notch|120859830339637249}}|The first images of a [[player]] wearing enchanted armor, including leggings, are revealed.}}
{{History|||snap=Beta 1.9 Prerelease 3|Iron leggings can be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Leggings can be [[enchanting|enchanted]].}}
{{History||1.1|snap=12w01a|Iron leggings can be found in the new blacksmith [[chest]]s in [[village]]s.}}
{{History||1.3.1|snap=12w15a|{{key|Shift}}+clicking can be used to equip leggings.}}
{{History|||snap=12w21a|Chain leggings can be obtained legitimately in [[survival]] mode through [[trading]].
|Blacksmith [[villager]]s now [[trading|sell]] chain leggings for 9–10 emeralds.
|Blacksmith villagers now sell diamond leggings for 11–13 emeralds.
|Blacksmith villagers now sell iron leggings for 8–9 emeralds.
|Butchers now sell leather pants for 2–3 emeralds.}}
{{History||1.4.2|snap=12w32a|[[Mob]] armor has been reintroduced. A partial or full set of any armor is now sometimes worn by [[zombie]]s, [[skeleton]]s and [[zombie pigman|zombie pigmen]], with the likelihood increasing with difficulty.}}
{{History|||snap=August 17, 2012|slink={{tweet|Dinnerbone|236445090929844225}}|[[Jeb]] and [[Dinnerbone]] tweeted pictures of [[dye]]able leather armor, including leggings.}}
{{History|||snap=12w34a|Leather pants can be dyed by [[crafting]] leather pants with [[dye]]s. Dyes can be removed by {{control|use|text=using}} dyed leather pants on a [[cauldron]] with [[water]].
|[[File:Leather Pants JE2.png|32px]] [[File:Leather Pants (item) JE2.png|32px]] Default leather pants are now slightly darker.}}
{{History|||snap=12w36a|[[Dye]]d leather pants are now more saturated and have a slight tint of tan in respect to the default armor color.
|[[Wither skeleton]]s can now spawn wearing leggings.}}
{{History|||snap=12w37a|[[File:Leather Pants (item) JE3 BE2.png|32px]]{{info needed|needs updating.}}[[Category:Needs updating]] Leather leggings now have non-dyed parts. This has been implemented so that [[player]]s can distinguish between other types of armor and similar-colored leather armor.
|Leather pants now have knee pads, which has changed the texture from [[File:Leather Pants JE2.png|32px]] to [[File:Leather Pants JE3 BE1.png|32px]].}}
{{History||1.5|snap=13w04a|Leggings in the [[player]]'s hand can be equipped by right-clicking.
|[[Dispenser]]s can now equip nearby players with leggings.}}
{{History||1.8|snap=14w02a|Armorer [[villager]]s now [[trading|sell]] chain leggings for 9–11 emeralds.
|Armorer villagers no longer sell diamond leggings.
|Armorer villagers no longer sell iron leggings.
|Leatherworkers now sell leather pants for 2–4 emeralds.}}
{{History|||snap=14w05a|Leggings no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History|||snap=14w06a|Leggings are now visible on [[giant]]s.}}
{{History|||snap=14w25a|Chain leggings [[Java Edition removed features#Chain armor|can no longer be crafted anymore]] due to the [[item]] form of [[fire]] being [[Java Edition removed features#Obtainable until 1.8|removed]].}}
{{History||1.9|snap=15w31a|Enchanted iron and diamond leggings can be found in [[end city]] ship [[chest]]s.
|[[Mob]]s now wear armor from the bottom to the top, rather than from the top to the bottom. This means that a mob with three armor pieces, for example, spawn with all armor except a helmet.}}
{{History|||snap=15w34b|Leggings' [[item durability|durability]] now affects armor value.}}
{{History|||snap=15w36a|Armor value and armor [[enchanting|enchantment]] calculations have been changed. For the original values, see [[Armor/Before 1.9|here]].}}
{{History|||snap=15w36d|Leggings' durability affecting value has been removed.
|Leggings now have an attribute controlling the defense points.}}
{{History|||snap=15w50a|Added {{cd|equip}} [[sound]]s for leggings.}}
{{History|||snap=16w02a|Armor value and armor enchantment calculations have been changed again.}}
{{History|||snap=16w05a|Armor value calculations have been changed, once again.}}
{{History||1.11.1|snap=16w50a|Golden, chain, and iron leggings can be [[smelting|smelted]] down into one of their respective [[nugget]]s. Chain leggings smelt into iron nuggets.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 300 (Leather), 304 (Chainmail), 308 (Iron), 312 (Diamond), and 316 (Golden).}}
{{History|||snap=18w11a|Enchanted leather pants can now generate in the chests of [[shipwreck]]s.}}
{{History|||snap=18w20a|Chain leggings have been renamed to "chainmail leggings".}}
{{History||1.14|snap=18w43a|[[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] The textures of leather leggings have been changed.
|[[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] The textures of chainmail leggings have been changed.
|[[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] The textures of iron leggings have been changed.
|[[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Leggings (item) JE2 BE2.png|32px]] The textures of gold leggings have been changed.
|[[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] The textures of diamond leggings have been changed.}}
{{History|||snap=18w48a|Leather pants can be found in [[chest]]s in [[village]] tanneries.}}
{{History|||snap=19w08a|[[File:Golden Leggings (item) JE3 BE3.png|32px]] The texture of gold leggings [[item]]s have been changed.}}
{{History|||snap=19w11a|Armorer villagers now sell iron and enchanted diamond leggings, making diamond leggings effectively [[renewable resource|renewable]] again.
|Leather pants sold by leatherworker villagers are now randomly [[dye]]d.}}
{{History|||snap=19w13a|Armorer villagers now give chainmail leggings to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|[[File:Netherite Leggings JE1.png|32px]] [[File:Netherite Leggings (item) JE1.png|32px]] Added netherite leggings.
|Netherite leggings can be [[crafting|crafted]] using one diamond leggings and one [[netherite ingot]].}}
{{History|||snap=20w09a|[[File:Diamond Leggings (item) JE3 BE3.png|32px]] The textures of diamond leggings [[item]]s have been changed.}}
{{History|||snap=20w10a|[[File:Netherite Leggings JE2.png|32px]] [[File:Netherite Leggings (item) JE2 BE1.png|32px]] The texture of netherite leggings have been changed.
|Netherite leggings can no longer be [[crafting|crafted]].
|Netherite leggings are now obtained by combining one diamond leggings and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w16a|Netherite leggings now generate randomly enchanted in [[bastion remnant]] chests.
|Golden leggings now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds leggings now generate in place of netherite leggings in bastion remnant [[chest]]s.}}
{{History||1.16.4|snap=Pre-release 1|[[File:Netherite Leggings JE3 BE2.png|32px]] The texture of netherite leggings has been changed.}}
{{History||1.18.2|snap=22w03a|Netherite leggings knockback resistance is no longer random.}}
{{History||1.19|snap=22w12a|Added the [[Swift Sneak]] enchantment, which can be applied only to leggings.}}
{{History|||snap=22w13a|Enchanted iron and diamond leggings may be found in [[ancient city]] [[chest]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Non-leather leggings can now be trimmed using a [[smithing table]].
|There are 10 types of material that determine the color of the trim:
*Iron
*Copper
*Gold
*Lapis
*Emerald
*Diamond
*Netherite
*Redstone
*Amethyst
*Quartz
|Upgrading diamond leggings to netherite leggings now requires the netherite upgrade [[smithing template]].}}
{{History|||snap=23w05a|Leather pants can now be trimmed using a smithing table.|Leggings can now have trims of the same material it is made out of.}}
{{History|||snap=23w06a|Swapped {{cd|iron}} and {{cd|iron_darker}} palette, then made {{cd|iron_darker}} darker overall.}}
{{History||1.19.4|snap=23w05a|Leggings can now be swapped by {{ctrl|using}} them in the hotbar.<ref>{{bug|MC-216270|||Fixed}}</ref>}}
{{History||?|Leggings can now be swapped in [[armor stand]]s by {{ctrl|using}} them in the armor stand's slot.}}
{{History||1.20|snap=23w12a|The pattern textures of dune and sentry armor trims are changed.|
Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}

{{History|pocket alpha}}
{{History||v0.6.0|[[File:Leather Pants JE1 BE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added the leather pants.
|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added the chain leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added the iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added the golden leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added the diamond leggings.}}
{{History||v0.8.0|snap=build 2|[[File:Leather Pants (item) JE3 BE2.png|32px]] The leather pants sprites have been changed to that of the [[Java Edition|PC]] version, but its armor [[model]] remains that of older versions.}}
{{History||v0.9.0|snap=build 1|Iron leggings now naturally generates in [[village]] [[chest]]s and a [[stronghold]] altar chest.}}
{{History||v0.11.0|snap=build 11|Armor now protects against [[damage]] from [[mob]]s only.}}
{{History||v0.12.1|snap=build 1|Leggings can be worn by mobs.
|Chainmail leggings can be obtained in [[survival]] mode from a mob wearing it.}}
{{History||?|Leggings no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History||v0.14.0|snap=build 1|[[File:Leather Pants JE3 BE2.png|32px]] Leather armor can be dyed and the model has been updated.}}
{{History||v0.15.0|snap=build 1|Leggings can be obtained from [[stray]]s and [[husk]]s that naturally spawn with armor.}}
{{History||v0.15.10|[[Cape]]s no longer clip through armor.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron leggings and enchanted diamond leggings can be found inside [[chest]]s within [[end city]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Chainmail leggings are now [[trading|sold]] by armorer smith [[villager]]s via [[trading]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Golden, chain, and iron leggings can be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Chainmail leggings now generate in [[buried treasure]] chests.
|Enchanted leather leggings can be found inside [[shipwreck]] supply room [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Iron leggings now can be found in plains [[village]] weaponsmith [[chest]]s.
|Leather pants can be found inside plains village tannery chests.
|[[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] The textures of leather pants have been changed.
|[[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] The textures of chainmail leggings have been changed.
|[[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] The textures of iron leggings have been changed.
|[[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Leggings (item) JE2 BE2.png|32px]] The textures of golden leggings have been changed.
|[[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] The textures of diamond leggings have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron leggings now can be found in [[savanna]], [[taiga]], [[desert]], [[snowy taiga]], and [[snowy tundra]] [[village]] weaponsmith [[chest]]s.
|Leather leggings can be found inside savanna, taiga, desert, snowy taiga, and snowy tundra village tannery chests.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron leggings.
|Leather pants are now [[trading|sold]] by leather worker [[villager]]s.
|Iron leggings and diamond leggings are now sold by armorer villagers.}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Golden Leggings (item) JE3 BE3.png|32px]] The textures of golden leggings [[item]]s have been changed.}}
{{History||1.12.0|snap=beta 1.12.0.2|[[File:Armor Stand with Leather Armor MCPE-44669.png|32px]] Leather armor no longer show as being [[dye]]d properly when worn by [[armor stand]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Leather armor now appears dyed properly when worn by armor stands.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Leggings BE1.png|32px]] [[File:Netherite Leggings (item) JE2 BE1.png|32px]] Added netherite leggings.
|Netherite leggings can be [[crafting|crafted]] using one diamond leggings and one [[netherite ingot]].
|[[File:Diamond Leggings (item) JE3 BE3.png|32px]] The texture of diamond leggings has been changed.
|Golden leggings can be obtained from [[piglin]]s wearing [[armor]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Netherite leggings can no longer be [[crafting|crafted]].
|Netherite leggings are now obtained by combining one diamond leggings and one [[netherite ingot]] in a [[smithing table]].
|Golden leggings can be found in [[ruined portal]] chests.
|Golden and netherite leggings can be found in [[bastion remnant]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds leggings now generate in place of netherite leggings in bastion remnant chests.}}
{{History||1.16.200|snap=beta 1.16.200.52|[[File:Netherite Leggings JE3 BE2.png|32px]] The texture of netherite leggings has been changed.}}
{{History||1.19.0|snap=beta 1.19.0.24|Added the [[Swift Sneak]] enchantment, which is applicable only to leggings.}}
{{History|||snap=beta 1.19.0.26|Enchanted iron and diamond leggings may be found in [[ancient city]] [[chest]]s.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Leather Pants JE3 BE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added the leather leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added the iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added the golden leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added the diamond set.}}
{{History||xbox=TU5|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added the chain leggings.
|Added a quick equip for armor to the [[inventory]] interface.}}
{{History||xbox=TU12|ps=1.03|[[File:Leather Pants (item) JE3 BE2.png|32px]] The textures for leather armor [[item]]s have been changed.}}
{{History||xbox=TU14|ps=1.05|Leather armor can be [[dye]]d.
|[[Item repair]] can now repair armor.}}
{{History||xbox=TU25|xbone=CU13|ps=1.16|Armor now have the quick equip functionality.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Golden, chain, and iron armor can be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|PS4}}
{{History||1.90|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Leather Tunic JE4 BE2.png|32px]] [[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Boots JE3 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Leather Tunic (item) JE4 BE3.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] [[File:Leather Boots (item) JE4 BE3.png|32px]] The textures of leather armor have been changed.
|[[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Chainmail Chestplate JE3 BE2.png|32px]] [[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Boots JE2 BE2.png|32px]]<br>[[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Chainmail Chestplate (item) JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] [[File:Chainmail Boots (item) JE2 BE2.png|32px]] The textures of chainmail armor have been changed.
|[[File:Iron Helmet JE2 BE2.png|32px]] [[File:Iron Chestplate JE2 BE2.png|32px]] [[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Boots JE2 BE2.png|32px]]<br>[[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Iron Chestplate (item) JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] [[File:Iron Boots (item) JE2 BE2.png|32px]] The textures of iron armor have been changed.
|[[File:Golden Helmet JE2 BE2.png|32px]] [[File:Golden Chestplate JE2 BE2.png|32px]] [[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Boots JE2 BE2.png|32px]]<br>[[File:Golden Helmet (item) JE3 BE3.png|32px]] [[File:Golden Chestplate (item) JE3 BE3.png|32px]] [[File:Golden Leggings (item) JE3 BE3.png|32px]] [[File:Golden Boots (item) JE3 BE3.png|32px]] The textures of gold armor have been changed.
|[[File:Diamond Helmet JE2 BE2.png|32px]] [[File:Diamond Chestplate JE3 BE2.png|32px]] [[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Boots JE2 BE2.png|32px]]<br>[[File:Diamond Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Chestplate (item) JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] [[File:Diamond Boots (item) JE2 BE2.png|32px]] The textures of diamond armor have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Leather Cap JE3 BE1.png|32px]] [[File:Leather Tunic JE3 BE1.png|32px]] [[File:Leather Pants JE3 BE1.png|32px]] [[File:Leather Boots JE2 BE1.png|32px]]<br>[[File:Leather Cap (item) JE3 BE2.png|32px]] [[File:Leather Tunic (item) JE3 BE2.png|32px]] [[File:Leather Pants (item) JE3 BE2.png|32px]] [[File:Leather Boots (item) JE3 BE2.png|32px]] Added the leather set.
|[[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Chainmail Chestplate JE2 BE1.png|32px]] [[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Boots JE1 BE1.png|32px]]<br>[[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Chainmail Chestplate (item) JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] [[File:Chainmail Boots (item) JE1 BE1.png|32px]] Added the chain set.
|[[File:Iron Helmet JE1 BE1.png|32px]] [[File:Iron Chestplate JE1 BE1.png|32px]] [[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Boots JE1 BE1.png|32px]]<br>[[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Iron Chestplate (item) JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] [[File:Iron Boots (item) JE1 BE1.png|32px]] Added the iron set.
|[[File:Golden Helmet JE1 BE1.png|32px]] [[File:Golden Chestplate JE1 BE1.png|32px]] [[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Boots JE1 BE1.png|32px]]<br>[[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Golden Chestplate (item) JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] [[File:Golden Boots (item) JE1 BE1.png|32px]] Added the golden set.
|[[File:Diamond Helmet JE1 BE1.png|32px]] [[File:Diamond Chestplate JE1 BE1.png|32px]] [[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Boots JE1 BE1.png|32px]]<br>[[File:Diamond Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Chestplate (item) JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] [[File:Diamond Boots (item) JE1 BE1.png|32px]] Added the diamond set.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
=== Enchanted Leggings ===
<gallery>
File:Enchanted Leather Pants (item).gif
File:Enchanted Chainmail Leggings (item).gif
File:Enchanted Iron Leggings (item).gif
File:Enchanted Golden Leggings (item).gif
File:Enchanted Diamond Leggings (item).gif
File:Enchanted Netherite Leggings (item).gif
</gallery>
<gallery>
File:Enchanted Leather Leggings.gif
File:Enchanted Chainmail Leggings.gif
File:Enchanted Iron Leggings.gif
File:Enchanted Golden Leggings.gif
File:Enchanted Diamond Leggings.gif
File:Enchanted Netherite Leggings.gif
</gallery>

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

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

{{Items}}

[[Category:Armor]]

[[fr:Armure#Jambières]]
[[ja:レギンス]]
[[ko:각반]]
[[pl:Nogawice]]
[[pt:Calças]]
[[zh:护腿]]</li></ul>
1.4.4-preAdded /enchant.
1.5
{{Extension DPL}}<ul><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><li>[[Tropical Fish (item)|Tropical Fish (item)]]<br/>{{Item
| title = Tropical Fish
| image = Tropical Fish.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
}}
'''Tropical fish''' is a [[food]] item that cannot be cooked.

== Obtaining ==

=== Fishing ===

Tropical fish 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).

Tropical fish cannot be caught when fishing in [[jungle]] biome and variants.{{only|bedrock}}
<!--1-6 exp-->

=== Mob drops ===

[[Guardian]]s and [[elder guardian]]s have a 2.5% chance of dropping a random fish upon death. This has a 2% chance of being tropical fish. The chance of getting the fish drop can be increased by 1% per level of [[Looting]], but the type of fish is not affected.

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

== Usage ==

=== Food ===

Tropical fish restores {{hunger|1}} [[hunger]] and 0.2 [[Hunger#Mechanics|saturation]].

=== Trading ===

Expert-level fisherman [[villager]]s have a {{frac|1|7}} chance to buy a single tropical fish for one [[emerald]].{{only|bedrock}}

Expert-level fisherman villagers always offer to buy 6 tropical fish for an emerald.{{only|java}}

=== Wolves ===
{{IN|Bedrock}}, tropical fish can be used to feed [[wolves]], healing them by {{hp|1|mob=1}}. However, unlike other wolf food, tropical fish cannot be used to breed or speed up the growth of baby wolves. Tropical fish can be fed only to a wolf that is 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=Tropical Fish
|spritetype=item
|nameid=tropical_fish
|itemtags=fishes, axolotl_tempt_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showaliasids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Tropical Fish
|spritetype=item
|nameid=tropical_fish
|aliasid=clownfish
|id=266
|form=item
|translationkey=tile.clownfish.name
|foot=1}}

== Achievements ==

{{load achievements|Lion Hunter}}

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

== History ==
{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Tropical Fish JE1 BE1.png|32px]] Added clownfish.}}
{{History||1.8|snap=14w25a|Clownfish are now obtainable as a rare [[drops|drop]] from [[guardian]]s and [[elder guardians]].}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 349.}}
{{History|||snap=18w08b|[[Tropical fish]] have been added as [[mob]]s, which [[drops|drop]] clownfish as their [[item]] form when killed.
|[[File:Tropical Fish JE2 BE2.png|32px]] The texture of clownfish has been changed.}}
{{History|||snap=18w19a|"Clownfish" has been renamed to "Tropical Fish".}}
{{History|||snap=pre5|The [[item]] ID has now been changed to <code>tropical_fish</code>.}}
{{History||1.14|snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] tropical fish.}}
{{History||1.17|snap=20w51a|Tropical fish can be used to [[breeding|breed]] the new [[axolotl]]s.
|Tropical fish can be used to make axolotls attack drowned and guardians.}}
{{History|||snap=21w20a|Axolotls can no longer be bred using tropical fish, but instead can only be bred with [[Bucket of aquatic mob|buckets of tropical fish]].}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Tropical Fish JE1 BE1.png|32px]] Added clownfish.}}
{{History||v0.12.1|snap=build 1|Clownfish now restore [[hunger]] instead of [[health]].}}
{{History||v0.16.0|snap=build 1|Clownfish can now be [[drops|dropped]] by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|"Clownfish" has been renamed to "Tropical Fish".
|[[Tropical fish]] have been added as [[mob]]s, which [[drops|drop]] tropical fish as their [[item]] form when killed.
|[[File:Tropical Fish JE2 BE2.png|32px]] The texture of tropical fish has been changed.}}
{{History||1.8.0|snap=beta 1.8.0.8|Tropical fish can now be used to fed [[ocelot]] to gain their trust.}}
{{History||1.11.0|snap=beta 1.11.0.4|Tropical fish can now be [[trading|sold]] to fisherman [[villager]]s.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Tropical Fish JE1 BE1.png|32px]] Added clownfish.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|"Clownfish" has been renamed to "Tropical Fish".
|[[File:Tropical Fish JE2 BE2.png|32px]] The texture of tropical fish has been changed.}}

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

== Issues ==

{{issue list}}

== See also ==

* [[Fishing]]

== References ==
{{reflist}}

{{items}}

[[de:Tropenfisch (Nahrung)]]
[[es:Pez tropical (objeto)]]
[[ja:熱帯魚 (アイテム)]]
[[ko:열대어 (아이템)]]
[[it:Pesce tropicale (oggetto)]]
[[ru:Тропическая_рыба_(предмет)]]
[[zh:热带鱼(物品)]]
[[Category:Renewable resources]]
[[Category:Food]]</li></ul>
13w03aAdded /testfor.
13w04aAdded /scoreboard.
13w09bAdded /effect.
1.6.1
{{Extension DPL}}<ul><li>[[Spider Eye|Spider Eye]]<br/>{{Item
| title = Spider Eye
| image = Spider Eye.png
| renewable = Yes
| heals = {{Hunger|2}}
|effects={{EffectLink|Poison}} (0:05)
| stackable = Yes (64)
}}
A '''spider eye''' is a poisonous [[food]] and [[brewing]] item.

== Obtaining ==

=== Mob loot ===

==== Spiders ====
[[Spider]]s and [[cave spider]]s have a {{frac|1|3}} chance of dropping a [[spider eye]] when killed by a player or tamed wolf, but not when killed by environmental damage (such as falling). The maximum amount of spider eyes is increased by 1 per level of [[Looting]]. The chance of a spider '''not''' dropping any spider eyes can be found using the formula <code>2 / (Looting Level + 3)</code>. For example, Looting III gives a {{frac|1|3}} chance of not dropping any spider eyes. All other amounts have an equal chance of occurring.

==== Witches ====

[[Witch]]es have a chance of dropping 0–6 spider eyes upon death. This is increased by 3 per level of [[Looting]], for a maximum of 0-15 spider eyes.

=== Chest loot ===

{{LootChestItem|spider-eye}}

== Usage ==

=== Food ===
When [[Food|eaten]], a spider eye restores {{hunger|2}} [[Hunger|hunger points]] and 3.2 [[Hunger#Mechanics|saturation points]], giving a nourishment value of 1.6. It also applies a [[Poison]] [[effect]] lasting 5 seconds to the player, causing {{hp|4|poisoned=1}} damage, which reduces hunger/saturation by 6 points.

=== Crafting ingredient ===

{{crafting usage}}

=== Brewing ingredient ===

{{brewing
  |showname=1
  |head=1
  |Spider Eye
  |Mundane Potion
  |base=Water Bottle
}}
{{brewing
  |foot=1
  |Spider Eye
  |Potion of Poison
}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Spider Eye
|spritetype=item
|nameid=spider_eye
|id=278
|form=item
|foot=1}}

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

== Video ==

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

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes. 
|Spider eyes can be used to craft [[fermented spider eye]]s.}}
{{History|||snap=Beta 1.9 Prerelease 3|Spider eyes can now be [[brewing|brewed]] in a [[water bottle]] to create a [[Mundane Potion]], or in an [[Awkward Potion]] to create a [[Potion of Poison]].}}
{{History||1.4.2|snap=12w38b|Spider eyes can now be dropped by [[witch]]es.}}
{{History||1.9|snap=15w44a|Spider eyes can now be found in [[desert pyramid|desert temple]] [[chest]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 375.}}
{{History||1.14|snap=18w43a|[[File:Spider Eye JE2 BE2.png|32px]] The texture of spider eyes has been changed.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.|Spider eyes can be used to craft [[fermented spider eye]]s and for [[brewing]].}}
{{History||v0.13.0|snap=build 1|Spider eyes can now be found in [[desert pyramid|desert temple]] [[chest]]s.}}
{{History||v0.14.0|snap=build 1|Spider eyes can now dropped by [[witch]]es.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Spider Eye JE2 BE2.png|32px]] The texture of spider eyes has been changed.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.}}	
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|[[File:Spider Eye JE2 BE2.png|32px]] The texture of spider eyes has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Spider Eye JE1 BE1.png|32px]] Added spider eyes.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}} 


{{items}}



[[cs:Pavoučí oko]]
[[de:Spinnenauge]]
[[es:Ojo de araña]]
[[fr:Œil d'araignée]]
[[hu:Pókszem]]
[[it:Occhio di ragno]]
[[ja:クモの目]]
[[ko:거미 눈]]
[[nl:Spinnenoog]]
[[pl:Oko pająka]]
[[pt:Olho de aranha]]
[[ru:Паучий глаз]]
[[zh:蜘蛛眼]]
[[Category:Food]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li><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></ul>
13w23aAdded /spreadplayers.
Added gamerule naturalRegeneration.
13w24aAdded gamerule doDaylightCycle.
1.6-preAdded clear argument to /effect.
1.6.1-preAdded /playsound.
1.7.2
{{Extension DPL}}<ul><li>[[Prismarine Shard|Prismarine Shard]]<br/>{{Item
| renewable =  Yes
| stackable = Yes (64)
| type =
}}
A '''prismarine shard''' is an item obtained by defeating [[guardian]]s or [[elder guardian]]s. It can be used to craft various [[prismarine]] blocks as well as [[sea lantern]]s.

== Obtaining ==

Prismarine shards are dropped upon the death of [[guardian]]s and [[elder guardian]]s. From these mobs, 0–2 shards are dropped each time. This can be increased to a maximum of 5 with the [[Looting]] enchantment.

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Prismarine Shard
|spritetype=item
|nameid=prismarine_shard
|aliasid=prismarineshard
|id=565
|form=item
|foot=1}}

== History ==

{{History|java}}
{{history||1.8|snap=14w25a|[[File:Prismarine Shard JE1 BE1.png|32px]] Added prismarine shards.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 409.}}
{{History||1.14|snap=18w43a|[[File:Prismarine Shard JE2 BE2.png|32px]] The texture of prismarine shards has now been changed.}}

{{History|pocket alpha}}
{{History||v0.16.0|snap=build 1|[[File:Prismarine Shard JE1 BE1.png|32px]] Added prismarine shards.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Prismarine Shard JE2 BE2.png|32px]] The texture of prismarine shards has now been changed.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Prismarine Shard JE1 BE1.png|32px]] Added prismarine shards.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Prismarine Shard JE2 BE2.png|32px]] The texture of prismarine shards has now been changed.}}

{{History|New 3DS}}
{{History||1.3.12|[[File:Prismarine Shard JE1 BE1.png|32px]] Added prismarine shards.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{items}}

[[de:Prismarinscherbe]]
[[es:Fragmento de prismarina]]
[[fr:Éclat de prismarine]]
[[ja:プリズマリンの欠片]]
[[ko:프리즈머린 조각]]
[[nl:Prismarienscherf]]
[[pl:Odłamek pryzmarynu]]
[[pt:Pedaço de prismarinho]]
[[ru:Призмариновый осколок]]
[[uk:Призмариновий уламок]]
[[zh:海晶碎片]]
[[Category:Renewable resources]]</li><li>[[Trial Key|Trial Key]]<br/>{{Item|
|image=Trial Key .webp
|renewable=Yes
|stackable=Yes (64)
}}
{{Stub}}
{{in dev|java|bedrock|1.21|1.21.0}}

A '''Trial Key''' is an item found in [[Trial Chambers]].

Its functionality remained a mystery for a pretty good time, but on the Minecraft Monthly of January 2024, it has been revealed to open vaults, which once opened will drop an item. It's still unknown what will the loot be, but was seen dispensing the following:
Enchanted iron helmet, enchanted iron leggings, enchanted crossbow, enchanted diamond chestplate, iron, gold and diamond horse armour, enchanted golden apple, saddle, enchanted diamond axe, enchanted iron pickaxe and enchanted iron Shovel. 

The trial key can currently be obtained from trial spawners (50%), or from pots and chests (8%).

[[Category:Items]]

[[ja:Trial Key]]
[[lzh:煉管]]</li></ul>
13w36aAdded /summon.
Added /achievement.
Added dataTag argument to /give.
13w37aAdded /setblock, /tellraw, and /testforblock.
13w38aAdded /setidletimeout.
13w43aAdded /setworldspawn.
1.8
{{Extension DPL}}<ul><li>[[:Category:Fungi|Category:Fungi]]<br/>All pages covering blocks that are fungi.

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

[[ja:カテゴリ:菌類]]</li><li>[[Cocoa Beans|Cocoa Beans]]<br/>{{Block
|image=<gallery>
Cocoa Age 0.png|Age 0 JE
Cocoa Age 1.png|Age 1 JE
Cocoa Age 2.png|Age 2 JE
</gallery>
|image2=<gallery>
Cocoa Age 0 BE.png|Age 0 BE
Cocoa Age 1 BE.png|Age 1 BE
Cocoa Age 2 BE.png|Age 2 BE
</gallery>
|transparent=Yes
|light=No
|tool=axe
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}} '''Cocoa beans''' are items obtained from cocoa pods and are used to plant them, as well as to craft [[dye|brown dye]] and [[cookie|cookies]].

'''Cocoa pods''' are [[Bone Meal|bonemealable]] [[plant]]s placed on [[Log|jungle log]] sides that grow cocoa beans, and can be found naturally in [[Jungle|jungles]].

==Obtaining==
In ''Java Edition'', cocoa beans are only obtained through the natural generation of cocoa pods, while in ''Bedrock Edition'', they can also be gotten in bonus chests, from [[fishing]] inside the jungle, bamboo jungle and sparse jungle biomes and during a [[trading]] with a wandering trader.

Cocoa beans come from cocoa pods, which are found on the trunks of normal-sized naturally-generated [[jungle tree]]s in [[jungle]], [[bamboo jungle]]s and [[sparse jungle]] temperate [[biome]]s.

Cocoa pods can be mined with any item, but [[axe]]s are the quickest. Fully grown cocoa pods drop 3 cocoa beans. Using a tool enchanted with Fortune does not increase the amount of cocoa beans dropped.
{{breaking row|horizontal=1|Cocoa|Axe|sword=1|link=none}}
The block itself can be obtained by inventory editing or [[add-on]]s {{in|bedrock}}.

From one to two cocoa beans can be found in 40% of bonus [[chest]]s {{in|bedrock}}.
{{LootChestItem|cocoa-beans}}

Cocoa beans can be obtained from [[fishing]] in a jungle {{in|bedrock}}.

[[Wandering trader]]s may sell 3 cocoa beans for an [[emerald]] during a [[trading]] {{in|bedrock}}.

==Usage==
===Farming===
{{main|Tutorials/Cocoa bean farming}}
Placing cocoa beans on the side of a jungle [[log]] plants a new cocoa pod. The log does not need to be attached to a tree. A cocoa pod can be placed on jungle logs, jungle [[wood]], stripped jungle logs and stripped jungle wood.
[[File:Cocoaplant farm.png|thumb|left|A somewhat efficient cocoa pod farm, minimizing space and wood use.]]
Cocoa has three stages of growth. During its first stage, the pod is small and green. In the second stage, the plant is bigger and colored tan. In its last stage, the pod is even larger and orange. The cocoa block has a 20% chance to grow a stage when receiving a [[Tick#Random tick|random tick]], giving it an average time of 5 minutes and 41 seconds per stage. When destroyed in the first two stages, the pod yields only one cocoa bean. When destroyed in the third stage, it gives 3 cocoa beans. [[Bone meal]] can be used to force the cocoa pod forward by one growth stage. Cocoa pods burst and drop their beans when struck by flowing water, pushed by a piston or if their [[log]] or wood are removed by any means.

===Composting===
Placing cocoa beans into a [[composter]] has a 65% chance of raising the compost level by 1. {{IN|bedrock}}, cocoa beans are accepted as a direct substitute of brown dye in many recipes.

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

{{Dye usage}}

{{IN|bedrock}}, cocoa beans can be also used in banner patterns:
{{banner crafting usage}}

{{Banner loom usage|Cocoa Beans}}

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

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cocoa
|spritetype=block
|nameid=cocoa
|form=block}}
{{ID table
|displayname=Cocoa Beans
|spritetype=item
|nameid=cocoa_beans
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|showaliasids=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Cocoa
|spritetype=block
|nameid=cocoa
|id=127
|form=block}}
{{ID table
|displayname=Cocoa Beans
|spritetype=item
|nameid=cocoa_beans
|aliasid=dye / 3
|id=412
|form=item
|translationkey=item.dye.brown.name
|foot=1}}

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

==History==
''For a more in-depth breakdown of changes to textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java beta}}
{{History||1.2|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans.
|Cocoa beans are currently obtainable only through an inventory editor.}}
{{History||1.2_02|Prior to this, Cocoa Beans were misspelled as 'Coco Beans'.}}
{{History||1.4|Cocoa beans have been formally brought into the game as a reward found in [[dungeon]] chests.<ref>{{tweet|notch|53161729990987776}}</ref> (53% chance) Also, brown [[sheep]] now naturally spawn, making brown [[wool]] obtainable without hacking the game.
|Cocoa beans can now be used to craft [[cookie]]s.}}
{{History|java}}
{{History||May 8, 2012|link={{tweet|jeb|199867730927697920}}|[[Jeb]] revealed cocoa with a screenshot.}}
{{History||1.3.1|snap=12w18a|For only this snapshot, cocoa beans have been given a small (0.5%) chance of dropping from destroyed [[jungle tree]] [[leaves]] in a similar fashion to [[apple]]s from oak leaves, which makes cocoa beans [[renewable resource|renewable]] for the first time.}}
{{History|||snap=12w19a|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]]  Added cocoa. The top textures of cocoa always keep a completely constant rotation, regardless of what direction they face. They also not shaded.
|[[File:Cocoa Beans JE2.png|32px]] The texture of cocoa beans has been changed.
|Cocoa has replaced jungle [[leaves]] as the main method of finding cocoa beans.
|[[File:Cocoa Age 3 (S) JE1.png|32px]] Cocoa with values 12–15 is inaccessible normally, and use the texture of the [[dragon egg]]. This is due to the dragon egg texture being to the left of the ripe cocoa texture in <samp>[[terrain.png]]</samp>, as cocoa textures are arranged with the oldest on the left and the youngest on the right, resulting in the unusually ripe cocoa reading the dragon egg texture.}}
{{History|||snap=1.3|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||1.4.2|snap=12w34a|Cocoa beans have been given the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Cocoa beans can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.5|snap=13w02a|Due to textures being stored in individual files, cocoa beans with data 12–15 no longer have a texture to use, and now crash the game if a [[chunk]] containing one is loaded.}}
{{History|||snap=13w03a|Cocoa with data values 12–15 now only crash the game if one is directly in the field of view.}}
{{History|||snap=13w04a|[[Bone meal]] now grows cocoa by only one stage.}}
{{History|||snap=13w10a|[[File:Cocoa Age 3 (S) JE2.png|32px]] Cocoa with data 12–15 now use the age 2 texture, resulting in a broken appearance, preventing previously mentioned crashes.}}
{{History||1.6.1|snap=13w18a|Cocoa beans have been removed from [[dungeon]] [[chest]]s.}}
{{History|||snap=13w19a|Brown [[Terracotta|stained clay]] can now be [[crafting|crafted]] using cocoa beans.}}
{{History||1.7.2|snap=13w41a|Brown [[stained glass]] can now be crafted using cocoa beans.}}
{{History||1.8|snap=14w07a|[[File:Cocoa Age 0 (S) JE2.png|32px]] [[File:Cocoa Age 1 (S) JE2.png|32px]] [[File:Cocoa Age 2 (S) JE2.png|32px]] [[File:Missing Model JE1.png|32px]] The top textures of cocoa now rotate with the blocks themselves (cocoa facing north remaining visually unaffected), and cocoa of age 3 has [[Missing model|no model]].}}
{{History|||snap=14w10a|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]] [[File:Missing Model JE2.png|32px]] The large section of cocoa is shaded, and the missing model (which age 3 cocoa uses) has changed.}}
{{History|||snap=14w25a|[[File:Cocoa Age 0 (S) JE4.png|32px]] [[File:Cocoa Age 1 (S) JE4.png|32px]] [[File:Cocoa Age 2 (S) JE4.png|32px]] The connecting region of cocoa is now shaded.}}
{{History|||snap=14w26a|Cocoa with data 12–15 has been effectively removed from the game, as such blocks now convert to a proper value with {{cmd|setblock}}. Loading worlds with existing out of range cocoa crash the game.}}
{{History|||snap=14w30a|Cocoa beans can now be used to dye [[banner]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's and item's numeral ID were respectively 127 and 351.}}
{{History||1.14|snap=18w43a|Cocoa beans can now be used to craft [[brown dye]].
|Cocoa beans can no longer be used as a [[dye]].
|All of the dye-related functions and crafting recipes of cocoa beans (except cookies) have been transferred to brown dye.
|"Cocoa Beans" item has been renamed to "Cocoa".
|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa has been changed.
|[[File:Cocoa Age 0 (S) JE5.png|32px]] [[File:Cocoa Age 1 (S) JE5.png|32px]] [[File:Cocoa Age 2 (S) JE5.png|32px]] The textures of cocoa have been changed.
|[[File:Cocoa Age 0 (texture) JE2 BE2.png|32px]] [[File:Cocoa Age 1 (texture) JE2 BE2.png|32px]] Textures for cocoa age 0 and 1 has palette left, visible only on particles.
|Cocoa now has a placement [[sound]].}}
{{History|||snap=19w03a|Placing cocoa into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Cocoa now has a 65% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w11b|"Cocoa" item has been renamed back to "Cocoa Beans".{{verify|was this not just one bug that affected other crops as well? if so cite the ticket and add to all other affected pages}}}}
{{History||1.18|snap=Pre-release 5|[[File:Cocoa Age 0 (texture) JE3 BE3.png|32px]] [[File:Cocoa Age 1 (texture) JE3 BE3.png|32px]] Textures for cocoa age 0 and 1 were changed. This visually changes only particles.}}
{{History||1.19|snap=22w11a|[[File:Cocoa Age 2 (S) JE6.png|32px]] The texture and model of cocoa age 2 have been changed.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans. They are currently unobtainable and serve no purpose.}}
{{History||v0.8.0|snap=build 1|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.
|Cocoa beans can be [[crafted]] from an [[orange dye]] and an [[ink sac]], or from [[dandelion yellow]], [[rose red]], and an ink sac, despite there being no way of obtaining ink sacs at the time.}}
{{History|||snap=build 3|Cocoa beans are now available in [[creative]].}}
{{History||v0.9.0|snap=build 1|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] {{info needed|How did 12-16 appear?}} Added cocoa.
|Cocoa provides an additional way of obtaining cocoa beans.
|Cocoa beans are now used to craft [[cookie]]s.}}
{{History||v0.11.0|snap=build 14|Cocoa now grows over time.<ref>{{bug|MCPE-7887}}</ref>}}
{{History||?|[[File:Cocoa Age 0 (S) BE4.png|32px]] [[File:Cocoa Age 1 (S) BE4.png|32px]] [[File:Cocoa Age 2 (S) BE2.png|32px]] Cocoa no longer has a stem connecting it to the log.}}
{{History||v0.15.0|snap=Realms build 4|[[File:Cocoa Age 0 (S) JE1.png|32px]] [[File:Cocoa Age 1 (S) JE1.png|32px]] [[File:Cocoa Age 2 (S) JE1.png|32px]] Cocoa stems now render again.<ref>{{bug|MCPE-13579}}</ref>}}
{{History||v0.16.0|snap=build 1|Cocoa beans can no longer be crafted from [[orange dye]] and an ink sac.
|Cocoa beans can no longer be crafted from rose red, dandelion yellow and ink sacs.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Cocoa beans can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Cocoa beans can now be used to dye [[shulker box]]es and [[bed]]s.
|Cocoa beans can now be used to craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cocoa beans can now be used to dye [[banner]]s, [[firework star]]s, and [[glass]].
|Cocoa beans can now be found in [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Cocoa beans can now be used to craft brown [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|Cocoa beans can now be used to craft [[brown dye]].}}
{{History||1.10.0|snap=beta 1.10.0.3|Cocoa beans are now [[trading|sold]] by [[wandering trader]]s.
|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa beans has been changed.
|[[File:Cocoa Age 0 (S) BE4.png|32px]] [[File:Cocoa Age 1 (S) BE4.png|32px]] [[File:Cocoa Age 2 (S) BE4.png|32px]] The textures of cocoa have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cocoa beans can now be used to fill up [[composter]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of cocoa beans has been changed from <code>dye/3</code> to <code>cocoa_beans</code>.}}
{{History||1.18.10|snap=beta 1.18.10.22|[[File:Cocoa Age 0 (texture) JE3 BE3.png|32px]] [[File:Cocoa Age 1 (texture) JE3 BE3.png|32px]] Textures for cocoa age 0 and 1 were changed. This visually changes only particles.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Cocoa Beans JE1 BE1.png|32px]] Added cocoa beans.}}
{{History||xbox=TU9|[[File:Cocoa Beans JE3 BE2.png|32px]] The texture of cocoa beans has been changed.}}
{{History||xbox=TU12|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]]{{verify|Were these the models used?}} Added cocoa.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Cocoa Beans JE4 BE3.png|32px]] The texture of cocoa beans has been changed once again.
|[[File:Cocoa Age 0 (S) JE5.png|32px]] [[File:Cocoa Age 1 (S) JE5.png|32px]] [[File:Cocoa Age 2 (S) JE5.png|32px]]{{verify|Were these the models used?}} The textures of cocoa have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cocoa Beans JE3 BE2.png|32px]] Added cocoa beans.
|[[File:Cocoa Age 0 (S) JE3.png|32px]] [[File:Cocoa Age 1 (S) JE3.png|32px]] [[File:Cocoa Age 2 (S) JE3.png|32px]]{{verify|Were these the models used?}} Added cocoa.}}
{{History|foot}}

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

== Issues ==
{{issue list|Cocoa Beans|Cocoa Pod}}

== Trivia ==
*Cocoa pods have a different hitbox for each size; however, the top is always 0.25 blocks below the top of the [[log]] it is on.
*If a cocoa pod grows while the player is standing next to it, the player is forced into the appropriate form of [[suffocation prevention]] depending on available space.
*{{IN|be}}, the pixels on top of the fully grown pod are 8/7 the size of those on the side.<ref>{{bug|MC-109055||Fixed}}</ref><ref>{{bug|MCPE-152862}}</ref>

== Gallery ==
<gallery>
CocoaReveal.png|The first screenshot of cocoa pods tweeted by [[Jens Bergensten]], which revealed the plants.
CocoaPlant.png|A screenshot tweeted by Jens Bergensten, showing the pod.
Cocoa Plants in a Jungle Biome (12w19a).png|Naturally generated cocoa pods.
CPlantsJWood.png|A cocoa pod farm.
Cocoa2.jpg|A cocoa farm.
Cocoa beans phases.png|Three growing phases of the cocoa pod.
AreaOptimizedBeanPods.gif|A log and pod layout for optimizing an example area of 14×14 (including walls).
File:CocoaBean15.png|Cocoa beans with values greater than 12 appeared this way
</gallery>

==Literature==
===References===
{{reflist}}

===External Links===
*[https://www.minecraft.net/en-us/article/taking-inventory--cocoa-beans Taking Inventory: Cocoa Beans] – Minecraft.net on December 5, 2019

{{Items}}
{{Blocks|vegetation}}

[[Category:Dyes]]
[[Category:Food]]
[[Category:Plants]]
[[Category:Renewable resources]]
[[Category:Non-solid blocks]]
[[Category:Natural blocks]]

[[cs:Kakaové boby]]
[[de:Kakaobohnen]]
[[es:Semillas de cacao]]
[[fr:Fèves de cacao]]
[[hu:Kakaóbab]]
[[ja:カカオ豆]]
[[ko:코코아 콩]]
[[nl:Cacaobonen]]
[[pl:Ziarna kakaowe]]
[[pt:Sementes de cacau]]
[[ru:Какао-бобы]]
[[uk:Какао-боби]]
[[zh:可可豆]]</li></ul>
14w02aAdded /blockdata.
Added @e target selector.
Added player|entity argument to /kill.
Added data argument to /clear.
Added dataTag argument to /testfor.
/testfor is no longer exclusive to command blocks.
Added insertion attribute to raw JSON text specification.
14w03aAdded rotation arguments to /tp.
Added dx, dy, and dz to target selector arguments.
Added /clone and /fill.
Added gamerule logAdminCommands.
14w04aAdded /particle.
14w05aAdded spectator to /gamemode and /defaultgamemode.
14w06aAdded hideParticles argument to /effect.
Added /trigger.
14w07aAdded /execute and /testforblocks.
/testfor can now test for partial NBT tag matches.
14w08aCommands run using /execute now pass their success value back to the command block running them.
14w10aAdded gamerule showDeathMessages.
Added force option to /clone.
14w17aAdded /worldborder.
Added gamerule randomTickSpeed.
14w19aAdded /worldborder damage and /worldborder warning.
14w20aAdded /title.
Added selector attribute to raw JSON text specification.
Added move option to /clone.
14w26aAdded /worldborder add.
Added /replaceitem.
Added gamerule sendCommandFeedback
14w28aAdded /stats.
14w29aAdded /worldborder get.
Added force argument to /particle.
Added /time query.
Added the ability to create dummy gamerules.
Added QueryResults to /stats.
14w30a/summon can now spawn lightning.
14w31a/debug can be run in single player.
Added chunk argument to /debug.
14w32bAdded /entitydata.

Issues

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

See also

Advertisement