Minecraft Wiki
Register
Advertisement
This article is about console commands. For the block that executes commands, see Command Block.

Commands, in the PC edition and Pocket Edition, 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, and can be used to auto-enter the coordinates of the block looked at before entering chat.

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

Commands in command blocks can be preceded by a slash, but it is not required. Commands in a command block usually also require an optional argument, like 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 of 64.

The origin for the offset depends on the command. For example, in /tp the offset is from the target's 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, the player who most recently joined the server is selected.
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 (or entity with the type target selector argument).
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.
When used without the type argument, @r always targets a random player. The type argument can be used to target non-player entities (for example, @r[type=Zombie] will target a random zombie, @r[type=!Player] will target a random non-player entity, @r[type=!Zombie] will target a random non-zombie, etc.).
@a
Targets all players, including dead players. No other selector will find dead 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
Selection by Position
Argument(s) Selection criteria
x, y, z coordinate
r, rm radius (max, min)
dx, dy, dz volume dimensions
Selection by Scoreboard Values
Argument(s) Selection criteria
score_name max score
score_name_min min score
tag scoreboard tag
team team name
Selection by Traits
Argument(s) Selection criteria
c count
l, lm experience level (max, min)
m game mode
name entity name
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] (the 't' in 'type' capitalized) will kill all entities (including players) in that radius because there is no longer a valid argument limiting the targets to just creepers.

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 integers and must 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 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 "x" direction (i.e., east/west), DY blocks in the "y" direction (i.e., upwards/downwards), and DZ blocks in the "z" direction (i.e., north/south). 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 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 tag
[tag=TAG] — Selects only targets that have been given the scoreboard tag TAG.
[tag=!TAG] — Selects only targets that have not been given the scoreboard tag TAG.
[tag=] — Selects only targets without any scoreboard tags.
[tag=!] — Selects only targets with any scoreboard tags.
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.
[team=!] — Selects only targets on any team.
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 targets, caused by them being precisely the same distance away, targets are sorted by the time they have been on the server (since their most recent join for players or their creation for other entities) with the longest times selected first. 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 game mode
[m=M] — Selects only targets on the specified game mode.
[m=!M] — Selects only targets that are not on the specified game mode.
Permitted values for M are:
  • -1: all game modes
  • 0, s, survival: survival mode
  • 1, c, creative: creative mode
  • 2, a, adventure: adventure mode
  • 3, sp, spectator: spectator mode
Selecting targets by name
[name=NAME] — Selects only targets named NAME.
[name=!NAME] — Selects only targets not named NAME.
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.
TYPE must be an entity ID used to identify different types of entities internally (for example, creeper for creepers, minecart for regular minecarts, tnt for primed TNT, etc.). Entity IDs are case-sensitive and invalid entity IDs will cause the command to fail.
When used with @r, can change its normal behavior of targeting only players to target other entities.


Data tags

A data tag is a sequence of text which describes a data structure using attribute-value pairs. Data tags are used in commands to specify complex data for players, entities, and some blocks.

A data tag consists of zero or more attribute-value pairs separated by commas and delineated by curly brackets. Each attribute-value pair consists of an attribute name and the attribute's value, separated by a colon. Some values, however, may themselves contain attribute-value pairs, allowing a data tag to describe a hierarchical data structure.

Example: {name1:123,name2:"sometext",name3:{subname1:456,subname2:789}}

The data structures that data tags describe are the same ones used in Minecraft's save files. These data structures are described in other articles and commands expect data tags to use the same attribute names (which are case-sensitive):

Data Structure Specification Links
Objects Examples
Block entities chests, furnaces, command blocks, mob spawners, signs, etc.
Items items in inventories (includes specifications for enchantments, lore, custom names, etc.)
Item entities items on the ground
Mobs creepers, cows, villagers, etc.
Projectiles arrows, fireballs, thrown potions, etc.
Vehicles boats, minecarts, etc.
Dynamic tiles primed TNT, falling sand/gravel/anvils
Other entities firework rockets, paintings, and item frames

The defined data structures also expect the values to be of the correct type.

Data Tags Value Types
Type Description
 Byte An integer between -128 and 127 (inclusive).
 Short An integer between -32,768 and 32,767 (inclusive).
 Int An integer between -2,147,483,648 and 2,147,483,647 (inclusive).
 Long An integer between -9,223,372,036,854,775,808 and 9,223,372,036,854,775,807 (inclusive).
 Float
 Double
Float - 32-bit single-precision floating point, Example: 3.1415926

Double - 64-bit double-precision floating point, Example: 3.141592653589793

See https://en.wikipedia.org/wiki/IEEE_floating_point for details.

 String A sequence of text, optionally delineated with double quotes.

Double quotes must be used if the String contains commas, curly brackets, or square brackets. To include a double quote inside a String, add a backslash before the double quote.

Example: "Call me \"Ishmael\""
 List A sequence of values, separated by commas and delineated with square brackets. The values must be of the same type, which is dictated by the first value in the sequence.
Example: [3.2,64.5,129.5]
 Int Array A sequence of integers between -2,147,483,648 and 2,147,483,647 (inclusive), separated by commas and delineated with square brackets.
 Compound A sequence of attribute-value pairs, separated by commas and delineated with curly brackets.
Example: {X:3,Y:64,Z:129}

Every data tag argument is itself a Compound.

The  Byte Array type is unavailable to commands.

Some commands may require that a number's type be specified by adding a letter (B, S, L, F, D) to the end of the value. For example, 3s for a short, 3.2f for a float, etc. (This doesn't work with I for int.) The letter can be uppercase or lowercase. When no letter is used and Minecraft can't tell the type from context, it assumes double (if there's a decimal point), int (if there's no decimal point and the number is small enough to store as an int), or string (if neither is true). A square-bracketed literal is assumed to be an int array if every element that's between commas is an int; otherwise, it is assumed to be a list. An exception applies: [] is an empty list, but [,] is an empty int array.

When commands such as /testfor, /testforblock, and /clear are used to match data tags, they only check for the presence of the provided 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 and 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.

The format used for data tags is a lenient form of JSON.

Raw JSON text

The /tellraw and /title commands use strict JSON syntax.

Scores and target selectors are evaluated for a Sign when it is placed or edited and for a Written Book when it is "resolved" (opened for the first time after signing). They won't update after that, and they won't work if edited onto an existing sign with an NBT editor, or onto a book that's already marked resolved. There's no way to wrap text onto the next line of a sign or the next page of a book during resolution; instead, the extra text will simply disappear.

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. "\n" is newline (enter).
    •  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), "open_file" (opens the value file on the users computer), "twitch_user_info" (opens info about a twitch user), "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), "change_page" (can only be used in written books) changes to page value if that page exists, 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). "open_file" and "twitch_user_info" cannot be used with commands.
      •  value: The URL, file, twitch user, chat, command or book page 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 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 reader'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. Clicking a player's name inserted into a /tellraw command this way will suggest a command to whisper to that player. Shift-clicking a player's name will insert that name into chat. Shift-clicking a non-player entity's name will insert its UUID into chat.

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, score or selector (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).

/tellraw also accepts an array of objects and/or strings; they are concatenated. It even accepts a tree of nested arrays; they are traversed depth-first. For example:

/tellraw @a ["Hello there, ",{"selector":"@p"},"."]
/tellraw @a [[[["The "],[["quick ","brown "],[{"selector":"@p"}," jumps "],"over "],"the "],["lazy ","dog."]]]

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

Block/item names

Many commands have arguments that identify particular types of blocks or items. In the command syntax below these typically appear as elements named <Block>, <TileName>, <Item> or the like which are replaced with identifiers such as minecraft:stone in the examples. In the PC edition, these identifiers are namespaced and all have the "minecraft:" prefix; in Pocket Edition this prefix must be omitted.

Summary of commands

The table below summarizes available commands. Click a column heading to sort by that column.

Summary of Commands
Command Description Op Only OP level MP Only Blocks Entities Players World Pocket Edition
/achievement Gives or removes an achievement from a player. Op 2 Players
/ban Adds player to banlist. Op 3 MP Players
/ban-ip Adds IP address to banlist. Op 3 MP Players
/banlist Displays banlist. Op 3 MP Players
/blockdata Modifies the data tag of a block. Op 2 Blocks
/clear Clears items from player inventory. Op 2 Players
/clone Copies blocks from one place to another. Op 2 Blocks Yes
/debug Starts or stops a debugging session. Op 3
/defaultgamemode Sets the default game mode. Op 3 World
/deop Revoke operator status from a player. Op 3 MP Players Yes
/difficulty Sets the difficulty level. Op 2 Players
/effect Add or remove status effects. Op 2 Entities Players
/enchant Enchants a player item. Op 2 Players Yes
/entitydata Modifies the data tag of an entity. Op 2 Entities
/execute Executes another command. Op 2 Yes
/fill Fills a region with a specific block. Op 2 Blocks Yes
/gamemode Sets a player's game mode. Op 2 Players Yes
/gamerule Sets or queries a game rule value. Op 2 World
/give Gives an item to a player. Op 2 Players Yes
/help Provides help for commands. 0 Yes
/kick Kicks a player off a server. Op 3 MP Players
/kill Kills entities (players, mobs, items, etc.). Op 2 Entities Players Yes
/list Lists players on the server. Op 0 MP Players Yes
/locate Displays coordinates for the closest instance of a given structure. Op 2 World Yes
/me Displays a message about yourself. 0 Players
/op Grants operator status to a player. Op 3 MP Players Yes
/pardon Removes entries from the banlist. Op 3 MP Players
/particle Creates particles. Op 2 Players
/playsound Plays a sound. Op 2 Players
/publish Opens single-player world to local network. Op 4 World
/replaceitem Replaces items in inventories. Op 2 Blocks Entities Players
/save-all Saves the server to disk. Op 4 MP World
/save-off Disables automatic server saves. Op 4 MP World
/save-on Enables automatic server saves. Op 4 MP World
/say Displays a message to multiple players. Op 2 Yes
/scoreboard Manages objectives, players, teams, and tags. Op 2 Entities Players
/seed Displays the world seed. Op 2 World
/setblock Changes a block to another block. Op 2 Blocks Yes
/setidletimeout Sets the time before idle players are kicked. Op 3 MP Players
/setworldspawn Sets the world spawn. Op 2 World Yes
/spawnpoint Sets the spawn point for a player. Op 2 Players Yes
/spreadplayers Teleports entities to random locations. Op 2 Entities Players
/stats Update objectives from command results. Op 2 Blocks Entities Players
/stop Stops a server. Op 4 MP World
/stopsound Stops a sound. Op 2 Players
/summon Summons an entity. Op 2 Entities Yes
/teleport Teleports entities. Op 2 Entities Players Yes
/tell Displays a private message to other players. 0 Players Yes
/tellraw Displays a JSON message to players. Op 2 Players
/testfor Counts entities matching specified conditions. Op 2 Entities Players
/testforblock Tests whether a block is in a location. Op 2 Blocks Yes
/testforblocks Tests whether the blocks in two regions match. Op 2 Blocks Yes
/time Changes or queries the world's game time. Op 2 World Yes
/title Manages screen titles. Op 2 Players
/toggledownfall Toggles the weather. Op 2 World Yes
/tp Teleports entities. Op 2 Entities Players Yes
/trigger Sets a trigger to be activated. 0 Players
/weather Sets the weather. Op 2 World Yes
/whitelist Manages server whitelist. Op 3 MP Players
/worldborder Manages the world border. Op 2 World
/wsserver Connects to an automation server (developer use only). Op ? PE only
/xp Adds or removes player experience. Op 2 Players Yes

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.
x: int The argument consist of numbers.
y: string The argument consist of multiple words and could have 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.
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> <name|*> [player]
Arguments
name
Specifies which achievement to modify. Must be one of the following:
  • achievement.achievement_name, where achievement_name is a valid achievement 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 the arguments aren't specified correctly, 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).
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 remove all achievements from all players: achievement take * @a


ban

These commands control a server's banlist, or blacklist. A blacklist is a list of players or IP addresses that are not allowed to connect to the server. Bans supersede any whitelisting in place.

See also: /whitelist


ban

Commands/infobox

Adds a player to the blacklist.

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 blacklist, which prevents anyone with that name from connecting to the server


ban-ip

Commands/infobox

Adds an IP address to the blacklist.

Syntax
ban-ip <address|name> [reason …]
Arguments
address|name
An IP address or the name of a player who is currently online
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 blacklist, which prevents anyone from connecting to the server from that address.


banlist

Commands/infobox

Displays the server's blacklist.

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 the arguments are not specified correctly, or if the block is "not a data holder block," as in it is not associated with a block entity.
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 player who executed the command. Not optional in command blocks.
item (optional)
Specifies the id of the item to be cleared. If not specified, all items in the player's inventory are cleared.
data (optional)
Specifies the data value of the item to be cleared. If not specified, or if -1, all items that match item are cleared, regardless of their data.
maxCount (optional)
Specifies the maximum number of items to be cleared. If not specified, or if -1, all items that match item and data are cleared. 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 correctly, if player fails to resolve to one or more online players, or if no items are removed (except when maxCount is 0)
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
/blockdata — can change or remove items in block inventories
/entitydata — can change or remove items in entity inventories
/give — give items to player
/kill — can destroy item entities
/replaceitem — can replace items in block or entity inventories


clone

Commands/infobox

Clones blocks from one region to another.

Syntax
  • Computer
clone <x1> <y1> <z1> <x2> <y2> <z2> <x> <y> <z> [maskMode] [cloneMode] [TileName] [dataValue|state]
  • Pocket Edition
clone <begin: x y z> <end: x y z> <destination: x y z> [maskMode: string] [cloneMode: string] [tileName: string] [tileData: int]
Color added to make reading easier. The in-game help for the clone command does not list the final argument — TileName is a placeholder name for the purpose of discussion.
Arguments
x1 y1 z1 and x2 y2 z2 (PE: begin: x y z and end: x y z)
Specifies the coordinates of two opposing corner blocks of 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 (PE: destination: x y z)
Specifies the lower northwest corner (i.e., the smallest coordinates of each axis) of the destination region. May use tilde notation to specify a distance relative to the command's execution.
maskMode (PE: maskMode: string) (optional)
Specifies whether to filter the blocks being cloned. Must be one of the following:
  • filtered — Clone only blocks with the block id specified by TileName.
  • 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 left unspecified, defaults to replace.
cloneMode (PE: cloneMode: string) (optional)
Specifies how to treat the source region. Must be one of the following:
  • force — Force the clone even if the source and destination regions overlap.
  • move — Clone the source region to the destination region, then replace the source region with air. When used in filtered mask mode, only the cloned blocks will be replaced with air.
  • normal — Don't move or force.
If left unspecified, defaults to normal.
TileName (PE: tileName: string) (optional)
Specifies the block id (e.g., minecraft:stone) to copy when maskMode is set to filtered. Not optional when using filtered mode.
dataValue (PE: tileData: int) (optional)
Specifies the block data to match when finding blocks to clone. Must be between 0 and 15 (inclusive).
state (optional)‌[Computer Edition only]
Specifies the block state to match when finding blocks to clone. Must be a valid block state for the block specified in block.
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 clone 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 clone mode).
See also
/fill — fill a region with a block


debug

Commands/infobox

Starts or stops a debugging session.

Syntax
debug <start|stop>
Arguments
start
Starts a new debug profiling session.
stop
Stops the active debug profiling session.
Result
Fails if trying to start a debug session when one is already active, or if trying 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
Specifies the default game mode for new players. Must be one of the following:
  • 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
Result
Fails if the arguments are not specified correctly.
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 either a player name or a target selector, but target selectors will not evaluate; 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 <difficulty>
Arguments
difficulty
Specifies the new difficulty level. Must be one of the following:
  • 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
Result
Fails if the arguments are not specified correctly.
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, without the commas). 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. Note that the first tier of a status effect (e.g. Regeneration I) is 0, so the second tier, for example Regeneration II, would be specified by an amplifier level of 1.
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 minecraft:speed 60 2
To clear any Haste effects from all players: effect @a minecraft:haste 0
To clear all effects from all zombies: effect @e[type=Zombie] clear


enchant

Commands/infobox

Adds an enchantment to a player's selected item, subject to the same restrictions as an anvil.

Syntax
  • Computer
enchant <player> <enchantment ID> [level]
  • Pocket Edition
enchant <player: target> <enchantmentId: int> [level: int]
An alternate syntax for enchantment ID's name uses:
enchant <player: target> <enchantmentName: string> [level: int]
Arguments
player (PE: player: target)
Specifies the target(s). Must be a player name or target selector.
enchantment ID (PE: enchantmentId: int or enchantmentName: string)
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 (PE: level: int) (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
Note
Although /enchant enforces maximum levels and compatibility, other commands (such as /give, /replaceitem, and /entitydata) can bypass these restrictions.


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 (data tags cannot be removed and strings cannot be set to a null value). Must be a compound NBT tag (for example, {CustomName:Fred}).
Result
Fails if the arguments are not specified correctly, 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 on behalf of one or more other entities, with originating permissions, optionally on condition that a single-block /testforblock-style check passes.

Syntax
  • Computer
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> <dataValue|state> <command …>
  • Pocket Edition
execute <origin: target> <position: x y z> <command: string>
An alternate syntax allows the command to be executed only if a specific block is detected:
execute <origin: target> <position: x y z> <detect: string> <detectPos: x y z> <detectBlock: string> <detectData: int> <command: string>

Color added to make reading easier.

Arguments
entity (PE: origin: target)
Specifies the target to be the command's executor. Must be a player name or target selector. If more than one entity is selected, the command will be run once as each of them.
x y z (PE: position: 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). Coordinates specified with tilde notation are relative to the target, not to the position of the command's execution.
command (PE: command: string)
Specifies the command to be run. Must be a valid command.
x2 y2 z2 (PE: detectPos: x y z) (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 (PE: detectBlock: string) (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)
dataValue (PE: detectData: int) (detect mode only)
Must be a valid block data for that type of block or -1 to match any block data.
state (detect mode only)‌[Computer Edition only]
Must be a valid block state for that type of block or * to match any block state.
Result
Fails if arguments are not specified correctly, 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 lightning_bolt
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 lightning_bolt
To summon 10 creepers at the nearest player's position (only works as long as there are at least 10 entities in the loaded world):
execute @e[c=10] ~ ~ ~ execute @p ~ ~ ~ summon creeper
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
  • Computer
fill <x1> <y1> <z1> <x2> <y2> <z2> <block> [dataValue|state] [oldBlockHandling] [dataTag]
The fill command also has an optional alternate syntax when using the replace option:
fill <x1> <y1> <z1> <x2> <y2> <z2> <block> <dataValue|state> replace [replaceTileName] [replaceDataValue]
  • Pocket Edition
fill <from: x y z> <to: x y z> <tileName: string> [tileData: int] [oldBlockHandling: string] [replaceTileName: string] [replaceDataValue: int]
Color added to make reading easier.
Arguments
x1 y1 z1 and x2 y2 z2 (PE: from: x y z and to: x y z)
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.
block (PE: tileName: string)
Specifies the block to fill the region with. Must be a block id (for example, minecraft:stone).
dataValue (PE: tileData: int) (optional)
Specifies the block data to use for the fill block. Must be between 0 and 15 (inclusive).
state (optional)‌[Computer Edition only]
Specifies the block state to use for the fill block. Must be a valid block state for the block specified in block.
oldBlockHandling (PE: oldBlockHandling: string) (optional)
Must be one of:
  • destroy - Replaces all blocks (including air) in the fill region with the specified block, dropping the existing blocks (including those that are unchanged) and block contents as entities as if they had been mined with an unenchanted diamond shovel or pickaxe. (Blocks that can only be mined with shears, such as vines, will not drop; neither will liquids.)
  • 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. If the fill region has no inner blocks (because it is smaller than three blocks in at least one dimension), acts like replace.
  • 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. If the fill region has no inner blocks (because it is smaller than three blocks in at least one dimension), acts like replace.
  • 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)‌[Computer Edition only]
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 and replaceDataValue (PE: replaceTileName: string and replaceDataValue: int) (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 the arguments are not specified correctly, 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. However, in Pocket Edition, you can fill unlimited blocks unless one of the sides of the filled blocks is 1 block long.
On success, changes blocks in the fill region to the specified block.
Examples
/fill 52 63 -1516 33 73 -1536 minecraft:gold_block 0 replace minecraft:stained_hardened_clay 1
Replaces all the orange stained hardened clay in the selected area with gold blocks.
/fill ~-3 ~-3 ~-3 ~3 ~-1 ~3 minecraft:water 0
Replaces the blocks in a 7x7x3 cube directly beneath the player with water.
/fill ~-3 ~ ~-4 ~3 ~4 ~4 minecraft:planks 2 hollow
Creates a house-sized box around the player, replacing any blocks that would have been inside the box with air.


gamemode

Commands/infobox

Sets a player's game mode.

Syntax
  • Computer
gamemode <mode> [player]
  • Pocket Edition
gamemode <gameMode: string> [player: target]
An alternate syntax allows player to enter game mode by its number:
gamemode <gameMode: int> [player: target]
Arguments
mode (PE: gameMode: string or gameMode: int)
Must be one of:
"hardcore" is not a valid option for the mode argument, as it is technically not a game mode.
player (PE: player: target) (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 the arguments are not specified correctly, 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 only certain predefined game rules will affect gameplay (see Predefined Game Rules below).
value (optional)
Specifies the value to set the game rule to. May be any value, though only true or false specified for predefined game rules will actually affect gameplay, except in the case of randomTickSpeed and spawnRadius, where any integer 0 or greater will affect gameplay (see Predefined Game Rules below).
Predefined Game Rules
Rule Name Description Default Value
commandBlockOutput Whether command blocks should notify admins when they perform commands true
disableElytraMovementCheck Whether the server should skip checking player speed when the player is wearing elytra. false
doDaylightCycle Whether the day-night cycle and moon phases progress true
doEntityDrops Whether entities that are not mobs should have drops true
doFireTick Whether fire should spread and naturally extinguish true
doMobLoot Whether mobs should drop items true
doMobSpawning Whether mobs should naturally spawn true
doTileDrops Whether blocks should have drops true
doWeatherCycle Whether the weather will change true
keepInventory Whether the player should keep items in their inventory after death false
logAdminCommands Whether to log admin commands to server log true
maxEntityCramming The maximum number of other pushable entities a mob or player can push, before taking 3♥♥ suffocation damage per half-second. Setting to 0 disables the rule. Damage affects survival-mode or adventure-mode players, and all mobs but bats. Pushable entities include non-spectator-mode players, any mob except bats, as well as boats and minecarts. 24
mobGriefing Whether creepers, zombies, endermen, ghasts, withers, ender dragons, rabbits, sheep, and villagers should be able to change blocks and whether villagers, zombies, skeletons, and zombie pigmen can pick up items true
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.) true
randomTickSpeed How often a random block tick occurs (such as plant growth, leaf decay, etc.) per chunk section per game tick. 0 will disable random ticks, higher numbers will increase random ticks 3
reducedDebugInfo Whether the debug screen shows all or reduced information; and whether the effects of F3 + B (entity hitboxes) and F3 + G (chunk boundaries) are shown. false
sendCommandFeedback Whether the feedback from commands executed by a player should show up in chat. Also affects the default behavior of whether command blocks store their output text true
showDeathMessages Whether a message appears in chat when a player dies true
spawnRadius The number of blocks outward from the world spawn coordinates that a player will spawn in when first joining a server or when dying without a spawnpoint. 10
spectatorsGenerateChunks Whether players in spectator mode can generate chunks true
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
  • Computer
give <player> <item> [amount] [data] [dataTag]
  • Pocket Edition
give <player: target> <itemName: string> [amount: int] [data: int]
Arguments
player (PE: player: target)
Specifies the target to give item(s) to. Must be a player name or target selector.
item (PE: itemName: string)
Specifies the item to give. Must be a valid item id (for example, minecraft:iron_shovel), or block id for which items exist. Numerical ids are unsupported.
amount (PE: amount: int) (optional)
Specifies the number of items to give. Must be between 1 and 64 (inclusive), but can be 64 even when that's more than one stack. If not specified, defaults to 1.
Item-specific stacking restrictions are ignored, for example: /give @p minecraft:iron_sword 5 will give a stack of 5 iron swords, though normally the iron sword is restricted to stacks of 1. The minimum of 1 and the maximum of 64 still apply.
data (PE: data: int) (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 revert to 0. If not specified, defaults to 0.
dataTag (optional)‌[Computer Edition only]
Specifies the data tag of the given item(s). Must be a compound NBT tag (for example, {display:{Name:Fred}}).
Result
Fails if the arguments are not specified correctly, 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 specified number of items. The item entity's Owner tag is set to the target and its PickupDelay tag set to 0[verify] so that it immediately enters the target's inventory if there is room.
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"]}}
To summon a potion at John's location which has the Night Vision effect:
give John potion 1 0 {Potion:"minecraft:night_vision"}
To give Block of Diamond that can be placed on dirt and can break quartz block that can be done in adventure mode.
give John minecraft:diamond_block 1 0 {CanPlaceOn:["minecraft:dirt"],CanDestroy:["minecraft:quartz_block"]}
See also
/summon — summon any entity at any location


help

Commands/infobox

Provides help/list of commands.

Syntax
  • Computer
help [page|command name]
Alternative command:
? [page|command name]
  • Pocket Edition
help <command: string>
help [page: int]
Alternative command:
? <command: string>
? [page: int]
Arguments
page|command name (PE: page: int or command: string) (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.
If the command is run via command block, it gives various messages prefixed with "Searge says: " as the previous output when activated: "Yolo", "/achievement take achievement.understandCommands @p", "Ask for help on twitter", "/deop @p", "Scoreboard deleted, commands blocked", "Contact helpdesk for help", "/testfornoob @p", "/trigger warning", "Oh my god, it's full of stats", "/kill @p[name=!Searge]", "Have you tried turning it off and on again?", "Sorry, no help today".
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
  • Computer
kill [player|entity]
  • Pocket Edition
kill [target: target]
Arguments
player|entity (PE: target: target)
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, directly kills non-living targets, or inflicts 3.4 x 1038 void damage to living targets — even if they are in Creative mode or protected by a high-level Resistance effect — and issues the appropriate death message. Players and mobs killed this way drop loot, and slimes and magma cubes that aren't already of minimum size spawn smaller ones. Destroys boats, minecarts, loose items and experience orbs if they are targeted.
Examples
To kill yourself: kill
To kill a player named Bob: kill Bob
To "kill" all item entities (making them vanish from the world): kill @e[type=Item]
To "kill" all entities within loaded chunks, including yourself: kill @e
To "kill" all entities (item entities, animals, etc) apart from players: kill @e[type=!Player]


list

Commands/infobox

Lists players on the server.

Syntax
list [uuids]
Description
Shows the names of all currently-connected players (the same can be achieved when pressing tab).
If 'uuids' is specified, player UUIDs will be shown alongside names.‌[Computer Edition only]
Success Conditions
Always succeeds, even in a command block.


locate

Commands/infobox

Displays the coordinates for the closest structure of a given type in the chat for the player who executed the command.

Syntax
  • Computer
locate <StructureType>
  • Pocket Edition
locate <feature: string>
Arguments
StructureType (PE: feature: string)
Specifies the structure to locate. Must be one of the following:

The structure type is case-sensitive.

Result
Fails if the arguments are not specified correctly, or if unable to locate the requested StructureType (for example, if it's in a different dimension).
If successful, displays the coordinates for the closest structure of the given type in the chat, for the player who executed the command. Will display the Y coordinate as (y?) for some structures.
Examples
To obtain the coordinates of the nearest woodland mansion: locate Mansion
Note
In Pocket Edition, only strongholds can be found with this command.


me

Commands/infobox

Displays a message about yourself.

Syntax
me <action ...>
Result
Fails if any target selectors do not resolve to at least one online player, or if any named players are not online.
On success, sends a narrative message to the other players in the form of "* Your Name 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 and name2" for two players, or "name1, name2, ... and nameN" for N players.


op

Commands/infobox

Grants operator status to a player.

Syntax
op <player>
Result
Always succeeds. Grants player operator status on the server.


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 the arguments are not specified correctly.
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] [player] [params ...]
Color added to make reading easier.
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 size of the 3-dimensional cuboid volume to spawn particles in, centered on position x y z, and divided by about 8 (using 1 1 1 specifies a cuboid of about 8×8×8 in size).
Exception: When name is reddust, mobSpell, or mobSpellAmbient and speed is not 0, and count is 0 or not specified, these values are set as the RGB channel values of the color of the particle, and are specified in the range 0 to 1. In this usage, the speed parameter acts as a multiplier on these values. If count is greater than 0 for those particles, xd yd zd are treated as a 3-dimensional volume as usual, rather than as a color, and randomized colors are used.
With mobSpell or mobSpellAmbient, 0 0 0 produces a black particle for example, 0 1 0 produces a green particle, and 0 0 0.5 produces a dark blue particle, etc.
The reddust particle's red channel behaves differently: it has a default value of 1, so that setting xd to 0 will instead set the red channel to 1, though setting it to any other value behaves as usual. The reddust xd yd zd parameters can also use values outside the range 0 to 1, though this can have unexpected results.
Even after all this, reddust will apply a randomization to that color: each channel's value is multiplied by a separate random value from 0.8 to 1.0, then they all are multiplied by a single random value from 0.6 to 1.0.
Examples for reddust red channel special behavior:
given value effective value color
0 0 0, or 1 0 0 1 0 0 red
0 1 0, or 1 1 0 1 1 0 yellow
0 0.5 0, or 1 0.5 0 1 0.5 0 orange
0 0 1, or 1 0 1 1 0 1 purple
0 1 1, or 1 1 1 1 1 1 white
0.001 0 0 0.001 0 0 black
0.001 1 0 0.001 1 0 green
0.001 0 1 0.001 0 1 blue
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 up to 256 blocks away and by players that use the minimal particles setting.
player (optional)
Allows control of which player should view this particle instead of everyone in the viewing range of the particle.
params (optional)
Allows blockdust, iconcrack, blockcrack and fallingdust to be modified to view a specific item or block. Two parameters are accepted for iconcrack.
For blockdust, blockcrack and fallingdust, the params argument specifies a numeric id (block only) and a data value, using a single number: id+(data×4096).
For iconcrack, two params arguments specify the numeric id (block id or item id) and the data value separately.
Result
Fails if the arguments are not specified correctly.
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> <source> <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).
source
Specifies which category in the music & sound options the sound falls under. Must be master, music, record, weather, block, hostile, neutral, player, ambient, or voice.
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), and values less than 0.5 are equivalent to 0.5. 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 pitch value is a multiplier applied to the frequency, so if a value between 0.5 and 1.0 (inclusive) is doubled, the pitch will be an octave higher. (If you're a musician wishing to convert other intervals to pitch values, see Note block#Usage, but be aware that 1.0 won't be F♯ for all sound effects.) 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 the arguments are not specified correctly, 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.
See also
/stopsound — Stops a sound.


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.
Cannot be used on a multiplayer server, and will fail if the world is already published to LAN.


replaceitem

Commands/infobox

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

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 one or more entities 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.mainhand works on players, armor stands and mobs (though not all mobs will show or make use of the items).
slot.weapon.offhand
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 the arguments are not specified correctly, 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 none of the targeted entities 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) wherever possible.
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 [flush]
Description
Causes the server to mark all chunks and player data as needing to be saved. They will be saved over time until all are flushed to disk.
If 'flush' is specified as the sole argument to the command, all the chunks will be saved to disk immediately, freezing the server for a short time.
Success Conditions
Succeeds if the map is successfully saved to disk. If an error occurs (such as the disk being full, or another copy of Minecraft has the map open) the command will fail.


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.
Result
Always succeeds.


say

Commands/infobox

Sends a message in the chat to other players

Syntax
  • Computer
say <message …>
  • Pocket Edition
say <message: string>
Result
Fails if any target selectors do not resolve to at least one online player, or if any named players are not online.
On success, broadcasts message to all players on the server. If a multi-person target selector (e.g., @a) is used in message, the list of names is formatted as "name1 and name2" for two players, or "name1, name2, ... and nameN" for N players. Target selectors are not recognized in Pocket Edition.


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
Result
Always succeeds. This command can always be used in single-player mode, regardless of whether cheats are enabled or not.


setblock

Commands/infobox

Changes a block to another block.

Syntax
  • Computer
setblock <x> <y> <z> <block> [dataValue|state] [oldBlockHandling] [dataTag]
  • Pocket Edition
setblock <position: x y z> <tileName: string> [tileData: int] [oldBlockHandling: string]
Arguments
x y z (PE: position: 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.
block (PE: tileName: string)
Specifies the new block. Must be a block id (for example, minecraft:stone or stone).
dataValue (PE: tileData: int) (optional)
Specifies additional data to further describe the new block. Must be between 0 and 15 (inclusive). If not specified, defaults to 0.
state (optional)‌[Computer Edition only]
Specifies additional data to further describe the new block. Must be a valid state for the block specified in block.
oldBlockHandling (PE: oldBlockHandling: string) (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)‌[Computer Edition only]
Specifies the data tag for the new block. Must be a compound NBT tag (for example, {CustomName:Fred}).
Result
Fails if the arguments are not specified correctly, if tried to change a non-air block in keep mode, tried to replace a block with an identical copy in keep or replace mode, or if the coordinates are in an unloaded chunk.
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
  • Computer
setworldspawn
setworldspawn <x> <y> <z>
  • Pocket Edition
setworldspawn [spawnPoint: x y z]
Arguments
x y z (PE: spawnPoint: 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.
If the server is not in adventure mode, players will always spawn on the topmost block near (x,z) — y is effectively ignored. If the server is in adventure mode, then the new spawnpoint will be the coordinates given exactly, including the y coordinate (even if underground and even if there is no block there) -- if the y level given does not have space for the player then it will move up on the y axis until it does, at most y level 256.
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 the 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
  • Computer
spawnpoint
spawnpoint <player>
spawnpoint <player> <x> <y> <z>
  • Pocket Edition
spawnpoint [player: target] [spawnPos: x y z]
Arguments
player (PE: player: target) (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 (PE: spawnPos: 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 the 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 the arguments are not specified correctly, 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 and /teleport — different commands that teleport 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 the arguments are not specified correctly, 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
Result
Always succeeds. Saves all changes to disk, then shuts down the server.


stopsound

Commands/infobox

Stops a sound.

Syntax
stopsound <player> [source] [sound]
Arguments
player
Specifies the sound's target. Must be a player name or a target selector.
source (optional)
Specifies which category in the music & sound options the sound falls under. Must be master, music, record, weather, block, hostile, neutral, player, ambient, or voice.
sound (optional)
Specifies the sound to stop. Must be a sound event defined in sounds.json (for example, mob.pig.say).
Result


summon

Commands/infobox

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

Syntax
  • Computer
summon <EntityName> [x] [y] [z] <dataTag>
* Pocket Edition
summon <entityType: string> [spawnPos: x y z]
Arguments
EntityName (PE: entityType: string)
Specifies the entity to be summoned. Must be an entity id (for example, bat, horse, wither_skull, xp_orb, tnt, etc.) or lightning_bolt.
x y z (PE: spawnPos: x y z) (optional‌[Computer Edition only])
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)‌[Computer Edition only]
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 the arguments are not specified correctly.
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 lightning_bolt ~-10 ~ ~
To summon an armor stand wielding a lava bucket and wearing a skeleton skull:
summon armor_stand ~ ~ ~ {ArmorItems:[{},{},{},{id:skull,Count:1b}],HandItems:[{id:lava_bucket,Count:1b},{}]}


teleport

Commands/infobox

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

In the computer version, the primary difference between this command and the /tp command is that /teleport uses coordinates relative to the command's execution, while /tp uses coordinates relative to the teleported targets.

Although most commands can only affect chunks that have already been generated, /teleport can send entities into chunks that have yet to be generated. If this happens to a player, then the chunks around and including that player's destination will be newly generated.

In Pocket Edition, this command is simply an alias for /tp.

Syntax
  • Computer
teleport <target entity> <x> <y> <z> [<y-rot> <x-rot>]
  • Pocket Edition
teleport <destination: target>
teleport <destination: x y z> [y-rot: rotation] [x-rot: rotation]
teleport <victim: target> <destination: target>
teleport <victim: target> <destination: x y z> [y-rot: rotation] [x-rot: rotation]
Arguments
target entity
Specifies the entity(s) to be teleported. Must be either a player name or a target selector.
x y z
Specifies the coordinates to teleport the target(s) to. x and z must fall within the range -30,000,000 to 30,000,000 (exclusive, without the commas), and y must be within the range -4096 to 4096 inclusive. May use tilde notation to specify a position relative to the position of the executor of the command (use /tp or /execute to teleport using coordinates relative to the target instead).
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 due 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, or if target entity fails to resolve to one or more entities (named players must be online).[verify]
On success, teleports the targets to the specified destination.


tell

Commands/infobox

Sends a private message to one or more players. "w" or "msg" can also be used.

Syntax
  • Computer
tell <player> <message ...>
msg <player> <message ...>
w <player> <message ...>
  • Pocket Edition
tell <recipient: target> <message: string>
msg <recipient: target> <message: string>
w <recipient: target> <message: string>
Arguments
player (PE: recipient: target)
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 if run from the server console — in other words, from the computer running the server, or by remote access to it. Target selectors may also be used by running the command via /execute.
Result
Fails if the arguments are not specified correctly, 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. If a multi-person target selector (e.g., @a) is used in message, the list of names is formatted as "name1 and name2" for two players, or "name1, name2, ... and nameN" for N players. Target selectors in the message are not recognized in Pocket Edition.
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 the arguments are not specified correctly, 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 compound NBT tag (for example, {XpLevel:3}).
Result
Fails if the arguments are not specified correctly, 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 zombies within a 20-block radius of (0,64,0): testfor @e[0,64,0,20,type=Zombie]
To count the number of players currently flying: testfor @a {abilities:{flying:1b}}
To test if a arrow is in a block testfor @e[type=Arrow] {inGround:1b}


testforblock

Commands/infobox

Tests whether a certain block is in a specific location.

Syntax
  • Computer
testforblock <x> <y> <z> <block> [dataValue|state] [dataTag]
  • Pocket Edition
testforblock <position: x y z> <tileName: string> [dataValue: int]
Arguments
x y z (PE: position: 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.
block (PE: tileName: string)
Specifies the block to test for. Must be a valid block id (for example, minecraft:stone).
dataValue (PE: dataValue: int) (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.
state (optional)‌[Computer Edition only]
Specifies the block state to test for. Must be a valid block state for the block specified in block. If not specified, or if *, state matches any block state.
dataTag (optional)‌[Computer Edition only]
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 the arguments are not specified correctly, 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
  • Computer
testforblocks <x1> <y1> <z1> <x2> <y2> <z2> <x> <y> <z> [mode]
  • Pocket Edition
testforblocks <begin: x y z> <end: x y z> <destination: x y z> [mode: string]
Color added to make reading easier.
Arguments
x1 y1 z1 and x2 y2 z2 (PE: <begin: x y z> and <end: x y z>)
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 (PE: destination: 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 255 (inclusive). May use tilde notation to specify coordinates relative to the command's position. Source and destination regions may overlap.
mode (PE: mode: string) (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 the arguments are not specified correctly, 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
  • Computer
time <add|query|set> <value>
  • Pocket Edition
time add <amount: int>
time query <amount: int>
time set <amount: int>
Arguments
value (PE: amount: int)
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, gametime or day.
  • set - Must be between 0 and 2,147,483,647 (inclusive, without the commas), day, or night.
Result
Fails if the arguments are not specified correctly.
On success:
  • add - adds value to the world's game time
  • query daytime - returns the number of game ticks since dawn.
  • query gametime - returns the age of the world in game ticks.
  • query day - returns the number of in-game days passed (matching the debug screen).
  • 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

Controls 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 are specified using 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 six variations, each with different arguments.
title <player> clear (removes the screen title from the screen)
title <player> reset (resets options to default values)
title <player> title <raw json title> (displays the text as the title position)
title <player> subtitle <raw json title> (displays the text in the subtitle position)
title <player> actionbar <raw json title> (displays the text as the action bar position)
title <player> times <fadeIn> <stay> <fadeOut> (specifies fade-in, stay, and fade-out times)
Arguments
player
Specifies the player(s) to display a screen title to. Must be a player name or target selector.
raw json title (subtitle, title, and actionbar mode only)
Specifies the text to display as a title, subtitle, or on the action bar. 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), defaults to 10 (0.5 seconds), 70 (3.5 seconds), and 20 (1 second).
Result
Title command

Example result of the title command.

Fails if the arguments are not specified correctly, 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, and the fade-in, stay and fade-out times to their default values for the specified player(s).
  • subtitle — If a screen title is currently being displayed to the specified player(s), changes the current subtitle to title; otherwise, specifies the subtitle for the next screen title to be displayed to the specified player(s).
  • times — Changes the fade-in, stay, and fade-out times of all current and future screen titles for the specified player(s).
  • title — Displays a screen title to the specified player(s), or changes the current screen title to title. After fading out, resets the subtitle back to blank text, but does not reset fade-in, stay, and fade-out times.
  • actionbar - Displays text on the action bar to the specified player(s), or changes the current action bar title.
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 will start. If weather is currently rain, snow, or a thunderstorm, it will become clear. Can be overridden by the /weather command.


tp

Commands/infobox

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

In the PC edition, the primary difference between this command and the /teleport command is that /tp uses coordinates relative to the teleported targets, while /teleport uses coordinates relative to the command's execution. In Pocket Edition, /teleport is merely a synonym for /tp.

Although most commands can only affect chunks that have already been generated, /tp can send entities into chunks that have yet to be generated. If this happens to a player, then the chunks around and including that player's destination will be newly generated.

Syntax
  • Computer
tp [target player] <destination player>
tp [target player] <x> <y> <z> [<yaw> <pitch>]
  • Pocket Edition
tp <destination: target>
tp <destination: x y z> [y-rot: rotation] [x-rot: rotation]
tp <victim: target> <destination: target>
tp <victim: target> <destination: x y z> [y-rot: rotation] [x-rot: rotation]
Arguments
target player (PE: victim: target) (optional)
Specifies the entity(s) to be teleported. Must be either a player name or a target selector. If not specified, defaults to the player who executed the command. Not optional in command blocks.
destination player (PE: destination: target)
Specifies the entity to teleport the target(s) to. Must be either a player name or a target selector.
x y z (PE: destination: x y z)
Specifies the coordinates to teleport the target(s) to. x and z must fall within the range -30,000,000 to 30,000,000 (exclusive, without the commas), and y must be within the range -4096 to 4096, inclusive. May use tilde notation to specify a position relative to the target's current position – an exception to tilde notation's usual rule of being relative to the executor of the command. /teleport can be used to teleport relative to executor of the command.
yaw (PE: x-rot: rotation) (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 due north, before wrapping back around to -180.0). Tilde notation can be used to specify a rotation relative to the target's previous rotation.
pitch (PE: y-rot: rotation) (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 fails to resolve to a single entity (a named player must be online). Fails individually for each entity referenced by target player that is not in the same dimension as the destination player, if specified.
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=100 and z=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 ~


transferserver

Commands/infobox

Syntax
transferserver <server: string> <port: int>


Arguments

-

Result

-


trigger

Commands/infobox

Modifies a scoreboard objective with a "trigger" criterion.

Syntax
trigger <objective> <add|set> <value>
Description
Used together with /tellraw to let players activate systems made by operators or mapmakers.
Arguments
objective
An enabled scoreboard objective with the "trigger" criterion.
add|set
  • add – Adds value to the current value of objective.
  • set – Sets the value of objective to value.
Result
Fails if the arguments are not specified correctly, if objective does not have the "trigger" criteria, or if the player who executed the command is not able to modify objective.
On success, the value of objective is changed for the player that executed the command.


weather

Commands/infobox

Sets the weather.

Syntax
  • Computer
weather <clear|rain|thunder> [duration]
  • Pocket Edition
weather <type: string> [duration: int]
Arguments
clear|rain|thunder (PE: type: string)
  • clear – Set the weather to clear.
  • rain – Set the weather to rain (or snow in cold biomes).
  • thunder – Set the weather to a thunderstorm (or a thunder snowstorm in cold biomes).
duration (PE: duration: int) (optional)
Specifies the time in seconds for the specified weather to last. Must be between 1 and 1,000,000 (inclusive, without the commas). If duration is omitted, the duration will be set between 6,000 and 18,000 ticks.
Result
Fails if the arguments are not specified correctly.
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


whitelist

Commands/infobox

Manages the server whitelist.

Server ops will always be able to connect when the whitelist is active, even if their names do not appear in the whitelist.

Syntax
The command has six variations.
whitelist add <player>
whitelist list
whitelist off
whitelist on
whitelist reload
whitelist remove <player>
Arguments
player (add and remove mode only)
Specifies the player(s) to add or remove from the whitelist.
Result
Fails if the arguments are not specified correctly, or if player doesn't exist
On success:
  • add — Adds the player name to the whitelist. The player does not need to be online.
  • list — Displays all player names in the whitelist.
  • off — Disables the server's use of a whitelist.
  • on — Enables the server's use of a whitelist.
  • reload — Reloads the list of player names 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).
  • remove — Removes the player name from the whitelist. The player does not need to be online.


worldborder

Commands/infobox

These commands control the world border.

Syntax
The command has eight variations, each with different arguments:
worldborder add <distance> [time] (increases the world border diameter)
worldborder center <x> <z> (recenters the world boundary)
worldborder damage amount <damagePerBlock> (specifies the world border damage rate)
worldborder damage buffer <distance> (specifies the world border damage buffer distance)
worldborder get (returns the world border diameter)
worldborder set <distance> [time] (sets the world border diameter)
worldborder warning distance <distance> (specifies the world border warning distance)
worldborder warning time <time> (specifies the world border warning time)
Arguments
distance (add, damage buffer, set and warning distance 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 a player must be before they 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).
  • warning distance – 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.
time (add, set and warning time modes only)
Specifies a time in seconds:
  • add – 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.
  • set – 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.
  • warning time – Specifies the number of seconds that a player will begin to see a visual warning before a moving world border passes their position. Must be at least 0. Initially set to 15.
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.
Result
Fails if the arguments are not specified correctly, or if the 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 by the specified amount. If distance is positive, the world border will turn green and start increasing; if negative, the world border will turn red and start decreasing. If time is 0 or unspecified, the change occurs immediately; otherwise the change proceeds at a rate of (distance/2)/time blocks per second.
  • center – The center of the world border immediately 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 to the specified value. If distance 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 time is 0 or unspecified, the change occurs immediately; otherwise the change proceeds at a rate of ((distance-<current diameter>)/2)/time blocks per second.
  • warning distance – Sets the world border warning distance to the specified value.
  • warning time – Sets the world border warning time to the specified value.


wsserver

Commands/infobox

Stands for "WebSocket server". Used to connect to a WebSocket server which uses command messages to communicate with clients. Used primarily in Education Edition.

The command "connect" can also be used.

Syntax
wsserver <serverUri: string>
connect <serverUri: string>
Arguments
serverUri
A URI indicating a WebSocket server.
Result
Fails if it cannot connect to the WebSocket server.


xp

Commands/infobox

Adds experience to a player.

Syntax
  • Computer
xp <amount> [player]
xp <amount>L [player]
  • Pocket Edition
xp <amount: int> [player: target]
xp <amount: int>L [player: target]
Arguments
amount (PE: amount: int)
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 (PE: player: target) (optional)
Specifies the target of the command. If not specified, defaults to the command's executor. Not optional in command blocks.
Result
Fails if arguments are not specified correctly, 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


Removed commands

Additional research required. 
This section requires additional research (August 27, 2015).

banip

Commands/infobox

Bans a player by ip number. Cannot be undone ingame, you must manually change banned-ip.txt.

The Classic equivalent of /ban-ip.

Syntax
banip <name>


broadcast

Commands/infobox

Broadcasts a message across the entire server.

Replaced by /say.

Syntax
broadcast <message>


home

Commands/infobox

Teleports player to their spawn point.

Syntax
home
Result
Always succeeds. Teleports player to their spawn point.


setspawn

Commands/infobox

Sets the current location as the default spawn location for new players.

The Classic equivalent of /setworldspawn.

Syntax
setspawn


solid

Commands/infobox

Toggles between placing stone and placing bedrock.

Syntax
solid
Result
Always succeeds. Toggles between placing stone and placing bedrock.


unban

Commands/infobox

Pardons a banned player.

The Classic equivalent of /pardon.

Syntax
unban <name>


Video

Note: This video is outdated as several new commands have been added since this video's release.

Commands/video

History

classic
0.0.15a_03
{{Extension DPL}}<ul><li>[[Blaze Powder|Blaze Powder]]<br/>{{Item‎
| image = Blaze Powder.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Blaze powder''' is an item made from a [[blaze rod]], which is dropped by a [[blaze]] when killed. Its main uses are to fuel [[brewing stand]]s, to brew [[strength]] [[potions]], and to make [[eyes of ender]] to take the player to [[the End]].

== Obtaining ==

=== Crafting ===
{{Crafting
|Blaze Rod
|Output= Blaze Powder,2
|type= Brewing
}}

== Usage ==

=== Crafting Ingredient ===

{{crafting usage}}

=== Brewing stand fuel ===
In addition to being a [[brewing]] ingredient, blaze powder is needed to fuel a [[brewing stand]]. Each piece of blaze powder can brew up to 20 batches of [[Potion|potions]].

=== Brewing ingredient ===
{{brewing
  |showname=1
  |head=1
  |Blaze Powder
  |Mundane Potion
  |base=Water Bottle
}}
{{brewing
  |foot=1
  |Blaze Powder
  |Potion of Strength
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Blaze Powder
|spritetype=item
|nameid=blaze_powder
|id=429
|form=item
|foot=1}}

== Video ==

{{Video note|This video does not mention that blaze powder must be used to fuel [[brewing stand]]s.|minor}}

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

==History==
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[File:Blaze Powder JE1.png|32px]] Added blaze powder.
|Blaze powder can be used to craft [[eyes of ender]] and [[magma cream]].}}
{{History|||snap=Beta 1.9 Prerelease 3|Blaze powder can now be [[brewing|brewed]] in a [[water bottle]] to create a [[mundane potion]], or in an [[awkward potion]] to create a [[potion of Strength]].}}
{{History||1.2.1|snap=12w04a|Blaze powder can now be used to craft [[fire charge]]s.}}
{{History||1.3.1|snap=1.3|[[File:Blaze Powder JE2 BE1.png|32px]] The texture of blaze powder has been changed.}}
{{History||1.9|snap=15w42a|Blaze powder is now required to operate a [[brewing stand]].}}
{{History|||snap=15w43a|Blaze powder now [[fuel]]s 20 operations rather than 30.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 377.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Blaze Powder JE2 BE1.png|32px]] Added blaze powder.
|Blaze powder can be used to craft [[magma cream]].
|Blaze powder is used as an ingredient to brew [[potion]]s.}}
{{History||v0.15.0|snap=build 1|Blaze powder is now used to craft [[fire charge]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Blaze powder is now used to craft [[eyes of ender]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Blaze powder is now required to operate a [[brewing stand]].}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Blaze Powder JE2 BE1.png|32px]] Added blaze powder.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|Blaze powder is now required to operate a [[brewing stand]].}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Blaze Powder JE2 BE1.png|32px]] Added blaze powder.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* [[The Nether]]
* [[Potions]]

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--blaze-powder Taking Inventory: Blaze Powder] – Minecraft.net on November 25, 2021

{{Items}}

[[Category:Renewable resources]]

[[cs:Ohnivý prach]]
[[de:Lohenstaub]]
[[es:Polvo de blaze]]
[[fr:Poudre de Blaze]]
[[hu:Őrlángpor]]
[[ja:ブレイズパウダー]]
[[ko:블레이즈 가루]]
[[nl:Blazepoeder]]
[[pl:Płomienny proszek]]
[[pt:Pó de blaze]]
[[ru:Огненный порошок]]
[[th:ผงปีศาจไฟ]]
[[zh:烈焰粉]]</li><li>[[Recovery Compass|Recovery Compass]]<br/>{{About|the item used to point to the location of the player's last death|the item used to point to the world spawn or to a lodestone|Compass}}
{{Item
| image = Recovery Compass.gif
| renewable = No
| stackable = Yes (64)
}}

A '''recovery compass''' is an item used to point to the location of the [[Player|player's]] last death.

== Obtaining ==

=== Crafting ===
{{Crafting
|A1= Echo Shard |B1= Echo Shard   |C1= Echo Shard
|A2= Echo Shard |B2= Compass      |C2= Echo Shard
|A3= Echo Shard |B3= Echo Shard   |C3= Echo Shard
|Output= Recovery Compass
|type= Tool
}}

== Usage ==
When held by a player, the recovery compass will point towards the spot where they previously died.

The recovery compass will only work when it is held by a player who has previously died and is in the same dimension as their last death. Otherwise, it will spin around randomly.

Like other items, the recovery compass itself will still drop when a player dies and the <code>keepInventory</code> [[game rule]] is not enabled.

This item is useless on Hardcore mode, as once the player dies, the player cannot respawn.

=== Enchantments ===

A recovery compass can receive the following [[enchantment]]s:
{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Curse of Vanishing]]{{only|bedrock|short=1}}
|I
|{{Inventory slot|Anvil}}
|-
|}

== Data values ==
{{Missing information|section|data values for Bedrock Edition|type=data}}

=== ID ===
[[Java Edition|''Java Edition'']]:
{{ID table|edition=java|displayname=Recovery Compass|nameid=recovery_compass|translationkey=item.minecraft.recovery_compass|generatetranslationkeys=y|showforms=y|spritetype=item|form=item|foot=1}}

==History==
{{History|java}}
{{History||1.19|snap=22w14a|[[File:Recovery Compass JE1 BE1.gif|32px]] Added recovery compasses.}}
{{History|||snap=22w15a|Recovery compasses can no longer be used on [[lodestone]]s and can no longer be enchanted with [[Curse of Vanishing]].}}
{{History|bedrock}}
{{History||1.19.0|snap=beta 1.19.0.24|[[File:Recovery Compass JE1 BE1.gif|32px]] Added recovery compasses.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery==
<gallery>
File:Recovery Compass In An Item Frame.jpg|Recovery Compass.<ref>{{tweet|kingbdogz|1511751971673419782|Tell us what you think of the new Recovery Compass! We're hoping it improves how rewarding it feels to obtain Ancient City loot. Despite that, how do you feel about it? Will you use it? If so, how? What situations would you use it instead of just trying to remember?|April 6, 2022}}</ref>
</gallery>

==References==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--recovery-compass Taking Inventory:Recovery Compass] – Minecraft.net on January 19, 2023

{{Items}}

[[Category:Tools]]
[[Category:Non-renewable resources]]

[[de:Bergungskompass]]
[[es:Brújula de recuperación]]
[[fr:Boussole de récupération]]
[[ja:リカバリーコンパス]]
[[pl:Kompas powrotny]]
[[pt:Bússola de retomada]]
[[ru:Компас восстановления]]
[[th:เข็มทิศกู้คืน]]
[[uk:Компас відновлення]]
[[zh:追溯指针]]</li></ul>
Added /ban, /banip, /broadcast, /deop, /kick, /op, /tp, and /unban.
0.0.16a_01
{{Extension DPL}}<ul><li>[[Raw Iron|Raw Iron]]<br/>{{Item
| image = Raw Iron.png
| renewable = No
| stackable = Yes (64)
}}
'''Raw iron''' is a raw metal resource obtained from mining [[iron ore]].

== Obtaining ==
=== Mining ===
[[Iron ore]] and [[deepslate iron ore]] mined with a [[stone pickaxe]] or higher drops 1 unit of raw iron. If the pickaxe is enchanted with [[Fortune]], it can drop an extra unit per level of Fortune, allowing for a maximum of 4 with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops the ore block instead.

=== Crafting ===
{{Crafting
|showname=1
|Block of Raw Iron
|Output=Raw Iron,9
|type=Material
|foot=1
}}

== Usage ==
The primary usage of raw iron is smelting it into [[iron ingot]]s.

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

=== Smelting ingredient ===
{{Smelting
|showname=2
|Raw Iron
|Iron Ingot
|0.7
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Iron
|spritetype=item
|nameid=raw_iron
|form=item
|id=505
|foot=1}}

== History ==
{{History|java}}
{{History||1.17|snap=21w14a|[[File:Raw Iron JE1.png|32px]] Added raw iron.}}
{{History|||snap=April 13, 2021|slink={{Tweet|JasperBoerstra|1381991999952277513}}|[[File:Raw Iron JE2.png|32px]] [[JAPPA]] shows a new raw iron texture.}}
{{History|||snap=21w15a|[[File:Raw Iron JE2.png|32px]] The texture of raw iron has been changed.
|Raw iron can now be used to craft [[block of raw iron]].}}
{{History|||snap=April 16, 2021|slink={{Tweet|JasperBoerstra|1383047666037325829}}|[[File:Raw Iron (pre-release).png|32px]] [[JAPPA]] shows a new raw iron texture again.}}
{{History|||snap=21w16a|[[File:Raw Iron JE3.png|32px]] The texture of raw iron has been changed.}}
{{History|Bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Raw Iron JE2.png|32px]] Added raw iron.}}
{{History|||snap=beta 1.17.0.52|Raw iron are now available without enabling [[experimental gameplay]].}}
{{History|||snap=beta 1.17.0.54|[[File:Raw Iron JE3.png|32px]] The texture of raw iron has been changed.}}
{{History|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
JE 1.17 Dev Raw Metals.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 1.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 2.png|Jappa shows raw ore textures.
Jappa Raw Ores 3.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 4.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 5.jpg|Jappa shows raw ore textures.
</gallery>

{{Items}}

[[Category:Non-renewable resources]]

[[de:Roheisen]]
[[es:Hierro en bruto]]
[[fr:Fer brut]]
[[it:Ferro grezzo]]
[[ja:鉄の原石]]
[[lzh:砂鐵]]
[[pl:Surowe żelazo]]
[[pt:Ferro bruto]]
[[ru:Необработанное железо]]
[[uk:Необроблене залізо]]
[[zh:粗铁]]</li><li>[[Lead|Lead]]<br/>{{About|the item used for leashing and leading mobs|the element|Element#Lead}}
{{Item
| image = Lead.png
| stackable = Yes (64)
| renewable = Yes
}}
'''Leads''' are [[tool]]s used to leash and lead passive and neutral [[animal]]s, [[golem]]s and some [[monster]]s.

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

=== Crafting ===
{{Crafting
  |A1= String
  |B1= String    
  |A2= String
  |B2= Slimeball
  |C3= String
  |Output= Lead,2
  |type= Tool
}}

=== Mob loot ===
[[Wandering Trader|Wandering trader]]s always spawn with 2 [[llama|trader llama]]s, each held with a lead. When a trader llama is detached, either by killing it or the wandering trader, dragging them far apart, or putting the llama in a [[boat]] or a [[minecart]], the lead drops at the llama's position.

== Usage ==
=== Crafting ingredient ===

{{crafting usage}}

=== Leashing mobs ===
[[File:SuspendedPigs.png|190px|thumb|One block tall mobs, such as pigs, suspend at 7 blocks above the ground.]]
[[File:SuspendedCows.png|190px|thumb|Two block tall mobs, such as cows, also suspend at 7 blocks above the ground.]]

{{control|Using}} a lead on a [[mob]] ties the lead to the mob, allowing it to be moved by the player. Multiple mobs can be held by leads at once, but each mob held requires its own lead.

It is possible to leash the following mobs and other entities:

{{columns-list|colwidth=20em|
* {{EntityLink|Allay}}
* {{EntityLink|Axolotl}}
* {{EntityLink|Bee}}
* {{EntityLink|Boat}}{{only|bedrock}}
* {{EntityLink|Camel}}
* {{EntityLink|Cat}}
* {{EntityLink|Chicken}}
* {{EntityLink|Chicken Jockey}} (only the mount)
* {{EntityLink|Cow}}
* {{EntityLink|Dolphin}}
* {{EntityLink|Donkey}}
* {{EntityLink|Fox}}
* {{EntityLink|Frog}}
* {{EntityLink|Glow Squid}}
* {{EntityLink|Goat}}
* {{EntityLink|Hoglin}}
* {{EntityLink|Horse}}
* {{EntityLink|Iron Golem}}
* {{EntityLink|Llama}}
* {{EntityLink|Mooshroom}}
* {{EntityLink|Mule}}
* {{EntityLink|Ocelot}}
* {{EntityLink|Parrot}}
* {{EntityLink|Pig}}
* {{EntityLink|Polar Bear}}
* {{EntityLink|Rabbit}}
* {{EntityLink|Sheep}}
* {{EntityLink|Skeleton Horse}}
* {{EntityLink|Skeleton Horseman}} (only the mount)
* {{EntityLink|Sniffer}}
* {{EntityLink|Snow Golem}}
* {{EntityLink|Squid}}
* {{EntityLink|Strider}}
* {{EntityLink|Trader Llama}}
* {{EntityLink|Wolf}}
* {{EntityLink|Zoglin}}
* {{EntityLink|Zombie Horse}}}}

Additionally, [[villager]]s, [[wandering trader]]s, and [[monster]]s other than the ones listed above, can be leashed using a map editor or [[NBT]] editor. 

With a mob on a lead held by the player, {{control|using}} the lead on any type of [[fence]] (or [[wall]]{{only|bedrock|short=1}}) attaches the lead to it with a visible knot, tying the mob to it. To attach it to a wall on Bedrock Edition, the player must hold a lead in the main hand.<ref>{{bug|MCPE-108078}}</ref> Multiple leads may be attached to one fence post. A mob tied to a fence tends to stay within 5 blocks of the fence post.

A lead is broken by pressing the {{control|use item}} control on the mob again, hitting the knot, or removing the attached fence post. Leads also break when hit by projectiles. Whenever a lead is removed or broken, it drops as an [[item (entity)|item]] at the location of the mob. However, it does not drop when unleashed in Creative mode.{{only|java}}<ref>{{bug|MCPE-79639}}</ref> A lead does not break if the attached animal dies.

A lead can stretch a maximum of 10 blocks. If the mob is able to move towards the player or fence post, it does so. If not, or if the mob is moving very quickly away from the player, the lead breaks.

When the player or the knot is more than 7 blocks above the ground, the mob being leashed becomes suspended.

Most mobs that can be leashed can still be leashed even if attacking the player leashing them, and any attached leads do not break.

[[Wolf|Wolves]] cannot be leashed after becoming angry. Despite this, if they become angry while already leashed, the lead does not break, but it cannot be reattached when broken through other methods while the wolf is still angry.

A lead attached to a hoglin breaks if it becomes a [[zoglin]].

A lead does not prevent mobs from despawning if they normally would despawn.

When moving downwards and accelerating towards the ground, leashed mobs accumulate fall damage and take it if they hit the ground while still accelerating. When moving up or decelerating (such as when the lead is stretched to its limit), the fall distance is set to one block and the mob therefore does not take any fall damage if it touches the ground.

If the player walks into and back out of a [[nether portal]] while holding a lead connected to a mob, the lead remains attached to the mob. However, if a mob attached to a lead walks into a nether portal, the lead breaks and drops as an item in the other dimension.

A lead can be used to remove a mob from a boat without needing to break the boat, if the mob can normally be leashed.

If a chunk unloads while containing a leashed mob (either by the player walking too far away, or traveling to another dimension via a portal), the lead breaks and drops as an item, leaving the mob free to wander around.

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Lead Knot break1.ogg
|sound2=Lead Knot break2.ogg
|sound3=Lead Knot break3.ogg
|subtitle=Leash Knot breaks
|source=neutral
|description=When a leash knot is destroyed
|id=entity.leash_knot.break
|translationkey=subtitles.entity.leashknot.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Lead Knot place1.ogg
|sound2=Lead Knot place2.ogg
|sound3=Lead Knot place3.ogg
|subtitle=Leash Knot tied
|source=neutral
|description=When a leash knot is placed on a fence
|id=entity.leash_knot.place
|translationkey=subtitles.entity.leashknot.place
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Lead Knot break1.ogg
|sound2=Lead Knot break2.ogg
|sound3=Lead Knot break3.ogg
|source=neutral
|description=When a leash knot is broken by {{ctrl|interacting}} with it
|id=leashknot.break
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Lead Knot place1.ogg
|sound2=Lead Knot place2.ogg
|sound3=Lead Knot place3.ogg
|source=neutral
|description=When a leash knot is placed on a fence or wall
|id=leashknot.place
|volume=1.0
|pitch=1.0
|foot=1}}

== Leash Knot ==
'''Leash knot''' is an entity created when the [[player]] right-clicks the fence while having a mob leashed.
{{Entity| title = Leash Knot| image = Knot.png|imagesize= 100px|networkid='''[[JE]]''': 77}}
=== Data values ===
==== ID ====
{{edition|java}}:
{{ID table
|edition=java
|generatetranslationkeys=y
|displayname=Leash Knot
|spritetype=entity
|nameid=leash_knot
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leash Knot
|spritetype=entity
|nameid=leash_knot
|id=88
|foot=1}}

==== Entity data ====

Leash knots have entity data that define various properties of the entity.

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Lead
|spritetype=item
|nameid=lead
|id=547
|form=item
|foot=1}}

== Achievements ==

{{load achievements|So I Got That Going for Me}}

== Advancements ==

{{load advancements|When the Squad Hops into Town}}

== History ==
{{missing information|The history of a lot of mobs be leashed}}
{{History|java}}
{{History||1.6.1|snap=13w16a|[[File:Lead JE1 BE1.png|32px]] Added leads. 
|Leads do not currently have a tooltip and are called “leashes” in [http://www.mojang.com/2013/04/minecraft-snapshot-13w16a-and-new-launcher/ the change notes].}}
{{History|||snap=13w16b|Leads have been given a tooltip.}}
{{History|||snap=13w18a|Leads have been given a [[crafting]] recipe.}}
{{History||1.9|snap=15w50a|Added a [[sound]] for leads: <code>entity.leashknot.place</code>.}}
{{History||1.11|snap=16w32a|The [[entity]] ID of the knot has been changed from <code>LeashKnot</code> to <code>leash_knot</code>.}}
{{History|||snap=16w39a|Leads 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 420.}}
{{History||1.14|snap=18w43a|[[File:Lead JE2 BE2.png|32px]] The texture of leads has been changed.}}
{{History|||snap=19w05a|Added [[wandering trader]]s, which are naturally equipped with leads.}}
{{History||1.15|snap=?|[[Bee]]s can now be leashed.}}
{{History||1.16|snap=20w09a|[[Skeleton horse]]s and [[zombie horse]]s can now be leashed.<ref>{{bug|MC-166246}}</ref>}}
{{History|||snap=?|[[Hoglin]]s can now be leashed.}}
{{History||1.16.2|snap=20w27a|[[Zoglin]]s can now be leashed.}}
{{History||1.17|snap=21w19a|[[Squid]]s and [[glow squid]]s can now be leashed.<ref>{{bug|MC-136647}}</ref>}}
{{History|||snap=?|[[Axolotl]]s can now be leashed.}}
{{History||1.19|snap=22w13a|Lead may now be found in [[ancient city]] [[chest]]s.}}
{{History|||snap=?|[[Frog]]s can now be leashed.}}
{{History||1.19.3|snap=22w42a|[[Camel]]s can now be leashed.|Mobs no longer accumulate fall damage when dangling on leads.<ref>{{bug|MC-14167||Mobs build up fall damage when dangling on a lead|Fixed}}</ref>}}
{{History||1.20 (Experimental)|link=1.19.4|snap=?|[[Sniffer]]s can now be leashed.}}
{{History||1.20|snap=23w12a|Lead can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Lead no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; lead now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Lead JE1 BE1.png|32px]] Added leads.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Leads now have better "physics".
|The [[entity]] ID of the knot has been changed from <code>leashknot</code> to <code>leash_knot</code>.
|Leads can now be found inside [[woodland mansion]] [[chest]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Leads can now be found inside [[buried treasure]] [[chest]]s.
|Leads can now be used on [[boat]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Leads can now be used to craft [[balloon]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Lead JE2 BE2.png|32px]] The texture of leads has been changed.
|[[Wandering trader]]s now [[drops|drop]] leads after they are detached from trader [[llama]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|Leads can now be used on [[polar bear]]s, [[ocelot]]s, [[parrot]]s, [[dolphin]]s and old [[villager]]s.}}
{{History||1.19.0|snap=beta 1.19.0.20|Allays can now be leashed.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Lead JE1 BE1.png|32px]] Added leads.}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|[[Sound]]s have been added for leads.}}
{{History|Ps4}}
{{History||1.90|[[File:Lead JE2 BE2.png|32px]] The texture of leads has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Lead JE1 BE1.png|32px]] Added leads.}}
{{History|foot}}

== Issues ==
{{issue list|Lead|Leash}}

== Trivia ==
[[File:Steve wearing Lead.png|100px]] [[File:Alex wearing Lead.png|100px]]
* The lead is named as "leash" in the texture file.
* If a [[player]] goes to sleep while holding a mob on a lead, the lead remains attached.
* {{IN|Java}}, when using the {{cmd|item}} command to put a lead in a player's head slot, the item gets rotated and positioned in such a way that it looks like the player is wearing a monocle.

== Gallery ==
<gallery>
Multiple_Leash.png|Many animals can be tied to one fence post.
HorseLeashedOnAFence.png|A [[horse]] wearing [[golden horse armor]] that is leashed to a fence post.
ThreeTiedSheep.png|Three sheep tied to the same fence.
More accurate lead mobs.png|A shot of all the mobs that could be tied with leads as of 1.6.1, except donkeys and mules.
Yo Yo.png|With the use of the leash, it is possible to suspend animals in the air by tying the leash on high-up fence posts.
YoYo.png|A [[donkey]] with the Grumm/Dinnerbone [[name tag]] [[easter egg]] tied to a fence with a lead to make a yo-yo.
Flying_Sheep.png|Several [[sheep]] hanging in the air in [[Creative]] mode.
Pocket Edition Lead.jpg|First image of a lead in ''Bedrock Edition''.
</gallery>

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-lead Taking Inventory: Lead] – Minecraft.net on April 8, 2022

{{items}}

{{entities}}

[[Category:Tools]]

[[de:Leine]]
[[es:Rienda]]
[[fr:Laisse]]
[[hu:Lasszó]]
[[it:Guinzaglio]]
[[ja:リード]]
[[ko:끈]]
[[nl:Leidtouw]]
[[pl:Smycz]]
[[pt:Laço]]
[[ru:Поводок]]
[[th:เชือกจูง]]
[[zh:拴绳]]
[[Category:Renewable resources]]</li></ul>
Changed /broadcast to /say.
0.0.17a
{{Extension DPL}}<ul><li>[[Dried Kelp|Dried Kelp]]<br/>{{about|the item|the block|Dried Kelp Block}}
{{Item
| title = Dried Kelp
| image = Dried Kelp.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
}}

'''Dried kelp''' is a [[food]] item that can be quickly eaten by the [[player]]. It can also be crafted into [[Dried Kelp Block|dried kelp blocks]].

== Obtaining ==

=== Cooking ===
[[Kelp]] can be cooked in a [[furnace]], [[smoker]], or [[campfire]]. Each piece of dried kelp removed from a furnace output slot gives 0.1 [[experience]] (6.4 experience per stack).
{{Smelting
|Kelp
|Dried Kelp
|0,1
}}

=== Crafting ===
{{Crafting
 |Dried Kelp Block
 |Output= Dried Kelp,9
 |type= Foodstuff
}}

== Usage ==

=== Food ===
[[File:Eating dried kelp.png|thumb|A player eating dried kelp.]]
To eat dried kelp, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|1}} [[hunger]] and 0.6{{only|je|short=1}} / 0.2{{only|be|short=1}} hunger [[Hunger#Mechanics|saturation]].

A player can consume dried kelp about twice as fast as any other food item in the game.

=== Crafting ingredient ===

{{Crafting usage}}

=== Composting ===
Dried kelp placed into a [[composter]] has a 30% chance of raising the compost level by 1.

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

== Achievements ==

{{load achievements|Castaway}}

== Advancements ==

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Dried Kelp
|spritetype=item
|nameid=dried_kelp
|id=270
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.13|snap=18w07a|[[File:Dried Kelp JE1.png|32px]] Added dried kelp.}}
{{History|||snap=18w08b|Dried kelp can now be used to craft [[dried kelp block]]s.}}
{{History||1.14|snap=19w03a|Placing dried kelp into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Dried kelp now has a 30% chance of increasing the compost level in a composter.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[File:Dried Kelp BE1.png|32px]] Added dried kelp.}}
{{H||1.11.0|snap=beta 1.11.0.1|Dried kelp can now be used to fill up [[composter]]s.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[FIle:Dried Kelp JE1.png|32px]] The texture of dried kelp has been changed to match ''Java Edition''.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Dried Kelp BE1.png|32px]] Added dried kelp.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

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

[[de:Getrockneter Seetang]]
[[es:Algas secas]]
[[fr:Algue séchée]]
[[ja:乾燥した昆布]]
[[ko:말린 켈프]]
[[lzh:乾海帶]]
[[nl:Gedroogde kelp]]
[[pl:Suszone wodorosty]]
[[pt:Algas secas]]
[[ru:Сушёная ламинария]]
[[th:สาหร่ายทะเลแห้ง]]
[[zh:干海带]]</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>
Added /setspawn.
0.0.20a
{{Extension DPL}}<ul><li>[[Drinks|Drinks]]<br/>[[File:Drinking Steve.png|150px|right]] [[File:Drinking Alex.png|150px|right]]

'''Drinks''' are a narrow class of consumable [[item]]s that can be ingested by the [[player]] in an extremely similar manner to [[food]]. However, drinks are not encountered quite as commonly as food is, and they are not nearly as integral to Survival gameplay. Drinks can generally be distinguished from food by the sounds they make upon consumption, the lack of [[particles]] they emit, and the fact that they leave an empty container item in the [[inventory]] after consumption. Drinks do not affect [[hunger]] or saturation values upon use (with the exception of [[honey bottle]]s), and do not need those values to be depleted in order to be consumed.

Drinks are drunk by holding {{control|use item}} while having the drink item selected in the hotbar or in the off hand.

== Drinks ==

{{/table}}

== History ==
{{main|Milk#History|Potion#History|Honey Bottle#History}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Added water bottles and potions.}}
{{History||1.15|snap=19w34a|[[File:Honey Bottle JE1.png|32px]] Added honey bottles.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets.}} 
{{History||v0.12.1|snap=build 1|Added water bottles and potions.}}
{{History|bedrock}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honey Bottle BE1.png|32px]] Added honey bottles.}} 
{{History|foot}}
{{Items}}

[[ja:飲み物]]
[[pt:Bebidas]]
[[Category:Food]]</li><li>[[Book and Quill|Book and Quill]]<br/>{{For|the item produced after a Book and Quill is signed|Written Book}}
{{Item
| image = Book and Quill.png
| renewable = Yes 
| stackable = No
}}

A '''book and quill''' is an [[item]] used to write [[written book]]s.

== Obtaining ==

=== Crafting ===

{{Crafting
|Book
|Ink Sac
|Feather
|Output= Book and Quill
|type= Miscellaneous
}}

=== Natural generation ===

{{LootChestItem|book-and-quill}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Writing ===

By pressing {{control|use item}} or long pressing screen anywhere{{only|bedrock}} while holding a book and quill in their hand, the [[player]] can open a text editor GUI.

Using this GUI, the player can write a single book up to 100{{only|java}} or 50{{only|bedrock}} pages long, with up to 798 characters per page. The player can write up to 79,800{{only|java}} or 12,800{{only|bedrock}} characters inside the entire book. No page may be longer than 14 lines and each line can have a width of 114 pixels (see pixel width of each character [[Language#Font|here]]). 

The player has the ability to copy and paste into books. However, the paste does not work if the text being pasted is longer than a single page. Most Unicode characters are available in books, and they may be pasted in without issue.

In singleplayer, the world pauses while a book is being edited.{{only|java}}

=== Lecterns ===

One can place a book and quill or a [[written book]] on an empty [[lectern]].

The lectern then emits a redstone signal depending on the displayed page in the book. On the last page, the lectern emits a signal strength of 15. This is why lecterns are listed in the "redstone" tab in the [[creative inventory]].

=== Formatting codes ===
{{main|Formatting codes}}
{{exclusive|bedrock|section=1}}

Text in a book can be styled using codes starting with the {{key|§}} character (section sign).
* {{key|§}} + {{key|k}} creates randomly changing characters.
* {{key|§}} + {{key|l}} creates bold text.
* {{key|§}} + {{key|m}} creates strikethrough text.
* {{key|§}} + {{key|n}} creates underlined text.
* {{key|§}} + {{key|o}} creates italic text.
* {{key|§}} + {{key|0}} – {{key|f}} (hexadecimal) creates colored text. 
* {{key|§}} + {{key|r}} resets any of the previous styles so text after it appears normally.

If the [[player]] uses multiple codes, and continue typing past the end of a line, the next line exhibits only the last formatting code used.

=== Signing ===

Books can be signed by pressing the "Sign" button while in the interface. {{IN|java}}, when signed, a book bears the name of the player who wrote it and a title chosen upon signing. {{IN|bedrock}}, the book doesn't display the name of the player as the author; instead, the author can be any text the player wants. After it has been signed, it cannot be edited again – it has turned into a [[written book]].

Special characters can be used in the title, if typed from a keyboard that supports them. Alt codes do not work, and the {{key|§}} character cannot be typed even using a keyboard that implements it, meaning titles cannot be colored or formatted in-game. However, on Linux using the compose key to produce special characters does work.

The title of the book can be up to 16 characters long, and the player cannot paste into a title. A "workaround" for the 16-character limitation is to manually rename the book at an [[Anvil#Renaming|anvil]], which always costs 1 [[Experience|experience level]]. This can be done with either a written book or a book and quill – both versions will always display the changed name. If a custom name is removed from a written book, it will revert back to the title it was given during the signing process.

=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having a book and quill in the main hand will put the book inside the chiseled bookshelf.

=== Trading ===
{{IN|bedrock}}, expert-level librarian [[villager]]s buy 2 books and quills for one [[emerald]]. Book and quill is offered in two item slots due to being non-stackable.

{{IN|java}}, expert-level librarian villagers have a 50% chance to buy 2 books and quills for one emerald. The amount of books and quills needed is supposed to be 2, but due to the item being non-stackable, only one is needed for the trade.<ref>{{bug|MC-248042||Librarian's book and quill trade is always discounted to 1 since books are unstackable}}</ref>

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|subtitle=Page rustles
|source=master
|description=When the page of a book is turned
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Page rustles
|source=block
|description=When the page of a book is turned on a lectern
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|subtitle=Book thumps
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|translationkey=subtitles.item.book.put
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|subtitle=Book placed
|source=block
|description=When a book and quill is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert
|translationkey=subtitles.chiseled_bookshelf.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|subtitle=Book taken
|source=block
|description=When a book and quill is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup
|translationkey=subtitles.chiseled_bookshelf.take
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|source=sound
|description=When the page of a book is turned
|id=item.book.page_turn
|volume=2.0
|pitch=1.0}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|volume=4.8
|pitch=1.0}}
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|source=block
|description=When a book and quill is placed in a chiseled bookshelf
|id=insert.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|source=block
|description=When a book and quill is removed from a chiseled bookshelf
|id=pickup.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Book and Quill
|spritetype=item
|nameid=writable_book
|itemtags=bookshelf_books, lectern_books
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Book and Quill
|spritetype=item
|nameid=writable_book
|id=510
|itemtags=minecraft:bookshelf_books, minecraft:lectern_books
|form=item
|foot=1}}

=== Item data ===

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

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

== Video ==

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

== History ==

{{History|java}}
{{History||1.3.1|snap=12w17a|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History||1.7.2|snap=13w36a|Books and quills can now be crafted with a [[written book]] to clone the written book.}}
{{History||1.8|snap=14w05a|Copying written books now mark them as "Copy of Original" or "Copy of Copy".
|The copying status of a book is now denoted in a separate line in the tooltip, beneath the author's name.
|Copies of copies cannot be copied.}}
{{History|||snap=14w25a|Books and quills now use JSON text components instead of plain text with the new <code>pages</code> tag
|Book and quills are now capable of using the <code>clickEvent</code> and <code>hoverEvent</code> tags.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 386.}}
{{History||1.14|snap=18w43a|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.
|Added support for editing anywhere in the book and quill.<ref name="MC-1578">{{bug|MC-1578}}</ref>
|Books and quills now have copy/paste support.<ref name="MC-1578"></ref>
|The page limit of books and quills has now been increased from 50 to 100 pages.}}
{{History|||snap=19w11a|Librarian [[villager]]s now [[trading|buy]] books and quills instead of written books.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Books and quills can now interact with [[chiseled bookshelves]].}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History||1.4.0|snap=beta 1.2.14.2|Books and quills can now be found inside [[buried treasure]] [[chest]]s.}}
{{History||1.6.0|snap=beta 1.6.0.1|Pages within books and quills can now be turned using the controller bumper buttons.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Books and quills can now be [[trading|sold]] to librarian [[villager]]s.}}

{{History|console}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|wiiu=Patch 1|switch=1.0.1|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History|PS4}}
{{History||1.90|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The in-game restrictions on books are not hard limits. Third party editors or commands can make books have more than 100 pages{{only|java}} (2,147,483,639 pages), more than 256 characters per page (32,767 characters per page), can change author names, and can have colored titles, among other things. These books still function properly in vanilla ''Minecraft'', meaning the [[player]] may encounter such books on adventure maps or multiplayer servers.<ref>http://www.minecraftforum.net/topic/1189266-hacking-books</ref>
* If the player renames a book and quill in an anvil before signing it, it retains the name from the anvil instead of taking the name from signing.{{only|java}}

== Gallery ==
<gallery>
Jeb book.png|The first image of a book seen.<ref>https://web.archive.org/web/20120427014334/https://www.mojang.com/2012/04/minecraft-snapshot-12w17a/</ref>
Book and Quill Writing.png|The GUI of writing a book.
Book and Quill Signing.png|The GUI of signing a book.
Written Book tooltip.png|A signed book.
BookandQuillOperators12w17a.png|Display of styles used in a book. "e" and "f" are difficult to see.
Book and Quill in Pocket Edition.jpg|A book and quill {{in|be}}.
Java book and quill example with text.png|An example of text in a book and quill in [[Java Edition]].
Better Together Book.jpg|A book and quill in ''Bedrock Edition''.
</gallery>

== References ==
{{Reflist}}

== External links ==
* [http://www.minecraftforum.net/topic/1498339-132ssp-bookshop-your-books-anywhere/ Bookshop - Book Sharing And Editing Tool]
* [http://fsymbols.com/generators/wide/ Full-Width Text Generator]
* [http://fsymbols.com/generators/smallcaps/ Small Caps Text Generator]
* [http://www.minecraftforum.net/topic/1202590-revise-edit-signed-books-w-more-options-all-os-12w17a/ Revise - External Book Editor]

== See also ==
* [[Book]]
* [[Bookshelf]]
* [[Written Book]]

{{Items}}

[[Category:Renewable resources]]

[[cs:Rozepsaná kniha s brkem]]
[[de:Buch und Feder]]
[[el:Βιβλίο και Πένα]]
[[es:Libro y pluma]]
[[fr:Livre vierge]]
[[hu:Könyv és toll]]
[[it:Libro e penna]]
[[ja:本と羽根ペン]]
[[ko:책과 깃펜]]
[[nl:Boek en veer]]
[[pl:Książka z piórem]]
[[pt:Livro e pena]]
[[ru:Книга с пером]]
[[th:หนังสือกับปากกาขนนก]]
[[uk:Книга з пером]]
[[zh:书与笔]]</li></ul>
Added /solid.
indev
0.31
{{Extension DPL}}<ul><li>[[Raw Mutton|Raw Mutton]]<br/>{{Distinguish|Cooked Mutton}}
{{Item
| title = Raw Mutton
| image = Raw Mutton.png
| heals = {{hunger|2}}
| renewable = Yes
| stackable = Yes (64)
}}
'''Raw mutton''' is a [[food]] item dropped by [[sheep]] when killed.

== Obtaining ==

=== Mob loot ===

An adult [[sheep]] drops 1–2 raw mutton when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–5 with Looting III. If killed while on fire, a sheep drops [[cooked mutton]] instead.

=== Chest loot ===

{{LootChestItem|raw-mutton}}

== Usage ==

=== Food ===

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

=== Smelting ingredient ===

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

=== Wolves ===

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

=== Trading ===

Journeyman-level butcher [[villager]]s have a 50% chance to buy 7 raw mutton for an [[emerald]] as part of their trades.{{only|bedrock}}

Journeyman-level butcher villagers always offer to buy 7 raw mutton 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 Mutton
|spritetype=item
|nameid=mutton
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Mutton
|spritetype=item
|nameid=mutton
|aliasid=muttonraw
|id=550
|form=item
|translationkey=item.muttonRaw.name
|foot=1}}

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

== Video ==

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

== History ==

{{History||September 23, 2011|link={{tweet|jeb|117313469900009472}}|Mutton is mentioned by [[Jeb]].}}
{{History||September 11, 2012|link={{tweet|jeb|245503714167750656}}|Jeb again mentions the possibility of mutton as well as calamari being added into the game.}}
{{History|java}}
{{History||June 30, 2014|link=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweets images of raw mutton and some other new items.}}
{{History||1.8|snap=14w27a|[[File:Raw Mutton JE1.png|32px]] Added raw mutton.}}
{{History||1.8|snap=14w33b|[[File:Raw 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><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 423.}}
{{History||1.14|snap=18w43a|[[File:Raw Mutton JE3 BE2.png|32px]] The texture of raw mutton has been changed.}}
{{History|||snap=18w49a|Raw mutton can now be found in [[chest]]s in [[village]] butcher shops.}}
{{History|||snap=19w11a|Butcher villagers now [[trading|buy]] raw mutton.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Raw Mutton JE2 BE1.png|32px]] Added raw mutton.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Mutton JE3 BE2.png|32px]] The texture of raw mutton has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Raw mutton can now be found in [[village]] butcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Raw mutton can now be [[trading|sold]] to butcher [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed; journeyman butcher villagers now buy 7 raw mutton for an emerald instead of 8.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of raw mutton has been changed from <code>muttonraw</code> to <code>mutton</code>.}}
{{History||1.16.210|snap=beta 1.16.210.51|Raw mutton is [[drops|dropped]] by [[goats]].}}
{{History||1.17.0|snap=beta 1.17.0.52|Goats no longer drop raw mutton.}}

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

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

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
Rabbit Items 3 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
Pocket Edition Mutton.jpg|First image of the item in ''Bedrock Edition'' by [[Jason Major]].
</gallery>

== References ==
{{reflist}}

{{items}}

[[de:Rohes Hammelfleisch]]
[[es:Cordero crudo]]
[[fr:Mouton cru]]
[[ja:生の羊肉]]
[[ko:익히지 않은 양고기]]
[[nl:Rauw schapenvlees]]
[[pl:Surowa baranina]]
[[pt:Carneiro cru]]
[[ru:Сырая баранина]]
[[zh:生羊肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Blue Dye|Blue Dye]]<br/>{{Item
|image = Blue_Dye_JE1_BE1.png
|renewable = Yes
|stackable = Yes (64)
}}

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

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

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

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

== History ==

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

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

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

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

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

[[de:Blauer Farbstoff]]
[[es:Tinte azul]]
[[fr:Teinture bleue]]
[[ja:青色の染料]]
[[ko:파란색 염료]]
[[pl: Niebieski barwnik]]
[[pt:Corante azul]]
[[zh:蓝色染料]]</li></ul>
All commands removed.
alpha
1.0.16
{{Extension DPL}}<ul><li>[[Raw Salmon|Raw Salmon]]<br/>{{about|the item|the mob|Salmon}}
{{Item
| title = Raw Salmon
| image = Raw Salmon.png
| renewable = Yes
| heals = {{hunger|2}}
| stackable = Yes (64)
}}
'''Raw salmon''' is a food item that can be eaten by the [[player]] or cooked to make [[cooked salmon]].

== Obtaining ==

=== Mob loot ===
====Salmon====
[[Salmon]] always drops 1 raw salmon when killed, unaffected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref> If it is killed while on [[fire]], it drops 1 [[Cooked Salmon|cooked salmon]] instead.
====Guardians and elder guardians ====
[[Guardian|Guardians]] and [[Elder Guardian|elder guardians]] have a 2.5% chance to drop a random fish, with 25% of them being raw salmon, which drops as cooked if the guardian was on fire. The chance of getting the fish drop is increased by 1% per level with [[Looting]] (for a maximum of 5.5% with Looting III), but the type of fish is not affected.
====Polar bears====
[[Polar bear]]s have a 25% chance of dropping 0–2 raw salmon when killed. The maximum amount can be increased by 1 per level of Looting, for a maximum of 0-5 with Looting III. If killed while on fire, they drop cooked salmon instead.
=== Fishing ===
{{main|Fishing}}Raw salmon can be obtained from [[fishing]]. The wait time of one being caught is decreased with the [[Lure]] enchantment and the chance of one being caught is slightly decreased with the [[Luck of the Sea]] enchantment (named as such because it increases treasure, not fish).

Catching salmon awards 1-6 experience.

=== Chest loot ===

{{LootChestItem|raw-salmon}}

=== Villager gifts ===
{{in|java}}, Fisherman villagers throw raw salmon at [[player]]s under the [[Hero of the Village]] effect.

== Usage ==

=== Smelting ingredient ===

{{smelting
|Raw Salmon
|Cooked Salmon
|0.35
}}

=== Food ===

Raw salmon restores {{hunger|2}} [[hunger]] and 0.2 [[Hunger#Mechanics|saturation]].

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

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

A [[dolphin]] can be fed raw salmon to increase its trust of the player and cause it to interact with the player more often. However, unlike most other animal mobs, this does not cause them to breed.

Additionally, dolphins swim to the nearest chest in a [[shipwreck]] or [[underwater ruin]] after they are fed raw salmon. If the chest in the nearest structure is broken, they swim to another structure with a chest.

=== Trading ===

Apprentice-level Fisherman [[villager]]s have 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to buy 6 raw salmon and one [[emerald]] for 6 cooked salmon.

Journeyman-level Fisherman villagers offer to buy 13 raw salmon for an emerald.

=== Wolves ===
{{IN|bedrock}}, raw salmon can be fed only to [[wolves]] not at full health, healing them by {{hp|2|mob=1}}. Unlike other wolf food, raw salmon cannot be used to breed wolves or to accelerate the growth of baby wolves.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Salmon
|spritetype=item
|nameid=salmon
|id=265
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Lion Hunter}}

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

== Video ==
<span style="display:inline-block">{{yt|s_GcAFeoREk}}</span>

== History ==
{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Raw Salmon JE1 BE1.png|32px]] Added raw salmon.}}
{{History||1.8|snap=14w25a|Raw salmon is now obtainable rare drops from [[guardian]]s and [[elder guardians]].}}
{{History||1.9|snap=15w44a|Raw salmon can now be found in [[bonus chest]]s.}}
{{History||1.10|snap=16w20a|Raw salmon is now dropped from [[polar bear]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> and <code>cooked_fish</code> IDs have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 349 and 250.}}
{{History|||snap=18w08b|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Raw Salmon JE2 BE2.png|32px]] The texture for raw salmon has been changed.}}
{{History||1.14|snap=18w48a|Raw salmon can now be found in chests in [[village]] fisher cottages.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] raw salmon.}}
{{History|||snap=19w13a|Fisherman villagers now give raw salmon to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Raw Salmon JE1 BE1.png|32px]] Added raw salmon.}}
{{History||v0.12.1|snap=build 1|Salmon now restores [[hunger]] instead of [[health]].
|Raw salmon can now be used to tame [[ocelot]]s.}}
{{History||v0.16.0|snap=build 1|Salmon is now [[drops|dropped]] by [[guardian]]s and [[elder guardian]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added [[polar bear]]s, which drop raw salmon.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Raw salmon is now found inside [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Salmon has been added as a [[mob]], which drops raw salmon when killed (cooked while on [[fire]]).
|[[File:Raw Salmon JE2 BE2.png|32px]] The texture for raw salmon has been changed.}}
{{History|||snap=beta 1.2.20.1|Added [[dolphin]]s, which can be [[breeding|bred]] with raw salmon.}}
{{History||1.5.0|snap=beta 1.5.0.0|Raw salmon can no longer be used to breed dolphins. 
|Giving raw salmon to dolphins now leads the [[player]] to nearest [[underwater ruins]] or [[shipwreck]].}}
{{History||1.8.0|snap=beta 1.8.0.8|Raw salmon can no longer be used to tame [[ocelot]]s.
|Raw salmon can now be used to [[breeding|breed]] ocelots.
|Added stray [[cat]]s, which can be tamed by being fed raw salmon.}}
{{History||1.11.0|snap=beta 1.11.0.4|Raw salmon can now be [[trading|sold]] to fisherman [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.52|If [[salmon]] is [[death|killed]] while on [[fire]], then they now drop [[cooked salmon]] instead of a raw salmon.}}

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

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

== Issues ==
{{issue list}}

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

== References ==
{{reflist}}

{{items}}

[[de:Roher Lachs]]
[[es:Salmón crudo]]
[[ja:生鮭]]
[[ko:생연어]]
[[pt:Salmão cru]]
[[ru:Сырой лосось]]
[[tr:Çiğ Somon]]
[[zh:生鲑鱼]]
[[Category:Renewable resources]]
[[Category:Food]]</li><li>[[Lime Dye|Lime Dye]]<br/>{{Item
| image = Lime_Dye_JE2_BE2.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Lime dye''' is a [[Dye#Quasi-Primary|quasi-primary dye]] obtained by combining one [[green dye]] and one [[white dye]] in a crafting square, or by smelting a [[sea pickle]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Green Dye
  |White Dye
  |Output=Lime Dye,2
  |type=Material
}}
{{Crafting
  |foot=1
  |Green Dye
  |Bone Meal
  |Output=Lime Dye,2
  |description={{only|bedrock|education}}
  |type=Material
}}

=== Smelting ===

{{Smelting
|head=1
|foot=1
|Sea Pickle
|Lime Dye
|0,2
}}

=== Trading ===

[[Wandering trader]]s sell 3 lime [[dye]] for 1 [[emerald]].

== Usage  ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===

Journeyman-level shepherd villagers have a 20% chance to buy 12 lime dye for an emerald as part of their trades.‌

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Lime Dye
|spritetype=item
|nameid=lime_dye
|aliasid=dye / 10
|id=405
|form=item
|translationkey=item.dye.lime.name
|foot=1}}

== Video ==

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

== History ==

{{History|java beta}}
{{History||1.2|[[File:Lime Dye JE1 BE1.png|32px]] Added lime 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|Lime 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=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History|||snap=18w14b|Lime dye can now be smelted from [[sea pickle]]s.}}
{{History||1.14|snap=18w43a|Lime dye is now crafted using [[white dye]], instead of [[bone meal]].
|[[File:Lime_Dye_JE2_BE2.png|32px]] The texture of lime dye has now been changed.}}
{{History|||snap=18w44a|Lime dye can now change the text color on [[sign]]s to lime.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells lime dye.}}
{{History|||snap=19w11a|Lime dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Lime dye can now be used to craft [[lime candle]]s.}}
{{History|||snap=21w19a|Lime dye can no longer be used to craft lime candles.}}
{{History|||snap=Pre-release 1|Lime dye can now once again be used to craft lime candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Lime dye can now change the text color on [[hanging sign]]s to lime.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Lime Dye JE1 BE1.png|32px]] Added lime dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Lime dye is now craftable with [[cactus green]] and [[bone meal]].
|Lime dye can now be used to craft lime wool.}}
{{History||v0.6.0|Lime dye can now be used to dye [[sheep]].}}
{{History||v0.9.0|snap=build 11|Lime dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Lime dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Lime dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Lime dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Lime 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|Lime 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|Lime dye can now be used to craft [[balloon]]s and [[glow stick]]s.
|Lime dye can now be obtained from smelting [[sea pickle]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Lime dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Lime dye is now [[trading|sold]] by [[wandering trader]]s.
|Lime dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Lime_Dye_JE2_BE2.png|32px]] The texture of lime dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Lime dye can now be [[trading|sold]] to shepherd [[villager]]s.‌}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of lime dye has been changed from <code>dye/10</code> to <code>lime_dye</code>.}}

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

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

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

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

[[cs:Světle zelené barvivo]]
[[de:Hellgrüner Farbstoff]]
[[es:Tinte verde lima]]
[[fr:Teinture vert clair]]
[[hu:Neonzöld festék]]
[[ja:黄緑色の染料]]
[[ko:연두색 염료]]
[[nl:Lichtgroene kleurstof]]
[[pl:Jasnozielony barwnik]]
[[pt:Corante verde-limão]]
[[ru:Лаймовый краситель]]
[[zh:黄绿色染料]]</li></ul>
Added /ban, /ban-ip, /banlist, /deop, /home, /kick, /op, /pardon, /pardon-ip, /say, and /stop.
1.0.16_01
{{Extension DPL}}<ul><li>[[Leather|Leather]]<br/>{{About||the leather from rabbits|Rabbit Hide|the armor material|Armor materials}}
{{Item
| image = Leather.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Leather''' is an [[item]] used to make [[item frame]]s, [[armor]] and [[book]]s.

== Obtaining ==

=== Mob loot ===

Upon death, [[cow]]s, [[mooshroom]]s, [[horse]]s, [[donkey]]s, [[mule]]s, [[llama]]s and [[trader llama]]s drop 0–2 leather, while [[hoglin]]s drop 0–1 leather. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 5 leather (4 leather from hoglins) with Looting III.

A [[fox]] sometimes spawns holding leather, which always drops upon death. Alternatively, a player can drop a [[food]] item, causing the fox to drop the leather.

=== Fishing ===

Leather can be obtained as a "junk" item from [[fishing]].

=== Crafting ===

{{Crafting
  |A1= Rabbit Hide |B1= Rabbit Hide
  |A2= Rabbit Hide |B2= Rabbit Hide
  |Output=Leather
  |type=Material
}}

=== Chest loot ===

{{LootChestItem|leather}}

=== Villager gifts ===

{{in|java}}, leatherworker [[villager]]s throw leather at players under the [[Hero of the Village]] effect.

=== Bartering ===
[[Piglin]]s may [[barter]] 2-4 leather when given a [[gold ingot]].

== Usage ==

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

=== Trading ===

Novice-level leatherworker villagers have a {{frac|2|3}} chance to [[trading|buy]] 6 leather for one [[emerald]] {{in|java}}, and always offer the trade {{in|bedrock}}.

=== Repairing ===

Leather is the repair item for the [[armor materials|leather armor]], and thus can be used to [[item repair|repair]] the following items in an [[anvil]]:
* {{ItemLink|Leather cap}}
* {{ItemLink|Leather tunic}}
* {{ItemLink|Leather pants}}
* {{ItemLink|Leather boots}}

== Achievements ==
{{load achievements|Cow Tipper}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Leather
|spritetype=item
|nameid=leather
|itemtags=ignored_by_piglin_babies
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather
|spritetype=item
|nameid=leather
|id=381
|form=item
|foot=1}}

== History ==

{{History|java alpha}}
{{History||v1.0.8|[[File:Leather JE1 BE1.png|32px]] Added leather.
|Leather [[drops]] from [[cow]]s.
|The [[crafting]] recipe for leather [[armor]] has been changed from cloth to leather (leather armor was previously [[craft]]ed with [[wool]], and was called "cloth armor" in the game code).}}
{{History||v1.0.17|[[Chicken]]s in [[Survival]] [[multiplayer]] now [[drop]] leather if killed by [[fire]], fall [[damage]] or [[cactus]].}}
{{History||v1.2.6|Chickens dropping leather was fixed by this version at the latest.{{when|It would be nice to know exactly when. It's at most a 3 1/2 month bug, though it was at the beginning. Might count as short-lived.}}.}}
{{History|java}}
{{History||1.3.1|snap=12w17a|Leather is now required to craft [[book]]s.}}
{{History||1.4.2|snap=12w34a|Leather is now used to craft the newly added [[item frame]]s.}}
{{History||1.6.1|snap=13w16a|Leather is now used to craft [[horse saddle]]s.|[[Horse]]s now [[drop]] leather.}}
{{History|||snap=13w18a|Leather is no longer used to craft [[horse saddle]]s.}}
{{History||1.7.2|snap=13w36a|Leather can be obtained as one of the "junk" [[item]]s in [[fishing]], making it possible to obtain it without killing any [[animal]]s.}}
{{History||1.8|snap=14w02a|Leather can now be [[trading|sold]] to leatherworker [[villager]]s, at 9–12 leather for 1 [[emerald]].}}
{{History|||snap=14w27b|Leather can now be crafted using 4 [[rabbit hide]].}}
{{History||1.9|snap=15w41a|Leather can now be used to repair [[elytra]].}}
{{History||1.11|snap=16w39a|[[Llama]]s now [[drop]] leather.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 334.}}
{{History|||snap=18w07a|[[Phantom]]s now drop leather.}}
{{History|||snap=18w14a|Phantoms no longer [[drop]] leather.
|[[Phantom membrane]]s are now used to repair [[elytra]], instead of leather.}}
{{History||1.14|snap=18w43a|[[File:Leather JE2 BE2.png|32px]] The texture of leather has been changed.}}
{{History|||snap=18w48a|Leather can now be found in chests in [[village]] tanneries.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with leather in their mouths.}}
{{History|||snap=19w08a|Leather is now used to [[craft]] leather [[horse armor]].}}
{{History|||snap=19w13a|Leatherworker villagers now give leather to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w07a|Leather is dropped by the new [[hoglin]]s.
|Leather has a {{frac|5|109}} (~4.59%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 2–7.}}
{{History|||snap=20w09a|Leather now has a {{frac|20|226}} (~8.84%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w16a|Leather now generates in [[bastion remnants]] chests.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Leather JE1 BE1.png|32px]] Added leather. It is currently unobtainable and serves no purpose.}}
{{History||v0.6.0|Leather is now obtainable by killing [[cow]]s.
|Leather can be used to craft leather [[armor]].}}
{{History||v0.11.0|snap=build 1|Leather can now be obtained as one of the "junk" [[item]]s in [[fishing]], making it possible to obtain it without killing any [[animal]]s.}}
{{History||v0.12.1|snap=build 1|Leather is now required to craft [[book]]s.}}
{{History||v0.13.0|snap=build 1|Leather can now be [[craft]]ed using 4 [[rabbit hide]].}}
{{History||v0.15.0|snap=build 1|Leather is now used to craft leather [[horse armor]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Leather can now be used to repair [[elytra]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|9-12 leather can now be [[trading|sold]] to leatherworker [[villager]]s.}}
{{History|bedrock}}
{{History||1.6.0|snap=beta 1.6.0.5|[[Phantom membrane]]s are now used to repair [[elytra]], instead of leather.}}
{{History||1.10.0|snap=beta 1.10.0.3|Leather can now be found in [[village]] tannery house [[chest]]s.
|[[File:Leather JE2 BE2.png|32px]] The texture of leather has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, leatherworker [[villager]]s now [[trading|buy]] 6 leather for an [[emerald]].}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can drop leather.}}
{{History||1.16.0|snap=beta 1.16.0.57|Hoglins now drop leather.
|Leather can now be obtained from bartering with piglin.
|Leather can now be found in [[bastion remnants]] chests.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Leather JE1 BE1.png|32px]] Added leather.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Leather is now used to [[craft]] leather [[horse armor]].}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[Phantom membrane]]s are now used to repair [[elytra]], instead of leather.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Leather JE2 BE2.png|32px]] The texture of leather has been changed.}}

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

== Issues ==

{{issue list}}


{{Items}}

[[Category:Renewable resources]]

[[cs:Kůže]]
[[de:Leder]]
[[es:Cuero]]
[[fr:Cuir]]
[[hu:Bőr]]
[[it:Cuoio]]
[[ja:革]]
[[ko:가죽]]
[[nl:Leer]]
[[pl:Skóra]]
[[pt:Couro]]
[[ru:Кожа]]
[[th:หนังสัตว์]]
[[uk:Шкіра]]
[[zh:皮革]]</li><li>[[Glow Berries|Glow Berries]]<br/>{{Block
|image=<gallery>
Cave Vines (head).png|Without Berries
Cave Vines (berries).png|With Berries
</gallery>
|image2 = Glow Berries JE1 BE1.png
|extratext=[[#Gallery|View all renders]]
|rarity=Common
|renewable=Yes
|stackable=Yes (64)
|tool=Any
|light=Yes
|transparent=Yes
|heals={{hunger|2}}
|flammable=Yes
|lavasusceptible=No
}}

'''Glow berries''' are a [[food]] [[item]] obtained from cave vines and can be used to plant them.

'''Cave vines''' are a climbable, [[Bone Meal|bonemealable]] plant that hangs off ceilings and grows glow berries. Cave vines with glow berries produce [[light]] and drop glow berries when broken or harvested. Cave vines with no glow berries will not drop anything.

== Obtaining ==

=== Natural generation ===
Cave vines can be found in [[lush caves]], hanging from cave ceilings.

=== Chest loot ===
{{LootChestItem|glow-berries}}

=== Post-generation ===
Glow berries can be collected from a cave vine by {{control|using}} or {{control|breaking}} the vine. This yields one glow berry when the vine is bearing them and nothing when it is not.  A cave vine also breaks if [[water]] runs over its location or if a [[piston]] extends or pushes a block into its location. 

{{IN|bedrock}}, using a tool with [[Silk Touch]] on cave vines always yields a glow berry, even if the vine appears empty.

[[Fortune]] has no effect on the number of glow berries dropped.

== Usage ==
=== Placement ===
Glow berries can be placed on and grown from the bottom of most blocks. They have no specific lighting requirements. When placed, they can be of any length.

=== Growth ===
Placing glow berries on the bottom of a block creates a cave vine that grows downward one block at a time as long as [[air]] is beneath it and its maximum height (2 to 26 blocks) has not been reached. Each newly-grown cave vine block has a 1 in 9 chance of bearing glow berries.  Only this tip can ever naturally grow them.{{only|JE}}{{More info|exact growth rate and chance to bear glow berries}}

{{control|Using}} [[bone meal]] on a cave vine produces glow berries if the vine was not bearing any.

{{IN|Java}}, cave vines stop growing if [[shears]] are {{control|used}} on the tip.

{{IN|bedrock}}, if placing glow berries in the Nether, cave vines are able to grow and produces glow berries.

=== Food ===
To eat glow berries, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|2}} [[hunger]] and 0.4 hunger [[Hunger#Mechanics|saturation]] points, like [[sweet berries]].

=== Light ===
When bearing glow berries, cave vines give off a [[light]] level of 14.

=== Composting ===
Placing glow berries into a [[composter]] by {{control|using}} them on it has a 30% chance of raising the compost level by 1.

=== Breeding ===
Glow berries can be fed to [[fox]]es to [[breeding|breed]] them. Foxes are similar to cats when being fed as a wild animal; a sudden movement by the player may cause the fox to flee even if the player holds glow berries. The resulting baby fox trusts the [[player]] and does not flee.

Glow berries can be {{control|used}} on baby foxes to reduce the time until they grow by 10%.

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

===Cave vines===
====Generic====
{{Sound table/Block/Cave vines}}

==== Unique ====
{{edition|java}}:
{{Sound table
|sound=Berries pick1.ogg
|sound2=Berries pick2.ogg
|subtitle=Berries pop
|source=block
|description=When glow berries are picked
|id=block.cave_vines.pick_berries
|translationkey=subtitles.item.berries.pick
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Shear.ogg
|subtitle=Plant cropped
|source=block
|description=When the tip of cave vines are cropped with [[Shears#Cropping growing plants|shears]]
|id=block.growing_plant.crop
|translationkey=subtitles.block.growing_plant.crop
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Berries pick1.ogg
|sound2=Berries pick2.ogg
|source=block
|description=When glow berries are picked
|id=pick_berries.cave_vines
|volume=1.0
|pitch=0.8-1.2
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cave Vines
|spritetype=block
|nameid=cave_vines
|blocktags=cave_vines,lush_plants_replaceable
|form=block
}}
{{ID table
|displayname=Cave Vines Plant
|spritetype=block
|nameid=cave_vines_plant
|blocktags=cave_vines,lush_plants_replaceable
|form=block
}}
{{ID table
|displayname=Glow Berries
|spritetype=item
|nameid=glow_berries
|itemtags=fox_food
|form=item
|foot=1}}

{{el|be}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Cave Vines
|nameid=cave_vines
|spritetype=block
|id=577}}
{{ID table
|displayname=Cave Vines Body With Berries
|nameid=cave_vines_body_with_berries
|spritename=lit-cave-vines-plant
|spritetype=block
|id=630}}
{{ID table
|displayname=Cave Vines Head With Berries 
|spritename=lit-cave-vines
|nameid=cave_vines_head_with_berries
|spritetype=block
|id=631}}
{{ID table
|displayname=Glow Berries
|spritetype=item
|nameid=glow_berries
|form=item
|id=638
|foot=1}}

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

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

==History==
{{History||October 3, 2020|link={{ytl|DWZIfsaIgtE|t=1781}}|[[File:Cave Vines Plant JE1 BE1.png|32px]] [[File:Cave Vines Plant (berries) JE1 BE1.png|32px]] [[File:Cave Vines (head) JE1 BE1.png|32px]] [[File:Cave Vines (berries) JE1 BE1.png|32px]] Cave vines (named as glow berries) are shown as part of lush caves at [[Minecraft Live 2020]].}}
{{History|java}}
{{History||1.17|snap=21w05a|[[File:Glow Berries JE1 BE1.png|32px]] Added glow berries.
|[[File:Cave Vines Plant JE1 BE1.png|32px]] [[File:Cave Vines Plant (berries) JE1 BE1.png|32px]] [[File:Cave Vines (head) JE1 BE1.png|32px]] [[File:Cave Vines (berries) JE1 BE1.png|32px]] Added cave vines.}}
{{History|||snap=21w11a|Renamed from "cave vines head" and "cave vines body" to "cave vines" and "cave vines plant", respectively.
|The IDs have also changed.
|Cave vines now always give 14 light, regardless of the type of part.
|Now slow down the player.
|Can now be climbed.}}
{{History|||snap=21w13a|Glow berries now generate as loot in [[mineshaft]] [[Minecart with Chest|chest minecarts]].}}
{{History||1.18|snap=Experimental Snapshot 1|With the implementation of cave biomes including lush caves, caves vines can now generate in normal worlds.}}
{{History|||snap=21w37a|Cave vines stop growing if [[shears]] are used on the tip.}}
{{History|||snap=21w41a|[[File:Cave Vines Plant JE2.png|32px]] [[File:Cave Vines Plant (berries) JE2.png|32px]] Changed cave vines plant texture.}}
{{History||1.19|snap=22w13a|Glow Berries may now be found in [[ancient city]] [[chest]]s.}}

{{History|bedrock}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.220.52|[[File:Glow Berries JE1 BE1.png|32px]] Added glow berries.
|[[File:Cave Vines Plant JE1 BE1.png|32px]] [[File:Cave Vines Plant (berries) JE1 BE1.png|32px]] [[File:Cave Vines (head) JE1 BE1.png|32px]] [[File:Cave Vines (berries) JE1 BE1.png|32px]] Added cave vines.}}
{{History||1.17.0|snap=beta 1.16.230.54|Glow Berries now generate as loot in [[mineshaft]] [[Minecart with Chest|chest minecarts]].}}
{{History|||snap=beta 1.17.0.52|Glow Berries are now available without enabling [[experimental gameplay]].}}
{{History||1.17.20|snap=beta 1.17.20.20|Cave Vines can now be pollinated by [[bee]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Cave Vines Plant JE2.png|32px]] [[File:Cave Vines Plant (berries) JE2.png|32px]] Changed cave vines plant texture.}}
{{History||1.19.20|snap=beta 1.19.20.20|Cave vines can now be destroyed by [[ravagers]].}}
{{History|foot}}

<gallery>
Lush_caves_overview_concept_art.jpg|Concept art for the lush caves and vegetation including Glow Berries.
JE_1.17_Development_Lush_Caves.jpg|A view of the lush caves with glow berries from Minecraft Live 2020.
Lushcaves_minecon.png|Lush cave in MINECON.
Cavesworkinprogress.jpg|A view of the lush caves with glow berries, tweeted by LadyAgnes.
Livestream_lush_cave.jpg|Another view of the lush caves with glow berries, in an interview with LadyAgnes.
Glow Berry Fox.jpg|A fox under a glow berry vine.
</gallery>

===Cave vines "item"===
{{:Technical blocks/Cave Vines}}

==Issues==
{{Issue list}}

==Trivia==
*They are the first item to be usable as both a food and a light source.

==Gallery==
<gallery>
Cave Vines (plant).png
Cave Vines (berries, plant).png
Cave Vines (head).png
Cave Vines (berries).png
Cave_Vines_Age2_(Possibility_pattern_1)_JE1.png|A possible pattern of the cave vines at Age 2.
Cave_Vines_Age2_(Possibility_pattern_2)_JE1.png|And another pattern.
</gallery>

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

[[Category:Food]]
[[Category:Plants]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]
[[Category:Light sources]]
[[Category:Flammable blocks]]
[[Category:Climbable blocks]]

[[de:Leuchtbeeren]]
[[es:Bayas luminosas]]
[[fr:Baies lumineuses]]
[[it:Bacche luminose]]
[[ja:グロウベリー]]
[[pt:Bagas brilhantes]]
[[ru:Светящиеся ягоды]]
[[zh:发光浆果]]</li></ul>
Added /save-all, /save-on, /save-off and /tp.
1.0.16_02
{{Extension DPL}}<ul><li>[[Bottle o' Enchanting|Bottle o' Enchanting]]<br/>{{ItemEntity
|image=Bottle o' Enchanting.gif
|imagesize=160px
|invimage=Bottle o' Enchanting
|stackable=Yes (64)
|renewable=Yes
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|rarity=Uncommon
|networkid='''[[JE]]''': 75
}}

A '''bottle o' enchanting''' is a throwable item that releases [[experience]] orbs on impact.

== Obtaining ==

=== Trading ===
Master-level cleric [[villager]]s sell bottles o' enchanting for 3 emeralds as part of their trade.

=== Natural generation ===

{{LootChestItem|bottle-o'-enchanting}}

== Usage ==

A bottle o' enchanting can be thrown by pressing {{control|use}}. On impact, it drops [[experience]] orbs worth {{xp|3|11}} (average 7.0) and sends out blue particles.

== Sounds ==
{{Edition|Java}}:<br>
Bottles o' enchanting use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Glass dig1.ogg
|sound2=Glass dig2.ogg
|sound3=Glass dig3.ogg
|subtitle=Bottle smashes
|source=neutral
|description=When a bottle o' enchanting impacts something
|id=entity.splash_potion.break
|translationkey=subtitles.entity.potion.splash
|volume=1.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Bow shoot.ogg
|subtitle=Bottle thrown
|source=neutral
|description=When a bottle o' enchanting is thrown by a player
|id=entity.experience_bottle.throw
|translationkey=subtitles.entity.potion.throw
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16}}
{{Sound table
|subtitle=Dispensed item
|source=block
|description=When a bottle o' enchanting is dispensed from a [[dispenser]]
|id=block.dispenser.launch
|translationkey=subtitles.block.dispenser.dispense
|volume=1.0
|pitch=1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Glass dig1.ogg
|sound2=Glass dig2.ogg
|sound3=Glass dig3.ogg
|source=block
|description=When a splash potion impacts something
|id=random.glass
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Bow shoot.ogg
|source=player
|description=When a splash potion is thrown by a player
|id=random.bow
|volume=0.5
|pitch=0.33-0.5}}
{{Sound table
|source=player
|description=When a splash potion is dispensed from a dispenser
|id=random.bow
|volume=1.0
|pitch=0.83-1.25
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Bottle o' Enchanting
|spritetype=item
|nameid=experience_bottle
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Thrown Bottle o' Enchanting
|spritetype=entity
|spritename=Bottle o' Enchanting
|nameid=experience_bottle
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bottle o' Enchanting
|spritetype=item
|nameid=experience_bottle
|id=508
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Bottle o' Enchanting
|spritetype=entity
|nameid=xp_bottle
|id=68
|foot=1}}

=== Entity data ===
{{see also|Chunk format}}

Thrown bottles o' enchanting have entity data that define various properties of the entity.

{{/ED}}

== History ==
<!--When were dispensers made able to fire these? Or was this always a thing?-->
{{History|java}}
{{History||1.2.1|snap=12w04a|[[File:Bottle o' Enchanting JE1 BE1.png|32px]] Added bottles o' enchanting. 
|Bottles o' enchanting can currently be obtained only in [[creative]] mode.}}
{{History||1.3.1|snap=12w21a|With the implementation of the [[trading]] system, the [[player]] can now trade with priest [[villager]]s to obtain 2–4 bottles o' enchanting for 1 [[emerald]].}}
{{History||1.8|snap=14w02a|With the trading revamp, villagers no longer [[trading|sell]] bottles o' enchanting, making them again unobtainable in regular [[survival]].}}
{{History|||snap=14w31a|Cleric [[villager]]s now sell bottles o' enchanting for 3–11 [[emerald]]s each, making them [[renewable resource|renewable]] again.}}
{{History||1.9|snap=15w49a|Bottles o' enchanting, like all projectiles, now take thrower's motion into account.}}
{{History||1.11|snap=16w32a|The entity ID has now been changed from <code>ThrownExpBottle</code> to <code>xp_bottle</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 384.}}
{{History|||snap=18w11a|Bottles o' enchanting can now generate in [[shipwreck]] chests.}}
{{History|||snap=pre5|The entity ID has now been changed to <code>experience_bottle</code>.}}
{{History||1.14|snap=18w43a|[[File:Bottle o' Enchanting JE2 BE2.png|32px]] The texture of bottles o' enchanting has now been changed.}}
{{History|||snap=18w47a|Bottles o' enchanting can now generate in [[pillager outpost]] chests.}}
{{History||1.19|snap=22w13a|Bottles o' enchanting may now be found in [[ancient city]] [[chest]]s.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Bottle o' Enchanting JE1 BE1.png|32px]] Added bottles o' enchanting. 
|Due to the lack of [[trading]], bottles o' enchanting are currently available only in [[creative]] mode, similar to [[Java Edition 12w04a|12w04a]] when it was first released.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|With [[villager]] [[trading]] added, it is now possible to obtain bottles o' enchanting legitimately.}}
{{History||1.1.0|snap=alpha 1.1.0.0|The entity ID has now been changed from <code>potion.experience</code> to <code>xp_bottle</code>.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Bottles o' enchanting can now be found inside [[shipwreck]] and [[buried treasure]] [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Bottles o' enchanting can now be found in [[pillager outpost]] chests.
|[[File:Bottle o' Enchanting JE2 BE2.png|32px]] The texture of bottles o' enchanting has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed and bottles o' enchanting are now [[trading|sold]] by cleric [[villager]]s for 3 [[emerald]]s.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Bottle o' Enchanting JE1 BE1.png|32px]] Added bottles o' enchanting.
|Bottle o' enchanting can be found in the Miscellaneous tab in the [[Creative inventory]].}}
{{History||xbox=TU12|Moved bottle o' enchanting to the Brewing tab in the Creative inventory.}}
{{History|PS4}}
{{History||1.90|[[File:Bottle o' Enchanting JE2 BE2.png|32px]] The texture of bottles o' enchanting has now been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Bottle o' Enchanting JE1 BE1.png|32px]] Added bottles o' enchanting.
|Bottles o' enchanting are not available within the [[Creative inventory]].}}
{{History||?|Added bottles o' enchanting to the Creative inventory.{{info needed|Which update did this occur?}}}}
{{History|foot}}

== Issues ==
{{issue list|Bottle o' Enchanting|Experience Bottle}}

== Gallery ==

<gallery>
Bottle O' Enchanting Splash.gif|Bottle o' enchanting splash animation on impact.
Bottle O' Enchanting villager.png|Players may trade with villagers to obtain bottles o' enchanting in survival mode.
</gallery>


{{Items}}
{{Entities}}

[[cs:Lektvar očarování]]
[[de:Erfahrungsfläschchen]]
[[es:Frasco con experiencia]]
[[fr:Fiole d'expérience]]
[[ja:エンチャントの瓶]]
[[ko:경험치 병]]
[[pl:Zaklęta butelka]]
[[pt:Frasco de experiência]]
[[ru:Зелье опыта]]
[[th:ขวดแห่งเวทมนตร์]]
[[zh:附魔之瓶]]</li><li>[[Fish|Fish]]<br/>{{About|the type of mob|the action|Fishing}}
'''Fish''' are aquatic creatures that are found in [[river]] and [[ocean]] biomes.

== Mobs ==
There are four categories of fish mobs in ''Minecraft'': 
*{{EntityLink|Cod}}
*{{EntityLink|Salmon}}
*{{EntityLink|Pufferfish}}
*{{EntityLink|Tropical Fish}} - many color and pattern varieties

In addition, there are other fish-like mobs that have different characteristics from fish: {{EntityLink|Axolotl}}, {{EntityLink|Guardian}}, and {{EntityLink|Elder Guardian}}.

==Obtaining and transporting==
A live fish can be captured by using a [[water bucket]] on a fish, to obtain a [[bucket of fish]], which is the only way to obtain the live mob in item form. Using the bucket of fish on a water source block transfers the fish from the bucket to the body of water. A water bucket may also be used on [[axolotl]]s in this manner.

==Items==
Fish exist in several different item forms. Upon death, fish drop their item form equivalent (cooked if on fire), with a chance to drop a [[bone]]{{only|bedrock}} or [[bone meal]].{{only|java}}

;Non-living
*{{ItemLink|Raw Cod}}
*{{ItemLink|Cooked Cod}}
*{{ItemLink|Raw Salmon}}
*{{ItemLink|Cooked Salmon}}
*{{ItemLink|Pufferfish|link=Pufferfish (item)}}
*{{ItemLink|Tropical Fish|link=Tropical Fish (item)}}
;Living
*{{ItemLink|Bucket of Cod}}
*{{ItemLink|Bucket of Salmon}}
*{{ItemLink|Bucket of Pufferfish}}
*{{ItemLink|Bucket of Tropical Fish}}

== Spawning ==
Various fish can be found in different [[ocean]] [[biomes]], but only [[salmon]] appear in rivers. Fish can also spawn in player-created bodies of water, as long as they are within a river or ocean biome.

{| class="wikitable sortable" style="text-align:left" data-description="Fish biomes"
!'''Fish'''
! style="text-align:left" |{{BiomeLink|Warm Ocean}}
! style="text-align:left" |{{BiomeLink|Lukewarm Ocean}}<br>{{BiomeLink|Deep Lukewarm Ocean}}
! style="text-align:left" |{{BiomeLink|Ocean}}<br>{{BiomeLink|Deep Ocean}}
! style="text-align:left" |{{BiomeLink|Cold Ocean}}<br>{{BiomeLink|Deep Cold Ocean}}
! style="text-align:left" |{{BiomeLink|Frozen Ocean}}<br>{{BiomeLink|Deep Frozen Ocean}}
! style="text-align:left" |{{BiomeLink|River}}<br>{{BiomeLink|Frozen River}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Cod}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Salmon}}
| rowspan=2 {{tc|no}}
| {{tc|no|No{{only|je|short=1}}}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
| {{tc|yes|Yes{{only|be|short=1}}}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Pufferfish}}
| rowspan=2 {{tc|yes}}
| {{tc|yes|Yes{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
|-
| {{tc|no|No{{only|be|short=1}}}}
|-
! style="text-align:left" |{{EntityLink|Tropical Fish}}<ref group="note">Also spawns in {{BiomeLink|Lush Caves}} at any Y-level.</ref>
| {{tc|yes}}
| {{tc|yes}}
| {{tc|no}}
| {{tc|no}}
| {{tc|no}}
| {{tc|no}}
|-
! style="text-align:left" |{{EntityLink|Squid}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Dolphin}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
|}
{{notelist}}

In ''Java Edition'', fish can spawn inside a water block at Y-level 50 to 63 (from 13 blocks below sea level up to inside the block one above it), that also has water above and below it. The spawn block and the block below can be any kind of water, such as a source block, falling water, bubble column, kelp, or even a waterlogged block (as long as the fish can be placed at the bottom center of the spawn block without colliding with anything solid). The block above must be pure water, such as a source block, falling water, or flowing water of any depth. Particularly, the block above cannot also be a bubble column, so fish no longer spawn inside bubble elevators.<ref>{{cite bug|MC|244683|Tropical fish spawn in bubble columns (fixed in 22w07a)}}</ref> 

''Bedrock Edition'' does permit fish to spawn in bubble columns.<ref>{{cite bug|MCPE|73967|Squids, Dolphins, and fish not spawning in bubble columns (fixed in 1.16.20)}}</ref>

Fish can spawn between 24 and 64 block spherical range away from the player.{{only|java}} 

=== Despawning ===
As of [[1.16]], fish can despawn at range of 40 blocks or more from the player, and will instantly despawn more than 64 blocks away, except when spawned using a [[bucket of fish]].

{{Items}}
{{Entities}}

[[cs:Ryba]]
[[de:Fisch (Begriffsklärung)]]
[[es:Pez]]
[[fr:Poisson]]
[[it:Pesce]]
[[ja:魚]]
[[ko:물고기]]
[[nl:Vis]]
[[pl:Ryba (ujednoznacznienie)]]
[[pt:Peixe]]
[[ru:Рыба]]
[[th:ปลา (แก้ความกำกวม)]]
[[uk:Риба]]
[[zh:鱼]]</li></ul>
Added /list and /tell.
1.2.5
{{Extension DPL}}<ul><li>[[:Category:Plants|Category:Plants]]<br/>All pages covering blocks of such things as tall grass and flowers.

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

[[cs:Kategorie:Rostliny]]
[[es:Categoría:Plantas]]
[[fr:Catégorie:Plante]]
[[hu:Kategória:Növények]]
[[it:Categoria:Piante]]
[[ja:カテゴリ:植物]]
[[ko:분류:식물]]
[[nl:Categorie:Planten]]
[[pl:Kategoria:Rośliny]]
[[pt:Categoria:Plantas]]
[[ru:Категория:Растения]]
[[th:หมวดหมู่:พืช]]
[[zh:Category:植物]]</li><li>[[Reality Vision|Reality Vision]]<br/>{{Joke feature}}
{{Item
| title = Reality Vision
| image = Reality Vision.png
| renewable = No
| stackable = Yes (64)
}}

The '''Reality vision''' was a joke [[helmet]].

== Usage ==
Reality vision was equipped via the [[helmet]] slot. When equipped, it showed a [[wikipedia:Mini-map|minimap]] in the bottom-center of the screen (which moved when the [[player]]'s camera moves). The minimap showed all [[chunk]]s that were currently rendered. The player's location was represented by a green [[beacon]] beam marker on the map.

It displayed a vision overlay (similar to the [[pumpkin]] overlay). The overlay would change to a new overlay if the player went into third person (unlike the pumpkin overlay), which made the screen appear like an old [[wikipedia:Television|television]] screen. The overlay was called <code>cantseeshit<!-- Do not change this; this is that word that is actually used-->captain.png</code> in the assets folder. It activated a [[Shaders|shader]] when equipped (<code>scan_pincushion</code>).

== Sounds ==

{{Sound table
|sound=Equipvr.ogg
|subtitle=''None''
|source=player
|description=When equipped
|id=item.reality_vision.use
|translationkey=''None''
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=java
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Reality Vision
|spritetype=item
|nameid=reality_vision
|id=500
|form=item
|translationkey=item.realityVision.name
|foot=1}}

== History ==
{{History|java}}
{{History||1.RV-Pre1|[[File:Reality_Vision_(item).png|32px]] [[File:Reality Vision.png|32px]] Added reality vision.}}
{{History|foot}}

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

== Trivia ==
* [[Sign]]s display the text "OBEY" while equipped, a reference to the movie [[wikipedia:They Live|''They Live'']].

== Gallery ==

<gallery>
Sign2.png|The [[sign]] texture found in the game files.
OBEY.png|OBEY seen in a sign.
OBEY sign in 1.RV-Pre1..png|OBEY seen in a sign, but seen from a better perspective. 
TechGear.png|A [[player]] wearing reality vision, featured in this [[wikipedia:April Fools' Day|April Fools']] joke version.
</gallery>

{{Items}}
{{Jokes}}

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

[[pt:Visão da realidade]]
[[es:Reality Vision]]</li></ul>
Removed /home.
1.2.6
{{Extension DPL}}<ul><li>[[Powder Snow Bucket|Powder Snow Bucket]]<br/>{{Item
| title = Powder Snow Bucket
| image = Powder Snow Bucket.png
| renewable = Yes
| stackable = No
}}
A '''powder snow bucket''' is a [[bucket]] with [[powder snow]] inside.

== Obtaining ==

A powder snow bucket can be obtained by {{ctrl|using}} an [[empty bucket]] on a [[powder snow block]] or [[powder snow cauldron]].

== Usage ==

Pressing {{control|use}} while holding a powder snow bucket places a [[powder snow]] block. {{IN|Java}}, powder snow may also be placed inside empty [[cauldron]]s, creating powder snow cauldrons.

[[Dispenser]]s can also create and place powder snow buckets. However, they cannot do so with [[cauldron]]s. You can also use it to cushion falls in the [[nether]] by placing it below you when falling.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Empty powder snow bucket1.ogg
|sound2=Empty powder snow bucket2.ogg
|subtitle=Bucket empties
|source=block
|description=When a powder snow bucket is placed
|id=item.bucket.empty_powder_snow
|translationkey=subtitles.item.bucket.empty
|volume=1.0
|pitch=''varies'' <ref group=sound>Each sound event can be 1.0, 0.95, or 1.1</ref>
|distance=16}}
{{Sound table
|sound=Fill powder snow bucket1.ogg
|sound2=Fill powder snow bucket2.ogg
|subtitle=Bucket fills
|source=player
|description=When a bucket is filled with powder snow
|id=item.bucket.fill_powder_snow
|translationkey=subtitles.item.bucket.fill
|volume=1.0
|pitch=''varies'' <ref group=sound>Each sound event can be 1.0, 0.9, or 1.1</ref>
|distance=16}}
{{Sound table
|sound=Powder Snow break1.ogg
|sound2=Powder Snow break2.ogg
|sound3=Powder Snow break3.ogg
|sound4=Powder Snow break4.ogg
|sound5=Powder Snow break5.ogg
|sound6=Powder Snow break6.ogg
|sound7=Powder Snow break7.ogg
|subtitle=Block broken
|source=block
|description=When a bucket is filled with powder snow
|id=block.powder_snow.break
|translationkey=subtitles.block.generic.break
|volume=1.0
|pitch=0.8
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Fill powder snow bucket1.ogg
|sound2=Fill powder snow bucket2.ogg
|source=player
|description=When a bucket is filled with powder snow
|id=bucket.fill_powder_snow
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Empty powder snow bucket1.ogg
|sound2=Empty powder snow bucket2.ogg
|source=block
|description=When a powder snow bucket is placed
|id=bucket.empty_powder_snow
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|showaliasids=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Powder Snow Bucket
|spritetype=item
|nameid=powder_snow_bucket
|aliasid=bucket / 11
|form=item
|id=368
|foot=1}}

== History ==
{{History|java}}
{{History||1.17|snap=20w46a|[[File:Powder Snow Bucket JE1 BE1.png|32px]] Added powder snow buckets.}}
{{History|bedrock}}
{{History||Caves & Cliffs<br>(experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.53|[[File:Powder Snow Bucket JE1 BE1.png|32px]] Added powder snow buckets.
|The powder snow bucket replaced the powder snow block in the creative inventory.}}
{{History||1.17.0|snap=beta 1.17.0.50|Powder snow bucket are now available without enabling [[Experimental Gameplay]].}}
{{h|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
Cozy Cabin Powder Snow Bucket 1.jpg|Teaser image with a barely visible powder snow bucket.
Cozy Cabin Powder Snow Bucket 2.jpg|Teaser image with a barely visible powder snow bucket.
Cozy Cabin Powder Snow Bucket 3.jpg|Teaser image with a barely visible powder snow bucket.
</gallery>

{{Items}}

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

[[de:Pulverschneeeimer]]
[[es:Cubo con nieve polvo]]
[[fr:Seau de neige poudreuse]]
[[it:Secchio di neve polverosa]]
[[ja:粉雪入りバケツ]]
[[pl:Wiadro sypkiego śniegu]]
[[pt:Balde de neve fofa]]
[[ru:Ведро с рыхлым снегом]]
[[zh:细雪桶]]</li><li>[[Pumpkin Seeds|Pumpkin Seeds]]<br/>{{Block
| image = <gallery>
Pumpkin Stem Age 0.png | Age 0
Pumpkin Stem Age 1.png | Age 1
Pumpkin Stem Age 2.png | Age 2
Pumpkin Stem Age 3.png | Age 3
Pumpkin Stem Age 4.png | Age 4
Pumpkin Stem Age 5.png | Age 5
Pumpkin Stem Age 6.png | Age 6
Pumpkin Stem Age 7.png | Age 7
</gallery>
|image2 = <gallery>
Attached Pumpkin Stem (N).png | North
Attached Pumpkin Stem (E).png | East
Attached Pumpkin Stem (S).png | South
Attached Pumpkin Stem (W).png | West
</gallery>
| transparent = Yes
| light = No
| tool = none
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Pumpkin seeds''' are items obtained from pumpkins that can be used to grow pumpkin stems.

'''Pumpkin stems''' are plants grown on [[farmland]] that, over time, grow [[pumpkin]]s on dirt, mud and moss blocks adjacent to them.

== Obtaining ==
=== Breaking ===
When broken, a pumpkin stem drops 0–3 pumpkin seeds. The chance for pumpkin seeds to drop increases with the stem's age.
{| class="wikitable"
! rowspan="3" |[[Resource location]]
! rowspan="3" | Source
! colspan="4" | Default
|-
| colspan="1" rowspan="2" style="text-align:center" | Nothing || colspan="3" style="text-align:center" |{{ItemLink|Pumpkin Seeds|Pumpkin seeds}}
|-
| style="text-align:center" | 1 || style="text-align:center" | 2 || style="text-align:center" | 3
|-
| rowspan="8" |<code>blocks/pumpkin_stem</code>
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 0</code>
| style="text-align:center" |81.3%|| style="text-align:center" |17.42%|| style="text-align:center" |1.24%|| style="text-align:center" |0.03%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 1</code>
| style="text-align:center" |65.1%|| style="text-align:center" |30.04%|| style="text-align:center" |4.62%|| style="text-align:center" |0.24%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 2</code>
| style="text-align:center" |51.2%|| style="text-align:center" |38.4%|| style="text-align:center" |9.6%|| style="text-align:center" |0.8%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 3</code>
| style="text-align:center" |39.44%|| style="text-align:center" |43.02%|| style="text-align:center" |15.64%|| style="text-align:center" |1.9%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 4</code>
| style="text-align:center" |29.13%|| style="text-align:center" |44.44%|| style="text-align:center" |22.22%|| style="text-align:center" |3.7%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 5</code>
| style="text-align:center" |21.6%|| style="text-align:center" |43.2%|| style="text-align:center" |28.8%|| style="text-align:center" |6.4%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 6</code>
| style="text-align:center" |15.17%|| style="text-align:center" |39.82%|| style="text-align:center" |34.84%|| style="text-align:center" |10.16%
|-
|{{BlockLink|Pumpkin Stem|Pumpkin stem}} <code>age = 7</code>
| style="text-align:center" |10.16%|| style="text-align:center" |34.84%|| style="text-align:center" |39.82%|| style="text-align:center" |15.17%
|-
| rowspan="1" |<code>blocks/attached_pumpkin_stem</code>
|{{BlockLink|Attached Pumpkin Stem|Attached Pumpkin stem}}
| style="text-align:center" |10.16%|| style="text-align:center" |34.84%|| style="text-align:center" |39.82%|| style="text-align:center" |15.17%
|}

=== Natural generation ===
Pumpkin stems generate naturally in stem farm rooms in [[woodland mansion]]s.

Pumpkin stems generate in [[taiga]] and [[snowy taiga]]{{only|be|short=1}} [[village]] farms.

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

=== Crafting ===
{{Crafting
|Pumpkin
|Output= Pumpkin Seeds,4
|type= Material
}}

=== Trading ===
[[Wandering trader]]s sell pumpkin seeds for 1 [[emerald]].

=== Post-generation ===
Shearing an uncarved pumpkin yields 4 pumpkin seeds.

== Usage ==
=== Farming ===
{{see also|Tutorials/Pumpkin and melon farming}}
Pumpkin seeds can be planted only on [[farmland]], as stems. Over time, a stem grows through several stages{{Needs testing}} and, at its final growth stage, will produce [[pumpkin]]s on any adjacent [[dirt]], [[Coarse Dirt|coarse dirt]], [[Rooted Dirt|rooted dirt]], [[Grass Block|grass block]], [[farmland]], [[podzol]], [[mycelium]], [[Moss Block|moss block]], [[mud]] or [[Muddy Mangrove Roots|muddy mangrove roots]]. If a pumpkin is already occupying a spot adjacent to a stem it does not grow more pumpkins until the pumpkin is removed. A single stem can grow an unlimited number of pumpkins. Pumpkin stems need a minimum light level of 10 in the block above the stem to grow and give pumpkins. Pumpkin seeds are affected by [[bone meal]] only with respect to stem growth; bone meal does not help produce the actual pumpkins.

=== Breeding ===
Like other seeds, pumpkin seeds can be used to [[breed]] [[chicken]]s, lead chickens around, and make baby chickens grow up faster by 10% of the remaining time.

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

=== Composting ===
Placing pumpkin seeds into a [[composter]] has a 30% chance of raising the compost level by 1.

== Pumpkin stem ==
A '''pumpkin stem''' is the block that is planted on [[farmland]] when pumpkin seeds are used on it. It starts underground, and rises up as the plant grows. The stem is colored green when young, and then yellow once fully grown.

The stem curves once a pumpkin has grown from it. A fully-grown single stem connects to any [[pumpkin]] in an adjacent square, thus there are 5 possible appearances to a stem. If there are multiple pumpkins it can connect to, it favors the east, then west, north, and south. When the pumpkin is removed, the stem returns to its straight shape.

== Sounds ==
{{Sound table/Block/Hard crop}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Stem
|spritetype=block
|nameid=pumpkin_stem
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Attached Pumpkin Stem
|spritetype=block
|nameid=attached_pumpkin_stem
|form=block}}
{{ID table
|displayname=Pumpkin Seeds
|spritetype=item
|nameid=pumpkin_seeds
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Stem
|spritetype=block
|nameid=pumpkin_stem
|id=104
|form=block}}
{{ID table
|displayname=Pumpkin Seeds
|spritetype=item
|nameid=pumpkin_seeds
|id=292
|form=item
|foot=1}}

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

{{/BS}}

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

== History ==
{{info needed section|check if stems floated above farmland upon initial implementation}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] Added the pumpkin stem, with seven stages of growth.
|Pumpkin seeds can be found in the new [[mineshaft]] [[chest]]s.
|[[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]] The pumpkin stem has four slightly visually distinct appearances for each facing direction - the bent part of the stem rotates, but the other two planes do not.
|[[File:Pumpkin Stem Age 8 JE1.png|32px]] [[File:Pumpkin Stem Age 9 JE1.png|32px]] [[File:Pumpkin Stem Age 10 JE1.png|32px]] [[File:Pumpkin Stem Age 11 JE1.png|32px]] [[File:Pumpkin Stem Age 12 JE1.png|32px]] [[File:Pumpkin Stem Age 13 JE1.png|32px]] [[File:Pumpkin Stem Age 14 JE1.png|32px]] [[File:Pumpkin Stem Age 15 JE1.png|32px]] Pumpkin stem data values from 8 through 15 now show a glitched formation, with a floating stem with an attached stem cross eventually emerging below.
|[[File:Attached Stem Age 8 JE1.png|32px]] [[File:Attached Stem Age 9 JE1.png|32px]] [[File:Attached Stem Age 10 JE1.png|32px]] [[File:Attached Stem Age 11 JE1.png|32px]] [[File:Attached Stem Age 12 JE1.png|32px]] [[File:Attached Stem Age 13 JE1.png|32px]] [[File:Attached Stem Age 14 JE1.png|32px]] [[File:Attached Stem Age 15 JE1.png|32px]] Pumpkin stem blocks with data values higher than 7 can attach to adjacent fruits, which results in buggy stem textures with [[vines]] in the mix due to vines being below attached stems in [[terrain.png]].}}
{{History|||snap=Pre-release 2 ;)|Pumpkin stems can now be grown faster using [[bone meal]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Pumpkins can now be [[crafting|crafted]] into [[pumpkin seeds]].}}
{{History||1.3.1|snap=1.3|The texture of pumpkin stems has been moved one pixel to the left in [[terrain.png]].
|[[File:Pumpkin Stem Age 0 JE2.png|32px]] [[File:Pumpkin Stem Age 1 JE2.png|32px]] [[File:Pumpkin Stem Age 2 JE2.png|32px]] [[File:Pumpkin Stem Age 3 JE2.png|32px]] [[File:Pumpkin Stem Age 4 JE2.png|32px]] [[File:Pumpkin Stem Age 5 JE2.png|32px]] [[File:Pumpkin Stem Age 6 JE2.png|32px]] [[File:Pumpkin Stem Age 7 JE2.png|32px]] Stems now appear slightly different.
|[[File:Pumpkin Stem Age 8 JE2.png|32px]] [[File:Pumpkin Stem Age 9 JE2.png|32px]] [[File:Pumpkin Stem Age 10 JE2.png|32px]] [[File:Pumpkin Stem Age 11 JE2.png|32px]] [[File:Pumpkin Stem Age 12 JE2.png|32px]] [[File:Pumpkin Stem Age 13 JE2.png|32px]] [[File:Pumpkin Stem Age 14 JE2.png|32px]] [[File:Pumpkin Stem Age 15 JE2.png|32px]] Overgrown attached pumpkin stems now appear slightly different.
|[[File:Attached Pumpkin Stem (N) JE2.png|32px]] [[File:Attached Pumpkin Stem (E) JE2.png|32px]] [[File:Attached Pumpkin Stem (S) JE2.png|32px]] [[File:Attached Pumpkin Stem (W) JE2.png|32px]] Attached pumpkin stems now appear slightly different.
|[[File:Attached Stem Age 8 JE2.png|32px]] [[File:Attached Stem Age 9 JE2.png|32px]] [[File:Attached Stem Age 10 JE2.png|32px]] [[File:Attached Stem Age 11 JE2.png|32px]] [[File:Attached Stem Age 12 JE2.png|32px]] [[File:Attached Stem Age 13 JE2.png|32px]] [[File:Attached Stem Age 14 JE2.png|32px]] [[File:Attached Stem Age 15 JE2.png|32px]] Overgrown attached pumpkin stems now appear slightly different.}}
{{History||1.4.2|snap=12w36a|[[Chicken]]s now use [[wheat seeds]], [[melon seeds]] and pumpkin seeds, instead of [[wheat]] to [[breeding|breed]].}}
{{History||1.5|snap=13w02a|[[File:Pumpkin Stem Age 0 JE3.png|32px]] [[File:Pumpkin Stem Age 1 JE3.png|32px]] [[File:Pumpkin Stem Age 2 JE3.png|32px]] [[File:Pumpkin Stem Age 3 JE3.png|32px]] [[File:Pumpkin Stem Age 4 JE3.png|32px]] [[File:Pumpkin Stem Age 5 JE3.png|32px]] [[File:Pumpkin Stem Age 6 JE3.png|32px]] Pumpkin stems now use a squished version of their texture for immature stems, depending on age.
|[[File:Pumpkin Stem Age 8 JE3.png|32px]] [[File:Pumpkin Stem Age 9 JE3.png|32px]] [[File:Pumpkin Stem Age 10 JE3.png|32px]] [[File:Pumpkin Stem Age 11 JE3.png|32px]] [[File:Pumpkin Stem Age 12 JE3.png|32px]] [[File:Pumpkin Stem Age 13 JE3.png|32px]] [[File:Pumpkin Stem Age 14 JE3.png|32px]] [[File:Pumpkin Stem Age 15 JE3.png|32px]] This also affects pumpkin stems of ages 8-15, which are likewise stretched to accommodate its predicted size.
|[[File:Attached Stem Age 8 JE3.png|32px]] [[File:Attached Stem Age 9 JE3.png|32px]] [[File:Attached Stem Age 10 JE3.png|32px]] [[File:Attached Stem Age 11 JE3.png|32px]] [[File:Attached Stem Age 12 JE3.png|32px]] [[File:Attached Stem Age 13 JE3.png|32px]] [[File:Attached Stem Age 14 JE3.png|32px]] [[File:Attached Stem Age 15 JE3.png|32px]] Pumpkin stems of extreme ages, which are attached to adjacent fruits, now show a stretched and tinted stem appearance.}}
{{History|||snap=13w03a|[[File:Pumpkin Stem Age 0 JE4.png|32px]] [[File:Pumpkin Stem Age 1 JE4.png|32px]] [[File:Pumpkin Stem Age 2 JE4.png|32px]] [[File:Pumpkin Stem Age 3 JE4.png|32px]] [[File:Pumpkin Stem Age 4 JE4.png|32px]] [[File:Pumpkin Stem Age 5 JE4.png|32px]] [[File:Pumpkin Stem Age 6 JE4.png|32px]] [[File:Pumpkin Stem Age 7 JE4.png|32px]] Pumpkin stems are no longer squished or stretched to account for age.<ref>{{bug|MC-7111}}</ref>
|[[File:Pumpkin Stem Age 8 JE4.png|32px]] [[File:Pumpkin Stem Age 9 JE4.png|32px]] [[File:Pumpkin Stem Age 10 JE4.png|32px]] [[File:Pumpkin Stem Age 11 JE4.png|32px]] [[File:Pumpkin Stem Age 12 JE4.png|32px]] [[File:Pumpkin Stem Age 13 JE4.png|32px]] [[File:Pumpkin Stem Age 14 JE4.png|32px]] [[File:Pumpkin Stem Age 15 JE4.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[trapdoor]] texture.
|From this version up until 14w08a, overgrown pumpkin stems start to draw from the texture below them on the [[texture atlas]], in much the same way they previously did with terrain.png. However, as texture atlases are unstable and textures tend to change positions as new blocks and textures are added, overgrown stems change the texture they draw from every time new textures are added, which includes when textures added by [[mods]].}}
{{History|||snap=13w09a|[[File:Pumpkin Stem Age 8 JE5.png|32px]] [[File:Pumpkin Stem Age 9 JE5.png|32px]] [[File:Pumpkin Stem Age 10 JE5.png|32px]] [[File:Pumpkin Stem Age 11 JE5.png|32px]] [[File:Pumpkin Stem Age 12 JE5.png|32px]] [[File:Pumpkin Stem Age 13 JE5.png|32px]] [[File:Pumpkin Stem Age 14 JE5.png|32px]] [[File:Pumpkin Stem Age 15 JE5.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[birch wood]] texture.}}
{{History||1.6.1|snap=13w24a|Melon and pumpkin stems have now been assigned separate textures.
|[[File:Pumpkin Stem Age 8 JE6.png|32px]] [[File:Pumpkin Stem Age 9 JE6.png|32px]] [[File:Pumpkin Stem Age 10 JE6.png|32px]] [[File:Pumpkin Stem Age 11 JE6.png|32px]] [[File:Pumpkin Stem Age 12 JE6.png|32px]] [[File:Pumpkin Stem Age 13 JE6.png|32px]] [[File:Pumpkin Stem Age 14 JE6.png|32px]] [[File:Pumpkin Stem Age 15 JE6.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted curving [[rail]] texture.}}
{{History||1.7.2|snap=13w37a|Added the {{cmd|setblock}} command, allowing for invalid pumpkin stem ages to be placed in the world without using external editors. This also allows them to be obtained in earlier versions via backdating.}}
{{History|||snap=13w41a|[[File:Pumpkin Stem Age 8 JE7.png|32px]] [[File:Pumpkin Stem Age 9 JE7.png|32px]] [[File:Pumpkin Stem Age 10 JE7.png|32px]] [[File:Pumpkin Stem Age 11 JE7.png|32px]] [[File:Pumpkin Stem Age 12 JE7.png|32px]] [[File:Pumpkin Stem Age 13 JE7.png|32px]] [[File:Pumpkin Stem Age 14 JE7.png|32px]] [[File:Pumpkin Stem Age 15 JE7.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted lit [[furnace]] texture.}}
{{History|||snap=13w43a|[[File:Pumpkin Stem Age 8 JE8.png|32px]] [[File:Pumpkin Stem Age 9 JE8.png|32px]] [[File:Pumpkin Stem Age 10 JE8.png|32px]] [[File:Pumpkin Stem Age 11 JE8.png|32px]] [[File:Pumpkin Stem Age 12 JE8.png|32px]] [[File:Pumpkin Stem Age 13 JE8.png|32px]] [[File:Pumpkin Stem Age 14 JE8.png|32px]] [[File:Pumpkin Stem Age 15 JE8.png|32px]] Pumpkin stems with age values 8 through 15 now show a tinted [[pumpkin]] top texture.}}
{{History||1.8|snap=14w10a|[[File:Pumpkin Stem Age 8 JE9.png|32px]] [[File:Pumpkin Stem Age 9 JE9.png|32px]] [[File:Pumpkin Stem Age 10 JE9.png|32px]] [[File:Pumpkin Stem Age 11 JE9.png|32px]] Pumpkin stems with data values 8-11 now display a tinted attached stem, with 8 facing west, 9 facing east, 10 facing north and 11 facing south.
|Invalid pumpkin stems with data values 12-15 now crash the game.}}
{{History|||snap=14w25a|[[File:Pumpkin Stem Age 0 JE5.png|32px]] [[File:Pumpkin Stem Age 1 JE5.png|32px]] [[File:Pumpkin Stem Age 2 JE5.png|32px]] [[File:Pumpkin Stem Age 3 JE5.png|32px]] [[File:Pumpkin Stem Age 4 JE5.png|32px]] [[File:Pumpkin Stem Age 5 JE5.png|32px]] [[File:Pumpkin Stem Age 6 JE5.png|32px]] [[File:Pumpkin Stem Age 7 JE5.png|32px]] Pumpkin stems now render as a single diagonal plane, or, in the case of attached stems, a diagonal and orthogonal plane.
|[[File:Attached Pumpkin Stem (N) JE3.png|32px]] [[File:Attached Pumpkin Stem (E) JE3.png|32px]] [[File:Attached Pumpkin Stem (S) JE3.png|32px]] [[File:Attached Pumpkin Stem (W) JE3.png|32px]] The attached pumpkin stem [[model]] now fully rotates to the direction the stem points. Prior to this update, the base of the pumpkin stem would stay the same while the long attaching section would differ, resulting in four possible attached stem appearances.
|Invalid overgrown pumpkin stems have now effectively been removed from the game, as attempting to place an out of range stem via {{cmd|setblock}} creates a stem of age 0 and loading a world with existing such stems cause a game crash.}}
{{History|||snap=14w26a|[[File:Pumpkin Stem Age 0 JE6.png|32px]] [[File:Pumpkin Stem Age 1 JE6.png|32px]] [[File:Pumpkin Stem Age 2 JE6.png|32px]] [[File:Pumpkin Stem Age 3 JE6.png|32px]] [[File:Pumpkin Stem Age 4 JE6.png|32px]] [[File:Pumpkin Stem Age 5 JE6.png|32px]] [[File:Pumpkin Stem Age 6 JE6.png|32px]] [[File:Pumpkin Stem Age 7 JE6.png|32px]] [[File:Attached Pumpkin Stem (N) JE4.png|32px]] [[File:Attached Pumpkin Stem (E) JE4.png|32px]] [[File:Attached Pumpkin Stem (S) JE4.png|32px]] [[File:Attached Pumpkin Stem (W) JE4.png|32px]] Pumpkin stems now correctly render as crosses again.<ref>{{bug|MC-58136}}</ref>}}
{{History|||snap=14w27a|[[File:Attached Stem Age 0 14w27a.png|32px]] [[File:Attached Stem Age 1 14w27a.png|32px]] [[File:Attached Stem Age 2 14w27a.png|32px]] [[File:Attached Stem Age 3 14w27a.png|32px]] [[File:Attached Stem Age 4 14w27a.png|32px]] [[File:Attached Stem Age 5 14w27a.png|32px]] [[File:Attached Stem Age 6 14w27a.png|32px]] Due to a bug, all pumpkin stems now appear attached regardless of age or any actual attachment.<ref>{{bug|MC-60208}}</ref>}}
{{History|||snap=14w28a|All pumpkin stems appearing attached regardless of the age of any actual attachment has been fixed. However, pumpkin stems still appear attached to adjacent fruits regardless of age due to a similar bug.<ref>{{bug|MC-61716}}</ref>}}
{{History|||snap=14w34d|Pumpkin seeds no longer can be used to breed [[chicken]]s.}}
{{History||1.9|snap=15w31a|Chickens can now use pumpkin seeds to [[breeding|breed]] again.}}
{{History|||snap=15w44a|Pumpkin seeds have been added to [[dungeon]] [[chest]]s.
|The average yield of pumpkin seeds in [[mineshaft]] chests has been decreased.}}
{{History|||snap=15w45a|Pumpkin stems must now be fully grown again to attach.}}
{{History||1.11|snap=16w39a|Pumpkin seeds are now found in the new [[woodland mansion]] chests.
|Pumpkin stems now generate inside [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|The different [[block]] states for the <code>pumpkin_stem</code> ID have been split up into their own IDs.
|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved pumpkin.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 104, and the [[item]]'s 361.}}
{{History|||snap=17w48a|Attached pumpkin stems no longer [[drops|drop]] seeds.}}
{{History||1.14|snap=18w43a|[[File:Pumpkin Stem Age 0 JE7.png|32px]] [[File:Pumpkin Stem Age 1 JE7.png|32px]] [[File:Pumpkin Stem Age 2 JE7.png|32px]] [[File:Pumpkin Stem Age 3 JE7.png|32px]] [[File:Pumpkin Stem Age 4 JE7.png|32px]] [[File:Pumpkin Stem Age 5 JE7.png|32px]] [[File:Pumpkin Stem Age 6 JE7.png|32px]] [[File:Pumpkin Stem Age 7 JE7.png|32px]] The stem texture has changed.
|[[File:Attached Pumpkin Stem (N) JE5.png|32px]] [[File:Attached Pumpkin Stem (E) JE5.png|32px]] [[File:Attached Pumpkin Stem (S) JE5.png|32px]] [[File:Attached Pumpkin Stem (W) JE5.png|32px]] The pumpkin stem texture change also affects the base cross on pumpkin stems.}}
{{History|||snap=18w50a|Pumpkin stems now generate in the updated [[taiga]] [[village]] farms.
|Pumpkin seeds can now be found in [[chest]]s in taiga village houses.}}
{{History|||snap=19w03a|Placing pumpkin seeds into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Pumpkin seeds now have a 30% chance of increasing the compost level in a composter by 1.
|Added [[Wandering Trader|wandering trader]]s, which sell pumpkin seeds.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate pumpkin stems.}}
{{History|||snap=19w39a|Attached pumpkin stems now [[drops|drop]] seeds again.<ref>{{bug|MC-136360}}</ref>}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.
|Pumpkin seeds are obtainable from the [[Nether reactor]].}}
{{History||v0.12.1|snap=build 1|Pumpkin seeds are no longer available from the Nether reactor.}}
{{History||v0.14.0|snap=build 1|Pumpkin seeds can now be found in [[minecart with chest]]s inside [[mineshaft]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Pumpkin stems now generate inside [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Pumpkin seeds are now used to tame [[parrot]]s.}}
{{History||1.4.0|snap=beta 1.2.13.8|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved [[pumpkin]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Attached Pumpkin Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached pumpkin stems has been changed.
|Pumpkin seeds can now be [[trading|bought]] from [[wandering trader]]s.
|A single pumpkin crop now generates in the new [[taiga]] and [[snowy taiga]] [[village]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|A single pumpkin seed can now be used to fill the [[composter]].
|Pumpkin seeds can now be found in [[taiga]] and [[snowy taiga]] [[village]] house [[chest]]s.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Pumpkin Seeds JE1 BE1.png|32px]] Added pumpkin seeds.
|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|Pumpkin seeds can now be obtained by [[shear]]ing an uncarved [[pumpkin]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Attached Pumpkin Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached pumpkin stems has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Pumpkin Stem Age 0 JE1.png|32px]] [[File:Pumpkin Stem Age 1 JE1.png|32px]] [[File:Pumpkin Stem Age 2 JE1.png|32px]] [[File:Pumpkin Stem Age 3 JE1.png|32px]] [[File:Pumpkin Stem Age 4 JE1.png|32px]] [[File:Pumpkin Stem Age 5 JE1.png|32px]] [[File:Pumpkin Stem Age 6 JE1.png|32px]] [[File:Pumpkin Stem Age 7 JE1.png|32px]] [[File:Attached Pumpkin Stem (N) JE1.png|32px]] [[File:Attached Pumpkin Stem (E) JE1.png|32px]] [[File:Attached Pumpkin Stem (S) JE1.png|32px]] [[File:Attached Pumpkin Stem (W) JE1.png|32px]]{{verify|Were these the models used by this edition?}} Added pumpkin stems.}}
{{History|foot}}

<gallery>
Pumpkin Stem with data value 15.png|The final version of the pumpkin stem with age 15, as seen in-game.
Pumpkinstems.png|Pumpkin stems of ages 1 to 15 on a modded version of [[Java Edition 1.7.2|1.7.2]], hence the nearby melon stems using the melon top texture.
Stems of 13w02a.png|All 16 stem sizes in [[Java Edition 13w02a|13w02a]], with accompanying data values.
</gallery>

=== Pumpkin stem "item" ===
{{:Technical blocks/Pumpkin Stem}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
Stem All Ages.png|All stages of growth.
AllSeeds.png|All the [[seeds]] that exist in the game.
</gallery>

== References ==
{{reflist}}

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

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

[[cs:Dýňová semínka]]
[[de:Kürbiskerne]]
[[es:Semillas de calabaza]]
[[fr:Graines de citrouille]]
[[hu:Tökmagok]]
[[ja:カボチャの種]]
[[ko:호박씨]]
[[nl:Pompoenpitten]]
[[pl:Nasiona dyni]]
[[pt:Sementes de abóbora]]
[[ru:Семена тыквы]]
[[th:เมล็ดฝักทอง]]
[[zh:南瓜种子]]</li></ul>
Added /kill.
beta
1.3
{{Extension DPL}}<ul><li>[[Beetroot|Beetroot]]<br/>{{about|the basic food item|the seeds|Beetroot Seeds|the soup|Beetroot Soup}}
{{Item
| title = Beetroot
| image = Beetroot.png
| heals = {{hunger|1}}
| renewable = Yes
| stackable = Yes (64)
}}

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

== Obtaining ==

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

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

== Usage ==

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

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

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

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

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

=== Trading ===

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

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

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

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

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

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

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

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

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

== Issues ==

{{Issue list}}

== Gallery ==

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

== References ==
{{Reflist}}

{{Items}}

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

[[cs:Červená řepa]]
[[de:Rote Bete]]
[[es:Remolacha]]
[[fr:Betterave]]
[[hu:Cékla]]
[[it:Barbabietola]]
[[ja:ビートルート]]
[[ko:비트]]
[[nl:Biet]]
[[pl:Burak]]
[[pt:Beterraba]]
[[ru:Свёкла]]
[[th:บีทรูท]]
[[uk:Буряк]]
[[zh:甜菜根]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Calculating signal strength from items

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

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

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

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

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

;Calculating items from signal strength

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

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

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

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

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

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

;{{BlockLink|Cake}}

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

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

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

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

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

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

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

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

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

;{{BlockLink|End Portal Frame}}

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

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

;{{EntityLink|Item Frame}}

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

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

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

;{{BlockLink|Jukebox}}

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

;{{BlockLink|Lectern}}

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

;{{BlockLink|Respawn Anchor}}

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

;{{BlockLink|Sculk Sensor}}

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

;{{BlockLink|Chiseled Bookshelf}}

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

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

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

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
Added /whitelist.
release
1.3.1
{{Extension DPL}}<ul><li>[[Book and Quill|Book and Quill]]<br/>{{For|the item produced after a Book and Quill is signed|Written Book}}
{{Item
| image = Book and Quill.png
| renewable = Yes 
| stackable = No
}}

A '''book and quill''' is an [[item]] used to write [[written book]]s.

== Obtaining ==

=== Crafting ===

{{Crafting
|Book
|Ink Sac
|Feather
|Output= Book and Quill
|type= Miscellaneous
}}

=== Natural generation ===

{{LootChestItem|book-and-quill}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Writing ===

By pressing {{control|use item}} or long pressing screen anywhere{{only|bedrock}} while holding a book and quill in their hand, the [[player]] can open a text editor GUI.

Using this GUI, the player can write a single book up to 100{{only|java}} or 50{{only|bedrock}} pages long, with up to 798 characters per page. The player can write up to 79,800{{only|java}} or 12,800{{only|bedrock}} characters inside the entire book. No page may be longer than 14 lines and each line can have a width of 114 pixels (see pixel width of each character [[Language#Font|here]]). 

The player has the ability to copy and paste into books. However, the paste does not work if the text being pasted is longer than a single page. Most Unicode characters are available in books, and they may be pasted in without issue.

In singleplayer, the world pauses while a book is being edited.{{only|java}}

=== Lecterns ===

One can place a book and quill or a [[written book]] on an empty [[lectern]].

The lectern then emits a redstone signal depending on the displayed page in the book. On the last page, the lectern emits a signal strength of 15. This is why lecterns are listed in the "redstone" tab in the [[creative inventory]].

=== Formatting codes ===
{{main|Formatting codes}}
{{exclusive|bedrock|section=1}}

Text in a book can be styled using codes starting with the {{key|§}} character (section sign).
* {{key|§}} + {{key|k}} creates randomly changing characters.
* {{key|§}} + {{key|l}} creates bold text.
* {{key|§}} + {{key|m}} creates strikethrough text.
* {{key|§}} + {{key|n}} creates underlined text.
* {{key|§}} + {{key|o}} creates italic text.
* {{key|§}} + {{key|0}} – {{key|f}} (hexadecimal) creates colored text. 
* {{key|§}} + {{key|r}} resets any of the previous styles so text after it appears normally.

If the [[player]] uses multiple codes, and continue typing past the end of a line, the next line exhibits only the last formatting code used.

=== Signing ===

Books can be signed by pressing the "Sign" button while in the interface. {{IN|java}}, when signed, a book bears the name of the player who wrote it and a title chosen upon signing. {{IN|bedrock}}, the book doesn't display the name of the player as the author; instead, the author can be any text the player wants. After it has been signed, it cannot be edited again – it has turned into a [[written book]].

Special characters can be used in the title, if typed from a keyboard that supports them. Alt codes do not work, and the {{key|§}} character cannot be typed even using a keyboard that implements it, meaning titles cannot be colored or formatted in-game. However, on Linux using the compose key to produce special characters does work.

The title of the book can be up to 16 characters long, and the player cannot paste into a title. A "workaround" for the 16-character limitation is to manually rename the book at an [[Anvil#Renaming|anvil]], which always costs 1 [[Experience|experience level]]. This can be done with either a written book or a book and quill – both versions will always display the changed name. If a custom name is removed from a written book, it will revert back to the title it was given during the signing process.

=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having a book and quill in the main hand will put the book inside the chiseled bookshelf.

=== Trading ===
{{IN|bedrock}}, expert-level librarian [[villager]]s buy 2 books and quills for one [[emerald]]. Book and quill is offered in two item slots due to being non-stackable.

{{IN|java}}, expert-level librarian villagers have a 50% chance to buy 2 books and quills for one emerald. The amount of books and quills needed is supposed to be 2, but due to the item being non-stackable, only one is needed for the trade.<ref>{{bug|MC-248042||Librarian's book and quill trade is always discounted to 1 since books are unstackable}}</ref>

== Sounds ==
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|subtitle=Page rustles
|source=master
|description=When the page of a book is turned
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Page rustles
|source=block
|description=When the page of a book is turned on a lectern
|id=item.book.page_turn
|translationkey=subtitles.item.book.page_turn
|volume=2.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|subtitle=Book thumps
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|translationkey=subtitles.item.book.put
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|subtitle=Book placed
|source=block
|description=When a book and quill is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert
|translationkey=subtitles.chiseled_bookshelf.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|subtitle=Book taken
|source=block
|description=When a book and quill is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup
|translationkey=subtitles.chiseled_bookshelf.take
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|source=sound
|description=When the page of a book is turned
|id=item.book.page_turn
|volume=2.0
|pitch=1.0}}
{{Sound table
|sound=Book thump1.ogg
|sound2=Book thump2.ogg
|source=block
|description=When a book is placed on a lectern
|id=item.book.put
|volume=4.8
|pitch=1.0}}
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert1.ogg
|sound2=Chiseled bookshelf insert2.ogg
|sound3=Chiseled bookshelf insert3.ogg
|sound4=Chiseled bookshelf insert4.ogg
|source=block
|description=When a book and quill is placed in a chiseled bookshelf
|id=insert.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup1.ogg
|sound2=Chiseled bookshelf pickup2.ogg
|sound3=Chiseled bookshelf pickup3.ogg
|source=block
|description=When a book and quill is removed from a chiseled bookshelf
|id=pickup.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Book and Quill
|spritetype=item
|nameid=writable_book
|itemtags=bookshelf_books, lectern_books
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Book and Quill
|spritetype=item
|nameid=writable_book
|id=510
|itemtags=minecraft:bookshelf_books, minecraft:lectern_books
|form=item
|foot=1}}

=== Item data ===

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

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

== Video ==

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

== History ==

{{History|java}}
{{History||1.3.1|snap=12w17a|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History||1.7.2|snap=13w36a|Books and quills can now be crafted with a [[written book]] to clone the written book.}}
{{History||1.8|snap=14w05a|Copying written books now mark them as "Copy of Original" or "Copy of Copy".
|The copying status of a book is now denoted in a separate line in the tooltip, beneath the author's name.
|Copies of copies cannot be copied.}}
{{History|||snap=14w25a|Books and quills now use JSON text components instead of plain text with the new <code>pages</code> tag
|Book and quills are now capable of using the <code>clickEvent</code> and <code>hoverEvent</code> tags.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 386.}}
{{History||1.14|snap=18w43a|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.
|Added support for editing anywhere in the book and quill.<ref name="MC-1578">{{bug|MC-1578}}</ref>
|Books and quills now have copy/paste support.<ref name="MC-1578"></ref>
|The page limit of books and quills has now been increased from 50 to 100 pages.}}
{{History|||snap=19w11a|Librarian [[villager]]s now [[trading|buy]] books and quills instead of written books.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Books and quills can now interact with [[chiseled bookshelves]].}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History||1.4.0|snap=beta 1.2.14.2|Books and quills can now be found inside [[buried treasure]] [[chest]]s.}}
{{History||1.6.0|snap=beta 1.6.0.1|Pages within books and quills can now be turned using the controller bumper buttons.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Books and quills can now be [[trading|sold]] to librarian [[villager]]s.}}

{{History|console}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|wiiu=Patch 1|switch=1.0.1|[[File:Book and Quill JE1 BE1.png|32px]] Added books and quills.}}
{{History|PS4}}
{{History||1.90|[[File:Book and Quill JE2 BE2.png|32px]] The texture of books and quills has now been changed.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The in-game restrictions on books are not hard limits. Third party editors or commands can make books have more than 100 pages{{only|java}} (2,147,483,639 pages), more than 256 characters per page (32,767 characters per page), can change author names, and can have colored titles, among other things. These books still function properly in vanilla ''Minecraft'', meaning the [[player]] may encounter such books on adventure maps or multiplayer servers.<ref>http://www.minecraftforum.net/topic/1189266-hacking-books</ref>
* If the player renames a book and quill in an anvil before signing it, it retains the name from the anvil instead of taking the name from signing.{{only|java}}

== Gallery ==
<gallery>
Jeb book.png|The first image of a book seen.<ref>https://web.archive.org/web/20120427014334/https://www.mojang.com/2012/04/minecraft-snapshot-12w17a/</ref>
Book and Quill Writing.png|The GUI of writing a book.
Book and Quill Signing.png|The GUI of signing a book.
Written Book tooltip.png|A signed book.
BookandQuillOperators12w17a.png|Display of styles used in a book. "e" and "f" are difficult to see.
Book and Quill in Pocket Edition.jpg|A book and quill {{in|be}}.
Java book and quill example with text.png|An example of text in a book and quill in [[Java Edition]].
Better Together Book.jpg|A book and quill in ''Bedrock Edition''.
</gallery>

== References ==
{{Reflist}}

== External links ==
* [http://www.minecraftforum.net/topic/1498339-132ssp-bookshop-your-books-anywhere/ Bookshop - Book Sharing And Editing Tool]
* [http://fsymbols.com/generators/wide/ Full-Width Text Generator]
* [http://fsymbols.com/generators/smallcaps/ Small Caps Text Generator]
* [http://www.minecraftforum.net/topic/1202590-revise-edit-signed-books-w-more-options-all-os-12w17a/ Revise - External Book Editor]

== See also ==
* [[Book]]
* [[Bookshelf]]
* [[Written Book]]

{{Items}}

[[Category:Renewable resources]]

[[cs:Rozepsaná kniha s brkem]]
[[de:Buch und Feder]]
[[el:Βιβλίο και Πένα]]
[[es:Libro y pluma]]
[[fr:Livre vierge]]
[[hu:Könyv és toll]]
[[it:Libro e penna]]
[[ja:本と羽根ペン]]
[[ko:책과 깃펜]]
[[nl:Boek en veer]]
[[pl:Książka z piórem]]
[[pt:Livro e pena]]
[[ru:Книга с пером]]
[[th:หนังสือกับปากกาขนนก]]
[[uk:Книга з пером]]
[[zh:书与笔]]</li><li>[[Apple|Apple]]<br/>{{for}}
{{Item
| title = Apple
| image = Apple.png
| renewable = Yes
| heals = {{hunger|4}}
| stackable = Yes (64)
}}

'''Apples''' are [[food]] items that can be eaten by the [[player]].

== Obtaining ==

=== Block loot ===

Oak and dark oak [[leaves]] have 0.5% ({{frac|1|200}}) chance of dropping an apple when decayed or broken, but not if burned. Breaking leaves with a [[tool]] enchanted with the [[Fortune]] enchantment increases the chances of dropping an apple: 0.556% ({{frac|1|180}}) with Fortune I, 0.625% ({{frac|1|160}}) with Fortune II, and 0.833% ({{frac|1|120}}) with Fortune III.

=== Chest loot ===

{{LootChestItem|apple}}

=== Trading ===

Apprentice-level [[Trading#Farmer|farmer]] [[Villager|villagers]] have a 50% ({{frac|1|2}}){{only|bedrock}} or 66.7% ({{frac|2|3}}){{only|java}} chance of selling 4 apples as part of their trades.

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

To eat an apple, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|4}} [[hunger]] and 2.4 [[Hunger#Mechanics|saturation]].

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

=== Composting ===
Placing an apple into a [[composter]] has a 65% ({{frac|13|20}}) chance of raising the compost level by 1.

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

=== ID ===

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Apple
|spritetype=item
|nameid=apple
|id=257
|form=item
|foot=1}}

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

== History ==

{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Apple JE1 BE1.png|32px]] Added apples. 
|Apples are currently non-functional in this version.}}
{{History|||snap=20100110|Apples are now functional and are edible, restoring {{hp|2}}. They are intended to replace [[mushroom]]s, which were previously edible.}}
{{History|||snap=20100128|Apples now used to [[craft]] [[arrow]]s.}}
{{History|||snap=20100129|Apples no longer used to craft [[arrow]]s.}}
{{History||20100206|Apples now use the texture of [[golden helmet]]s.}}
{{History|java infdev}}
{{History||February 23, 2010|link=none|At the bottom of a [[crafting]] guide they made, a player named JTE jokingly indicated that [[Notch]] dropped an apple when killed, and that apples could be crafted into something called a "[[golden apple]]" – this was a joke on the fact that apples were totally unobtainable.<ref>http://www.minecraftforum.net/topic/2750582-the-secret-history-of-minecraft/</ref><ref name="JTECraftingGuide">https://echidnatribe.org/Minecraft/crafting.php (This is an unofficial recreation with the original domain)</ref>}}
{{History||20100227-1|Players named "[[Notch]]" now drop an apple when they die in addition to their [[inventory]].
|Apples are now used to craft golden apples.
|Apples now correctly use the apple texture again.}}
{{History||20100327|With the addition of the respawn feature, apples have become legitimately obtainable in Survival and renewable for players named "Notch".}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Apples can now be found in the new [[stronghold]] storeroom [[chest]]s, making them obtainable in normal [[Survival]] gameplay for the first time.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.
|Apples are now stackable.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Apples are now found in the new stronghold altar chests.}}
{{History||1.1|snap=11w48a|Oak [[leaves]] now have a 1/200 chance of dropping an apple when destroyed, making apples fully [[renewable]].}}
{{History|||snap=12w01a|Apples are now found in the new [[village]] blacksmith chests.}}
{{History||1.3.1|snap=12w16a|Apples can now be found in the new [[bonus chest]]s.}}
{{History|||snap=12w18a|"[[Notch]]" players no longer drop apples when they die.}}
{{History|||snap=12w21a|Farmer [[villager]]s now [[trade|sell]] 5 apples for 1 [[emerald]].
|Apples are now used to craft [[enchanted golden apple]]s.}}
{{History||1.4.2|snap=12w37a|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the [[item]] sprite no longer has a dark outline and now has a more detailed look.}}
{{History||1.5|snap=13w09b|The [[Fortune]] enchantment now increases the chance of dropping apples.}}
{{History||1.7.2|snap=13w43a|Added [[dark oak]] leaves, which drop apples.}}
{{history||1.9|snap=15w43a|Apples may now be found in [[igloo]] basement chests.}}
{{history|||snap=15w44a|Average yield of apples has been slightly increased in bonus chests.
|Apples can no longer be used to craft enchanted golden apples.}}
{{History||1.11|snap=16w33a|Farmer villagers now sell 5–7 apples for 1 emerald.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this item's numeral ID was 260.}}
{{History||1.14|snap=18w43a|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}
{{History|||snap=18w48a|Apples can now be found in [[chest]]s in [[plains]] village houses.}}
{{History|||snap=19w03a|Placing an apple into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Apples now have a 65% chance of increasing the compost level in a composter by 1.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Apple JE1 BE1.png|32px]] Added apples.}}
{{History||v0.5.0|Apples now restore {{hp|4}} instead of {{hp|2}}.}}
{{History||v0.8.0|snap=build 1|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the item sprite no longer has a dark outline and now has a more detailed look.}}
{{History||v0.12.1|snap=build 1|Added apples to the [[Creative inventory]].
|Apples are now stackable.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.
|The [[Fortune]] [[enchantment]] can now be used to increase chance of dropping apples.
|Apples can now be used to craft golden apples and enchanted golden apples.}}
{{History||v0.15.0|snap=build 1|Apples can now be used to feed [[horse]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Apples can now be found inside [[igloo]] chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer villagers now sell 5-7 apples for 1 emerald.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Apples can no longer be used to craft enchanted golden apples.
|Apples can now be found inside bonus chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Apples can now be found in [[plains]] village weaponsmith chests and plains house chests.
|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Apples can now be found in [[desert]], [[savanna]], [[taiga]] and [[snowy taiga]] village weaponsmith chests.
|Apples can now be used to fill up composters.}}
{{History|||snap=beta 1.11.0.4|Farmer villagers now sell 4 apples as part of their second tier trades.}}

{{History|console}}
{{History||xbox=TU1|wiiu=Patch 1|[[File:Apple JE1 BE1.png|32px]] Added apples.}}
{{History||xbox=TU5|Apples are now stackable.
|Apples now restore {{hunger|4}} instead of {{hp|4}}.}}
{{History||xbox=TU12|ps=1.03|[[File:Apple JE2 BE2.png|32px]] The apple's texture has been changed: the item sprite no longer has a dark outline and now has a more detailed look.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Apple JE3 BE3.png|32px]] The texture of apples has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Apple JE2 BE2.png|32px]] Added apples.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
*Prior to the texture update in Java Edition 1.4.2, the sprite of the apple was the same one used in [[Notch]]'s game ''[[Legend of the Chambered]]''.
*Before it was added to ''Minecraft'', apples dropping from trees was already a feature in ''[[Minicraft]]''.

== Gallery ==
<gallery>
Apple in Stronghold.png|An apple found in a stronghold chest.
Apple Item.png|An apple that dropped from decaying leaves.
Obtaining an apple by trading.png|Obtaining apples via villager trading.
File:Candy Apple (Trails and Tales Summer Event) Render.png|The Candy Apple, an item featured in the [[Trails & Tales Event]].
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-apple Taking Inventory: Apple] – Minecraft.net on November 23, 2018

{{items}}

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

[[cs:Jablko]]
[[de:Apfel]]
[[es:Manzana]]
[[fr:Pomme]]
[[hu:Alma]]
[[it:Mela]]
[[ja:リンゴ]]
[[ko:사과]]
[[nl:Appel]]
[[pl:Jabłko]]
[[pt:Maçã]]
[[ru:Яблоко]]
[[th:แอปเปิ้ล]]
[[uk:Яблуко]]
[[zh:苹果]]</li></ul>
12w16aAdded cheats mode and /gamemode, /give, /time, /toggledownfall, and /xp.
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.
?Added /me.
1.4.2
{{Extension DPL}}<ul><li>[[Minecart with Chest|Minecart with Chest]]<br/>{{ItemEntity
|image=Minecart with Chest.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops=1 {{ItemLink|Minecart with Chest}}<br> plus contents
|health={{hp|6}}
}}

A '''minecart with chest''' is a single [[chest]] inside a [[minecart]], and functions as such.

== Natural generation ==
Minecarts with chests containing loot naturally generate in [[mineshaft]]s, each on top of a piece of [[rail]].

== Obtaining ==
=== Crafting ===
{{Crafting|Chest|Minecart|Output=Minecart with Chest|type=Transportation}}

Minecarts with chests can be retrieved by attacking them. By doing so it drops as an [[item]] and any other contents of the chest are dropped as well.

==Usage==
[[File:Minecart with Chest GUI.png|thumb|176px|The GUI of a minecart with chest.]]
Minecarts with chests can be placed by {{control|use item|text=using its item}} on any type of [[rail]].

Chest minecarts' contents can be accessed by pressing {{control|use item}} button on them. The interaction makes no sounds and the chest does not show the opening or closing animation, unlike regular chests.

The boost that minecarts with chests gain from [[powered rail]]s is dependent on their load. For example, from a 1 powered rail starter track, an empty minecart with chest travels 64 blocks, but a full minecart with chest travels only 16 blocks (opposed to 80 blocks for an occupied normal minecart and 8 blocks for an empty normal minecart).

Another physical property of chest minecarts is their ability to be stacked. While three chests can fit in an area three blocks tall, up to four chest minecarts can fit in the same area. Like other minecarts, an unlimited number of minecarts with chests can exist in the same block space.

Minecarts with chests are also able to interact with [[hopper]]s. Hoppers can take items out from the minecart chest if they are below the track as the minecart rolls over it or put them in if the minecart rolls under a downward facing hopper. Hoppers can also input items if they are facing into the side of the minecart.

Opening or destroying a minecart with chest angers [[piglin]]s.

{{See also|Tutorials/Storage minecarts}}

When on top of [[detector rail]]s, nearby [[redstone comparators]] will give out redstone signals based on how full the minecarts with chests are.

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=item
|nameid=chest_minecart
|id=389
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=entity
|nameid=chest_minecart
|id=98
|foot=1}}

===Entity data===
Minecarts with chests 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|Freight Station}}

== Video==

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

==History ==
[[File:Minecart with Chest BE3.png|thumb|The Minecart models in the Bedrock Edition were north or south on the sides. In the latest version, the front and rear sides are north or south. But the absolute orientation of the chest was not changed.]]
{{info needed section|In bedrock edition 1.16.100 it seems that chests in minecarts face sideways instead of forward - when was this changed?}}
{{History|java alpha}}
{{History||v1.0.14|[[File:Minecart with Chest JE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Minecarts with chests have been added.
|At this point, they are either called "chest minecarts" or "storage minecarts" because no in-game name was indicated.}}
{{History|java beta}}
{{History||1.0|"Minecart with Chest" has been first indicated as its name, via the new item tooltips.}}
{{History||1.8|snap=Pre-release|[[File:Minecart with Chest JE2.png|32px]] The [[model]] of the minecart with chest has been changed to match the new [[chest]] model. However, the [[chest]] is incorrectly offset.<ref>[[mcw:Issues/Beta 1.8pre2#Graphical]]</ref>}}
{{History|||snap=release|[[File:Minecart with Chest JE3 BE1.png|32px]] The model of minecarts with chests has been fixed.}}
{{History|java}}
{{History||1.5|snap=13w02a|Minecarts with chests now generate in [[mineshaft]]s in place of normal chests.}}
{{History||1.9|snap=15w43a|[[Loot table]]s have been added; minecarts with chests now use loot tables, and those in generated in [[mineshaft]]s now use loot tables.}}
{{History||1.9.1|snap=pre2|The title of the [[inventory]] has been changed from 'Chest minecart' to 'Minecart with Chest'.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartChest</code> to <code>chest_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 342.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}
{{History||1.16.2|snap=Pre-release 1|[[Piglin]]s now become angry with players who open or destroy a chest minecart.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with chest is now shapeless.
|Breaking a minecart with chest will now drop the item instead of the minecart and chest separately, though the contents of the chest are still dropped.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Minecart with Chest JE3 BE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Added minecarts with chests.}}
{{History|||snap=build 3|Minecarts with chests now drop [[item]]s when destroyed in [[Creative]] mode.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|The [[entity]] ID has been changed from <code>minecartchest</code> to <code>chest_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}
{{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with chest will now drop the item instead of the minecart and chest separately, though the contents of the chest are still dropped.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Chest JE3 BE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Added minecarts with chests.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Minecart_with_Chest_JE3_BE1.png|32px]] [[File:Minecart_with_Chest_(item)_JE1_BE1.png|32px]] Added minecarts with chests.
|Minecarts with chests emit smoke [[particles]] when destroyed.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery ==
<gallery>
Compact Minecart Storage.png|A compact storage using chest minecarts (left) compared to chest storage in the same volume. Notice how chests cannot be placed next to each other, which is no longer the case after Java Edition 1.13.
GlitchedMinecartChest.png|This minecart with chest is trapped inside a block, due to a [[stronghold]] and a [[mineshaft]] that generated partially overlapping.
Minecartportal.png|A minecart with chest generated on top of an [[end portal frame]], because there is a mineshaft behind the wall.
Chest Minecart Stack.png|A large stack of chest minecarts.
</gallery>

==References==
{{Reflist}}

{{items}}
{{entities}}

[[Category:Mechanics]]
[[Category:Storage]]

[[cs:Nákladní vozík]]
[[de:Güterlore]]
[[es:Vagoneta con cofre]]
[[fr:Wagonnet de stockage]]
[[hu:Tárolócsille]]
[[it:Carrello da miniera]]
[[ja:チェスト付きのトロッコ]]
[[ko:상자가 실린 광산 수레]]
[[nl:Mijnkar met kist]]
[[pl:Wagonik ze skrzynią]]
[[pt:Carrinho de mina com baú]]
[[ru:Вагонетка с сундуком]]
[[uk:Вагонетка зі скринею]]
[[zh:运输矿车]]</li><li>[[Recovery Compass|Recovery Compass]]<br/>{{About|the item used to point to the location of the player's last death|the item used to point to the world spawn or to a lodestone|Compass}}
{{Item
| image = Recovery Compass.gif
| renewable = No
| stackable = Yes (64)
}}

A '''recovery compass''' is an item used to point to the location of the [[Player|player's]] last death.

== Obtaining ==

=== Crafting ===
{{Crafting
|A1= Echo Shard |B1= Echo Shard   |C1= Echo Shard
|A2= Echo Shard |B2= Compass      |C2= Echo Shard
|A3= Echo Shard |B3= Echo Shard   |C3= Echo Shard
|Output= Recovery Compass
|type= Tool
}}

== Usage ==
When held by a player, the recovery compass will point towards the spot where they previously died.

The recovery compass will only work when it is held by a player who has previously died and is in the same dimension as their last death. Otherwise, it will spin around randomly.

Like other items, the recovery compass itself will still drop when a player dies and the <code>keepInventory</code> [[game rule]] is not enabled.

This item is useless on Hardcore mode, as once the player dies, the player cannot respawn.

=== Enchantments ===

A recovery compass can receive the following [[enchantment]]s:
{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Curse of Vanishing]]{{only|bedrock|short=1}}
|I
|{{Inventory slot|Anvil}}
|-
|}

== Data values ==
{{Missing information|section|data values for Bedrock Edition|type=data}}

=== ID ===
[[Java Edition|''Java Edition'']]:
{{ID table|edition=java|displayname=Recovery Compass|nameid=recovery_compass|translationkey=item.minecraft.recovery_compass|generatetranslationkeys=y|showforms=y|spritetype=item|form=item|foot=1}}

==History==
{{History|java}}
{{History||1.19|snap=22w14a|[[File:Recovery Compass JE1 BE1.gif|32px]] Added recovery compasses.}}
{{History|||snap=22w15a|Recovery compasses can no longer be used on [[lodestone]]s and can no longer be enchanted with [[Curse of Vanishing]].}}
{{History|bedrock}}
{{History||1.19.0|snap=beta 1.19.0.24|[[File:Recovery Compass JE1 BE1.gif|32px]] Added recovery compasses.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery==
<gallery>
File:Recovery Compass In An Item Frame.jpg|Recovery Compass.<ref>{{tweet|kingbdogz|1511751971673419782|Tell us what you think of the new Recovery Compass! We're hoping it improves how rewarding it feels to obtain Ancient City loot. Despite that, how do you feel about it? Will you use it? If so, how? What situations would you use it instead of just trying to remember?|April 6, 2022}}</ref>
</gallery>

==References==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--recovery-compass Taking Inventory:Recovery Compass] – Minecraft.net on January 19, 2023

{{Items}}

[[Category:Tools]]
[[Category:Non-renewable resources]]

[[de:Bergungskompass]]
[[es:Brújula de recuperación]]
[[fr:Boussole de récupération]]
[[ja:リカバリーコンパス]]
[[pl:Kompas powrotny]]
[[pt:Bússola de retomada]]
[[ru:Компас восстановления]]
[[th:เข็มทิศกู้คืน]]
[[uk:Компас відновлення]]
[[zh:追溯指针]]</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>[[Carrot on a Stick|Carrot on a Stick]]<br/>{{Item
| image = Carrot on a Stick.png
| rarity = Common
| renewable = Yes
| durability = 25
| stackable = No
}}
A '''carrot on a stick''' is an item that can be used to control saddled [[pig]]s.

== Obtaining ==

=== Crafting ===

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

== Usage ==

=== Riding a pig ===

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

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

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

=== Enchantments ===

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

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

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

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

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

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

== Video ==

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

== History ==

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Mrkev na prutu]]
[[de:Karottenrute]]
[[es:Caña con zanahoria]]
[[fr:Carotte sur un bâton]]
[[hu:Répa horgászboton]]
[[it:Bastone e carota]]
[[ja:ニンジン付きの棒]]
[[ko:당근 낚싯대]]
[[nl:Wortel aan een stok]]
[[pl:Marchewka na patyku]]
[[pt:Vara com cenoura]]
[[ru:Удочка с морковью]]
[[th:แคร์รอตติดเบ็ด]]
[[uk:Морква на паличці]]
[[zh:胡萝卜钓竿]]</li><li>[[Raw Cod|Raw Cod]]<br/>{{about|the item|the mob|Cod}}
{{redirect|Raw Fish|raw salmon|Raw Salmon|pufferfish|Pufferfish (item)|tropical fish/clownfish|Tropical fish (item)}}
{{Item
| image = Raw Cod.png
| renewable = Yes
| heals = {{hunger|2}}
| stackable = Yes (64)
}}

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

== Obtaining ==

=== Mob loot ===

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

==== Dolphins ====
When killed, [[Dolphin|dolphins]] drop 0–1 raw cod. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 0-4 with Looting III. If killed while on fire, they drop cooked cod instead.

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

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

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

==== Polar bears ====

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

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

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

Catching cod awards 1-6 experience.

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

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

== Usage ==

=== Smelting ingredient ===

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

=== Food ===

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

=== Cats ===

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

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

=== Dolphins ===

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

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

===Trading===

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

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

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

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

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

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

== Achievements ==

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

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

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

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

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

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

== Issues ==

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

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

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

== References ==
{{reflist}}

{{items}}

[[de:Roher Kabeljau]]
[[es:Bacalao crudo]]
[[ja:生鱈]]
[[ko:생대구]]
[[pt:Bacalhau cru]]
[[ru:Сырая треска]]
[[zh:生鳕鱼]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul></nowiki>
1.4.4-preAdded /enchant.
1.5
{{Extension DPL}}<ul><li>[[Minecart with Furnace|Minecart with Furnace]]<br/>{{ItemEntity
|image=Minecart with Furnace.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid=10
|drops= 1 {{ItemLink|Minecart with Furnace}}
|health={{Hp|6}}
}}

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

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

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

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

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

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

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

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

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

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

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

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

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

Pulling a minecart with TNT causes it to explode.

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

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

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

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

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

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

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

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

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

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

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

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

==Issues==
{{issue list}}

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

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

==References==
{{reflist}}

{{Items}}
{{Entities}}

[[Category:Mechanics]]

[[cs:Parní vozík]]
[[de:Antriebslore]]
[[es:Vagoneta con horno]]
[[fr:Wagonnet motorisé]]
[[hu:Gőzmeghajtású csille]]
[[ja:かまど付きのトロッコ]]
[[ko:화로가 실린 광산 수레]]
[[nl:Mijnkar met oven]]
[[pl:Wagonik z piecem]]
[[ru:Вагонетка с печью]]
[[uk:Вагонетка з піччю]]
[[zh:动力矿车]]</li><li>[[Bundle|Bundle]]<br/>{{Experimental feature|bundle}}
{{planned|BE}}
{{Item
| image = Bundle.png
| image2 = Bundle Filled.png
| rarity = Common
| renewable = No
| stackable = No
}}

A '''bundle''' is an [[item]] that can store up to a stack's worth of mixed [[item]] types within itself in a single [[inventory]] slot. Items that stack to 16 occupy more space within the bundle, and items that do not stack occupy the entire bundle without allowing space for any other items.

== Obtaining ==

=== Crafting ===
{{Crafting
  |showdescription=1
  |A1=String      |B1=Rabbit Hide |C1=String 
  |A2=Rabbit Hide                 |C2=Rabbit Hide
  |A3=Rabbit Hide |B3=Rabbit Hide |C3=Rabbit Hide
  |Output=Bundle
  |type=Tool
  |description={{OnlyExperimental|bundle}}
}}

== Usage ==
<!--The tooltip does not reflect the current bundle "tooltip"-->
{{FakeImage|style=max-width:250px;
|1={{Slot|Stick,64}}{{Slot|Ender Pearl,16}}{{Slot|Iron Sword}}<br>{{Slot|Stick,1}}{{Slot|Ender Pearl,4}}{{Slot|Iron Sword,64}}<br>{{Slot|Filled Bundle[Stick x32/Ender Pearl x8]| title = Bundle|link=none}}
|2=Item stack sizes (top row) and the number of bundle slots they take up (middle row). Sticks stack to 64, so they take up one bundle slot; ender pearls stack to 16, so they take up four; and swords do not stack, so they take up the whole bundle. So, for instance, a bundle may have 32 sticks and 8 ender pearls inside (bottom), which take up a total of {{Tooltip|(32×1)|32 Sticks}}+{{Tooltip|(8×4)|8 Ender Pearls}}=64 bundle slots.
}}
Bundles are used to store different [[item|item type]]s in the same [[inventory]] slot. This does not, however, increase the total capacity of the slot: each bundle has 64 "bundle slots" and each item placed in the bundle takes up these slots similar to how they take up space in a normal inventory slot: items that stack to 64 take up 1 bundle slot, items that stack to 16 (for example, [[egg]]s) take up 4, and items that do not stack (such as tools/weapons/armor) take up the whole bundle, all 64 slots.

Although bundles themselves cannot be stacked, a bundle can be placed inside another (nested): the inner bundle itself uses 4 slots plus the number of slots already occupied by the items in that bundle.<ref>{{bug|MC-203567||Bundles can be placed inside of bundles|WAI}}</ref>  

To place items inside a bundle, either (1) pick up the bundle in the inventory and right-click on the item(s) to be placed inside or (2) pick up the item(s) and right-click on the bundle. When placing bundles inside another bundle, the interface uses the first method: picking up Bundle A and right clicking on Bundle B attempts to store Bundle B inside A.  

Bundles can be {{ctrl|used}} inside the inventory to take out the last item put in. In this way, items are accessible LIFO (last in, first out). When {{ctrl|used}} outside the inventory, it dumps all the items out into the world.

Hovering over the bundle shows its contained items in its inventory slots. The number of bundle slots used is displayed as ''<fullness>''/64 in the tooltip. If the bundle is full, then the empty slots are greyed out with an <span class="invslot">{{SlotSprite|Bundle full}}</span>.

[[Shulker box]]es cannot be placed inside of bundles.

[[File:MinecraftBundle.jpg|thumb|Hovering the mouse over a bundle filled with mob loot, nearly full, with 61 items.]]

== Sounds ==
{{Sound table
|sound=Bundle drop contents1.ogg
|sound2=Bundle drop contents2.ogg
|sound3=Bundle drop contents3.ogg
|subtitle=Bundle empties
|source=player
|description=When a bundle's items are thrown onto the ground
|id=item.bundle.drop_contents
|translationkey=subtitles.item.bundle.drop_contents
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 0.8-1.2 or 0.76-1.14 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Bundle insert1.ogg
|sound2=Bundle insert2.ogg
|sound3=Bundle insert3.ogg
|subtitle=Item packed
|source=player
|description=When items are placed into a bundle
|id=item.bundle.insert
|translationkey=subtitles.item.bundle.insert
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 0.8-1.2, 0.76-1.14, or 0.84-1.26 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Bundle remove one1.ogg
|sound2=Bundle remove one2.ogg
|sound3=Bundle remove one3.ogg
|subtitle=Item unpacked
|source=player
|description=When items are removed from a bundle
|id=item.bundle.remove_one
|translationkey=subtitles.item.bundle.remove_one
|volume=0.8
|pitch=''varies' <ref group=sound>Can be 0.8-1.2, 0.84-1.26, or 0.88-1.32 for each sound</ref>
|distance=16
|foot=1}}

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

=== Item data ===

<div class="treeview" style="margin-top: 0;">
* {{nbt|compound|tag}}: The '''tag''' tag.
{{:Player.dat_format/Bundle}}
</div>
== History ==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=1846s}}|[[File:Bundle JE1.png|32px]][[File:Bundle Filled JE1.png|32px]] Bundles are revealed at [[Minecraft Live 2020]]. Hovering over them shows all items inside scattered around a large area, and incomplete bundles have the empty texture.}}
{{History||October 16, 2021|link=https://clips.twitch.tv/AffluentEncouragingOryxPeteZaroll-cd8pIapkfD4PRHxO|Ulraf, a game developer on ''Minecraft'', states that bundles will not be included in [[Caves & Cliffs]].}}
{{History||November 17, 2021|link=https://www.minecraft.net/en-us/article/caves---cliffs-update-part-ii-coming|Bundles are announced to be added after [[The Wild Update]].}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Bundle JE1.png|32px]][[File:Bundle Filled JE1.png|32px]] Added bundles. Hovering over them shows some of the items contained and their quantities, much like the tooltip of a [[shulker box]]. Incomplete bundles have the full texture.}}
{{History|||snap=20w46a|[[File:Bundle JE2.png|32px]][[File:Bundle Filled JE2.png|32px]] The textures of bundles have been changed.
|Hovering over bundles now shows its contained items in special slots, similar to slots in the [[inventory]]. If the bundle is not full, it also has an empty slot with a plus on it.}}
{{History|||snap=20w48a|Bundles now show fullness as a number when [[advanced tooltips]] are enabled.
|{{ctrl|Using}} a bundle in the inventory now empties one item from the bundle instead of emptying all the contents out to the [[inventory]].
|{{ctrl|Using}} a bundle now throws out its entire content into the world.}}
{{History|||snap=20w49a|Bundle fullness is now always shown.
|Full bundles now show the blue bar instead of hiding it, to distinguish from empty bundles.}}
{{History|||snap=20w51a|Bundles now drop its contents when destroyed as an [[Item (entity)|item entity]].
|Bundle fullness has been changed from <code>Fullness: ''<fullness>'' / 64</code> to <code>''<fullness>''/64</code>
|The slots in the tooltip when hovering over bundles have changed to have a border, and rows of slot have a thicker edge between them.
|When the bundle is not full, it instead shows empty slots instead of one slot with a plus. When it is full, those empty slots become greyed out with an X.}}
{{History|||snap=21w05a|The player now receives a tutorial when first having a bundle in the inventory.}}
{{History|||snap=21w19a|Bundles are now accessible only through commands.}}
{{History||1.18|snap=Experimental Snapshot 1|Bundles are now available in the creative inventory and can be crafted once again.}}
{{History|||snap=21w37a|Bundles are once again accessible only through commands.}}
{{History||1.19.3|snap=22w42a|Bundles have been made available once again, and have been moved behind their own datapack.}}
{{h|bedrock}} 
{{h||1.19.50|snap=beta 1.19.50.21|Added bundle GUI textures in the Vanilla Packs.}} 
{{History|foot}}

== Issues ==
{{Issue list}}

== Gallery ==
<gallery>
JE 1.17 Development Bundle.png|The original bundle UI
Bundle in Inventory.jpg|A bundle inventory in the inventory
</gallery>

== References ==
{{Reflist}}

{{Items}}

[[Category:Storage]]
[[Category:Tools]]
[[Category:Renewable resources]]

[[de:Bündel]]
[[es:Saco]]
[[fr:Sac]]
[[ja:バンドル]]
[[pl:Sakwa]]
[[pt:Trouxa]]
[[ru:Мешок]]
[[zh:收纳袋]]</li></ul>
13w03aAdded /testfor.
13w04aAdded /scoreboard.
13w09bAdded /effect.
1.6.1
{{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>[[Sugar Cane|Sugar Cane]]<br/>{{Block
|image=Sugar Cane.png
|image2=Sugar Cane (item) JE3.png
|extratext = View all [[#Gallery|renders]]
|transparent=Yes
|light=No
|tool=any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
}}

'''Sugar cane''' is a block found as 1–4-block-tall. It plants near water in the [[Overworld]]. As an item, it is an important crafting ingredient.

==Obtaining==
Sugar cane can be mined instantly with anything.

When the spot a sugar cane block is placed in becomes unsuitable, such as when the supporting block is removed, the sugar cane block uproots and drops as an item. {{IN|be}}, sugar cane uproots immediately after all adjacent water is removed. {{IN|je}}, sugar cane uproots on the next block update or [[Tick#Random tick|random tick]].

A sugar cane block drops itself as an item if a piston tries to push it (trying to pull it does nothing) or moves a block into its space.

===Natural generation===
[[File:Sugar Canez.png|thumb|250px|Naturally-occurring sugar cane near a river.]]
Sugar cane can generate naturally near [[water]] and [[ice]], as two ({{frac|11|18}} chance), three ({{frac|5|18}} chance), or four ({{frac|2|18}} chance) blocks tall. Rare taller sugar canes can be found if the world generator places two smaller canes on top of each other. It generates in approximately 0.8 sugar cane per chunk seeing as how they only generate near bodies of water.

Sugar canes attempt to generate 10 times in any Overworld biome, which requires water. An extra 10 attempts are made in [[swamp]] biomes, and 50 in [[desert]] biomes, which makes sugar cane twice as frequent in swamps and six times as frequent in desert biomes, making the banks of [[river]]s that cut through deserts lined with sugar canes.  Sugar canes do not grow faster in swamps or deserts they only spawn a increased amount.

Sugar cane cannot generate in caves {{in|je}}.<ref>{{bug|MC-214959||Sugar cane generated in cave|Fixed}}</ref>

===Trading===
[[Wandering trader]]s can sell sugar cane for an [[emerald]].

==Usage==
Due to its water-displacing properties, sugar cane can interestingly be used to create underwater paths, allowing [[player]]s to move at normal speed and breathe if it is two blocks in height.{{only|java}}<ref>{{bug|MC-929||Sugar cane can be placed underwater|WAI}}</ref>

Sugar cane takes on a different shade of green depending on the biome in which it is placed.

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

===Farming===
{{main|Tutorials/Sugar cane farming}}
[[File:Underground Sugar Farm.png|200px|thumb|An underground sugar cane farm.]]

Sugar cane can generate naturally up to any number of blocks tall, but ''grow'' only to a height of three blocks, adding a block of height when the top sugar cane block has received 16 random [[Tick#Block tick|block tick]]s (i.e. on average every 18 minutes on ''Java Edition''<!-- Average 68.27 seconds/tick * 16 ticks/growth = 18.2 minutes --> or 54 minutes on Bedrock Edition, but the actual rate can vary widely). 
Sugar cane must be planted on a [[grass block]], [[dirt]], [[coarse dirt]], [[rooted dirt]], [[podzol]], [[mycelium]], [[sand]], [[red sand]], [[suspicious sand]], [[moss block]], or [[mud]] that is directly adjacent to [[water]], [[waterlogged]] block, or [[frosted ice]] (not merely above or diagonal to water), or on top of another sugar cane block. The adjacent water block can be covered with another block, whether [[opacity|opaque or transparent]], and sugar cane can still be placed and grow next to it. Sugar cane grows regardless of light level, even in complete darkness.
[[File:4blockcane.png|thumb|A natural 4-block-high sugar cane plant.]]
{{IN|bedrock}}, [[bone meal]] can be used to instantly grow sugar cane to three blocks. Only one bone meal is consumed. {{IN|java}}, bone meal cannot be used on sugar cane.<ref>{{bug|MC-73963||Can't use bonemeal on cacti or sugar cane|WAI}}</ref>

On average, it takes [[Tutorials/Sugar_cane_farming#Mechanics|18 minutes]] for a single block of sugar cane to grow 3 blocks tall.

=== Composting ===
Placing sugar cane into a [[composter]] has a 50% chance of raising the compost level by 1.

== List of colors ==
{{Missing information|Bedrock Edition colors (see [[Water#Color]]{{verify|it's there?}})}}

=== ''Java Edition'' ===
These values are generated by the biome dyeing algorithm. See [[Color#Biome colors|Biome colors]] for more information.
<div class="mw-collapsible mw-collapsed" style="float: left">
{| class="wikitable sortable" style="text-align:center" data-description="Java edition biome colors"
!Biome !! Category !! Rainfall !! Sugarcane Color !! Temperature Affects !! Render
|-
| {{BiomeLink|Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Beach}} || Beach || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Dark Forest}} || Forest || Rain || #507a32 || || [[File:Dark Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Cold Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Frozen Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Deep Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Desert}} || Desert || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Barrens}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Highlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|End Midlands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Eroded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Flower Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Forest}} || Forest || Rain || #79c05a || || [[File:Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen Ocean}} || Ocean || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Frozen River}} || River || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Spruce Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Pine Taiga}} || Taiga || Rain || #86b87f || || [[File:Old Growth Pine Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ice Spikes}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Jungle}} || Jungle || Rain || #59c93c || || [[File:Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sparse Jungle}} || Jungle || Rain || #64c73f || || [[File:Sparse Jungle Sugar Cane.png|32px]]
|-
| {{BiomeLink|Lukewarm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Hills}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Mushroom Fields}} || Mushroom || Rain || #55c93f || || [[File:Mushroom Fields Sugar Cane.png|32px]]
|-
| {{BiomeLink|Nether}} || Nether || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|River}} || River || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Savanna Plateau}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Savanna}} || Savanna || No || #bfb755 || || [[File:Desert Sugar Cane.png|32px]]
|-
| {{BiomeLink|Small End Islands}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Beach}} || Beach || Snow || #83b593 || || [[File:Snowy Beach Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Taiga}} || Taiga || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Snowy Plains}} || Icy || Snow || #80b497 || || [[File:Snowy Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Stony Shore}} || None || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|-
| {{BiomeLink|Sunflower Plains}} || Plains || Rain || #91bd59 || || [[File:Plains Sugar Cane.png|32px]]
|-
| {{BiomeLink|Swamp}} || Swamp || Rain || #6A7039 || If temperature below -0.1, used #4C763C. || [[File:Swamp Sugar Cane.png|32px]] / [[File:Swamp Sugar Cane (Cold).png|32px]]
|-
| {{BiomeLink|Taiga}} || Taiga || Rain || #86b783 || || [[File:Taiga Sugar Cane.png|32px]]
|-
| {{BiomeLink|Old Growth Birch Forest}} || Forest || Rain || #88bb67 || || [[File:Birch Forest Sugar Cane.png|32px]]
|-
| {{BiomeLink|The End}} || The End || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|The Void}} || None || No || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Warm Ocean}} || Ocean || Rain || #8eb971 || || [[File:Ocean Sugar Cane.png|32px]]
|-
| {{BiomeLink|Wooded Badlands}} || Mesa || No || #90814d || No || [[File:Badlands Sugar Cane.png|32px]]
|-
| {{BiomeLink|Windswept Forest}} || Extreme Hills || Rain || #8ab689 || || [[File:Windswept Hills Sugar Cane.png|32px]]
|}
</div>
{{clear}}
=== Bedrock Edition ===
{{empty section}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Sugar Cane
|shownumericids=y
|showforms=y
|showaliasids=y
|generatetranslationkeys=y
|displayname=Block
|spritename=sugar-cane
|spritetype=block
|nameid=reeds
|id=83
|form=block
|itemform=item.reeds}}
{{ID table
|displayname=Item
|spritename=sugar-cane
|spritetype=item
|nameid=sugar_cane
|id=385
|form=item
|aliasid=reeds
|translationkey=item.reeds.name
|foot=1}}

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

{{/BS}}

== Video ==
{{Video note|This video was made before sugar cane had a different shade of green depending on the biome.|minor}}
<div style="text-align:center">{{yt|zlOnwn3PH5o}}</div>

== History ==
{{more images|Appearance when affected by {{bug|MC-48831}}}}
{{History|java alpha}}
{{History||v1.0.11|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added reeds in the [[Seecret Updates|Seecret Friday Update 6]].
|Reeds are informally referred to as "bamboo" or "papyrus" by many [[player]]s. 
|Since reeds can be washed away with [[water]] currents or instantly destroyed by removing the water adjacent to them, automated reed farms can be made. 
|Reeds can be used to craft [[paper]].}}
{{History|java beta}}
{{History||1.2|[[Notch]] has [[wikipedia:Retroactive continuity|retconned]] reeds into sugar cane so that it can now be [[crafting|crafted]] into [[sugar]], included in the recipe for the [[cake]]s.}}
{{History||1.6|snap=Test Build 3|[[Arrow]]s no longer stick to sugar cane, and instead, they pass through. However, [[snowball]]s still come into contact with any sugar cane blocks, as if they are solid.}}
{{History||1.8|snap=Pre-release|Sugar cane can now grow and be placed onto [[sand]] as long as they are adjacent to [[water]]. This update allows sugar canes to appear next to [[water]] ponds in [[desert]] biomes.
|Sugar cane is now available in the [[creative]] [[inventory]] in both block and item forms.}}
{{History|java}}
{{History||1.0.0|snap=?|The sugar cane block has been removed from the creative inventory.}}
{{History||1.7.2|snap=13w36a|[[File:Sugar Cane JE2 BE2.png|32px]] Sugar cane is now [[tint]]ed depending on the [[biome]] it's in.
|The item texture remained unchanged, however, and still used the color palette from Alpha to 1.6.4.<ref name="Bug">{{bug|MC-216227}}</ref>}}
{{History||1.9|snap=15w43a|Sugar cane no longer breaks if its adjacent [[water]] is turned to [[frosted ice]].}}
{{History||1.13|snap=17w47a|The ID of sugar cane has now been changed from <code>reeds</code> to <code>sugar_cane</code>.
|"Sugar Canes" have now been renamed to "Sugar Cane".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 83, and the [[item]]'s 338.}}
{{History||1.14|snap=18w43a|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane item has been changed.}}
{{History|||snap=19w03a|Placing sugar cane into a [[composter]] has a 20% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Sugar cane now has a 50% chance of increasing the compost level in a composter by 1.
|Added [[wandering trader]]s, which sell sugar cane.}}
{{History||1.16|snap=20w13a|Sugar cane has been moved from the Miscellaneous tab to the Decoration Blocks tab in the [[Creative inventory]].<ref name="misc decoration">https://bugs.mojang.com/browse/MC-174434</ref>}}
{{History||1.17|snap=21w11a|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.<ref name="Bug"/>}}
{{History|||snap=Pre-release 1|Sugar cane now generates in mushroom fields.<ref>{{bug|MC-226683}}</ref>}}
{{History||1.19|snap=22w15a|Sugar cane can now be planted on mud.}}
{{History||1.20|snap=23w14a|Sugar cane can now be planted on [[suspicious sand]].}}

{{History|pocket alpha}}
{{History||Pre-release|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History||v0.2.0|Despite being visible in the inventory, sugar cane does not drop anything when mined, making it unobtainable in Survival mode.}}
{{History||v0.2.1|Survival players now start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.3.0|Sugar cane now drops its item form when mined.
|Survival players no longer start with an infinite stack of sugar cane in the inventory.}}
{{History||v0.5.0|Sugar cane can now be grown on [[sand]].
|Sugar cane can now be obtained after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 5|[[Bone meal]] can now grow sugar cane to maximum height.}}
{{History||v0.9.0|snap=build 1|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they are in.
|Using bone meal on sugar cane is no longer able to break blocks above it.}}
{{History||v0.12.1|snap=build 1|Sugar cane is no longer available from the [[nether reactor]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] Due to a bug, sugar canes no longer change color depending on the [[biome]].}}
{{History|bedrock}}
{{History||1.2.13|snap=beta 1.2.13.5|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar canes now changes depending on the [[biome]], once again.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.
|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Sugar canes can now be used to fill up [[composter]]s.}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Sugar Cane (item) JE3.png|32px]] The texture of the sugar cane item has been changed, so that it actually matches the color it uses when placed again.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar canes.
|Sugar canes are solid, making it useful for growable walls. Unlike on Java Edition, they were never renamed to Sugar Cane.}}
{{History||xbox=TU2|Sugar canes are no longer solid, and arrows pass through them.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Sugar Cane JE2 BE2.png|32px]] The color of sugar cane now changes depending on the [[biome]] they're in.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Sugar cane can now be grown with [[bonemeal]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Sugar Cane (item) JE2 BE2.png|32px]] The texture of the sugar cane [[item]] has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Sugar cane can now be [[trading|bought]] from [[wandering trader]]s.
|Sugar canes can now be used to fill up [[composter]]s.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Sugar Cane JE1 BE1.png|32px]] [[File:Sugar Cane (item) JE1 BE1.png|32px]] Added sugar cane.}}
{{History|foot}}

=== Sugar cane "item" ===
{{:Technical blocks/Sugar Cane}}

== Issues ==
{{Issue list}}

== Trivia ==
*When a sugar cane is broken at the second level, the time resets (for example, if a two-block high sugar cane is broken, but is just about to grow to the third stage, it would reset that time).
*By placing more sugar canes on top of a sugar cane plant, it is possible to create tall sugar canes (up to y=319, the maximum height for building), although they do not naturally grow this high.
*Before sugar cane received an official name, they were sometimes referred to as [[bamboo]], a block added 9 years later. Other names were "reeds" and "papyrus".

== Gallery ==
=== Renders ===
<gallery>
Plains Sugar Cane.png|Plains
Taiga Sugar Cane.png|Taiga
Snowy Plains Sugar Cane.png|Snowy plains
Jungle Sugar Cane.png|Jungle
Desert Sugar Cane.png|Desert
Swamp Sugar Cane (Cold).png|Swamp (cold)
Swamp Sugar Cane.png|Swamp
Badlands Sugar Cane.png|Badlands
</gallery>

=== In-game ===
<gallery>
Huge Sugar Farm.png|A large sugar cane farm using 2×2 [[water]] holes.
Sugar Cane Waterfall.png|Water flowing over sugar cane.
UnderwaterSugarCane.png|Naturally generated sugar cane found underwater.
Sugar and Cactus.png|A [[cactus]] and sugar cane stalk generated next to each other.
SugarCaneRavine.png|Sugar cane found in the [[ravine]].
Reeds in Winter mode.png|Reeds generated in the [[winter mode]].
Sugar Cane Naturally Growing.png|Sugar cane growing between [[biome]]s.
Mesa Sugar Cane.jpg|Sugar cane growing on [[red sand]] in a [[badlands]] biome.
Sugarcanenowaterglitch.png|Sugar cane generated without a water source.
SwampCane.png|Sugar cane generated in a [[swamp]] biome.
Sugar cane savanna.png|Sugar cane growing in a [[savanna]] biome.
ForestSugarcane.png|Sugar cane growing in a [[forest]] biome.
Lava cane.png|Sugar cane growing with lava flowing around it.
Before breaking.png|Sugar canes few seconds before breaking because the water is frozen.
Undergroundreed.png|A sugar cane plant that generated in an underground [[water lake]].
Cave Sugar.png|Another example.
</gallery>

=== Heights ===
<gallery>
Tall Sugar Cane.png|Four-block tall sugar cane.
4RiverCane.png|Four-block tall sugar cane.
4-block tall sugar cane.png|Four-block tall sugar cane in a [[plains]] biome.
</gallery>

== References ==
{{Reflist}}

{{Blocks|vegetation}}

{{Items}}

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

[[cs:Cukrová třtina]]
[[de:Zuckerrohr]]
[[es:Caña de azúcar]]
[[fr:Canne à sucre]]
[[hu:Cukornád]]
[[it:Canna da zucchero]]
[[ja:サトウキビ]]
[[ko:사탕수수]]
[[nl:Suikerriet]]
[[pl:Trzcina cukrowa]]
[[pt:Cana-de-açúcar]]
[[ru:Сахарный тростник]]
[[th:อ้อย]]
[[uk:Цукрова тростина]]
[[zh:甘蔗]]</li></ul>
13w23aAdded /spreadplayers.
Added gamerule naturalRegeneration.
13w24aAdded gamerule doDaylightCycle.
13w24bThe damage dealt by /kill was changed from 1,000 to 3.4×1038.
1.6-preAdded clear argument to /effect.
1.6.1-preAdded /playsound.
1.7.2
{{Extension DPL}}<ul><li>[[Tool|Tool]]<br/>{{About|the in-game items|program enhancing software|Programs and Editors}}

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

== Obtaining ==

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==

{{issue list}}

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

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

{{Items}}

[[Category:Tools|*]]

[[cs:Nástroje]]
[[de:Werkzeug]]
[[es:Herramientas]]
[[fr:Outils]]
[[hu:Eszközök]]
[[it:Attrezzi]]
[[ja:道具]]
[[ko:도구]]
[[nl:Gereedschap]]
[[pl:Narzędzia]]
[[pt:Ferramentas]]
[[ru:Инструменты]]
[[tr:Alet]]
[[zh:工具]]</li><li>[[Water|Water]]<br/>{{About|the fluid|the bucket|Water Bucket|other forms of water}}
{{Fluid
| image = <gallery>
Water.png|Java Edition
Water BE.png|Bedrock Edition
</gallery>
| invimage = Water Bucket
| invimage2 = Water
| renewable = Yes
| transparent = Partial <small>(-1 to light)</small>
| light = No
| tool = bucket
| infinite = Yes
| flowrate = 5 [[tick]]s/block
| flowdistance = 8 blocks
}}

'''Water''' is a [[fluid]] that naturally generates abundantly in the [[Overworld]].

== Obtaining ==
Water blocks do not exist as items,{{only|java}} but water can be collected by using a [[bucket]] on a water source block or a full water [[cauldron]], creating a [[water bucket]].

{{IN|BE}}, it may be obtained as an item via inventory editing or add-ons.

=== Natural generation ===
Water naturally generates in the [[Overworld]] to form [[ocean]]s, [[river]]s and [[spring]]s. The water level is at [[altitude|layer 63]] near oceans and rivers, but changes depending on location due to the [[aquifer]] system, filling some carvers, noise caves and canyons with water at different levels. Water also generates as small puddles on the floor next to [[dripstone cluster]]s, and as clay pools on the floor of [[lush caves]].

Water also generates in [[village]]s, [[desert well]]s, [[stronghold]]s, [[woodland mansion]]s, [[ancient city|ancient cities]] and [[ocean monument]]s. 

Water never generates in [[the Nether]] and instantly disappears if placed there with a water bucket. However, water can exist in the Nether in a [[cauldron]]. Water can also be placed in the Nether using [[commands]] such as {{cmd|setblock}} and {{cmd|fill}}. Although it does not naturally generate there, water can be placed and function normally in [[the End]].

{{IN|be}}, water also generates as part of [[ocean ruins]] with loot [[chest]]s, but only two water blocks generate: 
* One water block generates inside the loot chest, making it a [[Waterlogging|waterlogged]] loot chest.
* The other water block generates on top of the loot chest.
These water blocks generate even if the ruin is located on the surface.<ref>{{bug|MCPE-36793}}</ref> This is not the case in {{el|je}}; if an underwater ruin generates on the surface, no water generates.<ref>{{bug|MC-136156}}</ref> This also happens with [[shipwreck]]s.

Water spends most of its time as stationary, rather than flowing – regardless of its level, or whether it contains a current downward or to the side. When specifically triggered by a block update, water changes to 'flowing', updates its level, then changes back to stationary. Water springs are generated as flowing, and oceans, and rivers are generated as stationary. This happens before most types of generated structure are created, and the main cause of water "glitches" is that generated structures do not trigger a block update to let water flow into them.

== Usage ==
=== Appearance ===
Water uses a translucent animated texture that is tinted differently in different biomes. {{IN|Java}}, water in cauldrons is completely opaque.<ref>{{bug|MC-13187}}</ref>

Unlike other translucent blocks such as [[ice]], [[stained glass]] and [[tinted glass]], water shows the opposite sides of its external planes when viewed from within and from outside.<ref>{{bug|MC-202578|||WAI}}</ref> However, it applies only to the top plane and four side planes; the bottom face is always unseen from above.<ref>{{bug|MC-190053}}</ref>

=== Swimming ===
{{main|Swimming}}

The button for {{control|swim|text=swimming}} is the same as the button for jumping; non-swimming players and mobs sink slowly in water. Holding the swim button raises the player through the water, and when the surface is reached, the player bobs up and down. The {{control|crouch}} button can be used to sink faster. The {{control|sprint}} button can be used to put the player in "swim mode" when the player is completely submerged in water. When in swim mode, the player is horizontal and one block high. The player has an arm-waving animation when viewed in third person or by other players.

Swimming in water is considerably slower against currents (see [[#Current|Current]] below), but faster when going with the current.

Most mobs that can stand can also swim any time they are in water, except for [[iron golem]]s, [[piglin]]s, [[hoglin]]s, [[strider]]s, [[piglin brute]]s and undead mobs. This can lead to drowning if the water is falling from above.

Water of any depth prevents any entity, including the player, from sustaining falling damage if they fall into it, regardless of the distance fallen.

Being inside of water also imparts a [[fog]] effect, tinted accordingly.

=== Spreading ===
{{Main|Fluid#Spread}}
[[File:Water spread v1-13.png|300px|right|An image showing water's spreading distance]]
Water spreads horizontally and downward into nearby [[air]] blocks. Water can spread downward infinitely until stopped by a block, and 7 blocks horizontally from a source block on a flat surface. Water spreads at a rate of 1 block every 5 game ticks, or 4 blocks per second.

When spreading horizontally, a weight is assigned to every direction water can flow. For each direction, this weight is initially set to 1000. Then, for every adjacent block it can flow into it tries to find a way down that is reachable in four or fewer blocks from the block it wants to flow to. When found, the flow weight for that direction is set to the shortest path distance to the way down. Finally, water spreads in the directions with the lowest flow weight.

Spreading water extinguishes [[fire]] and washes away certain types of items or placed blocks, causing them to drop as items and then carrying them along in the flow until the edge of the spread. Affected items include [[plant]]s (except trees), [[snow]], [[torch]]es, [[carpet]]s, [[redstone dust]] and some other redstone components, [[cobweb]], [[end rod]]s, [[head]]s, and [[flower pot]]s.

==== Flow arrangement tables ====
{| class="wikitable"
|+ 
|
|
|
|
|
|
|
!7
|
|
|
|
|
|
|
|-
|
| 
| 
| 
| 
| 
! 7
!6
! 7
| 
| 
| 
| 
| 
|
|-
|
| 
| 
| 
| 
! 7
!6
!5
!6
! 7
| 
| 
| 
| 
|
|-
|
| 
| 
| 
! 7
!6
!5
!4
!5
!6
! 7
| 
| 
| 
|
|-
|
| 
| 
! 7
!6
!5
!4
!3
!4
!5
!6
! 7
| 
| 
|
|-
|
| 
! 7
!6
!5
!4
!3
!2
!3
!4
!5
!6
! 7
| 
|
|-
|
! 7
!6
!5
!4
!3
!2
!1
!2
!3
!4
!5
!6
! 7
|
|-
!7
!6
!5
!4
!3
!2
!1
!0
!1
!2
!3
!4
!5
!6
!7
|-
|
! 7
!6
!5
!4
!3
!2
!1
!2
!3
!4
!5
!6
! 7
|
|-
|
| 
! 7
!6
!5
!4
!3
!2
!3
!4
!5
!6
! 7
| 
|
|-
|
| 
| 
! 7
!6
!5
!4
!3
!4
!5
!6
! 7
| 
| 
|
|-
|
| 
| 
| 
! 7
!6
!5
!4
!5
!6
! 7
| 
| 
| 
|
|-
|
| 
| 
| 
| 
! 7
!6
!5
!6
! 7
| 
| 
| 
| 
|
|-
|
| 
| 
| 
| 
| 
! 7
!6
! 7
| 
| 
| 
| 
| 
|
|-
|
|
|
|
|
|
|
!7
|
|
|
|
|
|
|
|}

{| class="wikitable"
! colspan="2" |Range
!Height in blocks
|-
!1
|block
|1
|-
!2
|blocks
|0.75-1
|-
!3
|blocks
|0.625-0.75
|-
!4
|blocks
|0.5-0.625
|-
!5
|blocks
|0.375-0.5
|-
!6
|blocks
|0.25-0.375
|-
!7
|blocks
|0.125-0.25
|}

=== Source blocks ===
{{anchor|Water Spawner}} <!-- Compatibility anchor -->
{{about|the behavior and creation of source units of water|the removed block that created water sources|Water Spawner|section=1}}
A water source block is created from a flowing block that is horizontally adjacent to two or more other source blocks, and sitting on top of a solid block or another water source block. This allows water spawners to exist, in which a new source block immediately forms in the space left by removing a source block with a [[bucket]]. Pools of still water can be created by placing water source blocks in a confined area.

Water spawners can be constructed by arranging for two source blocks to flow into a third block. Each of the examples below require two source blocks, each on opposite ends of the hole, to create a renewable water source block in between.

While water source blocks only generate adjacent to solid blocks, they do not require a solid block to support them. Removing all adjacent blocks to a water source block only causes it to remain floating in the air.

{{IN|java}}, the formation of new water sources blocks can be disabled when the [[game rule]] {{cd|waterSourceConversion}} is set to {{cd|false}}.

<gallery>
2x2 water source.png|2x2 water spawner (every corner is renewable)
3x1 water source.png|3x1 water spawner (middle water block is renewable)
L-shaped water source.png|L-shaped water spawner (corner water block is renewable)
</gallery>

A [[dispenser]] loaded with a filled [[bucket]] places a water source block in an empty block in front of it when activated. A dispenser loaded with an empty bucket and a water source right in front of it sucks the source into the bucket when activated.

In snowy [[biome]]s, water source blocks have a chance to turn into [[ice]] if directly under the sky. Ice blocks under brighter light levels melt back into water source blocks (except in [[the Nether]]). Ice reverts to water when broken, but only if there is a solid block under it.

=== Current ===
The current in a water block determines both the direction it appears to flow and the direction an [[entity]] such as a player or [[boat]] is pushed from that block.

Water with a current pushes players and [[mob]]s at a speed of about 1.39 meters per second, or 25 blocks every 18 seconds. Players that are in creative flying mode don’t get pushed.{{only|je}}<ref>{{bug|MCPE-84592}}</ref>

The horizontal current in a water block is based on a vector sum of the flows to and from that block from its four horizontal neighbors. For example, if a block receives water from the north and sends it both south and east, but borders a solid block on its west edge, then a south-southeast current exits from that block, because 2 southward flows (in and out) are combined with 1 eastward flow (out). Thus, 16 horizontal directions are possible. If a branch in a channel is 2 blocks wide at its entrance, then entities float into it rather than continuing in a straight line.

Water blocks can create a downward current. A downward current in a water block is caused by the block below it. Most blocks that do not have a solid upper face cause downward current on above water blocks. Also, ice and falling water blocks (blocks created by spreading downward) cause downward current on the water block above. Falling water blocks have a downward current by default.

=== Light ===
{{IN|bedrock}}, every block of water reduces [[light]] by 1 extra level (in addition to the normal fading-out of light). {{IN|java}}, water does not cause any additional decrease for block light, but diffuses sky light, causing the light to fade with depth. Underwater visibility changes depending on the biome the player is in. The [[Night Vision]] and [[Conduit Power]] effects increase underwater visibility.

=== Color ===
Water has several colors, depending on the biome.

==== Java Edition ====
{| class="wikitable sortable mw-collapsible mw-collapsed" data-description="Water Color in Java Edition"
|-
!Biome!!Water color!!Water fog color!!Block
|-
|{{BiomeSprite|Plains|text=Default (biomes not listed below)}}||{{color|#3F76E4}}||{{color|#050533}}||[[File:Plains Water JE.png|32px]]
|-
|{{BiomeLink|Swamp}}||{{color|#617B64}}||{{color|#232317}}||[[File:Swamp Water.png|32px]]
|-
|{{BiomeLink|Lukewarm Ocean}}<br>{{BiomeLink|Deep Lukewarm Ocean}}||{{color|#45ADF2}}||{{color|#041633}}||[[File:Lukewarm Ocean Water JE.png|32px]]
|-
|{{BiomeLink|Warm Ocean}}||{{color|#43D5EE}}||{{color|#041F33}}||[[File:Warm Ocean Water JE.png|32px]]
|-
|{{BiomeLink|Cold Ocean}}<br>{{BiomeLink|Deep Cold Ocean}}<br>{{BiomeLink|Snowy Taiga}}<br>{{BiomeLink|Snowy Beach}}||{{color|#3D57D6}}||{{color|#050533}}||[[File:Cold Ocean Water JE.png|32px]]
|-
|{{BiomeLink|Frozen River}}<br>{{BiomeLink|Frozen Ocean}}<br>{{BiomeLink|Deep Frozen Ocean}}||{{color|#3938C9}}||{{color|#050533}}||[[File:Frozen Ocean Water JE.png|32px]]
|-
|{{BiomeLink|Meadow}}||{{color|#0E4ECF}}||{{color|#050533}}||[[File:Meadow Water.png|32px]]
|-
|{{BiomeLink|Mangrove Swamp}}||{{color|#3A7A6A}}||{{color|#4D7A60}}|||[[File:Mangrove Swamp Water.png|32px]]
|-
|{{BiomeLink|Cherry Grove}}||{{color|#5DB7EF}}||{{color|#5DB7EF}}||[[File:Cherry Grove Water.png|32px]]
|}

==== Bedrock Edition====
Biome tints
<!--[[File:Water color.png|500px|thumb|center|From left to right - Badlands Plateau, Birch Forest and Snowy Taiga]]-->
{| class="wikitable sortable mw-collapsible mw-collapsed" data-description="Water Color in Bedrock Edition" 
! Biome
!Water Surface Color
! Water Fog Color
!Water Fog Distance
!Water Surface Transparency
!Block
|-
|Default<br>(biomes not listed below)
|{{color|#44aff5}}||{{color|#44aff5}}||15||65%||[[File:Water BE.png|32px]]
|-
|{{BiomeLink|Sunflower Plains}}<br>{{BiomeLink|Plains}}
|{{color|#44aff5}}||{{color|#44aff5}}||60||-||[[File:Water BE.png|32px]]
|-
|{{BiomeLink|Desert}}
|{{color|#32a598}}||{{color|#32a598}}||60||-||[[File:Desert Water.png|32px]]
|-
|{{BiomeLink|Mountains}}
|{{color|#007BF7}}||{{color|#007BF7}}||-||-||[[File:Mountains Water.png|32px]]
|-
|{{BiomeLink|Forest}}
|{{color|#1e97f2}}||{{color|#1e97f2}}||60||-||[[File:Forest Water.png|32px]]
|-
|{{BiomeLink|Flower Forest}}
|{{color|#20a3CC}}||{{color|#20a3CC}}||60||-||[[File:Flower Forest Water.png|32px]]
|-
| {{BiomeLink|Taiga}}
| {{color|#287082}}||{{color|#287082}}||60||-||[[File:Taiga Water.png|32px]]
|-
|{{BiomeLink|Taiga Mountains}}
|{{color|#1e6B82}}||{{color|#1e6B82}}||-||-||[[File:Taiga Mountains Water.png|32px]]
|-
|{{BiomeLink|Swamp}}
|{{color|#4c6559}}||{{color|#4c6559||30||100%||[[File:Swamp Water BE.png|32px]]
|-
| {{BiomeLink|River}}
|{{color|#0084ff}}||{{color|#0084ff}}||60||-||[[File:River Water.png|32px]]
|-
|{{BiomeLink|Nether Wastes}}<br>{{BiomeLink|Warped Forest}}<br>{{BiomeLink|Crimson Forest}}<br>{{BiomeLink|Soul Sand Valley}}
|{{color|#905957}}||{{color|#905957}}||15||-||[[File:Nether Water.png|32px]]
|-
|{{BiomeLink|Basalt Deltas}}
|{{color|#3f76e4}}||{{color|#423e42}}||15||-||[[File:Basalt Deltas Water.png|32px]]
|-
|{{BiomeLink|The End}}
| {{color|#62529e}}||{{color|#62529e}}||-||-||[[File:The End Water.png|32px]]
|-
|{{BiomeLink|Frozen River}}
|{{color|#185390}}||{{color|#185390}}||60||-||[[File:Frozen River Water.png|32px]]
|-
|{{BiomeLink|Snowy Tundra}}<br>{{BiomeLink|Ice Spikes}}
|{{color|#14559b}}||{{color|#14559b}}||-||-||[[File:Ice Spikes Water.png|32px]]
|-
| {{BiomeLink|Mushroom Fields}}
|{{color|#8a8997}}||{{color|#8a8997}}||-||-||[[File:Mushroom Fields Water.png|32px]]
|-
|{{BiomeLink|Beach}}
| {{color|#157cab}}||{{color|#157cab}}||60||-||[[File:Beach Water.png|32px]]
|-
|{{BiomeLink|Mountain Edge}}
|{{color|#045cd5}}||{{color|#045cd5}}||-||-||[[File:Mountain Edge Water.png|32px]]
|-
|{{BiomeLink|Jungle}}<br>{{BiomeLink|Bamboo Jungle}}
|{{color|#14a2c5}}||{{color|#14a2c5||60<br>15||-||[[File:Jungle Water.png|32px]]
|-
|{{BiomeLink|Jungle Edge}}
| {{color|#0D8AE3}}||{{color|#0D8AE3}}||-||-||[[File:Jungle Edge Water.png|32px]]
|-
|{{BiomeLink|Stone Shore}}
|{{color|#0d67bb}}||{{color|#0d67bb}}||60||-||[[File:Stone Shore Water.png|32px]]
|-
|{{BiomeLink|Snowy Beach}}
|{{color|#1463a5}}||{{color|#1463a5}}||60||-||[[File:Snowy Beach Water.png|32px]]
|-
|{{BiomeLink|Birch Forest}}
|{{color|#0677ce}}||{{color|#0677ce}}||60||-||[[File:Birch Forest Water.png|32px]]
|-
|{{BiomeLink|Dark Forest}}
|{{color|#3B6CD1}}||{{color|#3B6CD1}}||60||-||[[File:Dark Forest Water.png|32px]]
|-
|{{BiomeLink|Snowy Taiga}}
|{{color|#205e83}}||{{color|#205e83}}||60||-||[[File:Snowy Taiga Water.png|32px]]
|-
|{{BiomeLink|Giant Tree Taiga}}<br>{{BiomeLink|Giant Spruce Taiga}}
|{{color|#2d6d77}}||{{color|#2d6d77}}||60||-||[[File:Giant Tree Taiga Water.png|32px]]
|-
|{{BiomeLink|Windswept Forest}}<br>{{BiomeLink|Windswept Gravelly Hills}}
|{{color|#0E63AB}}||{{color|#0E63AB}}||-||-||[[File:Wooded Mountains Water.png|32px]]
|-
|{{BiomeLink|Savanna}}
|{{color|#2C8B9C}}||{{color|#2C8B9C}}||60||-||[[File:Savanna Water.png|32px]]
|-
|{{BiomeLink|Savanna Plateau}}<br>{{BiomeLink|Shattered Savanna}}
|{{color|#2590a8}}||{{color|#2590a8}}||-||-||[[File:Savanna Plateau Water.png|32px]]
|-
|{{BiomeLink|Badlands}}
|{{color|#4E7f81}}||{{color|#4E7f81||60
|<nowiki>-||[[File:Badlands Water.png|32px]]
|-
|{{BiomeLink|Eroded Badlands}}<br>{{BiomeLink|Wooded Badlands}}
|{{color|#497f99}}||{{color|#497f99}}||-||-||[[File:Eroded Badlands Water.png|32px]]
|-
|{{BiomeLink|Ocean}}
|{{color|#1787D4}}||{{color|#1165b0}}||60||-||[[File:Ocean Water.png|32px]]
|-
|{{BiomeLink|Deep Ocean}}
|{{color|#1787D4}}||{{color|#1463a5}}||60||-||[[File:Ocean Water.png|32px]]
|-
|{{BiomeLink|Warm Ocean}}
|{{color|#02B0E5}}||{{color|#0289d5}}||60||55%||[[File:Warm Ocean Water.png|32px]]
|-
| {{BiomeLink|Lukewarm Ocean}}
|{{color|#0D96DB}}||{{color|#0a74c4}}||60||-||[[File:Lukewarm Ocean Water.png|32px]]
|-
|{{BiomeLink|Deep Lukewarm Ocean|Lukewarm Deep Ocean}}
|{{color|#0D96DB}}||{{color|#0e72b9}}||60||-||[[File:Lukewarm Ocean Water.png|32px]]
|-
|{{BiomeLink|Cold Ocean}}
|{{color|#2080C9}}||{{color|#14559b}}||60||-||[[File:Cold Ocean Water.png|32px]]
|-
|{{BiomeLink|Deep Cold Ocean|Cold Deep Ocean}}
|{{color|#2080C9}}||{{color|#185390}}||60||-||[[File:Cold Ocean Water.png|32px]]
|-
|{{BiomeLink|Frozen Ocean}}
|{{color|#2570B5}}||{{color|#174985}}||60||-||[[File:Frozen Ocean Water.png|32px]]
|-
|{{BiomeLink|Deep Frozen Ocean|Frozen Deep Ocean}}
|{{color|#2570B5}}||{{color|#1a4879}}||60||-||[[File:Frozen Ocean Water.png|32px]]
|-
|{{BiomeLink|Mangrove Swamp}}
|{{color|#3a7a6a}}||{{color|#4d7a60}}||30||-||[[File:Mangrove Swamp Water BE.png|32px]]
|}
Biome tints from [[Biome/Before 1.18|unused biomes]]
{| class="wikitable sortable mw-collapsible mw-collapsed" data-description="Water Color in Bedrock Edition" 
! Biome
!Water Surface Color
!Water Fog Color
!Water Fog Distance
!Water Surface Transparency
!Block
|-
|{{BiomeLink|Legacy Frozen Ocean}}
|{{color|#44aff5}}||{{color|#44aff5}}||-||-||[[File:Water BE.png|32px]]
|-
|{{BiomeLink|Mountains}}
|{{color|#007BF7}}||{{color|#007bf7}}||-||-||[[File:Mountains Water.png|32px]]
|-
|{{BiomeLink|Taiga Mountains}}
|{{color|#1e6B82}}||{{color|#1e6b82}}||-||-||[[File:Taiga Mountains Water.png|32px]]
|-
|{{BiomeLink|Swamp Hills}}
| {{color|#4c6156}}||{{color|#4c6156||30||100%||[[File:Swamp Hills Water.png|32px]]
|-
| {{BiomeLink|Snowy Mountains}}
|{{color|#1156a7}}||{{color|#1156a7}}||-||-||[[File:Snowy Mountains Water.png|32px]]
|-
|{{BiomeLink|Mushroom Field Shore}}
|{{color|#818193}}||{{color|#818193}}||-||-||[[File:Mushroom Field Shore Water.png|32px]]
|-
|{{BiomeLink|Desert Hills}}
|{{color|#1a7aa1}}||{{color|#1a7aa1}}||-||-||[[File:Desert Hills Water.png|32px]]
|-
|{{BiomeLink|Wooded Hills}}
|{{color|#056bd1}}||{{color|#056bd1}}||-||-||[[File:Wooded Hills Water.png|32px]]
|-
|{{BiomeLink|Taiga Hills}}
|{{color|#236583}}||{{color|#236583}}||-||-||[[File:Taiga Hills Water.png|32px]]
|-
|{{BiomeLink|Mountain Edge}}
|{{color|#045cd5}}||{{color|#045cd5}}||-||-||[[File:Mountain Edge Water.png|32px]]
|-
|{{BiomeLink|Jungle Hills}}<br>{{BiomeLink|Modified Jungle}}<br>{{BiomeLink|Bamboo Jungle Hills}}
|{{color|#1B9ED8}}||{{color|#1B9ED8}}||-||-||[[File:Jungle Hills Water.png|32px]]
|-
|{{BiomeLink|Modified Jungle Edge}}
|{{color|#0D8AE3}}||{{color|#0D8AE3}}||-||-||[[File:Jungle Edge Water.png|32px]]
|-
|{{BiomeLink|Birch Forest Hills}}
|{{color|#0a74c4}}||{{color|#0a74c4}}||-||-||[[File:Birch Forest Hills Water.png|32px]]
|-
|{{BiomeLink|Snowy Taiga Mountains}}
|{{color|#205e83}}||{{color|#205e83}}||60||-||[[File:Snowy Taiga Water.png|32px]]
|-
|{{BiomeLink|Snowy Taiga Hills}}
|{{color|#245b78}}||{{color|#245b78}}||-||-||[[File:Snowy Taiga Hills Water.png|32px]]
|-
|{{BiomeLink|Giant Tree Taiga Hills}}
|{{color|#286378}}||{{color|#286378}}||-||-||[[File:Giant Tree Taiga Hills Water.png|32px]]
|-
|{{BiomeLink|id=modified-gravelly-mountains|Gravelly Mountains+}}
|{{color|#0E63AB}}||{{color|#0e63ab}}||-||-||[[File:Wooded Mountains Water.png|32px]]
|-
|{{BiomeLink|Shattered Savanna Plateau}}
|{{color|#2590a8}}||{{color|#2590a8}}||-||-||[[File:Savanna Plateau Water.png|32px]]
|-
|{{BiomeLink|Badlands Plateau}}<br>{{BiomeLink|Modified Badlands Plateau}}
|{{color|#55809E}}||{{color|#55809e}}||-||-||[[File:Badlands Plateau Water.png|32px]]
|-
|{{BiomeLink|Deep Warm Ocean|Warm Deep Ocean}}
|{{color|#02B0E5}}||{{color|#0686ca}}||60||-||[[File:Warm Ocean Water.png|32px]]
|}

===Water and lava===
{{Main|Fluid#Mixing}}

Water and lava can produce [[stone]], [[cobblestone]], or [[obsidian]] based on how they interact. If water touches a lava source, the lava source turns to obsidian. If both touch each other while flowing, cobblestone is made and no sources are removed, and if lava flows downward onto water, the water turns to stone.

===Interactions with mobs===
====Direct contact====

Water damages [[endermen]], [[snow golem]]s, [[Strider|striders]] and [[blaze]]s, at a rate of {{hp|1}} per half second. If water comes into contact with a [[shulker]] or an [[enderman]], the mob teleports away.

====Suffocation====
{{Main|Damage#Suffocation in water}}

Players and mobs (except [[aquatic mob]]s, [[undead mob]]s and [[iron golem]]s) have a breath meter that lasts 15 seconds. After they run out of breath, they take {{hp|2}} suffocation damage every second until they die, surface, or enter [[bubble column]]s.

[[Dolphin]]s are a special case in drowning: they take suffocation damage when underwater for about 4 minutes, but also take suffocation damage when in air for about 2 minutes.

Each level of the [[Respiration]] enchantment adds 15 seconds to the breath meter and grants an x/(x+1) chance (where x is the Respiration level) of not taking damage after that time: 30 seconds and an average {{hp|1}}/second with Respiration I, 45 seconds and an average of {{frac|2|3}} damage/second with Respiration II, and 60 seconds and an average of {{frac|1|2}} damage/second with Respiration III.

If a [[husk]] suffocates underwater, it starts to shake and eventually becomes a [[zombie]]. If a [[zombie]] suffocates underwater, it starts to shake and eventually transforms into a [[drowned]].

=== Slower mining speed===
Players with their head underwater require 5 times the normal amount of time to mine blocks while standing on the ground, or 25 times while not on the ground. If a player wears a helmet with the [[Aqua Affinity]] enchantment, then underwater mining speed while standing on the ground is the same as on land, and 5 times slower if not standing on the ground.

===Explosions===
Water does not prevent explosions from activating. Water has a high blast resistance, causing it to absorb any normal blasts, with the exception of explosions from [[underwater TNT]].

===Hardening concrete powder ===
When water comes into contact with [[concrete powder]], the powder hardens into solid [[concrete]].

===Sponges===
When a dry [[sponge]] comes into contact with a water source or flowing block, it becomes a wet [[sponge]], absorbing all water within 3 to 5 blocks in all directions. [[Kelp]] and [[lily pad]]s within the absorbed water blocks are destroyed and drop as items, and [[seagrass]] is destroyed without dropping anything. Mobs that take damage out of water are affected as a side-effect. 

Sponges do not absorb water from [[Waterlogging|waterlogged]] blocks, nor water that comes into contact by flowing back in from outside the area of absorption. For instance, placing a sponge 4 or more blocks from a single water source removes the flowing water in the area of effect, but as the flow from the source resumes it is not affected by the wet sponge.

A sponge instantly absorbs nearby water when it is placed next to water or when water comes into contact with it (by being placed next to the sponge, or by flowing toward it). A sponge absorbs [[water]] around itself (water source blocks or flowing water) out to a [[taxicab distance]] of 7 in all directions (including up and down), but won't absorb more than 65 blocks of water (water closest to the sponge is absorbed first). The absorption propagates only from water to water and does not "jump over" non-water blocks (including air).

===Dripping===
[[File:WaterDropletsExample.png|thumb|Dripping water.]]
Water above a non-transparent block (except for stairs, fences, or slabs) produces dripping particles on the underside of that block. If a block of [[Pointed Dripstone|pointed dripstone]] hangs under any block directly beneath a water source, the drips can slowly fill up a [[cauldron]] placed underneath. Without the dripstone, a cauldron does not fill.

===Vertical transport===
[[Bubble column]]s are created by placing magma blocks or [[soul sand]] under water. These can be used to transport [[mobs]] or items quickly vertically.

==Sounds==
{{el|je}}:
{{Sound table
|sound=Entering water1.ogg
|sound2=Entering water2.ogg
|sound3=Entering water3.ogg
|subtitle=MC-177092
|source=ambient
|description=When the player's eye level goes underwater
|id=ambient.underwater.enter
|translationkey=-
|volume=0.8<wbr>{{Until|JE 1.20.2}}<br>0.5<wbr>{{Upcoming|JE 1.20.2}}
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Exiting water1.ogg
|sound2=Exiting water2.ogg
|sound3=Exiting water3.ogg
|subtitle=MC-177092
|source=ambient
|description=When the player's eye level goes above water
|id=ambient.underwater.exit
|translationkey=-
|volume=0.5<wbr>{{Until|JE 1.20.2}}<br>0.3<wbr>{{Upcoming|JE 1.20.2}}
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Underwater Ambience.ogg
|subtitle=MC-196825
|source=ambient
|description=Randomly when underwater
|id=ambient.underwater.loop
|translationkey=-
|volume=0.65
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bubbles1.ogg
|sound2=Bubbles2.ogg
|sound3=Bubbles3.ogg
|sound4=Bubbles4.ogg
|sound5=Bubbles5.ogg
|sound6=Bubbles6.ogg
|sound7=Water1.ogg
|sound8=Water2.ogg
|subtitle=MC-196825
|source=ambient
|description=Randomly when underwater
|id=ambient.underwater.loop.additions
|translationkey=-
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Animal1.ogg
|sound2=Bass Whale1.ogg
|sound3=Bass Whale2.ogg
|sound4=Crackles1.ogg
|sound5=Crackles2.ogg
|sound6=Driplets1.ogg
|sound7=Driplets2.ogg
|sound8=Earth Crack.ogg
|subtitle=MC-196825
|source=ambient
|description=Randomly when underwater
|id=ambient.underwater.loop.additions.rare
|translationkey=-
|volume=''varies'' <ref group=sound>The first, fifth, and eighth sounds are 1.0; the second sound is 0.45; the third, sixth, and seventh sounds are 0.5; the fourth sound is 0.7</ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Animal2.ogg
|sound2=Dark1.ogg
|sound3=Dark2.ogg
|sound4=Dark3.ogg
|sound5=Dark4.ogg
|subtitle=MC-196825
|source=ambient
|description=Randomly when underwater
|id=ambient.underwater.loop.additions.ultra_rare
|translationkey=-
|volume=1.0 <ref group=sound>Except the third sound, which is 0.7</ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Water1.ogg
|sound2=Water2.ogg
|subtitle=Water flows
|source=block
|description=Randomly from flowing water
|id=block.water.ambient
|translationkey=subtitles.block.water.ambient
|volume=0.75-1.0
|pitch=0.5-1.5
|distance=16}}
{{Sound table
|sound=Water splash1.ogg
|sound2=Water splash2.ogg
|subtitle=Splashing
|source=dependent
|description=When something enters water
|id=entity.generic.splash
|translationkey=subtitles.entity.generic.splash
|volume=0.0-1.0 <ref group=sound name=speedvolume>The mob's momentum, with the horizontal axes' velocities multiplied by 0.2 (capped at 1.0)</ref>
|pitch=0.6-1.4
|distance=16}}
{{Sound table
|sound=Swim1.ogg
|sound2=Swim2.ogg
|sound3=Swim3.ogg
|sound4=Swim4.ogg
|subtitle=Swimming
|source=dependent
|description=While something is moving through water
|id=entity.generic.swim
|translationkey=subtitles.entity.generic.swim
|volume=0.0-1.0 <ref group=sound name=speedvolume/>
|pitch=0.6-1.4
|distance=16}}
{{Sound table
|sound=Empty water bucket1.ogg
|sound2=Empty water bucket1.ogg
|sound3=Empty water bucket2.ogg
|sound4=Empty water bucket3.ogg
|subtitle=Bucket empties
|source=block
|description=When water is placed with a bucket
|id=item.bucket.empty
|translationkey=subtitles.item.bucket.empty
|volume=1.0 <ref group=sound>Except for the second copy of {{cd|empty1}}, which is 0.9</ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Fill water bucket1.ogg
|sound2=Fill water bucket2.ogg
|sound3=Fill water bucket3.ogg
|subtitle=Bucket fills
|source=player
|description=When water is collected with a bucket
|id=item.bucket.fill
|translationkey=subtitles.item.bucket.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Axolotl.ogg
|sound2=Dragon fish.ogg
|sound3=Shuniji.ogg
|subtitle=-
|source=music
|description=Randomly when underwater
|id=music.under_water
|translationkey=-
|volume=0.4
|pitch=1.0
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Water2.ogg
|source=block
|description=Randomly from flowing water
|id=liquid.water
|volume=0.75-1.0
|pitch=0.5-1.5}}
{{Sound table
|sound=Water Splash Old.ogg
|source=player
|description=When something enters water<wbr><ref group=sound>{{Bug|MCPE-44120}}</ref>
|id=random.splash
|pitch=0.6-1.4}}
{{Sound table
|sound=Water splash1.ogg
|sound2=Water splash2.ogg
|source=ambient
|description=?[[Category:Pages missing sound description]]<wbr>{{Upcoming|BE 1.20.40}}
|id=entity.generic.splash
|pitch=0.6-1.4}}
{{Sound table
|sound=Entering water1.ogg
|sound2=Entering water2.ogg
|sound3=Entering water3.ogg
|source=player
|description=When the player's eye level goes underwater<wbr>{{Upcoming|BE 1.20.40}}
|id=ambient.underwater.enter
|volume=<!--0.8 (other multipliers)-->
|pitch=1.0}}
{{Sound table
|sound=Exiting water1.ogg
|sound2=Exiting water2.ogg
|sound3=Exiting water3.ogg
|source=player
|description=When the player's eye level goes above water<wbr>{{Upcoming|BE 1.20.40}}
|id=ambient.underwater.exit
|volume=<!--1.0 (other multipliers)-->
|pitch=1.0}}
{{Sound table
|sound=Swim1.ogg
|sound2=Swim2.ogg
|sound3=Swim3.ogg
|sound4=Swim4.ogg
|source=player
|description=While something is moving through water
|id=random.swim
|pitch=0.6-1.4}}
{{Sound table
|sound=Empty water bucket1.ogg
|sound2=Empty water bucket2.ogg
|sound3=Empty water bucket3.ogg
|source=block
|description=When water is placed with a bucket
|id=bucket.empty_water
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fill water bucket1.ogg
|sound2=Fill water bucket2.ogg
|sound3=Fill water bucket3.ogg
|source=block
|description=When water is collected with a bucket
|id=bucket.fill_water
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Axolotl.ogg
|sound2=Dragon fish.ogg
|sound3=Shuniji.ogg
|source=music
|description=Randomly when underwater
|id=music.game.water
|volume=0.2
|pitch=1.0
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Water
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=water
|spritetype=block
|nameid=water
|form=block
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Water
|showfluidtags=y
|displayname=Fluid
|spritename=water
|spritetype=block
|nameid=water
|fluidtags=water}}
{{ID table
|displayname=Flowing Fluid
|spritetype=block
|spritename=water
|nameid=flowing_water
|fluidtags=water
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Water
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Flowing
|spritename=water
|spritetype=block
|nameid=flowing_water
|id=8
|form=block}}
{{ID table
|displayname=Stationary
|spritename=water
|spritetype=block
|nameid=water
|id=9
|form=block
|foot=1}}

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

{{/BS}}

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

{{/FS}}

==Achievements==
{{load achievements|Free Diver;Sleep with the Fishes}}

==Advancements==
{{load advancements|Tactical fishing;The Cutest Predator}}

==History==
{{Main|/History}}
{{History|java classic}}
{{History||May 17, 2009|link=https://archive.org/download/Minecraft_IRC_Logs_2009/history/files/May-15-to-June-03-2009/2009-05-17.140618-0400EDT.txt.~1~|Notch mentions developing water.{{q|a very very first version of the water is somewhat working now, heh [/] the level starts out without any water and is surrounded a by a huge ocean [/] it quickly fills, leaving islands}}}}
{{History||0.0.12a|snap=May 18, 2009|slink=Java Edition Classic 0.0.12a/Development#Water test (May 18, 2009)|[[File:Water (pre-release).png|32px]] Water is shown.}}
{{History|||snap=release|slink=Java Edition Classic 0.0.12a|[[File:Water JE1.png|32px]] Added water.
|Water flows to any available space below or beside it and creates a new source [[block]], making it easy to flood a whole world just with one source.}}
{{History||May 22, 2009|link=wordofnotch:111386404|[[Notch]] pointed out that when a [[plant]] or non-cube block is placed in water, it produces a box of [[air]] around it. He asked how it could be fixed, and whether he even had to.}}
{{History||0.0.13a|[[File:Water JE2.png|32px]] The model of water has been changed.}}
{{History||May 24, 2009|link=wordofnotch:112481256|A new water system is mentioned.}}
{{History||May 24, 2009|link=wordofnotch:112481370|A new water system is shown.}}
{{History||May 24, 2009|link=wordofnotch:112487511| Another test of water is shown.}}
{{History||May 26, 2009|link=wordofnotch:113350683|While sharing feedback on experiments with random vertex and color offsets, and deciding to scrap it, Notch said he would investigate salvaging the technique to add animation to water tiles.}}
{{History||0.0.19a|[[File:Water JE3.png|32px]] Added [[Procedural animated texture generation|procedural animated texture]] to water. The old texture is retained for use as a [[animation placeholder texture|placeholder]].
|Upscaled model 2% to fix z-fighting with blocks below water. It's created water or lava models overlapping and z-fighting with each other.
|Added [[sponge]]s, which remove water.
|Water part of the [[world boundary]] still uses the old water texture.}}
{{History||0.0.20a_02|[[File:Water JE4.png|32px]] Changed model scale back to normal with 1% offset on all coordinates.}}
{{History||0.26 SURVIVAL TEST|[[File:Water JE5.png|32px]] UV mapping on side faces now has 11% v offset up.}}
{{History||0.28|[[File:Water JE4.png|32px]] Fixed UV mapping.}}
{{History|java indev}}
{{History||0.31|snap=20091223-1|[[File:Water JE6.png|32px]] Added the flowing water texture, which is now used on the sides of water.}}
{{History|||snap=20100106|Water part of the [[world boundary]] now uses the animated water texture.}}
{{History|||snap=20100113|Water is now finite.|[[Ocean]]s now have infinite water.
|Water now always drains from its highest remove location.
|Water no longer moves on the surface on its own.
|Water now has a {{frac|2|3}} probability to evaporate and a {{frac|1|3}} probability to copy.}}
{{History|||snap=20100122|Water now spawns in level generation as [[spring]]s and lakes.}}
{{History|||snap=20100131|The texture of water is now seen when underwater.}}
{{History|java infdev}}
{{History||20100227-1|Water no longer flows due to changes in chunk handling for infinite worlds.{{verify|type=change}}}}
{{History||20100607|[[File:Water JE7.png|32px]] UV mapping now has 1% uv offset on top and bottom faces and 1% u, 11% v offset on side faces.}}
{{History||20100608|[[File:Water JE6.png|32px]] Fixed UV mapping, once again.}}
{{History||20100615|[[File:Water JE8.png|32px]] The model has been changed.
|Added flowing water.
|Sources placed in isolation flow exclusively downward, rather than spreading out one block in each direction as well.
|Water and lava do not produce any solid blocks when combined.
|Water does not replace plants.
|Water is now infinite again.
|Added [[water bucket]]s, which can be filled with water.}}
{{History||20100616-1|[[File:Water JE9.png|32px]] Added vertex offset.
|Water and flowing water now has visual connection to blocks.
|Downward flowing water now pushes the [[player]] out.{{info needed|and other entities?}}}}
{{History||20100617-2|[[File:Water JE10.png|32px]] Removed vertex offset.
|Water sources placed in the air now flow outward.
|Lava and flowing lava touching water, flowing water now replaces with [[obsidian]].
|Downward flowing water no longer pushes the player out.
|Water now can replace [[plants]]. However no items are dropped.}}
{{History||20100618|Water can now replace [[rail]]s.}}
{{History||20100624|Water now destroys plants, dropping as items.}}
{{History|java alpha}}
{{History||v1.0.2_02|[[Fluids]], including water, have been slightly tweaked.}}
{{History||v1.0.5_01|Water can now freeze into [[ice]].}}
{{History||v1.2.6|[[Lake]]s, which contain water, have been added.}}
{{History|java beta}}
<!--{{History||1.5|Dropped [[item]]s in flowing water now move faster.{{check version|Taken from trivia, may not be beta}}}}-->
{{History||1.6|snap=Test Build 3|[[Rain]] and [[snow]] no longer fall through water.
|Water sources now form over [[glass]].}}
{{History||1.8|snap=Pre-release|[[File:Water JE11.png|32px]] Changed [[lighting]].
|Underwater [[particles]] have been added.
|Because of the change in how land is generated, if a [[player]] is in a world that was made pre-1.8 and travels into new [[chunk]]s, there's a chance that a large [[ocean]] may be formed as the ocean [[biome]]. There is also a one-[[block]]-high drop in sea level along the discontinuity between the old and new chunks with the old chunks being higher.
|Water can now be found in the farms and wells of [[village]]s, and the fountain rooms of [[stronghold]]s.
|Two [[biome]]s have been added that are almost all water: [[ocean]]s and [[river]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Swamp Water JE1.png|32px]] {{color|#E0FF70}} Added water color in swampland.
|Added dripping water.}}
{{History|||snap=Beta 1.9 Prerelease 4|Added [[Respiration]] and [[Aqua Affinity]] enchantments, which allow more breathing time in water and normal digging speed in water.}}
{{History|||snap=Beta 1.9 Prerelease 5|Now flowing downward creates source blocks}}
{{History|||snap=RC1|[[File:Water JE12.png|32px]] [[File:Swamp Water JE2.png|32px]] Faces on model now 0.1% moved to center to fix z-fighting on inner faces.}}
{{History||1.1|snap=12w01a|[[File:Swamp Water JE3.png|32px]] {{color|#E0FFAE}} The water color in swampland is now less intense.}}
{{History||1.2.1|snap=12w04a|Added [[desert well]]s, which contain water.}}
{{History||1.3.1|snap=12w17a|The ability to bring water using [[ice]] into [[the Nether]] has been removed.}}
{{History|||snap=12w21a|[[Dispenser]]s have been given the ability to shoot out [[fluids]], including water, inside [[water bucket]]s. They can also collect the fluids if activated again.}}
{{History||1.4.2|snap=12w38a|The [[sound]] when jumping and swimming in water has been changed.
|The sound of flowing water is now continuous.
|The water overlay is a more saturated blue.}}
{{History||1.4.4|snap=1.4.3|Water of any depth now negates all [[Damage#Fall damage|fall damage]]. [[Player]]s and [[mob]]s no longer die from great heights in shallow water.<ref>{{bug|MC-1644}} resolved as Works As Intended</ref>}}
{{History||1.5|snap=13w02a|[[File:Water JE13.png|32px]] [[File:Swamp Water JE4.png|32px]] The texture of water has been changed to use an animated texture file. Prior to this version, the texture was procedurally generated by the game (see dedicated section below).}}
{{History|||snap=13w03a|A water source [[block]] now forms if there is another water source block below it.}}
{{History|||snap=13w04a|Flowing water in [[Creative]] mode no longer slows the [[player]] down when flying.}}
{{History||1.6.1|snap=13w17a|Water [[lake]]s no longer generate in [[desert]]s.}}
{{History||1.7.2|snap=13w36a|[[File:Swamp Water JE4.png|32px]] {{color|#E0FFAE}} Added water color in swampland M, which is the same as in swampland.}}
{{History||1.7.2|snap=13w36a|Water pools now generate in the new desert M [[biome]].
|[[Ocean]]s are much smaller.}}
{{History|||snap=13w41a|[[File:Water JE14.png|32px]] [[File:Swamp Water JE5.png|32px]] Water's six internal faces are now visible from the outside.
|Water, [[ice]] and [[portal]]s are now visible through each other. This also now allows water's inside faces to be visible from outside.}}
{{History|||snap=13w42a|[[File:Water JE13.png|32px]] [[File:Swamp Water JE6.png|32px]] Water's internal faces have been removed. This visually reverts water to its pre-13w41a appearance when seen from the outside.}}
{{History||1.7.4|snap=13w47a|Water's internal top face has been readded.<ref>{{bug|MC-35658}}</ref>}}
{{History|||snap=13w48a|[[File:Water JE15.png|32px]] [[File:Swamp Water JE7.png|32px]] Water's internal side faces except the bottom face, have been readded.<ref>{{bug|MC-40621}}</ref><ref>{{bug|MC-190053}}</ref>}}
{{History||1.9|snap=15w43b|When viewed through [[glass]], water now appears as a solid blue color, as opposed to a downward flowing water texture.<ref name="badwatergraphicsJE">{{bug|MC-35790}}</ref>}}
{{History||1.11|snap=16w39a|Water now generates in [[woodland mansion]]s.}}
{{History||1.12|snap=17w06a|Water now hardens [[concrete powder]] into [[concrete]], on contact.}}
{{History||1.13|snap=18w07a|[[Item]]s now float in water.
|The [[player]]'s underwater visibility has been changed - the longer a player stays underwater, the better they can see.}}
{{History|||snap=18w10a|Underwater visibility now depends on the [[biome]] the player is in.}}
{{History|||snap=18w10c|Water can now be placed in the same block as [[chest]]s, [[trapped chest]]s, [[stairs]], [[slab]]s, [[fence]]s, [[wall]]s, [[iron bars]] and [[glass pane]]s.}}
{{History|||snap=18w10d|Water can now be placed in [[ender chest]]s, [[trapdoor]]s, [[ladder]]s, and [[sign]]s.}}
{{History|||snap=18w15a|[[File:Water JE16.png|32px]] {{color|#3F76E4}} Added default water color. The textures of water have been changed from blue to grayscale.<ref>{{bug|MC-200838}}</ref>
|[[File:Warm Ocean Water JE.png|32px]] [[File:Lukewarm Ocean Water JE.png|32px]] [[File:Frozen Ocean Water JE.png|32px]] [[File:Cold Ocean Water JE.png|32px]] Added water colors for [[warm ocean]], [[lukewarm ocean]], [[frozen ocean]] and [[cold ocean]].
|[[File:Swamp Water.png|32px]] {{color|#617B64}} Water color in swampland has been changed.
|[[File:Swamp Hills Water 18w15a.png|32px]] {{color|#E0FFAE}} Water color in swampland M is unchanged.<ref>{{bug|MC-128558}}</ref>
|Water now blocks 1 [[light]] level per [[block]] instead of 3.
|[[Player]]s no longer receive the [[Night Vision]] effect while underwater.{{verify|type=change|Did this ever happen, or is it just being used as an analogy?}}}}
{{History|||snap=18w16a|When water spreads and would later turn into a source [[block]], it now immediately places a source block.}}
{{History|||snap=18w19a|[[Experience orb]]s now float in water.}}
{{History|||snap=pre3|[[File:Swamp Water.png|32px]] {{color|#617B64}} water color in swamp hills now the same as in [[swamp]].}}
{{History|||snap=pre7|Pressing the {{control|jump}} button in flowing water at <code>level=1</code>, <code>level=2</code> and <code>level=3</code> now do normal jumps instead of {{control|swimming}} up.}}
{{History||1.15|snap=19w34a|Added [[bee]]s, which get damaged while in water.}}
{{History|||snap=19w35a|Bees now try to avoid water.}}
{{History||1.17|snap=20w45a|Flowing water no longer breaks rails.}}
{{History|||snap=21w06a|[[Aquifer]]s, large bodies of water in caves, have been added.}}
{{History|||snap=21w07a|Aquifers generate less often.}}
{{History|||snap=21w08a|Water [[spring]]s are now able to generate below Y{{=}}0.}}
{{History|||snap=21w10a|The FOV shrinking effect now respects the "FOV Effects" accessibility slider.<ref>{{bug|MC-214629}}</ref>}}
{{History|||snap=21w15a|All changes to water generation from 21w06a to 21w08a have been reverted.}}
{{History|||snap=Pre-release 2|[[Smooth lighting]] now works properly underwater.<ref>{{bug|MC-68129}} resolved as "Fixed"</ref>}}
{{History||1.18|snap=Experimental Snapshot 1|[[File:Meadow Water.png|32px]] Added water color in [[meadow]].
|All changes to water generation in the 1.17 snapshots have been reintroduced.}}
{{History||1.18|snap=21w40a|[[Water lake]]s no longer generate.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Water can now generate as part of [[Ancient City|ancient cities]].}}
{{History||1.19|snap=22w14a|[[File:Mangrove Swamp Water.png|32px]] Added water color in [[mangrove swamp]].}}
{{History||1.19.3|snap=22w44a|Added the [[game rule]] {{cd|waterSourceConversion}}, which disables the formation of new water source blocks when set to {{cd|false}}.}}
{{History||1.20<br>(experimental)|link=1.19.4|snap=23w07a|[[File:Cherry Grove Water JE1.png|32px]] Added water color in [[cherry grove]].}}

{{History|pocket alpha}}
{{History||v0.1.0|[[File:Water JE11.png|32px]]{{verify|type=change|Is this accurate to how it appeared in this edition at this time?}} Added water. 
|[[File:Water JE2.png|32px]] On older or much newer devices, the old [[Java Edition|Java]] water texture is used, whereas the newer animated texture is used on intermediately modern devices.}}
{{History||v0.7.0|[[File:Water JE11.png|32px]]{{verify|type=change|Is this accurate to how it appeared in this edition at this time?}} The texture of water has been changed to the new texture for all devices.}}
{{History||v0.9.0|snap=build 1|[[File:Swamp Water BE1.png|32px]] Water now uses a dark blue coloration in [[swamp]]s.
|Water dripping [[particles]] have been changed.
|[[Water lake]]s have been added.
|Water can now be found in the farms and wells of [[village]]s.
|Two [[biome]]s have been added that are almost all water: [[ocean]]s and [[river]]s.
|Oasis now generate in the new [[desert]] M [[biome]].}}
{{History||v0.10.0|snap=build 1|Smooth lighting for water has been added.
|A gradient effect has been added to water that increases its opacity with distance.
|[[File:Old bedrock swamp water.png|32px]] Water color in swampland has been changed.
|Flowing water can now push [[entities]].}}
{{History|||snap=build 7|Running water now has [[sound]]s.}}
{{History|||snap=?|Water now destroys [[block]]s.{{info needed|if this is referring to washing away plants and torches and stuff, it's been able to do that since 0.1.0}}}}
{{History||v0.14.0|snap=build 1|[[Dispenser]]s can now shoot out water from [[water bucket]]s. They can also suck up [[fluids]], including water, directly adjacent to the side they are facing.}}
{{History||v0.14.2|[[File:Old bedrock water.png|32px]] Water now uses animated texture files.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 1.0.0.0|When viewed through [[glass]], water now appears as a solid blue color, as opposed to a downward flowing water texture.<ref name="badwatergraphicsBE">{{bug|MCPE-11140}}</ref>}}
{{History||1.1.0|snap=alpha 1.1.0.0|Water now generates in [[woodland mansion]]s.
|Water now hardens [[concrete powder]] into [[concrete]], on contact.}}
{{History|bedrock}}
{{History||?|The rendering change for water in 1.0.0 has been reverted for an unknown reason.}}
{{History||1.2.13|snap=beta 1.2.13.5|Water can now be placed in the same [[block]]s as [[slab]]s and [[stairs]].}}
{{History||1.4.0|snap=beta 1.2.14.2|Water can now be placed in the same block as most transparent blocks, instead of slabs and stairs only.}}
{{History|||snap=beta 1.2.20.1|[[File:Plains Water.png|32px]] Water now has a completely new look for every [[biome]] and it is now much easier to see above and underwater (see [[Water#Bedrock Edition]] for all biome colors).
|[[Item]]s now float to the top of water.
|Underwater visibility now depends on the [[biome]] the [[player]] is in.
|[[Respiration]] enchantment and [[Water Breathing]] effect no longer grants enhanced underwater visibility.}}
{{History|||snap=?|When viewed through [[glass]], water now appears as its own top texture, as opposed to a downward flowing water texture.<ref name="badwatergraphicsBE"/>}}
{{History||1.14.0|snap=beta 1.14.0.1|Added [[bee]]s, which get damaged when touching water and try to avoid it.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Water JE11.png|32px]]{{verify|type=change|Is this accurate to how it appeared in this edition at this time?}} [[File:Swamp Water JE2.png|32px]] Added water.}}
{{History||xbox=TU9|[[Dispenser]]s have been given the ability to shoot out [[fluids]], including water, inside [[water bucket]]s. They can also suck up the fluids if activated again, but a bug prevents the empty [[bucket]] from being filled.}}
{{History||xbox=TU12|[[File:Water JE15.png|32px]] Water now uses animated texture files.}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|Water can be used in custom superflats. It appears as a 3D block in the block selection screen of the custom superflat interface.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Water splash [[sound]]s have been updated.
|Most [[mob]]s can now [[swimming|swim]] in water.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[File:Warm Ocean Water.png|32px]] [[File:Lukewarm Ocean Water.png|32px]] [[File:Frozen Ocean Water.png|32px]] [[File:Cold Ocean Water.png|32px]] Added [[warm ocean]], [[lukewarm ocean]], [[frozen ocean]] and [[cold ocean]] texture colors for water in those [[biome]]s.}}
{{History||ps=1.78|The animation of water is now less smooth.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Water JE15.png|32px]]{{verify|type=change|Is this accurate to how it appeared in this edition at this time?}} [[File:Old bedrock swamp water.png|32px]] Added water.}}
{{History|foot}}
<!-- Still need to add in the right version: Drowning added, Water can turn into ice -->
<!--- Still need to add "1.16 pre-release 5 - Water overlay texture turned slightly darker" -->
{{More sounds|Old and older water splash sounds.|type=historical}}

===Data history===
{{History|java}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 8 and 9. Both blocks have been merged into a single one.}}
{{History|||snap=18w10c|Removed <code>flowing_water</code>.}}
{{History|foot}}

<gallery>
EarlyFlowingWater.png|The water and flowing water in [[Infdev 20100615]].
</gallery>

==Issues==
{{Issue list}}

==Trivia==
*The texture subtly overlaid on the screen when underwater is that of the original water texture from 0.0.12a.
**The outdatedness of this texture is not considered a bug or oversight, unlike many other outdated textures.<ref>{{bug|MC-241000|||Invalid}}</ref>
**This texture is particularly difficult to notice due to its extreme transparency,<ref>{{bug|MC-128337}}</ref> as well as the fact that other blocks likely make the scene visually noisy enough to further obscure it under most conditions.
* While underwater, the player's FOV (field of vision) is lowered by 10 to simulate light {{w|refraction}}. This can be disabled via the "FOV Effects" [[option]].
*If a player or mob with the [[Levitation]] effect touches water, the effect is completely negated.<ref>{{bug|MC-83369}}</ref>

==Gallery==
<gallery>
1.8underwater.png|Underwater particles, or "bubbles".
Underground water mix.png|Water that is underground, but is still part of 2 different biomes. The color is split.
InvisibleWater.png|A glitch where water is invisible below its surface level.
Water Cave Filling.png|Water flowing into a [[cave]].
Under water.png|A view underwater.
Mac os water texture V1.13-920.gif|Animated view of the Java edition water texture.
Bubbles.gif|These bubbles appear above the [[hunger]] bar when the player's head is in water, and when all the bubbles pop, a heart of damage is dealt every second until the player is no longer entirely under water.
Waterfall.png|A naturally occurring waterfall.
Water (texture) JE1 BE1.png|This texture is subtly overlaid on the screen when underwater.
Land ruin.png|An underwater ruin {{in|bedrock}} that generated on land with a water block on top of it.
Land ruin Java.png|An underwater ruin {{in|java}} that generated on land with a visible loot chest that is not waterlogged and doesn't have water on top of it.
Largelake.png|A large lake, during a [[thunderstorm]].
Coral reef at night.png|A [[coral reef]] at night, in a [[warm ocean]] biome.
WaterRavine.jpg|A bug that causes the water to not flow into the pit.
Obsidian Spring.png|A water flowing on lava lake, creating obsidian. The water was placed by a player.
Two flowing streams.png|Waterfalls made by a player.
Watercave.png|Water flowing into the cave from nearby lake.
RavineandStornghold.png|Ravine with multiple ores, water and lava falls, and stronghold bridge over it.
Water shade.png|Different water colors in swamp biome.
File:Nonflowingwater.png|A block of water, which is not flowing because of a glitch, besides a village farm.
</gallery>

==See also==
*[[Waterlogging]]

==References ==
{{Reflist}}

==External Links ==
*[https://www.minecraft.net/en-us/article/block-week-water Block of the Week: Water] – Minecraft.net on July 14, 2017

{{Blocks|natural}}
{{Items}}

[[Category:Fluids]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]

[[cs:Voda]]
[[de:Wasser]]
[[es:Agua]]
[[fr:Eau]]
[[hu:Víz]]
[[it:Acqua]]
[[ja:水]]
[[ko:물]]
[[nl:Water]]
[[pl:Woda]]
[[pt:Água]]
[[ru:Вода]]
[[th:น้ำ]]
[[tr:Su]]
[[uk:Вода]]
[[zh:水]]</li></ul></nowiki>
13w36aAdded /summon.
Added /achievement.
Added dataTag argument to /give.
13w37aAdded /setblock, /tellraw, and /testforblock.
13w38aAdded /setidletimeout.
13w43aAdded /setworldspawn.
1.8
{{Extension DPL}}<ul><li>[[Le Tricolore|Le Tricolore]]<br/>{{Exclusive|Java}}
{{Joke feature}}
{{Item
| image = 
| renewable = Yes
| stackable = Yes (64)
}}

'''Le Tricolore''' (French for ''The Tricolour'') is a joke item from [[Java Edition 23w13a_or_b]].

== Obtaining ==
One le tricolore and one [[la baguette]] is given to all players when [[French mode]] gets activated. Deactivating the mode will remove le tricolore from the player's inventory (but not la baguette; [[container]]s such as [[chest]]s are not affected).

Le Tricolore is not available in the creative inventory, but can be obtained by using the {{cmd|give}} command.

== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Le Tricolore
|spritetype=item
|nameid=le_tricolore
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||23w13a or b|[[File:Le Tricolore.png|32px]] Added Le Tricolore.}}
{{History|foot}}

{{Items}}
{{Jokes}}

[[Category:Joke items]]

[[ja:Le Tricolore]]
[[pt:Le Tricolore]]</li><li>[[Potion|Potion]]<br/>{{about|the drinkable potions|the throwable potions|Splash Potion|the throwable potions that leave a lingering area of effect|Lingering Potion}}
{{Redirect|Potion of Water Breathing|the potion in Minecraft Dungeons|MCD:Potion of Water Breathing}}{{About|the mechanics of potions|instructions on how to brew potions, and their recipes|Brewing}}{{update|The texture for ''[[Bedrock Edition]]'' is different, please add it.

Some potions texture/color was changed as of 1.19.4 pre-release 3, please add them.}}
{{Item
| image = Water Bottle.png
| extratext = View [[#Potions|all potions]]
| renewable = '''Uncraftable, Luck{{only|je|short=y}}, Decay{{only|be|short=y}}''': No<br>'''All others''': Yes
| stackable = BE: No<br/>JE: No{{until|Java Combat Tests}}<br>Yes (16){{upcoming|Java Combat Tests}}
}}'''Potions''' are bottled substances designed to inflict [[effects]]. They are created by [[brewing]] and when drunk give the player an [[effect]] for a limited time. All potions are brewed from a '''water bottle''', which is considered a type of potion but has no effects.

== Obtaining ==

=== Mob loot ===

==== Witches ====

[[Witch]]es can drop potions of Healing, Fire Resistance, Swiftness, or Water Breathing if they die while drinking that potion.

==== Wandering traders ====

[[Wandering trader]]s have a chance to drop a Potion of Invisibility if they die while drinking the potion.

=== Fishing ===
[[Water bottle]]s can be [[fishing|fished]] up as junk items.

=== Brewing ===
{{main|Brewing}}

Almost all potions are obtained by [[brewing]].

The Potion of Luck{{only|java|short=1}} and the Potion of Decay{{only|bedrock|short=1}} cannot be brewed. A command to give a Luck Potion is {{cmd|give @s minecraft:potion{Potion:luck} }}, while a Potion of Decay can be obtained via {{cmd|give @s potion 1 36}}. Both are also available in the [[creative inventory]].

=== Chest loot ===

Two Health II potions can be found in the brewing stand on ships in [[end cities]], and one splash potion of Weakness can be found in a brewing stand in [[igloo]] basements.

{{In|Bedrock}}, the cauldron in a [[swamp hut]] contains a random potion.
{{LootChestItem|potion-of-regeneration,potion-of-water-breathing,potion-of-healing}}

=== Bartering ===
[[Piglin]]s may [[barter]] a potion or a splash potion of Fire Resistance when given a [[gold ingot]].

== Usage ==

Potions are used by pressing and holding {{control|use}} with the potion bottle in hand, as with all consumable items. When drunk they bestow the corresponding [[status effect]] to the player.

Drinking a potion while already under the effects of the same potion does not add onto the effect's duration, but simply resets it. A potion effect does not "downgrade" if a lower level is activated. For example, if a [[player]] has [[Regeneration]] II, drinking a regular potion of Regeneration does not have any effect.

Using a potion on a cauldron does not transfer the potion to the cauldron, but begins to play the drinking animation.{{only|java|short=1}}

=== Modifiers ===
{{main|Brewing}}

Potions can be modified in five ways. 
# Brewing [[glowstone dust]] into certain potions will ''enhance'' their level of effect. 
# Adding [[redstone]] will ''extend'' the duration of the effect.
# Brewing [[gunpowder]] into a potion makes it into a ''splash'' potion (area effect).
# Adding [[dragon's breath]] to a splash potion creates a [[lingering potion]] (area effect that lingers on the ground).
# Brewing a [[fermented spider eye]] into specific potions modifies their effect, usually inverting it, which is referred to as "corruption". 

The modifications of Enhancement and Extension are mutually exclusive. 

Enhancing most potions trades some of its duration for a bigger effect. For example, the base Regeneration works for 44 seconds whereas Regeneration II lasts for only 22 seconds but heals more per tick during that time. 

Extending a potion generally makes it last {{frac|8|3}} as long as its base potion, so a duration of 3 minutes becomes 8 minutes. 
==== Corruption ====
The usual result of corruption is to invert the potion's effect (for example Swiftness becomes Slowness). Interestingly, corrupting Poison (continuous damage effect) creates a Potion of Harming, an instant damage effect, instead of the continuous healing effect (regeneration) one would normally expect. Corrupting a Potion of Night Vision turns it into a Potion of Invisibility rather than an inverse effect that might be something like blindness.

Corrupting an extended or enhanced potion results in a corrupted potion with the same modifier, if it is supported by the corrupted effect. All of the "corrupted" potions except Harming can be extended, but it is the only one that can be enhanced. {{IN|bedrock}}, the corruption of Healing II or Poison II potions results in a potion of Harming I.

=== Base potions ===

Base potions are potions that have no effect when the player drinks them, but are necessary as the basis for other potions.

{| class="wikitable col-1-center col3-left" data-description="Base potions"
! Icon
! Name
! Use
|-
| {{Slot|Water Bottle|link=none}}
! Water Bottle
| the base for the Awkward Potion and Potions of Weakness
|-
| rowspan="3"| {{Slot|Water Bottle|link=none}}
! Awkward Potion
| The base for all other effect potions
|-
! Mundane Potion
| Only usable as an alternative base for  Potion of Weakness{{only|bedrock}}
|-
! Thick Potion
| No use
|}

=== Effect potions ===

==== Potions with positive effects ====

{| class="wikitable col-1-center" data-description="Positive potions"
! Icon
! Name
! Duration
! Effect
! Description
|-
| rowspan="3" | {{Slot|Potion of Regeneration|link=none}}
! {{text anchor|Potion of Regeneration}}
| 0:45
| rowspan="3" | {{EffectLink|Regeneration}}
| Restores {{hp|18}} health over time, {{hp|1}} every 50 [[tick]]s (2.5 seconds).
|-
! Potion of Regeneration +
| 1:30{{only|java|short=1}}<br>2:00{{only|bedrock|short=1}}
| Restores {{hp|36}}{{only|java|short=1}} or {{hp|48}}{{only|bedrock|short=1}} health over time, {{hp|1}} every 50 ticks (2.5 seconds).
|-
! Potion of Regeneration II
| 0:22.5
| Restores {{hp|18}} health over time, {{hp|1}} every 25 ticks (1.25 seconds).
|-
| rowspan="3" | {{Slot|Potion of Swiftness|link=none}}
! {{text anchor|Potion of Swiftness}}
| 3:00
| rowspan="3" | {{EffectLink|Speed}}
| rowspan="2" | Increases speed and jump distance by 20% and increases FOV (6.6 meters per second sprinting).
|-
! Potion of Swiftness +
| 8:00
|-
! Potion of Swiftness II
| 1:30
| Increases speed and jump distance by 40% and increases FOV (8 meters per second sprinting).
|-
| rowspan="2" | {{Slot|Potion of Fire Resistance|link=none}}
! {{text anchor|Potion of Fire Resistance}}
| 3:00
| rowspan="2" | {{EffectLink|Fire Resistance}}
| rowspan="2" | Gives immunity to all heat-related damage.
|-
! Potion of Fire Resistance +
| 8:00
|-
| rowspan="2" | {{Slot|Potion of Healing|link=none}}
! {{text anchor|Potion of Healing}}
| Instant
| rowspan="2" | {{EffectLink|Instant Health}}
| Restores {{hp|4}} health.
|-
! Potion of Healing II
| Instant
| Restores {{hp|8}} health. (doubles with every additional level)
|-
| rowspan="2" | {{Slot|Potion of Night Vision|link=none}}
! {{text anchor|Potion of Night Vision}}
| 3:00
| rowspan="2" | {{EffectLink|Night Vision}}
| rowspan="2" | Visually brightens everything to a light level of 15, brightens up water with a blue shine, brightens up lava with an orange shine (other players cannot see the enhanced lighting without this effect).
|-
! Potion of Night Vision +
| 8:00
|-
| rowspan="3" | {{Slot|Potion of Strength|link=none}}
! {{text anchor|Potion of Strength}}
| 3:00
| rowspan="3" | {{EffectLink|Strength}}
| rowspan="2" | Increases melee damage by {{hp|3}}.{{only|java}}<br>Increases melee damage by 30% of the base damage and {{Hp|1}}.{{only|bedrock}}
|-
! Potion of Strength +
| 8:00
|-
! Potion of Strength II
| 1:30
| Increases melee damage by {{hp|6}} (+ {{hp|3}} per tier).{{only|java}}<br>Increases melee damage by 69% of the base damage and {{Hp|1.3}}. 
For each level: (<math>BaseDamage\times1.3^{level}+{1.3^{level}-1\over0.3}</math>){{only|bedrock}}
|-
| rowspan="3" | {{Slot|Potion of Leaping|link=none}}
! {{text anchor|Potion of Leaping}}
| 3:00
| rowspan="3" | {{EffectLink|Jump Boost}}
| rowspan="2" | Allows the player to jump {{frac|1|2}} blocks higher and reduces fall damage.
|-
!Potion of Leaping +
| 8:00
|-
! Potion of Leaping II
| 1:30
| Further increases jump height to {{frac|2|1|2}} blocks and further reduces fall damage.
|-
| rowspan="2" | {{Slot|Potion of Water Breathing|link=none}}
! style="white-space:nowrap" | {{text anchor|Potion of Water Breathing}}
| 3:00
| rowspan="2" | {{EffectLink|Water Breathing}}
| rowspan="2" | Allows the entity to swim without drowning or needing to surface for air. The oxygen bar does not decrease when underwater.
|-
! Potion of Water Breathing +
| 8:00
|-
| rowspan="2" | {{Slot|Potion of Invisibility|link=none}}
! {{text anchor|Potion of Invisibility}}
| 3:00
| rowspan="2" | {{EffectLink|Invisibility}}
| rowspan="2" |
Makes player  disappear from view. Mobs can detect and track the player only at close range, although the range increases when the player wears armor. The splash version make mobs or other players invisible. Some items are unaffected and so remain visible. These include: armor, items held in hand, arrows stuck into the player, a [[pig]]'s saddle, a [[llama]]'s carpet pattern, a [[shulker]]'s yellow head, and the glowing eyes of [[spider]]s, [[Phantom|phantoms]], and [[enderman|endermen]].
|-
! Potion of Invisibility +
| 8:00
|-
| rowspan="2" | {{Slot|Potion of Slow Falling|link=none}}
! {{text anchor|Potion of Slow Falling}}
| 1:30
| rowspan="2" | {{EffectLink|Slow Falling}}
| rowspan="2" | The mob/player falls at a much slower rate, and damage from hitting the ground is reduced to zero. A sprinting  leap of almost 6 blocks becomes possible and farmland is not affected by the player falling onto it.
|-
! Potion of Slow Falling +
| 4:00
|-
| {{Slot|Potion of Luck|link=none}}
! {{text anchor|Potion of Luck}}<br>{{only|java|short=1}}{{only|Console|short=1}}
| 5:00
| {{EffectLink|Luck}}
| Increases the luck [[Attribute#Attributes for players|attribute]] by 1 point.
|}

==== Potions with negative effects ====

{| class="wikitable col-1-center" data-description="Negative potions"
! Icon
! Name
! Duration
! Effect
! Description
|-
| rowspan="3" | {{Slot|Potion of Poison|link=none}}
! {{text anchor|Potion of Poison}}
| 0:45
| rowspan="3" | {{EffectLink|Poison}}
| Causes up to {{hp|36|poisoned=1}} damage over time at a rate of 1 every 50 ticks, but does not reduce health below {{hp|1}}.
|-
! Potion of Poison +
| 1:30
| Causes up to {{hp|72|poisoned=1}}{{only|java|short=1}} or {{hp|96|poisoned=1}}{{only|bedrock|short=1}} damage over time, but does not reduce health below {{hp|1}}.
|-
! Potion of Poison II
| 0:21.6{{only|java|short=1}}<br>0:22.5{{only|bedrock|short=1}}
| Causes up to {{hp|38|poisoned=1}} damage over time, but does not reduce health below {{hp|1}}.
|-
| rowspan="2" | {{Slot|Potion of Weakness|link=none}}
! {{text anchor|Potion of Weakness}}
| 1:30
| rowspan="2" | {{EffectLink|Weakness}}
| rowspan="2" | Reduces melee damage by {{hp|4}}.{{only|java}}<br>Reduces melee damage by 20% of the base damage and {{hp|0.5}}.{{only|bedrock}}
|-
! Potion of Weakness +
| 4:00
|-
| rowspan="3" | {{Slot|Potion of Slowness|link=none}}
! {{text anchor|Potion of Slowness}}
| 1:30
| rowspan="3" | {{EffectLink|Slowness}}
| rowspan="2" | Slows players and mobs by 15%, to about 4.75 blocks per second sprinting.
|-
! Potion of Slowness +
| 4:00
|-
! Potion of Slowness IV<!--The IV is correct, it is not Slowness II-->
| 0:20
| Slows players and mobs by 60%, to about 2.25 blocks per second sprinting.
|-
| rowspan="2" |{{Slot|Potion of Harming|link=none}}
! {{text anchor|Potion of Harming}}
| Instant
| rowspan="2" | {{EffectLink|Instant Damage}}
| Damages {{hp|6}}.
|-
! Potion of Harming II
| Instant
| Damages {{hp|12}}. (doubles with every additional level)
|-
| {{Slot|Potion of Decay|link=none}}
! Potion of Decay<br>{{only|bedrock|short=1}}{{Anchor|Potion of Decay}}
| 0:40
| {{EffectLink|Wither|link=Wither (status effect)}}
| Damages {{hp|1|withered=1}} every second, making a total of {{hp|40|withered=1}} damage 
|}

==== Potions with mixed effects ====

{| class="wikitable col-1-center col-2-center" data-description="Base potions"
! Icon
! Name
! Duration
! Effect
! Description
|-
| rowspan="3" | {{Slot|Potion of the Turtle Master|link=none}}
! {{text anchor|Potion of the Turtle Master}}
| style="text-align:center" | 0:20
| rowspan="3" | {{EffectLink|Slowness}}<br>{{EffectLink|Resistance}}
| rowspan="2" | Slows players and mobs by 60%, to about 2.25 blocks per second sprinting, and reduces their damage taken by 60%.
|-
! Potion of the Turtle Master +<br>
| 0:40
|-
! Potion of the Turtle Master II<br>
| 0:20
| Slows players and mobs by 90%, to about 0.5625 blocks per second sprinting, and reduces their damage taken by 80%.
|}

=== Uncraftable Potion ===

{{IN|java}}, the Uncraftable Potion is a potion with no effect that is unobtainable in regular gameplay.

It is also available in splash potion and lingering potion forms, as well as for tipped arrows.

It can be obtained using the following command: {{cmd|give @s minecraft:potion{Potion:"minecraft:empty"} }}. It is also obtained any time a potion has invalid or missing potion effect tags, and thus serves as a placeholder.

{| class="wikitable" style="text-align: center;" data-description="Unused potions"
! Icon
! Name
! Effect
|-
| {{Slot|Uncraftable Potion|link=none}}
! Uncraftable Potion
| No effect
|}

=== Joke potions===

====[[Java Edition 15w14a]]====

{| class="wikitable col-1-center col-2-center" data-description="Base potions"
!Icon
!Name
!Duration
!Effect
! Description 
|-
|{{Slot|Potion of Slowness Revision 1|link=none}}
!{{text anchor|Potion of Caring}}
| style="text-align:center" |Instant
|{{EffectLink|id=Slowness Revision 1|Caring}}
| rowspan="3" |Changes the mob AI to move toward the nearest mob as if it were to attack it.
|-
| rowspan="2" |{{Slot|Potion of Poison Revision 1|link=none}}
!{{text anchor|Potion of Caring}}
| style="text-align:center" |Instant
| rowspan="2" | {{EffectLink|id=Poison Revision 1|Caring}} 
|-
! {{text anchor|Potion of Caring II}}
| style="text-align:center" |Instant
|-
| rowspan="2" |{{Slot|Potion of Weakness Revision 1|link=none}}
!{{text anchor|Potion of Sharing}}
| style="text-align:center" |1:30
| rowspan="2" |{{EffectLink|id=Weakness Revision 1|Sharing}}
| rowspan="2" |Drops items in a random amount of time, ranging from food to rare items like [[saddle]]s or [[diamond]]s.
|-
!{{text anchor|Potion of Sharing +}}
| style="text-align:center" |4:00
|}

==== [[Java Edition 23w13a_or_b]]====

{{Empty section}}

===Undead mobs===

The effects given by Potions of Healing and Harming are opposite on undead mobs, which includes skeletons and zombies. Potions of Healing cause harm, and Harming heals them. In addition, undead mobs are not affected by Poison or Regeneration. 

{{IN|bedrock}}, hitting an undead mob with a Regeneration Potion will always register as Regeneration I, no matter the level of the used potion.

===Mud conversion===

Using a water bottle, splash water bottle, or lingering water bottle on [[dirt]], [[coarse dirt]], or [[rooted dirt]] will convert it into [[mud]], returning a glass bottle with it. This process can be automated with a [[dispenser]]. 

===Filling cauldrons with Potions===

{{IN|Bedrock|Legacy Console}} potion bottles may be used on a cauldron to fill it. Using a glass bottle on a cauldron filled with a potion drains it and fills the bottle. Potions cannot be combined in a cauldron, nor can they be mixed with water, but as an added bonus if you use a stack of arrows in a full cauldron you get a stack of tipped arrows. for 1 layer you get 16, 2 layers 32.

==Custom effects==

{{IN|java}}, potions can also be obtained with any status effect using {{cmd|give}} and the tag <code>custom_potion_effects</code>, which is an array of effects for the potion. See [[Item format#Potion Effects]] for more information, and [[status effect]] for a list of effects and IDs.

==Sounds==
{{edition|java}}:
{{Sound table
|sound=Drink.ogg
|subtitle=Sipping
|source=player
|description=While a player is drinking a potion
|id=entity.generic.drink
|translationkey=subtitles.entity.generic.drink
|volume=0.5
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Witch drink1.ogg
|sound2=Witch drink2.ogg
|sound3=Witch drink3.ogg
|sound4=Witch drink4.ogg
|subtitle=Witch drinks
|source=hostile
|description=When a witch drinks a potion
|id=entity.witch.drink
|translationkey=subtitles.entity.witch.drink
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Wandering trader drink potion.ogg
|sound2=Drink.ogg
|subtitle=Wandering Trader drinks potion
|source=neutral
|description=While a [[wandering trader]] is drinking a potion to become invisible during nighttime
|id=entity.wandering_trader.drink_potion
|translationkey=subtitles.entity.wandering_trader.drink_potion
|volume=''varies'' <ref group=sound>0.35 for the first sound, 0.325 for the second sound</ref>
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|subtitle=Bottle empties
|source=block
|description=When a water bottle is emptied
|id=item.bottle.empty
|translationkey=subtitles.item.bottle.empty
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|subtitle=Bottle fills
|source=block
|description=When a water bottle is filled
|id=item.bottle.fill
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Drink.ogg
|source=player
|description=When a player drinks a potion
|id=random.drink
|volume=0.35
|pitch=0.9-1.1}}
{{Sound table
|sound=Witch drink1.ogg
|sound2=Witch drink2.ogg
|sound3=Witch drink3.ogg
|sound4=Witch drink4.ogg
|source=hostile
|description=When a witch drinks a potion
|id=mob.witch.drink
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Wandering trader drink potion.ogg
|sound2=Drink.ogg
|source=neutral
|description=When a wandering trader drinks a potion to become invisible during nighttime
|id=mob.wanderingtrader.drink_potion
|volume=''varies'' <ref group=sound>0.7 for the first sound, 0.65 for the second sound</ref>
|pitch=0.8-1.2}}
{{Sound table
|rowspan=4
|sound=Water Splash Old.ogg
|source=block
|description=When a potion is placed in a cauldron<wbr><ref group=sound name=potionsplash>{{Bug|MCPE-174867}}</ref>
|id=cauldron.fillpotion
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a potion is taken from a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.takepotion
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When water from a bottle is placed in a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.fillwater
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When water from a bottle is taken from a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.takewater
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|source=sound<!--bottle-->
|description=When a water bottle or potion is emptied<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.empty
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|source=sound<!--bottle-->
|description=When a water bottle or potion is filled<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.fill
|volume=1.0
|pitch=1.0
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Potion
|spritetype=item
|nameid=potion
|form=item
|translationkey=item.minecraft.potion,item.minecraft.potion.effect.empty,item.minecraft.potion.effect.water,item.minecraft.potion.effect.mundane,item.minecraft.potion.effect.thick,item.minecraft.potion.effect.awkward,item.minecraft.potion.effect.night_vision,item.minecraft.potion.effect.invisibility,item.minecraft.potion.effect.leaping,item.minecraft.potion.effect.fire_resistance,item.minecraft.potion.effect.swiftness,item.minecraft.potion.effect.slowness,item.minecraft.potion.effect.water_breathing,item.minecraft.potion.effect.healing,item.minecraft.potion.effect.harming,item.minecraft.potion.effect.poison,item.minecraft.potion.effect.regeneration,item.minecraft.potion.effect.strength,item.minecraft.potion.effect.weakness,item.minecraft.potion.effect.levitation,item.minecraft.potion.effect.luck,item.minecraft.potion.effect.turtle_master,item.minecraft.potion.effect.slow_falling
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Potion
|spritetype=item
|nameid=potion
|id=426
|form=item
|translationkey=potion.emptyPotion.name,potion.mundane.name,potion.mundane.extended.name,potion.thick.name,potion.awkward.name,potion.nightVision.name,potion.invisibility.name,potion.jump.name,potion.fireResistance.name,potion.moveSpeed.name,potion.moveSlowdown.name,potion.heal.name,potion.harm.name,potion.poison.name,potion.regeneration.name,potion.damageBoost.name,potion.weakness.name,potion.wither.name,potion.turtleMaster.name,potion.slowFalling.name
|foot=1}}

=== Metadata===
{{IN|bedrock}}, potions use the following item data values to indicate the kind of potion:
{{/DV}}

===Item data===

====Java Edition====

<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Potion}}
</div>
Normal potions use an NBT "Potion" tag to indicate the potion type. The values of the tag (to be prefixed with <code>minecraft:</code>) are:
{| class="wikitable sortable" style="text-align: center;" data-description="Potion NBT data"
!Potion
! Regular
!Level II
!Extended + 
|-
| Uncraftable Potion
|anything except the below
|–
|–
|-
|Water Bottle
|{{code|water}} 
|–
|–
|-
|Mundane Potion
|{{code|mundane}}
|–
|–
|-
| Thick Potion
|{{code|thick}}
|–
|–
|-
|Awkward Potion
|{{code|awkward}}
|–
|–
|-
| Night Vision
|{{code|night_vision}}
|–
|{{code|long_night_vision}}
|-
|Invisibility
|{{code|invisibility}}
|–
|{{code|long_invisibility}}
|-
|Leaping
|{{code|leaping}}
|{{code|strong_leaping}}
|{{code|long_leaping}}
|-
|Fire Resistance
|{{code|fire_resistance}}
|–
|{{code|long_fire_resistance}}
|-
|Swiftness
|{{code|swiftness}}
|{{code|strong_swiftness}}
|{{code|long_swiftness}}
|-
|Slowness
|{{code|slowness}}
|{{code|strong_slowness}}
|{{code|long_slowness}}
|-
|Water Breathing
|{{code|water_breathing}}
|–
|{{code|long_water_breathing}}
|-
| Instant Health
|{{code|healing}}
|{{code|strong_healing}}
|–
|-
| Harming
|{{code|harming}}
|{{code|strong_harming}}
|–
|-
|Poison
|{{code|poison}}
|{{code|strong_poison}}
|{{code|long_poison}}
|-
|Regeneration
|{{code|regeneration}}
|{{code|strong_regeneration}}
| {{code|long_regeneration}}
|-
|Strength
|{{code|strength}} 
| {{code|strong_strength}}
|{{code|long_strength}}
|-
|Weakness
|{{code|weakness}}
|–
|{{code|long_weakness}}
|-
|Luck
|{{code|luck}}
|–
|–
|-
|The Turtle Master
|{{code|turtle_master}}
|{{code|strong_turtle_master}}
|{{code|long_turtle_master}}
|-
| Slow Falling
|{{code|slow_falling}}
|–
|{{code|long_slow_falling}}
|}

====Bedrock Edition====

:See [[Bedrock Edition level format/Item format]].

==Achievements==
{{load achievements|Local Brewery|Taste of your own Medicine}}

==Advancements==
{{Load advancements|Local Brewery;A Furious Cocktail;How Did We Get Here?;Husbandry}}

==History==
{{Info needed section|Potion of Weakness;Uncraftable Potion texture in JE 1.11}}
{{History|java beta}}
{{History||July 7, 2010|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/779956568/the-rationale-for-redstone|[[Brewing|Alchemy]] was first hinted by [[Notch]] when he explained why [[redstone ore]] disintegrates into "[[redstone|dust]]". He states that dust would be used later in potions.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[Jeb]] tweeted a screenshot showing potion durations and [[glass bottle]]s.<ref>{{tweet|jeb|118681103350501376|This will probably ->NOT<- be included in Beta 1.9, but it's a nice screenshot: http://i.imgur.com/oK2tE.png |September 28, 2011}}</ref>
|Potions are [[brewing|brewed]] using [[cauldron]]s<ref>{{tweet|jeb|119466949708222465|Potions are delayed because *add to cauldron, pick up, look at tooltip, pour back into cauldron, repeat* was extremely tedious|September 30, 2011}}</ref> by combining ingredients and other potions in cauldrons. Cauldrons, although they are functional and can be used to brew potions, are unavailable in this update.
|In total, there are 161 possible potion combinations and 2,653 different types of potions.<ref>{{tweet|jeb|120520408792432641|In the prerelease, there are 161 brewable unique potions. Unless we change it, there are 2,653 with all ingredients added.|October 3, 2011}}</ref>
|[[Jeb]] later tweeted that both [[Notch]] and he had come up with a different way to [[brewing|brew]] potions, which was revealed to be [[brewing stand]]s.<ref>{{tweet|jeb|119710836469149697|A quick discussion with @notch led me in on a new way of doing the potion brewing. Cauldron is out...|September 30, 2011}}</ref>}}
{{History|||snap=Beta 1.9 Prerelease 3|[[Brewing stand]]s have been implemented, which has replaced the (previously unimplemented) [[cauldron]]s' [[brewing]] functionality, so potions are now obtainable without mods. Potions Brewed in the previous version will now be glitched. Water Bottles have been added.}}
{{History||1.3.1|snap=12w21b|[[File:Water Bottle JE1 BE1.png|32px]] Water bottles have been added to the [[Creative inventory]].}}
{{History||1.3.1|snap=12w22a|[[File:Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Potion of Swiftness JE1 BE1.png|32px]] [[File:Potion of Slowness JE1 BE1.png|32px]] [[File:Potion of Healing JE1 BE1.png|32px]] [[File:Potion of Harming JE1 BE1.png|32px]] [[File:Potion of Poison JE1 BE1.png|32px]] [[File:Potion of Regeneration JE1 BE1.png|32px]] [[File:Potion of Strength JE1 BE1.png|32px]] [[File:Potion of Weakness JE1 BE1.png|32px]] Potions have been added to the [[Creative]] [[inventory]]. This includes extended-enhanced potions with both extended duration and enhanced effect for four potion effects.}}
{{History||1.4.2|snap=12w32a|[[File:Potion of Night Vision JE1 BE1.png|32px]] Added potion of [[Night Vision]]. However, it is [[brewing|unbrewable]] at the time.}}
{{History|||snap=12w38a|Added Healing and Harming potions to the Creative inventory.}}
{{History||1.5|snap=?|Extended-enhanced potions are no longer available in the Creative inventory for all four potion effects. {{info needed}}{{verify}}<!--only checked v1.4.7 and v1.5.2, but did not check any version in between, please check all-->}}
{{History|||snap=12w34a|[[File:Potion of Invisibility JE1 BE1.png|32px]] Added potions of [[Invisibility]].
|Potions of Night Vision are now [[brewing|brewable]].}}
{{History|||snap=12w38a|[[Witch]]es now cast potions at [[player]]s and can rarely [[drops|drop]] potions upon [[death]].}}
{{History|||snap=12w39a|Potions are now customizable using NBT editors or MCEdit.}}
{{History||1.6.1|snap=?|Potions of [[Weakness]] now reduce [[damage]] by half hearts, instead of 1 heart as it was before.}}
{{History|||snap=13w23a|Potions of [[Healing]] and [[Regeneration]] have been nerfed (by 33.3% and 50%).}} 
{{History||1.7.2|snap=13w36a|[[File:Potion of Water Breathing JE1 BE1.png|32px]] Added potions of [[Water Breathing]].
|[[Water bottle]]s can now be obtained as one of the "junk" [[item]]s from [[fishing]].}}
{{History||1.8|snap=14w27a|[[File:Potion of Leaping JE1 BE1.png|32px]] Added potions of [[Leaping]].}}
{{History||1.8.1|snap=pre1|Potion of Leaping can now be extended.}}
{{History||1.9|snap=15w31a|Numeric IDs are no longer used for potions. Instead, an NBT "Potion" [[tag]] is used, e.g. {{cmd|give @p minecraft:potion 1 0 {Potion:"minecraft:swiftness"} }}. See [[/Before 1.9|here]] for the old numeric IDs. This means the order of potion effects have changed in the Creative inventory.
|Splash potions now have a separate data value and ID name.
|[[File:Water Bottle JE1 BE1.png|32px]] [[File:Water Bottle JE1 BE1.png|32px]] [[File:Water Bottle JE1 BE1.png|32px]] Added Mundane, Thick and Awkward potions to the [[creative]] [[inventory]].
|Mixed potions' colors now blend.}}
{{History|||snap=15w33a|Added [[lingering potion]]s, which are [[brewing|brewed]] with [[splash potion]]s and [[dragon breath]] after splash potions are brewed with potions and [[gunpowder]].
|The duration of potions of [[Poison]] has been extended, the duration of potions of [[Regeneration]] has been extended, and the duration of potions of [[Poison]] II has been reduced.
|Potion of [[Strength]] has been changed from 130% increase to 3-point increase.
|Potion of [[Weakness]] has been changed to 4-point decrease, was 0.5-point decrease.}}
{{History|||snap=15w44b|[[File:Uncraftable Potion JE1.png|32px]] Added the uncraftable potion.
|[[File:Potion of Luck JE1.png|32px]] Added potions of [[Luck]].}}
{{History||1.11|snap=16w33a|A [[water bottle]] is now able to add 1 water level to a [[cauldron]].}}
{{History|||snap=16w38a|The uncraftable potion is now magenta, has no glint, and is now obtained anytime a potion is specified with invalid or missing potion effect [[tag]]s.
|Due to the [[water bottle]] without tags being changed to the uncraftable potion, the [[brewing]] icon has also been changed to the uncraftable potion in [[creative]] [[inventory]].
|The uncraftable potion has been removed from the [[creative]] [[inventory]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 373.}}
{{History|||snap=18w07a|[[File:Potion of the Turtle Master JE1 BE1.png|32px]] Added potion of the Turtle Master, which gives Slowness IV and Resistance IV for 1 minute.
|Extended potions give both effects for 3 minutes.
|Level 2 potions give level VI of both effects for 1 minute.}}
{{History|||snap=18w14a|[[File:Potion of Slow Falling JE1 BE1.png|32px]] Added potions of [[Slow Falling]].}}
{{History|||snap=18w16a|Regular and extended potions of the Turtle Master now give only Resistance III.
|Level 2 potions of the Turtle Master now give only Resistance IV. This is because Resistance VI made the player invincible.}}
{{History||1.14|snap=18w43a|[[File:Potion of Night Vision JE2 BE2.png|32px]] [[File:Potion of Invisibility JE2 BE2.png|32px]] [[File:Potion of Leaping JE2 BE2.png|32px]] [[File:Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Potion of Swiftness JE2 BE2.png|32px]] [[File:Potion of Slowness JE2 BE2.png|32px]] [[File:Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Potion of Water Breathing JE2 BE2.png|32px]] [[File:Potion of Healing JE2 BE2.png|32px]] [[File:Potion of Harming JE2 BE2.png|32px]] [[File:Potion of Poison JE2 BE2.png|32px]] [[File:Potion of Regeneration JE2 BE2.png|32px]] [[File:Potion of Strength JE2 BE2.png|32px]] [[File:Potion of Weakness JE2 BE2.png|32px]] [[File:Potion of Luck JE2.png|32px]] [[File:Potion of Slow Falling JE2 BE2.png|32px]] [[File:Water Bottle JE2 BE2.png|32px]] [[File:Uncraftable Potion JE2.png|32px]]<br>[[File:Potion of Night Vision.gif|32px]] [[File:Potion of Invisibility.gif|32px]] [[File:Potion of Leaping.gif|32px]] [[File:Potion of Fire Resistance.gif|32px]] [[File:Potion of Swiftness.gif|32px]] [[File:Potion of Slowness.gif|32px]] [[File:Potion of the Turtle Master.gif|32px]] [[File:Potion of Water Breathing.gif|32px]] [[File:Potion of Healing.gif|32px]] [[File:Potion of Harming.gif|32px]] [[File:Potion of Poison.gif|32px]] [[File:Potion of Regeneration.gif|32px]] [[File:Potion of Strength.gif|32px]] [[File:Potion of Weakness.gif|32px]] [[File:Potion of Luck.gif|32px]] [[File:Potion of Slow Falling.gif|32px]] The textures of potions have been changed.}}
{{History|||snap=19w06a|[[Wandering trader]]s now drink [[Invisibility]] potions at [[night]] and [[milk bucket]]s at dawn.}}
{{History||1.16|snap=20w09a|[[Fire resistance]] potions can now be obtained through [[bartering]].}}
{{History||1.16.2|snap=20w28a|Water bottles can now be obtained through [[bartering]].|Potions and splash potions of Fire Resistance now have a {{frac|8|459}} (~1.74%) chance of being offered by [[piglin]]s when bartering.}}
{{History||1.18|snap=21w39a|Potions of Water Breathing can now generate in [[buried treasure]] chests.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Potions of Healing now generate in [[ancient city]] chests.}}
{{History|||snap=22w11a|Water bottles can now be used on [[dirt]], [[coarse dirt]], or [[rooted dirt]] to turn it into [[mud]].}}
{{History|||snap=22w13a|Potions of Healing no longer generate in [[ancient city]] [[chest]]s.|Potions of Regeneration may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.4|snap=Pre-release 1|Potions no longer have an enchantment glint.}}
{{History|||snap=Pre-release 3|[[File:Potion of Night Vision JE3.png|32px]] [[File:Potion of Invisibility JE3.png|32px]] [[File:Potion of Leaping JE3.png|32px]] [[File:Potion of Fire Resistance JE3.png|32px]] [[File:Potion of Swiftness JE3.png|32px]] [[File:Potion of Slowness JE3.png|32px]] [[File:Potion of the Turtle Master JE3.png|32px]] [[File:Potion of Water Breathing JE3.png|32px]] [[File:Potion of Harming JE3.png|32px]] [[File:Potion of Poison JE3.png|32px]] [[File:Potion of Strength JE3.png|32px]] Changed colors of the following potions (all forms): Night Vision, Invisibility, Leaping, Fire Resistance, Swiftness, Slowness, Turtle Master, Water Breathing, Harming, Poison, Strength, Resistance.}}
{{History||1.20|snap=23w12a|Wither [[effect]] particle colors have been adjusted to make them more distinguishable.
|The potion of [[Slow Falling]] has had its color tweaked to make it more distinguishable from the potion of [[Invisibility]].}}
{{History||1.20.2|snap=23w32a|Game no longer uses numerical values for potion IDs.|Renamed the following tags:
* <code>CustomPotionEffects</code> -> <code>custom_potion_effects</code>
* <code>Id</code> (integer) -> <code>id</code> (string, resource location)
* <code>Ambient</code> -> <code>ambient</code>
* <code>Amplifier</code> -> <code>amplifier</code>
* <code>Duration</code> -> <code>duration</code>
* <code>ShowParticles</code> -> <code>show_particles</code>
* <code>ShowIcon</code> -> <code>show_icon</code>}}
{{History|java upcoming}}
{{History||Combat Tests|snap=Combat Test 7c|Potions with the same tags can now stack to 16.}}
{{History|||snap=Combat Test 8b|Potions (and liquid food) can now be drank faster (20 ticks, was 32 ticks).}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|[[Wandering trader]]s now have a chance to [[trading|buy]] a water bottle or sell a potion of Invisibility.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Water Bottle JE1 BE1.png|32px]] [[File:Potion of Night Vision JE1 BE1.png|32px]] [[File:Potion of Invisibility JE1 BE1.png|32px]] [[File:Potion of Leaping JE1 BE1.png|32px]] [[File:Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Potion of Swiftness JE1 BE1.png|32px]] [[File:Potion of Slowness JE1 BE1.png|32px]] [[File:Potion of Water Breathing JE1 BE1.png|32px]] [[File:Potion of Healing JE1 BE1.png|32px]] [[File:Potion of Harming JE1 BE1.png|32px]] [[File:Potion of Poison JE1 BE1.png|32px]] [[File:Potion of Regeneration JE1 BE1.png|32px]] [[File:Potion of Strength JE1 BE1.png|32px]] [[File:Potion of Weakness JE1 BE1.png|32px]] Added potions.
|Water bottles, mundane, long mundane, thick, and awkward potions are all available in the Creative inventory.}}
{{History||v0.13.0|snap=build 1|Potions of [[Leaping]] are now obtainable in [[survival]].}}
{{History||v0.14.0|snap=build 1|Potions can now be used to fill 1/3 layer of [[cauldron]], filling cauldron with different [[liquids|liquid]] empties the cauldron.
|Using a [[glass bottle]] to a [[cauldron]] filled by a potion now fills the glass bottle with that potion.
|[[Swamp hut]]s now generate [[cauldron]]s filled with a random potion, making potions now obtainable in [[survival]] without [[brewing]].
|Potions of [[Healing]], [[Fire Resistance]], [[Water Breathing]] and [[Swiftness]] can now be obtained by killing [[witch]]es while they're drinking potions.}}
{{History||v0.16.0|snap=build 4|[[File:Potion of Decay BE1.png|32px]] Added potions of [[Wither (status effect)|Decay]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|2 Potions of [[Healing]] II can now be found in a [[brewing stand]] inside [[end ship]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Potions of [[Water Breathing]] and potions of [[Regeneration]] can now be found inside [[buried treasure]] chests.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Potion of the Turtle Master JE1 BE1.png|32px]] Added potions of the Turtle Master.}}
{{History||1.6.0|snap=beta 1.6.0.5|[[File:Potion of Slow Falling JE1 BE1.png|32px]] Added potions of [[Slow Falling]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Water Bottle JE2 BE2.png|32px]] [[File:Potion of Night Vision JE2 BE2.png|32px]] [[File:Potion of Invisibility JE2 BE2.png|32px]] [[File:Potion of Leaping JE2 BE2.png|32px]] [[File:Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Potion of Swiftness JE2 BE2.png|32px]] [[File:Potion of Slowness JE2 BE2.png|32px]] [[File:Potion of Water Breathing JE2 BE2.png|32px]] [[File:Potion of Healing JE2 BE2.png|32px]] [[File:Potion of Harming JE2 BE2.png|32px]] [[File:Potion of Poison JE2 BE2.png|32px]] [[File:Potion of Regeneration JE2 BE2.png|32px]] [[File:Potion of Strength JE2 BE2.png|32px]] [[File:Potion of Weakness JE2 BE2.png|32px]] [[File:Potion of Decay BE2.png|32px]] [[File:Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Potion of Slow Falling JE2 BE2.png|32px]] The textures of potions have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|Potions of [[Invisibility]] can now be obtained by killing [[wandering trader]]s while they're drinking potions.}}
{{History||1.16.0|snap=beta 1.15.0.51|Added potions of [[Slowness]] IV, which can be brewed from potions of Slowness using glowstone dust.}}
{{History|||snap=beta 1.16.0.57|[[Fire resistance]] potions can now be obtained through [[bartering]].}}
{{History||1.16.100|snap=beta 1.16.100.54|Water Bottles can now be obtained through [[bartering]].|Potions and splash potions of Fire Resistance now have a {{frac|8|459}} (~1.74%) chance of being offered by [[piglin]]s when bartering.}}
{{History||1.19.80|snap=beta 1.19.80.21|Changed potion colors for the following potions: Fire Resistance, Harming, Invisibility, Leaping, Night Vision, Poison, Slowness, Strength, Swiftness, Turtle Master, and Water Breathing.
|Removed enchantment glint from splash potions.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Water Bottle JE1 BE1.png|32px]] [[File:Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Potion of Swiftness JE1 BE1.png|32px]] [[File:Potion of Slowness JE1 BE1.png|32px]] [[File:Potion of Healing JE1 BE1.png|32px]] [[File:Potion of Harming JE1 BE1.png|32px]] [[File:Potion of Poison JE1 BE1.png|32px]] [[File:Potion of Regeneration JE1 BE1.png|32px]] [[File:Potion of Strength JE1 BE1.png|32px]] [[File:Potion of Weakness JE1 BE1.png|32px]] Added potions.}}
{{History||xbox=TU8|Added the awkward potion to the [[Creative]] menu.}}
{{History||xbox=TU14|ps=1.04|[[File:Potion of Night Vision JE1 BE1.png|32px]] [[File:Potion of Invisibility JE1 BE1.png|32px]] Added potions of [[Night Vision]] and potions of [[Invisibility]].
|Awkward potion is no longer obtainable from the [[Creative inventory]].
|Extended-enhanced potions are now listed individually for four potion effects.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Potion of Leaping JE1 BE1.png|32px]] [[File:Potion of Water Breathing JE1 BE1.png|32px]] Added potions of [[Jump Boost|Leaping]] and potions of [[Water Breathing]]. These are both available in four variants unlike ''Java'' and ''Bedrock'' where the latter group only added two variants of water breathing and three variants for leaping.}}
{{History||xbox=TU34|xbone=CU22|ps=1.25|wiiu=Patch 4|Removed two of the four types of water breathing potions and splash potions.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|[[File:Potion of Luck JE1.png|32px]] Added potions of [[Luck]].
|Added [[lingering potion]]s, which are [[brewing|brewed]] with [[splash potion]]s and [[dragon breath]] after splash potions are brewed with potions and [[gunpowder]].
|Removed all types of extended-enhanced potions for all five potion effects.
|Potions effects are now arranged more like ''Java Edition''.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[File:Potion of Decay BE1.png|32px]] [[File:Potion of the Turtle Master JE1 BE1.png|32px]] [[File:Potion of Slow Falling JE1 BE1.png|32px]] Added potions of [[Wither (status effect)|Decay]], Turtle Master, and [[Slow Falling]].}}
{{History||xbox=none|xbone=none|ps=1.83|wiiu=none|switch=none|Awkward potion is once again obtainable from the Creative inventory.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Water Bottle JE2 BE2.png|32px]] [[File:Potion of Night Vision JE2 BE2.png|32px]] [[File:Potion of Invisibility JE2 BE2.png|32px]] [[File:Potion of Leaping JE2 BE2.png|32px]] [[File:Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Potion of Swiftness JE2 BE2.png|32px]] [[File:Potion of Slowness JE2 BE2.png|32px]] [[File:Potion of Water Breathing JE2 BE2.png|32px]] [[File:Potion of Healing JE2 BE2.png|32px]] [[File:Potion of Harming JE2 BE2.png|32px]] [[File:Potion of Poison JE2 BE2.png|32px]] [[File:Potion of Regeneration JE2 BE2.png|32px]] [[File:Potion of Strength JE2 BE2.png|32px]] [[File:Potion of Weakness JE2 BE2.png|32px]] [[File:Potion of Luck JE2.png|32px]] [[File:Potion of Decay BE2.png|32px]] [[File:Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Potion of Slow Falling JE2 BE2.png|32px]] The textures of potions have been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Water Bottle JE1 BE1.png|32px]] [[File:Potion of Night Vision JE1 BE1.png|32px]] [[File:Potion of Invisibility JE1 BE1.png|32px]] [[File:Potion of Leaping JE1 BE1.png|32px]] [[File:Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Potion of Swiftness JE1 BE1.png|32px]] [[File:Potion of Slowness JE1 BE1.png|32px]] [[File:Potion of Healing JE1 BE1.png|32px]] [[File:Potion of Harming JE1 BE1.png|32px]] [[File:Potion of Poison JE1 BE1.png|32px]] [[File:Potion of Regeneration JE1 BE1.png|32px]] [[File:Potion of Strength JE1 BE1.png|32px]] [[File:Potion of Weakness JE1 BE1.png|32px]] Added potions.
|Water bottles, mundane, thick, and awkward potions are all available in the Creative inventory.}}
{{History||1.3.12|[[File:Potion of Decay BE1.png|32px]] Added potions of [[Wither (status effect)|Decay]].}}
{{History||1.7.10|Added [[lingering potion]]s, which are [[brewing|brewed]] with [[splash potion]]s and [[dragon breath]] after splash potions are brewed with potions and [[gunpowder]].}}
{{History|foot}}

<gallery>
Health_Potion.png|Thick Potion with status effects of Mining Fatigue (duration 4:00) and Instant Health II (duration 4:00).
Invisible_sheep.png|An invisible sheep. Its wool can still be seen.
New Potion Colors.png|The new potion colors.
</gallery>

==Issues==
{{issue list}}

==Trivia==
*A potion can reach a maximum tier of 127, but using the {{cmd|effect}} [[commands|command]], effect levels can reach 255.
*When a player drinks two potions by quickly switching to another potion immediately after drinking one, the second drinking animation is not shown.{{verify|type=current|Still in recent versions?}} 
*A potion of [[Poison]] II lasts for 22.5 seconds, but it is displayed as 22 seconds because the [[item]] hover display shows rounded-down integer values.
*The "Local Brewery" [[advancement]] uses the Uncraftable Potion texture for its icon.

==Unused potions ==
''[[Bedrock Edition]]'' has [[History of textures/Unused textures#Unused potions|unused potion textures]] for several [[effect]]s, along with their [[Splash Potion#Unused splash potions|splash variants]]. These effects are: [[Absorption]], [[Blindness]], [[Haste]], [[Health Boost]], [[Hunger]], [[Mining Fatigue]], [[Nausea]], [[Resistance]], [[Saturation]], and [[Levitation]], as well as the [[Luck]] potion textures also present in [[Java Edition]]. These unused textures were added along with the other potion textures in [[Pocket Edition v0.12.1 alpha]], except for the potion of levitation, which was added in [[Pocket Edition 1.0.0]]. The textures were changed along with the other potion textures during the [[texture update]] in [[Bedrock Edition 1.10.0]]. Strangely, the potion of levitation texture is a duplicate of the splash potion of levitation texture.
<gallery>
Potion of Absorption BE2.png|Potion of Absorption
Potion of Blindness BE2.png|Potion of Blindness
Potion of Haste BE2.png|Potion of Haste
Potion of Health Boost BE2.png|Potion of Health Boost
Potion of Hunger BE2.png|Potion of Hunger
Potion of Mining Fatigue BE2.png|Potion of Mining Fatigue
Potion of Nausea BE2.png|Potion of Nausea
Potion of Resistance BE2.png|Potion of Resistance
Potion of Saturation BE2.png|Potion of Saturation
Potion of Levitation BE2.png|Potion of Levitation
</gallery>

==Gallery==
===Potions===
;Java Edition
<gallery>
Water Bottle.png|Water Bottle
Potion of Night Vision.png|Potion of Night Vision
Potion of Invisibility.png|Potion of Invisibility
Potion of Leaping.png|Potion of Leaping
Potion of Fire Resistance.png|Potion of Fire Resistance
Potion of Swiftness.png|Potion of Swiftness
Potion of Slowness.png|Potion of Slowness
Potion of the Turtle Master.png|Potion of the Turtle Master
Potion of Water Breathing.png|Potion of Water Breathing
Potion of Healing.png|Potion of Healing
Potion of Harming.png|Potion of Harming
Potion of Poison.png|Potion of Poison
Potion of Regeneration.png|Potion of Regeneration
Potion of Strength.png|Potion of Strength
Potion of Weakness.png|Potion of Weakness
Potion of Slow Falling.png|Potion of Slow Falling
Potion of Luck.png|Potion of Luck
Potion of Decay.png|Potion of Decay
Uncraftable Potion.png|Uncraftable Potion
</gallery>

===Screenshots===
<gallery>
OK2tE.png|Potion effects showing up in [[inventory]].
PotionBubbles.png|The bubbles emitted when a player drinks a potion.
Nightvision.png|The effect of night vision (left image is with night vision, right image is without).
NetherPotionEffect.png|The view when a player uses night vision in the Nether.
PotionTable.png|A brewing stand with a potion displayed next to it.
MinecraftPotionsClean.png|A guide to brewing before [[Java Edition 1.6.1|1.6]].
</gallery>

=== In other media===
<gallery>
File:Elixir (MCSM).png|The [[Minecraft Story Mode:Elixir|Elixir]], a unique potion featured in [[Minecraft Story Mode]].
File:Witch Potion (Dungeons).png|A potion thrown by a [[MCD:Witch|witch]], as depicted in [[Minecraft Dungeons]].
File:Strength Potion.png|A [[MCD:Strength Potion|strength potion]], as it appears in Minecraft Dungeons.
File:Swiftness Potion.png|A [[MCD:Swiftness Potion|Swiftness Potion]], as depicted in Minecraft Dungeons.
File:Potion of Water Breathing (MCD).png|A [[MCD:Potion of Water Breathing|Potion of Water Breathing]], as it appears in Minecraft Dungeons.
File:Bottle Lamp.jpg|An officially licensed bottle LED desk lamp.
File:Potion Bottle Bottle.jpg|A water bottle depicting many potions.
</gallery>

==See also==
*{{ItemLink|Glass Bottle}}
*{{ItemLink|Medicine}}
*{{ItemLink|Splash Potion}}
*{{ItemLink|Lingering Potion}}

==Notes==
<references group="note" />

==References==
{{reflist}}

==External links==
*[https://www.minecraft.net/en-us/article/taking-inventory--potion Taking Inventory: Potion] – Minecraft.net on May 11, 2022
*[http://potioncraft.net Minecraft Potions - A Visual Guide] (version 1.9)

{{items}}
{{effects}}

[[Category:Food]]

[[de:Trank]]
[[es:Poción]]
[[fr:Potion]]
[[hu:Bájital]]
[[it:Pozione]]
[[ja:ポーション]]
[[ko:물약]]
[[nl:Dranken]]
[[pl:Mikstury]]
[[pt:Poção]]
[[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.
14w02cTo fix 44371, /kill now directly kills non-living targets, rather than dealing 3.4×1038 void damage.
14w03aAdded rotation arguments to /tp.
Added dx, dy, and dz to target selector arguments.
Added /clone and /fill.
Added gamerule logAdminCommands.
NBT data now supports using string IDs rather than numerical IDs.
Numerical IDs no longer work in other parts of commands, though they still work for NBT data.
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.
/give can no longer make illegal stacks.
1.8.1
{{Extension DPL}}<ul><li>[[Debug Stick|Debug Stick]]<br/>{{about|the item|other uses|Debug}}
{{exclusive|java}}
{{Item
| image = Debug Stick.gif
| rarity = Epic
| renewable = No
| stackable = No
}}

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

== Obtaining ==

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

== Usage ==

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

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

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

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

=== Item data ===

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

== History ==

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

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

{{issue list}}

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

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

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

== References ==
{{Reflist}}

{{Items}}

[[Category:Non-renewable resources]]

[[de:Debug-Stab]]
[[es:Palo de depuración]]
[[fr:Bâton de débogage]]
[[ja:デバッグ棒]]
[[ko:디버그 막대기]]
[[pl:Patyk debugujący]]
[[pt:Graveto de depuração]]
[[ru:Палка отладки]]
[[zh:调试棒]]</li><li>[[Netherite Ingot|Netherite Ingot]]<br/>{{About|the refined item|the scrap|Netherite Scrap|the ore|Ancient Debris|other uses|Netherite}}
{{Item
| rarity = Common
| renewable = No
| stackable = Yes (64)
}}
'''Netherite ingots''' are items obtained from crafting [[netherite scrap]]s and [[gold ingot]]s together, as well as loot from [[bastion remnant]] loot chests. Unlike other items, they are immune to fire and [[lava]] damage. They are primarily used to upgrade [[diamond]] gear and craft [[lodestone]]s.

== Obtaining ==

Netherite ingots are obtained by crafting four [[netherite scrap]]s and four [[gold ingot]]s. It is a shapeless recipe, therefore the placement of the netherite scraps and gold ingots does not matter when crafting it.

=== Crafting ===

{{Crafting
|head=1
|showname=0
|Netherite Scrap
|Netherite Scrap
|Netherite Scrap
|Netherite Scrap
|Gold Ingot
|Gold Ingot
|Gold Ingot
|Gold Ingot
|Output=Netherite Ingot
|type=Material
}}

{{Crafting 
|Block of Netherite
|Output=Netherite Ingot,9
|type=Material
|foot=1
}}

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

== Usage ==
Netherite ingots are crafting materials used to make netherite tools, weapons, and armor.

=== Crafting ingredient ===

{{crafting usage}}

=== Smithing ingredient ===
Netherite ingots can be used on a [[smithing table]] to upgrade diamond items to netherite items, as well as trim any armor piece. Data such as durability, enchantments, and custom names are preserved.

{{Smithing
|head=1
|ingredients=[[Netherite Upgrade]] +<br>Any [[diamond]] gear +<br>[[Netherite Ingot]]
|Netherite Upgrade
|Diamond Helmet; Diamond Chestplate; Diamond Leggings; Diamond Boots; Diamond Sword; Diamond Pickaxe; Diamond Axe; Diamond Shovel; Diamond Hoe
|Netherite Ingot
|Netherite Helmet; Netherite Chestplate; Netherite Leggings; Netherite Boots; Netherite Sword; Netherite Pickaxe; Netherite Axe; Netherite Shovel; Netherite Hoe
}}
{{Smithing
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Netherite Ingot
|Any Armor Trim Smithing Template
|Diamond Chestplate
|Netherite Ingot
|Netherite Trim Diamond Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a diamond chestplate is shown as an example.<br/>
|tail=1
}}

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

=== Repairing ===

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

=== Beacons ===

A netherite ingot could be used to select powers from a [[beacon]] instead of using an [[emerald]], [[gold ingot]], [[iron ingot]], or a [[diamond]]. The player must select one of the available powers, and then insert an ingot in the item slot. The [[gold]] option is more efficient than the netherite option because it consumes 3 fewer gold and no [[Netherite Scrap|netherite scrap]].

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Netherite Ingot
|spritetype=item
|nameid=netherite_ingot
|id=603
|form=item
|foot=1}}

=== Advancements ===
{{load advancements|Serious dedication}}

== History ==
{{History|java}}
{{History||1.16|snap=20w06a|[[File:Netherite Ingot JE1 BE2.png|32px]] Added netherite ingots.}}
{{History|||snap=20w07a|Netherite ingots can now be used to power [[beacon]]s.}}
{{History|||snap=20w10a|The [[crafting]] recipe for netherite [[tools]] and [[armor]] has been changed so that a [[smithing table]] is used instead of a [[crafting table]] and [[enchanting|enchantments]] are preserved when upgrading [[item]]s.}}
{{History|||snap=20w13a|Netherite ingots can now be used to craft [[lodestone]]s.}}
{{History|||snap=20w16a|Netherite ingots can now be found in [[bastion remnant]] chests.}}
{{History||1.16.2|snap=20w30a|Increased the chance of finding netherite ingots in bastion remnant chests from 16.8% to 42.1%.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Netherite ingots can now be used as an armor trim material.|Upgrading diamond tools and armor to netherite now requires the netherite upgrade [[smithing template]] in addition to a netherite ingot.}}
{{History|||snap=23w05a|Netherite ingots can now be used to trim netherite armor.}}
{{History||1.20|snap=23w12a|Netherite ingots are now usable for trimming without requiring the "Update 1.20" experimental datapack to be enabled.}}

{{History|bedrock}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Ingot BE1.png|32px]] Added netherite ingots.}}
{{History|||snap=beta 1.16.0.57|Netherite ingots can now be used to power [[beacon]]s.
|The [[crafting]] recipe for netherite [[tools]] and [[armor]] has been changed so that a [[smithing table]] is used instead of a [[crafting table]] and [[enchanting|enchantments]] are preserved when upgrading [[item]]s.
|Netherite ingots can now be used to craft [[lodestone]]s.
|Netherite ingots can now be found in [[bastion remnant]] chests.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[File:Netherite Ingot JE1 BE2.png|32px]] The texture of netherite ingots has been changed to match ''Java Edition''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Netherite ingots can now be used as an armor trim material.|Upgrading diamond tools and armor to netherite now requires the netherite upgrade [[smithing template]] in addition to a netherite ingot.}}
{{History||1.20.0|snap=beta 1.20.0.21|Netherite ingots are now usable for trimming without requiring the "Next Major Update" experimental toggle to be enabled.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* {{EnvLink|Bastion Remnant}}
* {{BlockLink|Block of Netherite}}
* {{ItemLink|Netherite Scrap}}
*  {{BlockLink|Ancient Debris}}
*{{BlockLink|Lodestone}}

== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--netherite-ingot Taking Inventory: Netherite Ingot] – Minecraft.net on May 28, 2020

{{Items}}

[[de:Netheritbarren]]
[[es:Lingote de netherita]]
[[fr:Lingot de Netherite]]
[[it:Lingotto di netherite]]
[[ja:ネザライトインゴット]]
[[ko:네더라이트 주괴]]
[[pl:Sztabka netherytu]]
[[pt:Barra de netherita]]
[[ru:Незеритовый слиток]]
[[th:แท่งเนเธอไรต์]]
[[uk:Незеритовий злиток]]
[[zh:下界合金锭]]
[[Category:Non-renewable resources]]</li></ul>
1.8.1-pre1Added the game rule doEntityDrops.
The game rule doTileDrops no longer affects entities.
1.9
{{Extension DPL}}<ul><li>[[Cooked Chicken|Cooked Chicken]]<br/>{{about|a food item|other uses of the word "chicken"|Chicken (disambiguation)}}
{{Item
| title = Cooked Chicken
| image = Cooked Chicken.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = Yes (64)
}}

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

== Obtaining ==

=== Mob loot ===

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

=== Cooking ===

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

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

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

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

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

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

=== Wolves ===

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

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Cooked Chicken
|spritetype=item
|nameid=cooked_chicken
|form=item
|foot=1}}

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

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

== Video ==

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

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

== References ==
{{reflist}}

{{Items}}

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

[[cs:Pečené kuře]]
[[de:Gebratenes Hühnchen]]
[[es:Pollo asado]]
[[fr:Poulet rôti]]
[[hu:Sültcsirke]]
[[it:Pollo cotto]]
[[ja:焼き鳥]]
[[ko:익힌 닭고기]]
[[nl:Gebraden kip]]
[[pl:Pieczony kurczak]]
[[pt:Frango assado]]
[[ru:Жареная курятина]]
[[zh:熟鸡肉]]</li><li>[[Pink Dye|Pink Dye]]<br/>{{Item
| image = Pink Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Pink dye''' is a [[Dyeing#Quasi-Primary|quasi-primary color dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Peony;Pink Tulip;Pink Petals
  |Output=Pink Dye,2;Pink Dye;Pink Dye
  |type=Material
}}
{{Crafting
  |Red Dye
  |White Dye
  |Output=Pink Dye,2
  |type=Material
}}
{{Crafting
  |Red Dye
  |Bone Meal
  |Output=Pink Dye,2
  |type=Material
  |foot=1
  |description={{only|bedrock|education}}
}}

=== Trading ===

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

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pink Dye
|spritetype=item
|nameid=pink_dye
|aliasid=dye / 9
|id=404
|form=item
|translationkey=item.dye.pink.name
|foot=1}}

== Video ==
{{yt|pPq-Hs9ZPx4}}

== History ==

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

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Pink Dye JE1 BE1.png|32px]] Added pink dye.}}
{{History||v0.4.0|Pink dye is now craftable with [[rose red]] and [[bone meal]].
|Pink dye can now be used to craft pink wool.}}
{{History||v0.6.0|Pink dye can now be used to dye [[sheep]].}}
{{History||v0.8.0|snap=build 1|Pink dye can now be used to craft [[magenta dye]].}}
{{History||v0.9.0|snap=build 11|Pink dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Pink dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Pink dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Pink dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Pink 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|Pink 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|Pink dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Pink dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Pink dye is now [[trading|sold]] by [[wandering trader]]s.
|Pink dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Pink Dye JE2 BE2.png|32px]] The texture of pink dye has now been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of pink dye has been changed from <code>dye/9</code> to <code>pink_dye</code>.}}

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

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

== Issues ==

{{issue list}}


{{Items}}

[[Category:Dyes]]




[[cs:Růžové barvivo]]
[[de:Rosa Farbstoff]]
[[es:Tinte rosa]]
[[fr:Teinture rose]]
[[hu:Rózsaszín festék]]
[[ja:桃色の染料]]
[[ko:분홍색 염료]]
[[nl:Roze kleurstof]]
[[pl:Różowy barwnik]]
[[pt:Corante rosa]]
[[ru:Розовый краситель]]
[[zh:粉红色染料]]
[[Category:Renewable resources]]</li></ul>
15w43a/gamemode now displays in chat the gamemode the player switched to.
15w49a/playsound now accepts Tab to complete.
Added player and params tag to the /particle
15w49b/time query now accepts day as a value.
15w51aAdded gamerule spawnRadius.
16w02aThe m selector now accepts the standard literal gamemode values and abbreviations, such as a and adventure, and these may be negated as well.
/playsound now requires a source parameter, specifying what is the sound's category for volume purposes.
Running /help in a command block will now randomly use one of various different humorous phrases as the previous output.
16w03a/achievement no longer affects statistics.
16w07aAdded gamerule disableElytraMovementCheck.
1.9.3
{{Extension DPL}}<ul><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><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| durability = 
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br> 
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|5}} <!-- DO NOT CHANGE THESE! The values are correct, '+4 Attack Damage' means 5 total attack damage. -->
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
| {{hp|9}}
|-
! Durability
| 60
| 33
| 132
| 251
| 1562
| 2032
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits</ref>
| {{hp|300}}
| {{hp|165}}
| {{hp|792}}
| {{hp|1757}}
| {{hp|12496}}
| {{hp|18288}}
|}
{{notelist}}

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

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

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

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

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

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

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

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

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

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

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

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

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|subtitle=Strong attack
|source=player
|description=When a player deals an attack that does not trigger any other attack sounds
|id=entity.player.attack.strong
|translationkey=subtitles.entity.player.attack.strong
|volume=''varies'' <ref group=sound>0.6 for <code>strong1</code> through <code>strong4</code>, and 0.7 for <code>strong5</code> and <code>strong6</code></ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Critical attack1.ogg
|sound2=Critical attack2.ogg
|sound3=Critical attack3.ogg
|subtitle=Critical attack
|source=player
|description=When a player deals a critical hit
|id=entity.player.attack.crit
|translationkey=subtitles.entity.player.attack.crit
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Knockback attack1.ogg
|sound2=Knockback attack2.ogg
|sound3=Knockback attack3.ogg
|sound4=Knockback attack4.ogg
|subtitle=Knockback attack
|source=player
|description=When a player deals a sprinting attack
|id=entity.player.attack.knockback
|translationkey=subtitles.entity.player.attack.knockback
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Sweep attack1.ogg
|sound2=Sweep attack2.ogg
|sound3=Sweep attack3.ogg
|sound4=Sweep attack4.ogg
|sound5=Sweep attack5.ogg
|sound6=Sweep attack6.ogg
|sound7=Sweep attack7.ogg
|subtitle=Sweeping attack
|source=player
|description=When a player deals a sweep attack
|id=entity.player.attack.sweep
|translationkey=subtitles.entity.player.attack.sweep
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|subtitle=Weak attack
|source=player
|description=When a player deals an attack with no damage
|id=entity.player.attack.nodamage
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Weak attack
|source=player
|description=When a player attempts to attack without sufficient cooldown
|id=entity.player.attack.weak
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a sword's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|source=player
|description=When a player deals an attack with damage
|id=game.player.attack.strong
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|source=player
|description=When a player deals an attack with no damage
|id=game.player.attack.nodamage
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an sword's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|form=item
|foot=1}}

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

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

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

== References ==
{{reflist}}

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

[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul>
pre1/tp will no longer teleport the player to a y-coordinate outside the range -512 to 512.
pre2Added /stopsound.
1.10
{{Extension DPL}}<ul><li>[[:Category:Tools|Category:Tools]]<br/>[[Category:Items]]

[[fr:Catégorie:Outil]]
[[it:Categoria:Attrezzi]]</li><li>[[Carrot on a Stick|Carrot on a Stick]]<br/>{{Item
| image = Carrot on a Stick.png
| rarity = Common
| renewable = Yes
| durability = 25
| stackable = No
}}
A '''carrot on a stick''' is an item that can be used to control saddled [[pig]]s.

== Obtaining ==

=== Crafting ===

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

== Usage ==

=== Riding a pig ===

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

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

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

=== Enchantments ===

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

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

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

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

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

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

== Video ==

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

== History ==

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Mrkev na prutu]]
[[de:Karottenrute]]
[[es:Caña con zanahoria]]
[[fr:Carotte sur un bâton]]
[[hu:Répa horgászboton]]
[[it:Bastone e carota]]
[[ja:ニンジン付きの棒]]
[[ko:당근 낚싯대]]
[[nl:Wortel aan een stok]]
[[pl:Marchewka na patyku]]
[[pt:Vara com cenoura]]
[[ru:Удочка с морковью]]
[[th:แคร์รอตติดเบ็ด]]
[[uk:Морква на паличці]]
[[zh:胡萝卜钓竿]]</li></ul>
16w21bThe y-coordinate range of /tp is increased to -4096 to 4096.
1.10-pre1Added /teleport, which is like /tp, except that the target parameter is mandatory, the 'teleport to other player' usage is unavailable, and the use of relative coordinates is relative to the executor of the command, rather than relative to the target.
1.11
{{Extension DPL}}<ul><li>[[Firework Rocket|Firework Rocket]]<br/>{{redirect|Firework}}
{{ItemEntity
|image=Firework Rocket.png
|renewable='''Trail Effect''':No<br>'''All Others''':Yes
|stackable=Yes (64)‎
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|networkid=76
}}
A '''firework rocket''' is an [[item]] (and [[entity]]) used for creating decorative explosions, boosting when flying with [[elytra]], and loading into a [[crossbow]] as ammunition.

== Obtaining  ==

Fireworks can be obtained by crafting. {{IN|java}}, a firework with no explosion effect is available on the [[Creative]] inventory and can be crafted as shown below. {{IN|bedrock}}, fireworks with the different base colors or no explosion are available in the Creative inventory.

=== Crafting ===

{{Crafting
|head=1
|showname=0
|showdescription=1
|Paper
|; ; Gunpowder
|; Gunpowder; Gunpowder
|Gunpowder
|Output=Firework Rocket,3
|description=When crafted this way (without a firework star), the rocket does not have explosion effects. The value of gunpowder affects the [[Firework Rocket#Duration and direction|flight duration]].
|type=Miscellaneous
}}
{{Crafting
|Any Firework Star
|Paper
|; ; Gunpowder
|; Gunpowder; Gunpowder
|Gunpowder
|Output= Firework Rocket,3
|description=Adding more gunpowder increases the duration of the rocket. Up to three gunpowder can be used. Up to five firework stars can also be used with three gunpowder. Up to seven firework stars can be used by using firework stars instead of additional gunpowder. All firework stars explode almost simultaneously when the rocket detonates.
|type=Miscellaneous
|foot=1
}}

== Usage ==

=== Launching fireworks ===
To launch a firework rocket, {{control|use}} its item on a block. They can also be launched from [[dispenser]]s and [[crossbow]]s. If shot from a [[Multishot]] [[crossbow]], then 3 rockets fire with the same effects.

=== Elytra ===
{{control|Using}} a firework rocket while flying with [[elytra]] propels the player in the direction they are facing. The duration of the speed boost depends on the flight duration of the rocket. If the rocket is equipped with a firework star of any kind, the player takes damage when it explodes.

=== Crossbow ===
A firework rocket can be used as ammunition for [[crossbow]]s, although it deals [[damage]] only if it has an [[explosion]] effect. A higher flight duration gives the firework rocket a longer range, and more damage is added per firework star. The [[Piercing]] enchantment has no effect on firework rockets shot from a crossbow.

{{IN|java}}, if a firework rocket shot from a [[crossbow]] hits an [[entity]], the rocket instantly [[explosion|explodes]], no matter the flight duration. Attempting to do this {{in|bedrock}}, however, results in the firework passing through the entity,<ref>[[bugtracker:MCPE-52675|MCPE-52675]]</ref> so the [[player]] must plan where to aim.

== Behavior ==
{{see also|Firework Star#Effects}}

Once launched, fireworks fly out vertically, with random horizontal offset up to 5 blocks. {{IN|bedrock|java}}, fireworks can fly in any of the 6 directions a dispenser can point. After [[#Duration and direction|some time]], the firework explodes into a colorful explosion based on the effects of the [[firework star]]s added upon crafting, or no explosion if no firework star was used. If multiple firework stars were added to the rocket upon crafting, they all explode simultaneously.

The explosion of a firework rocket deals damage to mobs and players that are within 5 blocks and not obstructed by [[solid block]]s. The maximum damage of a rocket with one firework star is {{hp|7}}, with the damage decreasing with distance. Each additional firework star on the rocket adds {{hp|2}} points of damage, for a maximum damage of {{hp|19}} with 7 stars. Using commands to add additional firework stars results in more damage. The damage dealt is unaffected by any other ingredients used. The explosion does not destroy end crystals nor damage the Ender dragon, but does destroy armor stands.

There is a delay between the detonation and the player hearing the sound, emulating real fireworks, but this sound travels much more slowly than in the real world.<ref>{{Tweet|jeb|277075644804907009|However, no sound effects for fireworks yet... but everything's implemented, so they can be added without doing a new snapshot|December 7, 2012}}</ref><ref>{{Tweet|jeb|277075517226762242|Haha, @igblan , the speed of sound is 40 m/s, because the realistic speed of ~340 m/s didn't work well in Minecraft scale|December 7, 2012}}</ref> {{IN|java}}, the explosion of a firework can be seen 64 blocks away, regardless of its height. {{IN|bedrock}}, the explosion can be seen from your render distance.

If the explosion exceeds the (unmodded) [[particle]] limit of 16,384, the oldest particles are removed before displaying new ones, resulting in severely diminished firework quality / duration. At most a firework should have 3 trail stars, more than that could waste diamonds, firework stars, and other fireworks. Particle counts per star are:

{| class="wikitable" data-description="Particle counts per firework star"
|-
! Ball Type !! Plain !! Trail
|-
| Small || 98 || ~1300
|-
| Large || 387 || 4000+
|-
| Star || 122 || ~1600
|-
| Creeper || 266 || ~3500
|-
| Burst || 72 || ~930
|}

Twinkle effect adds 2 particles to the count.

Like most other entities, they can be moved by [[water]] and [[explosion]]s, and teleported via [[portal]]s. They also cannot move through solid surfaced blocks, upon hitting one, they either move to a side or explode based on the duration. If a firework explodes under a block, its explosion is flattened.

=== Duration and direction ===

Fireworks travel different heights based on the amount of gunpowder added. The number is displayed as a tag on the item's tooltip with the description of "Flight Duration".

The height it rises is between 8 and 20 blocks with 1 gunpowder, 18 to 34 blocks with 2 gunpowder, and 32 to 52 blocks with 3 gunpowder. 
(Note: Using command blocks, firework rockets with higher durations go higher and keep accelerating with virtually no terminal velocity. If the duration is long enough, the firework rocket could reach heights of over 1,000,000 blocks and speeds of over 10,000 m/s in a matter of minutes. Such fireworks with significant X and Z motions speed up sideways exponentially and reach outside the world boundary in a matter of seconds.{{only|java}})

When spawned, <!-- server-side --> fireworks have a vertical speed of .05 and a random small X and Z speed (random value near zero with a standard deviation of .001).  Each firework also determines its lifetime in ticks by 10 × (number of gunpowder + 1) + random value from 0 to 5 + random value from 0 to 6, after which it explodes.  Each tick, the firework accelerates horizontally by multiplying its X and Z velocities by 1.15, and vertically by adding a constant factor of .04.

Fireworks can be made to travel different directions by being dispensed or launched under flowing water. The firework's direction combines with the flow of the water to go diagonally.

Firework rockets without firework stars shot from a crossbow upon hitting terrain elements will traverse along until stopped by a ledge or into unobstructed terrains again continuing its original flight path. Ledges as tall as one pixel high (e.g. from [[Dirt Path|Dirt Paths]] to [[Grass Block|Grass Blocks]]) will also block the firework. They will still vanish if they hit entities early amidst their flight.

==Village Raids==
After successfully defending a village from a [[Raid]] the villagers may celebrate by setting off firework rockets.

==Boosting elytra==
Fireworks can be used to boost [[elytra]] when in flight. Normally, elytra can glide for a short distance, but with the use of fireworks, the player can fly a long distance, gain speed, and take off from the ground. 

Simply using the firework rocket with elytra spread boosts the player in the direction the player faces. It can leave behind a trail sometimes.

Although fireworks with firework stars can be used, the player takes blast damage if they use it in flight. 

There are four types of rockets, with three types of flight duration. Higher flight durations mean longer boosts. {{IN|bedrock}}, the fireworks obtained from the Creative menu have a flight duration of 1, while {{in|java}}, the fireworks obtained in the Creative menu have a flight duration of 1, 2, or 3.

==Sounds ==
{{Edition|Java}}:<br>
Firework rockets use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Firework blast.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a non-large firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.blast
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework blast far.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a non-large firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.blast_far
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework large blast.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a large firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.large_blast
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework large blast far.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a large firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.large_blast_far
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework twinkle.ogg
|subtitle=Firework twinkles
|source=ambient
|description=When a twinkle firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.twinkle
|translationkey=subtitles.entity.firework_rocket.twinkle
|volume=20.0
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Firework twinkle far.ogg
|subtitle=Firework twinkles
|source=ambient
|description=When a twinkle firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.twinkle_far
|translationkey=subtitles.entity.firework_rocket.twinkle
|volume=20.0
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Firework launch.ogg
|subtitle=Firework launches
|source=ambient
|description=When a dispenser shoots, a player uses, or a crossbow fires a firework rocket
|id=entity.firework_rocket.launch
|translationkey=subtitles.entity.firework_rocket.launch
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Firework launches
|source=neutral
|description=When a dispenser fires a firework rocket
|id=entity.firework_rocket.shoot
|translationkey=subtitles.entity.firework_rocket.launch
|volume=1.0
|pitch=1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Firework blast.ogg
|source=ambient
|description=When a non-large firework rocket explodes
|id=firework.blast
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework large blast.ogg
|source=ambient
|description=When a large firework rocket explodes
|id=firework.large_blast
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework twinkle.ogg
|source=ambient
|description=When a twinkle firework rocket explodes
|id=firework.twinkle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework launch.ogg
|source=ambient
|description=When a dispenser shoots, a player uses, or a crossbow fires a firework rocket
|id=firework.launch
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bow shoot.ogg
|source=ambient
|description=''Unused sound event''
|id=firework.shoot
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Firework Rocket
|spritetype=item
|nameid=firework_rocket
|aliasid=fireworks
|id=519
|form=item
|translationkey=item.fireworks.name
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Firework Rocket
|spritetype=entity
|nameid=fireworks_rocket
|id=72
|foot=1}}

===Item data===

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

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

===Entity data===

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

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

==Advancements ==
{{load advancements|Bullseye;Ol' Betsy}}

==History==

{{History|java}}
{{History||November 24, 2012|link=none|[[Jeb]] stated that there may be fireworks in ''Minecraft'' at the ''Future Updates with the Minecraft PC Team'' panel at [[MINECON 2012]].}}
{{History||December 5, 2012|link={{tweet|jeb|276367442362630144}}|Jeb released the first image of fireworks, along with the information that colors, fade, height, effects and shapes are [[crafting|craftable]].}}
{{History||December 7, 2012|link=https://twitter.com/jeb_/status/277075087503536128|Jeb mentions that fireworks should probably scare [[wolves]] and potentially have other effects on mobs.}}
{{History||1.4.6|snap=12w49a|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets.
|Firework rockets cannot be obtained within the [[Creative inventory]].}}
{{History|||snap=12w50a|Added [[sound]] and more effects to firework rockets.}}
{{History||1.10|snap=16w20a|The firework rocket [[crafting]] recipe now produces 3 rockets, rather than 1.}}
{{History||1.11|snap=16w32a|The entity ID has been changed from <code>FireworksRocketEntity</code> to <code>fireworks_rocket</code>.}}
{{History||1.11.1|snap=16w50a|Firework rockets can now cause [[damage]] to [[entity|entities]] that are within their [[explosion]] radius.
|Firework rockets can now boost [[player]]s while flying with [[elytra]].}}
{{History||1.13|snap=17w47a|The ID has been changed from <code>fireworks</code> to <code>firework_rocket</code>.
|The fade effects on fireworks can now be added by combining the firework star with [[dye]]s.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 401.}}
{{History||1.13|snap=?|Firework rockets are now available in the [[Creative]] [[Inventory]]. However, it does not show a flight duration}}
{{History|||snap=pre5|The [[entity]] ID of firework rockets has been changed to <code>firework_rocket</code>.}}
{{History||1.14|snap=18w43a|Fireworks can now be shot from [[crossbow]]s.
|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History||1.15|snap=19w36a|Firework rockets dispensed from a [[dispenser]] now travel in the direction they were fired.}}
{{History||1.17|snap=20w45a|Simple firework rockets with one gunpowder can now be crafted using the [[recipe book]].}}
{{History||1.19.3|snap=22w45a|All three flight durations of firework rockets are now available in the Creative inventory.<ref>{{bug
|MC-194390||A firework rocket from the creative inventory doesn't show a flight duration|Fixed}}</ref>}}


{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets. 
|Firework rockets are available in the Creative inventory in 17 variants, sixteen colors in small ball duration 1, plus one additional preset with only duration 1.{{verify|type=update|Is this the right snapshot?}}{{info needed}}}}
{{History||1.8.0|snap=beta 1.8.0.10|Firework rockets can now be held in the off-hand and be shot from [[crossbow]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of firework rockets has been changed from <code>fireworks</code> to <code>firework_rocket</code>.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets.
|Firework rockets are available in five types in the Creative inventory. The presets are as follows:
* Duration 1, small ball, light blue, twinkle
* Duration 2, creeper shaped, green
* Duration 2, burst, red, fade to orange
* Duration 3, burst, magenta, fade to blue, twinkle
* Duration 2, star shaped, yellow, fade to orange, trail}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The crafting interface has been updated to allow crafting [[firework star]]s and fireworks.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Firework rockets can now boost [[player]]s while flying with [[elytra]].}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Firework rockets now [[damage]] players if there is a [[firework star]] applicated to the firework rocket.}}
{{History||xbox=TU56|xbone=CU47|ps=1.55|wiiu=Patch 26|switch=1.0.6|Firework rockets now produce 3 rockets upon [[crafting]] them instead of 1.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Added new firework rocket models.}}
{{History|PS4}}
{{History||1.90|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History|foot}}

==Issues==

{{issue list}}

== Trivia==
* Launching a rocket by hand on a wooden [[pressure plate]] activates it. The same doesn't hold for stone pressure plates, or for a [[dispenser]] placing a rocket onto a wooden pressure plate.
* New Year's Eve is what inspired [[Jeb]] to add fireworks.<ref>{{tweet|jeb|277080498814189568|@SPvs_TheWorld New Year's Eve|December 7, 2012}}</ref>
*If the player shoots a firework into a [[Nether portal]], it explodes in [[the Nether]].
*There are around 2×10{{^|136}} distinct fireworks.

==Gallery==

<gallery>
File:Firework jeb twitter.jpg|[[Jeb]]'s first image of Fireworks, also showing that they can be shot from dispensers.
File:1.4.6 release image.png|1.4.6 Release image.
File:Flatexplosion.png|An example of a flattened firework explosion.
File:Creeper firework.png|Creeper face shaped firework.
</gallery>

==References==

{{Reflist}}

{{Items}}
{{Entities}}

[[cs:Rachejtle]]
[[de:Feuerwerksrakete]]
[[es:Cohete de fuegos artificiales]]
[[fr:Feu d'artifice]]
[[hu:Tűzijáték rakéta]]
[[ja:ロケット花火]]
[[ko:폭죽 로켓]]
[[nl:Vuurpijl]]
[[pl:Fajerwerk]]
[[pt:Fogo de artifício]]
[[ru:Пиротехническая ракета]]
[[th:ดอกไม้ไฟ]]
[[zh:烟花火箭]]
[[Category:Renewable resources]]</li><li>[[Water|Water]]<br/>{{About|the fluid|the bucket|Water Bucket|other forms of water}}
{{Fluid
| image = <gallery>
Water.png|Java Edition
Water BE.png|Bedrock Edition
</gallery>
| invimage = Water Bucket
| invimage2 = Water
| renewable = Yes
| transparent = Partial <small>(-1 to light)</small>
| light = No
| tool = bucket
| infinite = Yes
| flowrate = 5 [[tick]]s/block
| flowdistance = 8 blocks
}}

'''Water''' is a [[fluid]] that naturally generates abundantly in the [[Overworld]].

== Obtaining ==
Water blocks do not exist as items,{{only|java}} but water can be collected by using a [[bucket]] on a water source block or a full water [[cauldron]], creating a [[water bucket]].

{{IN|BE}}, it may be obtained as an item via inventory editing or add-ons.

=== Natural generation ===
Water naturally generates in the [[Overworld]] to form [[ocean]]s, [[river]]s and [[spring]]s. The water level is at [[altitude|layer 63]] near oceans and rivers, but changes depending on location due to the [[aquifer]] system, filling some carvers, noise caves and canyons with water at different levels. Water also generates as small puddles on the floor next to [[dripstone cluster]]s, and as clay pools on the floor of [[lush caves]].

Water also generates in [[village]]s, [[desert well]]s, [[stronghold]]s, [[woodland mansion]]s, [[ancient city|ancient cities]] and [[ocean monument]]s. 

Water never generates in [[the Nether]] and instantly disappears if placed there with a water bucket. However, water can exist in the Nether in a [[cauldron]]. Water can also be placed in the Nether using [[commands]] such as {{cmd|setblock}} and {{cmd|fill}}. Although it does not naturally generate there, water can be placed and function normally in [[the End]].

{{IN|be}}, water also generates as part of [[ocean ruins]] with loot [[chest]]s, but only two water blocks generate: 
* One water block generates inside the loot chest, making it a [[Waterlogging|waterlogged]] loot chest.
* The other water block generates on top of the loot chest.
These water blocks generate even if the ruin is located on the surface.<ref>{{bug|MCPE-36793}}</ref> This is not the case in {{el|je}}; if an underwater ruin generates on the surface, no water generates.<ref>{{bug|MC-136156}}</ref> This also happens with [[shipwreck]]s.

Water spends most of its time as stationary, rather than flowing – regardless of its level, or whether it contains a current downward or to the side. When specifically triggered by a block update, water changes to 'flowing', updates its level, then changes back to stationary. Water springs are generated as flowing, and oceans, and rivers are generated as stationary. This happens before most types of generated structure are created, and the main cause of water "glitches" is that generated structures do not trigger a block update to let water flow into them.

== Usage ==
=== Appearance ===
Water uses a translucent animated texture that is tinted differently in different biomes. {{IN|Java}}, water in cauldrons is completely opaque.<ref>{{bug|MC-13187}}</ref>

Unlike other translucent blocks such as [[ice]], [[stained glass]] and [[tinted glass]], water shows the opposite sides of its external planes when viewed from within and from outside.<ref>{{bug|MC-202578|||WAI}}</ref> However, it applies only to the top plane and four side planes; the bottom face is always unseen from above.<ref>{{bug|MC-190053}}</ref>

=== Swimming ===
{{main|Swimming}}

The button for {{control|swim|text=swimming}} is the same as the button for jumping; non-swimming players and mobs sink slowly in water. Holding the swim button raises the player through the water, and when the surface is reached, the player bobs up and down. The {{control|crouch}} button can be used to sink faster. The {{control|sprint}} button can be used to put the player in "swim mode" when the player is completely submerged in water. When in swim mode, the player is horizontal and one block high. The player has an arm-waving animation when viewed in third person or by other players.

Swimming in water is considerably slower against currents (see [[#Current|Current]] below), but faster when going with the current.

Most mobs that can stand can also swim any time they are in water, except for [[iron golem]]s, [[piglin]]s, [[hoglin]]s, [[strider]]s, [[piglin brute]]s and undead mobs. This can lead to drowning if the water is falling from above.

Water of any depth prevents any entity, including the player, from sustaining falling damage if they fall into it, regardless of the distance fallen.

Being inside of water also imparts a [[fog]] effect, tinted accordingly.

=== Spreading ===
{{Main|Fluid#Spread}}
[[File:Water spread v1-13.png|300px|right|An image showing water's spreading distance]]
Water spreads horizontally and downward into nearby [[air]] blocks. Water can spread downward infinitely until stopped by a block, and 7 blocks horizontally from a source block on a flat surface. Water spreads at a rate of 1 block every 5 game ticks, or 4 blocks per second.

When spreading horizontally, a weight is assigned to every direction water can flow. For each direction, this weight is initially set to 1000. Then, for every adjacent block it can flow into it tries to find a way down that is reachable in four or fewer blocks from the block it wants to flow to. When found, the flow weight for that direction is set to the shortest path distance to the way down. Finally, water spreads in the directions with the lowest flow weight.

Spreading water extinguishes [[fire]] and washes away certain types of items or placed blocks, causing them to drop as items and then carrying them along in the flow until the edge of the spread. Affected items include [[plant]]s (except trees), [[snow]], [[torch]]es, [[carpet]]s, [[redstone dust]] and some other redstone components, [[cobweb]], [[end rod]]s, [[head]]s, and [[flower pot]]s.

==== Flow arrangement tables ====
{| class="wikitable"
|+ 
|
|
|
|
|
|
|
!7
|
|
|
|
|
|
|
|-
|
| 
| 
| 
| 
| 
! 7
!6
! 7
| 
| 
| 
| 
| 
|
|-
|
| 
| 
| 
| 
! 7
!6
!5
!6
! 7
| 
| 
| 
| 
|
|-
|
| 
| 
| 
! 7
!6
!5
!4
!5
!6
! 7
| 
| 
| 
|
|-
|
| 
| 
! 7
!6
!5
!4
!3
!4
!5
!6
! 7
| 
| 
|
|-
|
| 
! 7
!6
!5
!4
!3
!2
!3
!4
!5
!6
! 7
| 
|
|-
|
! 7
!6
!5
!4
!3
!2
!1
!2
!3
!4
!5
!6
! 7
|
|-
!7
!6
!5
!4
!3
!2
!1
!0
!1
!2
!3
!4
!5
!6
!7
|-
|
! 7
!6
!5
!4
!3
!2
!1
!2
!3
!4
!5
!6
! 7
|
|-
|
| 
! 7
!6
!5
!4
!3
!2
!3
!4
!5
!6
! 7
| 
|
|-
|
| 
| 
! 7
!6
!5
!4
!3
!4
!5
!6
! 7
| 
| 
|
|-
|
| 
| 
| 
! 7
!6
!5
!4
!5
!6
! 7
| 
| 
| 
|
|-
|
| 
| 
| 
| 
! 7
!6
!5
!6
! 7
| 
| 
| 
| 
|
|-
|
| 
| 
| 
| 
| 
! 7
!6
! 7
| 
| 
| 
| 
| 
|
|-
|
|
|
|
|
|
|
!7
|
|
|
|
|
|
|
|}

{| class="wikitable"
! colspan="2" |Range
!Height in blocks
|-
!1
|block
|1
|-
!2
|blocks
|0.75-1
|-
!3
|blocks
|0.625-0.75
|-
!4
|blocks
|0.5-0.625
|-
!5
|blocks
|0.375-0.5
|-
!6
|blocks
|0.25-0.375
|-
!7
|blocks
|0.125-0.25
|}

=== Source blocks ===
{{anchor|Water Spawner}} <!-- Compatibility anchor -->
{{about|the behavior and creation of source units of water|the removed block that created water sources|Water Spawner|section=1}}
A water source block is created from a flowing block that is horizontally adjacent to two or more other source blocks, and sitting on top of a solid block or another water source block. This allows water spawners to exist, in which a new source block immediately forms in the space left by removing a source block with a [[bucket]]. Pools of still water can be created by placing water source blocks in a confined area.

Water spawners can be constructed by arranging for two source blocks to flow into a third block. Each of the examples below require two source blocks, each on opposite ends of the hole, to create a renewable water source block in between.

While water source blocks only generate adjacent to solid blocks, they do not require a solid block to support them. Removing all adjacent blocks to a water source block only causes it to remain floating in the air.

{{IN|java}}, the formation of new water sources blocks can be disabled when the [[game rule]] {{cd|waterSourceConversion}} is set to {{cd|false}}.

<gallery>
2x2 water source.png|2x2 water spawner (every corner is renewable)
3x1 water source.png|3x1 water spawner (middle water block is renewable)
L-shaped water source.png|L-shaped water spawner (corner water block is renewable)
</gallery>

A [[dispenser]] loaded with a filled [[bucket]] places a water source block in an empty block in front of it when activated. A dispenser loaded with an empty bucket and a water source right in front of it sucks the source into the bucket when activated.

In snowy [[biome]]s, water source blocks have a chance to turn into [[ice]] if directly under the sky. Ice blocks under brighter light levels melt back into water source blocks (except in [[the Nether]]). Ice reverts to water when broken, but only if there is a solid block under it.

=== Current ===
The current in a water block determines both the direction it appears to flow and the direction an [[entity]] such as a player or [[boat]] is pushed from that block.

Water with a current pushes players and [[mob]]s at a speed of about 1.39 meters per second, or 25 blocks every 18 seconds. Players that are in creative flying mode don’t get pushed.{{only|je}}<ref>{{bug|MCPE-84592}}</ref>

The horizontal current in a water block is based on a vector sum of the flows to and from that block from its four horizontal neighbors. For example, if a block receives water from the north and sends it both south and east, but borders a solid block on its west edge, then a south-southeast current exits from that block, because 2 southward flows (in and out) are combined with 1 eastward flow (out). Thus, 16 horizontal directions are possible. If a branch in a channel is 2 blocks wide at its entrance, then entities float into it rather than continuing in a straight line.

Water blocks can create a downward current. A downward current in a water block is caused by the block below it. Most blocks that do not have a solid upper face cause downward current on above water blocks. Also, ice and falling water blocks (blocks created by spreading downward) cause downward current on the water block above. Falling water blocks have a downward current by default.

=== Light ===
{{IN|bedrock}}, every block of water reduces [[light]] by 1 extra level (in addition to the normal fading-out of light). {{IN|java}}, water does not cause any additional decrease for block light, but diffuses sky light, causing the light to fade with depth. Underwater visibility changes depending on the biome the player is in. The [[Night Vision]] and [[Conduit Power]] effects increase underwater visibility.

=== Color ===
Water has several colors, depending on the biome.

==== Java Edition ====
{| class="wikitable sortable mw-collapsible mw-collapsed" data-description="Water Color in Java Edition"
|-
!Biome!!Water color!!Water fog color!!Block
|-
|{{BiomeSprite|Plains|text=Default (biomes not listed below)}}||{{color|#3F76E4}}||{{color|#050533}}||[[File:Plains Water JE.png|32px]]
|-
|{{BiomeLink|Swamp}}||{{color|#617B64}}||{{color|#232317}}||[[File:Swamp Water.png|32px]]
|-
|{{BiomeLink|Lukewarm Ocean}}<br>{{BiomeLink|Deep Lukewarm Ocean}}||{{color|#45ADF2}}||{{color|#041633}}||[[File:Lukewarm Ocean Water JE.png|32px]]
|-
|{{BiomeLink|Warm Ocean}}||{{color|#43D5EE}}||{{color|#041F33}}||[[File:Warm Ocean Water JE.png|32px]]
|-
|{{BiomeLink|Cold Ocean}}<br>{{BiomeLink|Deep Cold Ocean}}<br>{{BiomeLink|Snowy Taiga}}<br>{{BiomeLink|Snowy Beach}}||{{color|#3D57D6}}||{{color|#050533}}||[[File:Cold Ocean Water JE.png|32px]]
|-
|{{BiomeLink|Frozen River}}<br>{{BiomeLink|Frozen Ocean}}<br>{{BiomeLink|Deep Frozen Ocean}}||{{color|#3938C9}}||{{color|#050533}}||[[File:Frozen Ocean Water JE.png|32px]]
|-
|{{BiomeLink|Meadow}}||{{color|#0E4ECF}}||{{color|#050533}}||[[File:Meadow Water.png|32px]]
|-
|{{BiomeLink|Mangrove Swamp}}||{{color|#3A7A6A}}||{{color|#4D7A60}}|||[[File:Mangrove Swamp Water.png|32px]]
|-
|{{BiomeLink|Cherry Grove}}||{{color|#5DB7EF}}||{{color|#5DB7EF}}||[[File:Cherry Grove Water.png|32px]]
|}

==== Bedrock Edition====
Biome tints
<!--[[File:Water color.png|500px|thumb|center|From left to right - Badlands Plateau, Birch Forest and Snowy Taiga]]-->
{| class="wikitable sortable mw-collapsible mw-collapsed" data-description="Water Color in Bedrock Edition" 
! Biome
!Water Surface Color
! Water Fog Color
!Water Fog Distance
!Water Surface Transparency
!Block
|-
|Default<br>(biomes not listed below)
|{{color|#44aff5}}||{{color|#44aff5}}||15||65%||[[File:Water BE.png|32px]]
|-
|{{BiomeLink|Sunflower Plains}}<br>{{BiomeLink|Plains}}
|{{color|#44aff5}}||{{color|#44aff5}}||60||-||[[File:Water BE.png|32px]]
|-
|{{BiomeLink|Desert}}
|{{color|#32a598}}||{{color|#32a598}}||60||-||[[File:Desert Water.png|32px]]
|-
|{{BiomeLink|Mountains}}
|{{color|#007BF7}}||{{color|#007BF7}}||-||-||[[File:Mountains Water.png|32px]]
|-
|{{BiomeLink|Forest}}
|{{color|#1e97f2}}||{{color|#1e97f2}}||60||-||[[File:Forest Water.png|32px]]
|-
|{{BiomeLink|Flower Forest}}
|{{color|#20a3CC}}||{{color|#20a3CC}}||60||-||[[File:Flower Forest Water.png|32px]]
|-
| {{BiomeLink|Taiga}}
| {{color|#287082}}||{{color|#287082}}||60||-||[[File:Taiga Water.png|32px]]
|-
|{{BiomeLink|Taiga Mountains}}
|{{color|#1e6B82}}||{{color|#1e6B82}}||-||-||[[File:Taiga Mountains Water.png|32px]]
|-
|{{BiomeLink|Swamp}}
|{{color|#4c6559}}||{{color|#4c6559||30||100%||[[File:Swamp Water BE.png|32px]]
|-
| {{BiomeLink|River}}
|{{color|#0084ff}}||{{color|#0084ff}}||60||-||[[File:River Water.png|32px]]
|-
|{{BiomeLink|Nether Wastes}}<br>{{BiomeLink|Warped Forest}}<br>{{BiomeLink|Crimson Forest}}<br>{{BiomeLink|Soul Sand Valley}}
|{{color|#905957}}||{{color|#905957}}||15||-||[[File:Nether Water.png|32px]]
|-
|{{BiomeLink|Basalt Deltas}}
|{{color|#3f76e4}}||{{color|#423e42}}||15||-||[[File:Basalt Deltas Water.png|32px]]
|-
|{{BiomeLink|The End}}
| {{color|#62529e}}||{{color|#62529e}}||-||-||[[File:The End Water.png|32px]]
|-
|{{BiomeLink|Frozen River}}
|{{color|#185390}}||{{color|#185390}}||60||-||[[File:Frozen River Water.png|32px]]
|-
|{{BiomeLink|Snowy Tundra}}<br>{{BiomeLink|Ice Spikes}}
|{{color|#14559b}}||{{color|#14559b}}||-||-||[[File:Ice Spikes Water.png|32px]]
|-
| {{BiomeLink|Mushroom Fields}}
|{{color|#8a8997}}||{{color|#8a8997}}||-||-||[[File:Mushroom Fields Water.png|32px]]
|-
|{{BiomeLink|Beach}}
| {{color|#157cab}}||{{color|#157cab}}||60||-||[[File:Beach Water.png|32px]]
|-
|{{BiomeLink|Mountain Edge}}
|{{color|#045cd5}}||{{color|#045cd5}}||-||-||[[File:Mountain Edge Water.png|32px]]
|-
|{{BiomeLink|Jungle}}<br>{{BiomeLink|Bamboo Jungle}}
|{{color|#14a2c5}}||{{color|#14a2c5||60<br>15||-||[[File:Jungle Water.png|32px]]
|-
|{{BiomeLink|Jungle Edge}}
| {{color|#0D8AE3}}||{{color|#0D8AE3}}||-||-||[[File:Jungle Edge Water.png|32px]]
|-
|{{BiomeLink|Stone Shore}}
|{{color|#0d67bb}}||{{color|#0d67bb}}||60||-||[[File:Stone Shore Water.png|32px]]
|-
|{{BiomeLink|Snowy Beach}}
|{{color|#1463a5}}||{{color|#1463a5}}||60||-||[[File:Snowy Beach Water.png|32px]]
|-
|{{BiomeLink|Birch Forest}}
|{{color|#0677ce}}||{{color|#0677ce}}||60||-||[[File:Birch Forest Water.png|32px]]
|-
|{{BiomeLink|Dark Forest}}
|{{color|#3B6CD1}}||{{color|#3B6CD1}}||60||-||[[File:Dark Forest Water.png|32px]]
|-
|{{BiomeLink|Snowy Taiga}}
|{{color|#205e83}}||{{color|#205e83}}||60||-||[[File:Snowy Taiga Water.png|32px]]
|-
|{{BiomeLink|Giant Tree Taiga}}<br>{{BiomeLink|Giant Spruce Taiga}}
|{{color|#2d6d77}}||{{color|#2d6d77}}||60||-||[[File:Giant Tree Taiga Water.png|32px]]
|-
|{{BiomeLink|Windswept Forest}}<br>{{BiomeLink|Windswept Gravelly Hills}}
|{{color|#0E63AB}}||{{color|#0E63AB}}||-||-||[[File:Wooded Mountains Water.png|32px]]
|-
|{{BiomeLink|Savanna}}
|{{color|#2C8B9C}}||{{color|#2C8B9C}}||60||-||[[File:Savanna Water.png|32px]]
|-
|{{BiomeLink|Savanna Plateau}}<br>{{BiomeLink|Shattered Savanna}}
|{{color|#2590a8}}||{{color|#2590a8}}||-||-||[[File:Savanna Plateau Water.png|32px]]
|-
|{{BiomeLink|Badlands}}
|{{color|#4E7f81}}||{{color|#4E7f81||60
|<nowiki>-||[[File:Badlands Water.png|32px]]
|-
|{{BiomeLink|Eroded Badlands}}<br>{{BiomeLink|Wooded Badlands}}
|{{color|#497f99}}||{{color|#497f99}}||-||-||[[File:Eroded Badlands Water.png|32px]]
|-
|{{BiomeLink|Ocean}}
|{{color|#1787D4}}||{{color|#1165b0}}||60||-||[[File:Ocean Water.png|32px]]
|-
|{{BiomeLink|Deep Ocean}}
|{{color|#1787D4}}||{{color|#1463a5}}||60||-||[[File:Ocean Water.png|32px]]
|-
|{{BiomeLink|Warm Ocean}}
|{{color|#02B0E5}}||{{color|#0289d5}}||60||55%||[[File:Warm Ocean Water.png|32px]]
|-
| {{BiomeLink|Lukewarm Ocean}}
|{{color|#0D96DB}}||{{color|#0a74c4}}||60||-||[[File:Lukewarm Ocean Water.png|32px]]
|-
|{{BiomeLink|Deep Lukewarm Ocean|Lukewarm Deep Ocean}}
|{{color|#0D96DB}}||{{color|#0e72b9}}||60||-||[[File:Lukewarm Ocean Water.png|32px]]
|-
|{{BiomeLink|Cold Ocean}}
|{{color|#2080C9}}||{{color|#14559b}}||60||-||[[File:Cold Ocean Water.png|32px]]
|-
|{{BiomeLink|Deep Cold Ocean|Cold Deep Ocean}}
|{{color|#2080C9}}||{{color|#185390}}||60||-||[[File:Cold Ocean Water.png|32px]]
|-
|{{BiomeLink|Frozen Ocean}}
|{{color|#2570B5}}||{{color|#174985}}||60||-||[[File:Frozen Ocean Water.png|32px]]
|-
|{{BiomeLink|Deep Frozen Ocean|Frozen Deep Ocean}}
|{{color|#2570B5}}||{{color|#1a4879}}||60||-||[[File:Frozen Ocean Water.png|32px]]
|-
|{{BiomeLink|Mangrove Swamp}}
|{{color|#3a7a6a}}||{{color|#4d7a60}}||30||-||[[File:Mangrove Swamp Water BE.png|32px]]
|}
Biome tints from [[Biome/Before 1.18|unused biomes]]
{| class="wikitable sortable mw-collapsible mw-collapsed" data-description="Water Color in Bedrock Edition" 
! Biome
!Water Surface Color
!Water Fog Color
!Water Fog Distance
!Water Surface Transparency
!Block
|-
|{{BiomeLink|Legacy Frozen Ocean}}
|{{color|#44aff5}}||{{color|#44aff5}}||-||-||[[File:Water BE.png|32px]]
|-
|{{BiomeLink|Mountains}}
|{{color|#007BF7}}||{{color|#007bf7}}||-||-||[[File:Mountains Water.png|32px]]
|-
|{{BiomeLink|Taiga Mountains}}
|{{color|#1e6B82}}||{{color|#1e6b82}}||-||-||[[File:Taiga Mountains Water.png|32px]]
|-
|{{BiomeLink|Swamp Hills}}
| {{color|#4c6156}}||{{color|#4c6156||30||100%||[[File:Swamp Hills Water.png|32px]]
|-
| {{BiomeLink|Snowy Mountains}}
|{{color|#1156a7}}||{{color|#1156a7}}||-||-||[[File:Snowy Mountains Water.png|32px]]
|-
|{{BiomeLink|Mushroom Field Shore}}
|{{color|#818193}}||{{color|#818193}}||-||-||[[File:Mushroom Field Shore Water.png|32px]]
|-
|{{BiomeLink|Desert Hills}}
|{{color|#1a7aa1}}||{{color|#1a7aa1}}||-||-||[[File:Desert Hills Water.png|32px]]
|-
|{{BiomeLink|Wooded Hills}}
|{{color|#056bd1}}||{{color|#056bd1}}||-||-||[[File:Wooded Hills Water.png|32px]]
|-
|{{BiomeLink|Taiga Hills}}
|{{color|#236583}}||{{color|#236583}}||-||-||[[File:Taiga Hills Water.png|32px]]
|-
|{{BiomeLink|Mountain Edge}}
|{{color|#045cd5}}||{{color|#045cd5}}||-||-||[[File:Mountain Edge Water.png|32px]]
|-
|{{BiomeLink|Jungle Hills}}<br>{{BiomeLink|Modified Jungle}}<br>{{BiomeLink|Bamboo Jungle Hills}}
|{{color|#1B9ED8}}||{{color|#1B9ED8}}||-||-||[[File:Jungle Hills Water.png|32px]]
|-
|{{BiomeLink|Modified Jungle Edge}}
|{{color|#0D8AE3}}||{{color|#0D8AE3}}||-||-||[[File:Jungle Edge Water.png|32px]]
|-
|{{BiomeLink|Birch Forest Hills}}
|{{color|#0a74c4}}||{{color|#0a74c4}}||-||-||[[File:Birch Forest Hills Water.png|32px]]
|-
|{{BiomeLink|Snowy Taiga Mountains}}
|{{color|#205e83}}||{{color|#205e83}}||60||-||[[File:Snowy Taiga Water.png|32px]]
|-
|{{BiomeLink|Snowy Taiga Hills}}
|{{color|#245b78}}||{{color|#245b78}}||-||-||[[File:Snowy Taiga Hills Water.png|32px]]
|-
|{{BiomeLink|Giant Tree Taiga Hills}}
|{{color|#286378}}||{{color|#286378}}||-||-||[[File:Giant Tree Taiga Hills Water.png|32px]]
|-
|{{BiomeLink|id=modified-gravelly-mountains|Gravelly Mountains+}}
|{{color|#0E63AB}}||{{color|#0e63ab}}||-||-||[[File:Wooded Mountains Water.png|32px]]
|-
|{{BiomeLink|Shattered Savanna Plateau}}
|{{color|#2590a8}}||{{color|#2590a8}}||-||-||[[File:Savanna Plateau Water.png|32px]]
|-
|{{BiomeLink|Badlands Plateau}}<br>{{BiomeLink|Modified Badlands Plateau}}
|{{color|#55809E}}||{{color|#55809e}}||-||-||[[File:Badlands Plateau Water.png|32px]]
|-
|{{BiomeLink|Deep Warm Ocean|Warm Deep Ocean}}
|{{color|#02B0E5}}||{{color|#0686ca}}||60||-||[[File:Warm Ocean Water.png|32px]]
|}

===Water and lava===
{{Main|Fluid#Mixing}}

Water and lava can produce [[stone]], [[cobblestone]], or [[obsidian]] based on how they interact. If water touches a lava source, the lava source turns to obsidian. If both touch each other while flowing, cobblestone is made and no sources are removed, and if lava flows downward onto water, the water turns to stone.

===Interactions with mobs===
====Direct contact====

Water damages [[endermen]], [[snow golem]]s, [[Strider|striders]] and [[blaze]]s, at a rate of {{hp|1}} per half second. If water comes into contact with a [[shulker]] or an [[enderman]], the mob teleports away.

====Suffocation====
{{Main|Damage#Suffocation in water}}

Players and mobs (except [[aquatic mob]]s, [[undead mob]]s and [[iron golem]]s) have a breath meter that lasts 15 seconds. After they run out of breath, they take {{hp|2}} suffocation damage every second until they die, surface, or enter [[bubble column]]s.

[[Dolphin]]s are a special case in drowning: they take suffocation damage when underwater for about 4 minutes, but also take suffocation damage when in air for about 2 minutes.

Each level of the [[Respiration]] enchantment adds 15 seconds to the breath meter and grants an x/(x+1) chance (where x is the Respiration level) of not taking damage after that time: 30 seconds and an average {{hp|1}}/second with Respiration I, 45 seconds and an average of {{frac|2|3}} damage/second with Respiration II, and 60 seconds and an average of {{frac|1|2}} damage/second with Respiration III.

If a [[husk]] suffocates underwater, it starts to shake and eventually becomes a [[zombie]]. If a [[zombie]] suffocates underwater, it starts to shake and eventually transforms into a [[drowned]].

=== Slower mining speed===
Players with their head underwater require 5 times the normal amount of time to mine blocks while standing on the ground, or 25 times while not on the ground. If a player wears a helmet with the [[Aqua Affinity]] enchantment, then underwater mining speed while standing on the ground is the same as on land, and 5 times slower if not standing on the ground.

===Explosions===
Water does not prevent explosions from activating. Water has a high blast resistance, causing it to absorb any normal blasts, with the exception of explosions from [[underwater TNT]].

===Hardening concrete powder ===
When water comes into contact with [[concrete powder]], the powder hardens into solid [[concrete]].

===Sponges===
When a dry [[sponge]] comes into contact with a water source or flowing block, it becomes a wet [[sponge]], absorbing all water within 3 to 5 blocks in all directions. [[Kelp]] and [[lily pad]]s within the absorbed water blocks are destroyed and drop as items, and [[seagrass]] is destroyed without dropping anything. Mobs that take damage out of water are affected as a side-effect. 

Sponges do not absorb water from [[Waterlogging|waterlogged]] blocks, nor water that comes into contact by flowing back in from outside the area of absorption. For instance, placing a sponge 4 or more blocks from a single water source removes the flowing water in the area of effect, but as the flow from the source resumes it is not affected by the wet sponge.

A sponge instantly absorbs nearby water when it is placed next to water or when water comes into contact with it (by being placed next to the sponge, or by flowing toward it). A sponge absorbs [[water]] around itself (water source blocks or flowing water) out to a [[taxicab distance]] of 7 in all directions (including up and down), but won't absorb more than 65 blocks of water (water closest to the sponge is absorbed first). The absorption propagates only from water to water and does not "jump over" non-water blocks (including air).

===Dripping===
[[File:WaterDropletsExample.png|thumb|Dripping water.]]
Water above a non-transparent block (except for stairs, fences, or slabs) produces dripping particles on the underside of that block. If a block of [[Pointed Dripstone|pointed dripstone]] hangs under any block directly beneath a water source, the drips can slowly fill up a [[cauldron]] placed underneath. Without the dripstone, a cauldron does not fill.

===Vertical transport===
[[Bubble column]]s are created by placing magma blocks or [[soul sand]] under water. These can be used to transport [[mobs]] or items quickly vertically.

==Sounds==
{{el|je}}:
{{Sound table
|sound=Entering water1.ogg
|sound2=Entering water2.ogg
|sound3=Entering water3.ogg
|subtitle=MC-177092
|source=ambient
|description=When the player's eye level goes underwater
|id=ambient.underwater.enter
|translationkey=-
|volume=0.8<wbr>{{Until|JE 1.20.2}}<br>0.5<wbr>{{Upcoming|JE 1.20.2}}
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Exiting water1.ogg
|sound2=Exiting water2.ogg
|sound3=Exiting water3.ogg
|subtitle=MC-177092
|source=ambient
|description=When the player's eye level goes above water
|id=ambient.underwater.exit
|translationkey=-
|volume=0.5<wbr>{{Until|JE 1.20.2}}<br>0.3<wbr>{{Upcoming|JE 1.20.2}}
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Underwater Ambience.ogg
|subtitle=MC-196825
|source=ambient
|description=Randomly when underwater
|id=ambient.underwater.loop
|translationkey=-
|volume=0.65
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bubbles1.ogg
|sound2=Bubbles2.ogg
|sound3=Bubbles3.ogg
|sound4=Bubbles4.ogg
|sound5=Bubbles5.ogg
|sound6=Bubbles6.ogg
|sound7=Water1.ogg
|sound8=Water2.ogg
|subtitle=MC-196825
|source=ambient
|description=Randomly when underwater
|id=ambient.underwater.loop.additions
|translationkey=-
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Animal1.ogg
|sound2=Bass Whale1.ogg
|sound3=Bass Whale2.ogg
|sound4=Crackles1.ogg
|sound5=Crackles2.ogg
|sound6=Driplets1.ogg
|sound7=Driplets2.ogg
|sound8=Earth Crack.ogg
|subtitle=MC-196825
|source=ambient
|description=Randomly when underwater
|id=ambient.underwater.loop.additions.rare
|translationkey=-
|volume=''varies'' <ref group=sound>The first, fifth, and eighth sounds are 1.0; the second sound is 0.45; the third, sixth, and seventh sounds are 0.5; the fourth sound is 0.7</ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Animal2.ogg
|sound2=Dark1.ogg
|sound3=Dark2.ogg
|sound4=Dark3.ogg
|sound5=Dark4.ogg
|subtitle=MC-196825
|source=ambient
|description=Randomly when underwater
|id=ambient.underwater.loop.additions.ultra_rare
|translationkey=-
|volume=1.0 <ref group=sound>Except the third sound, which is 0.7</ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Water1.ogg
|sound2=Water2.ogg
|subtitle=Water flows
|source=block
|description=Randomly from flowing water
|id=block.water.ambient
|translationkey=subtitles.block.water.ambient
|volume=0.75-1.0
|pitch=0.5-1.5
|distance=16}}
{{Sound table
|sound=Water splash1.ogg
|sound2=Water splash2.ogg
|subtitle=Splashing
|source=dependent
|description=When something enters water
|id=entity.generic.splash
|translationkey=subtitles.entity.generic.splash
|volume=0.0-1.0 <ref group=sound name=speedvolume>The mob's momentum, with the horizontal axes' velocities multiplied by 0.2 (capped at 1.0)</ref>
|pitch=0.6-1.4
|distance=16}}
{{Sound table
|sound=Swim1.ogg
|sound2=Swim2.ogg
|sound3=Swim3.ogg
|sound4=Swim4.ogg
|subtitle=Swimming
|source=dependent
|description=While something is moving through water
|id=entity.generic.swim
|translationkey=subtitles.entity.generic.swim
|volume=0.0-1.0 <ref group=sound name=speedvolume/>
|pitch=0.6-1.4
|distance=16}}
{{Sound table
|sound=Empty water bucket1.ogg
|sound2=Empty water bucket1.ogg
|sound3=Empty water bucket2.ogg
|sound4=Empty water bucket3.ogg
|subtitle=Bucket empties
|source=block
|description=When water is placed with a bucket
|id=item.bucket.empty
|translationkey=subtitles.item.bucket.empty
|volume=1.0 <ref group=sound>Except for the second copy of {{cd|empty1}}, which is 0.9</ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Fill water bucket1.ogg
|sound2=Fill water bucket2.ogg
|sound3=Fill water bucket3.ogg
|subtitle=Bucket fills
|source=player
|description=When water is collected with a bucket
|id=item.bucket.fill
|translationkey=subtitles.item.bucket.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Axolotl.ogg
|sound2=Dragon fish.ogg
|sound3=Shuniji.ogg
|subtitle=-
|source=music
|description=Randomly when underwater
|id=music.under_water
|translationkey=-
|volume=0.4
|pitch=1.0
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Water2.ogg
|source=block
|description=Randomly from flowing water
|id=liquid.water
|volume=0.75-1.0
|pitch=0.5-1.5}}
{{Sound table
|sound=Water Splash Old.ogg
|source=player
|description=When something enters water<wbr><ref group=sound>{{Bug|MCPE-44120}}</ref>
|id=random.splash
|pitch=0.6-1.4}}
{{Sound table
|sound=Water splash1.ogg
|sound2=Water splash2.ogg
|source=ambient
|description=?[[Category:Pages missing sound description]]<wbr>{{Upcoming|BE 1.20.40}}
|id=entity.generic.splash
|pitch=0.6-1.4}}
{{Sound table
|sound=Entering water1.ogg
|sound2=Entering water2.ogg
|sound3=Entering water3.ogg
|source=player
|description=When the player's eye level goes underwater<wbr>{{Upcoming|BE 1.20.40}}
|id=ambient.underwater.enter
|volume=<!--0.8 (other multipliers)-->
|pitch=1.0}}
{{Sound table
|sound=Exiting water1.ogg
|sound2=Exiting water2.ogg
|sound3=Exiting water3.ogg
|source=player
|description=When the player's eye level goes above water<wbr>{{Upcoming|BE 1.20.40}}
|id=ambient.underwater.exit
|volume=<!--1.0 (other multipliers)-->
|pitch=1.0}}
{{Sound table
|sound=Swim1.ogg
|sound2=Swim2.ogg
|sound3=Swim3.ogg
|sound4=Swim4.ogg
|source=player
|description=While something is moving through water
|id=random.swim
|pitch=0.6-1.4}}
{{Sound table
|sound=Empty water bucket1.ogg
|sound2=Empty water bucket2.ogg
|sound3=Empty water bucket3.ogg
|source=block
|description=When water is placed with a bucket
|id=bucket.empty_water
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fill water bucket1.ogg
|sound2=Fill water bucket2.ogg
|sound3=Fill water bucket3.ogg
|source=block
|description=When water is collected with a bucket
|id=bucket.fill_water
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Axolotl.ogg
|sound2=Dragon fish.ogg
|sound3=Shuniji.ogg
|source=music
|description=Randomly when underwater
|id=music.game.water
|volume=0.2
|pitch=1.0
|foot=1}}

==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Water
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=water
|spritetype=block
|nameid=water
|form=block
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Water
|showfluidtags=y
|displayname=Fluid
|spritename=water
|spritetype=block
|nameid=water
|fluidtags=water}}
{{ID table
|displayname=Flowing Fluid
|spritetype=block
|spritename=water
|nameid=flowing_water
|fluidtags=water
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Water
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Flowing
|spritename=water
|spritetype=block
|nameid=flowing_water
|id=8
|form=block}}
{{ID table
|displayname=Stationary
|spritename=water
|spritetype=block
|nameid=water
|id=9
|form=block
|foot=1}}

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

{{/BS}}

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

{{/FS}}

==Achievements==
{{load achievements|Free Diver;Sleep with the Fishes}}

==Advancements==
{{load advancements|Tactical fishing;The Cutest Predator}}

==History==
{{Main|/History}}
{{History|java classic}}
{{History||May 17, 2009|link=https://archive.org/download/Minecraft_IRC_Logs_2009/history/files/May-15-to-June-03-2009/2009-05-17.140618-0400EDT.txt.~1~|Notch mentions developing water.{{q|a very very first version of the water is somewhat working now, heh [/] the level starts out without any water and is surrounded a by a huge ocean [/] it quickly fills, leaving islands}}}}
{{History||0.0.12a|snap=May 18, 2009|slink=Java Edition Classic 0.0.12a/Development#Water test (May 18, 2009)|[[File:Water (pre-release).png|32px]] Water is shown.}}
{{History|||snap=release|slink=Java Edition Classic 0.0.12a|[[File:Water JE1.png|32px]] Added water.
|Water flows to any available space below or beside it and creates a new source [[block]], making it easy to flood a whole world just with one source.}}
{{History||May 22, 2009|link=wordofnotch:111386404|[[Notch]] pointed out that when a [[plant]] or non-cube block is placed in water, it produces a box of [[air]] around it. He asked how it could be fixed, and whether he even had to.}}
{{History||0.0.13a|[[File:Water JE2.png|32px]] The model of water has been changed.}}
{{History||May 24, 2009|link=wordofnotch:112481256|A new water system is mentioned.}}
{{History||May 24, 2009|link=wordofnotch:112481370|A new water system is shown.}}
{{History||May 24, 2009|link=wordofnotch:112487511| Another test of water is shown.}}
{{History||May 26, 2009|link=wordofnotch:113350683|While sharing feedback on experiments with random vertex and color offsets, and deciding to scrap it, Notch said he would investigate salvaging the technique to add animation to water tiles.}}
{{History||0.0.19a|[[File:Water JE3.png|32px]] Added [[Procedural animated texture generation|procedural animated texture]] to water. The old texture is retained for use as a [[animation placeholder texture|placeholder]].
|Upscaled model 2% to fix z-fighting with blocks below water. It's created water or lava models overlapping and z-fighting with each other.
|Added [[sponge]]s, which remove water.
|Water part of the [[world boundary]] still uses the old water texture.}}
{{History||0.0.20a_02|[[File:Water JE4.png|32px]] Changed model scale back to normal with 1% offset on all coordinates.}}
{{History||0.26 SURVIVAL TEST|[[File:Water JE5.png|32px]] UV mapping on side faces now has 11% v offset up.}}
{{History||0.28|[[File:Water JE4.png|32px]] Fixed UV mapping.}}
{{History|java indev}}
{{History||0.31|snap=20091223-1|[[File:Water JE6.png|32px]] Added the flowing water texture, which is now used on the sides of water.}}
{{History|||snap=20100106|Water part of the [[world boundary]] now uses the animated water texture.}}
{{History|||snap=20100113|Water is now finite.|[[Ocean]]s now have infinite water.
|Water now always drains from its highest remove location.
|Water no longer moves on the surface on its own.
|Water now has a {{frac|2|3}} probability to evaporate and a {{frac|1|3}} probability to copy.}}
{{History|||snap=20100122|Water now spawns in level generation as [[spring]]s and lakes.}}
{{History|||snap=20100131|The texture of water is now seen when underwater.}}
{{History|java infdev}}
{{History||20100227-1|Water no longer flows due to changes in chunk handling for infinite worlds.{{verify|type=change}}}}
{{History||20100607|[[File:Water JE7.png|32px]] UV mapping now has 1% uv offset on top and bottom faces and 1% u, 11% v offset on side faces.}}
{{History||20100608|[[File:Water JE6.png|32px]] Fixed UV mapping, once again.}}
{{History||20100615|[[File:Water JE8.png|32px]] The model has been changed.
|Added flowing water.
|Sources placed in isolation flow exclusively downward, rather than spreading out one block in each direction as well.
|Water and lava do not produce any solid blocks when combined.
|Water does not replace plants.
|Water is now infinite again.
|Added [[water bucket]]s, which can be filled with water.}}
{{History||20100616-1|[[File:Water JE9.png|32px]] Added vertex offset.
|Water and flowing water now has visual connection to blocks.
|Downward flowing water now pushes the [[player]] out.{{info needed|and other entities?}}}}
{{History||20100617-2|[[File:Water JE10.png|32px]] Removed vertex offset.
|Water sources placed in the air now flow outward.
|Lava and flowing lava touching water, flowing water now replaces with [[obsidian]].
|Downward flowing water no longer pushes the player out.
|Water now can replace [[plants]]. However no items are dropped.}}
{{History||20100618|Water can now replace [[rail]]s.}}
{{History||20100624|Water now destroys plants, dropping as items.}}
{{History|java alpha}}
{{History||v1.0.2_02|[[Fluids]], including water, have been slightly tweaked.}}
{{History||v1.0.5_01|Water can now freeze into [[ice]].}}
{{History||v1.2.6|[[Lake]]s, which contain water, have been added.}}
{{History|java beta}}
<!--{{History||1.5|Dropped [[item]]s in flowing water now move faster.{{check version|Taken from trivia, may not be beta}}}}-->
{{History||1.6|snap=Test Build 3|[[Rain]] and [[snow]] no longer fall through water.
|Water sources now form over [[glass]].}}
{{History||1.8|snap=Pre-release|[[File:Water JE11.png|32px]] Changed [[lighting]].
|Underwater [[particles]] have been added.
|Because of the change in how land is generated, if a [[player]] is in a world that was made pre-1.8 and travels into new [[chunk]]s, there's a chance that a large [[ocean]] may be formed as the ocean [[biome]]. There is also a one-[[block]]-high drop in sea level along the discontinuity between the old and new chunks with the old chunks being higher.
|Water can now be found in the farms and wells of [[village]]s, and the fountain rooms of [[stronghold]]s.
|Two [[biome]]s have been added that are almost all water: [[ocean]]s and [[river]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Swamp Water JE1.png|32px]] {{color|#E0FF70}} Added water color in swampland.
|Added dripping water.}}
{{History|||snap=Beta 1.9 Prerelease 4|Added [[Respiration]] and [[Aqua Affinity]] enchantments, which allow more breathing time in water and normal digging speed in water.}}
{{History|||snap=Beta 1.9 Prerelease 5|Now flowing downward creates source blocks}}
{{History|||snap=RC1|[[File:Water JE12.png|32px]] [[File:Swamp Water JE2.png|32px]] Faces on model now 0.1% moved to center to fix z-fighting on inner faces.}}
{{History||1.1|snap=12w01a|[[File:Swamp Water JE3.png|32px]] {{color|#E0FFAE}} The water color in swampland is now less intense.}}
{{History||1.2.1|snap=12w04a|Added [[desert well]]s, which contain water.}}
{{History||1.3.1|snap=12w17a|The ability to bring water using [[ice]] into [[the Nether]] has been removed.}}
{{History|||snap=12w21a|[[Dispenser]]s have been given the ability to shoot out [[fluids]], including water, inside [[water bucket]]s. They can also collect the fluids if activated again.}}
{{History||1.4.2|snap=12w38a|The [[sound]] when jumping and swimming in water has been changed.
|The sound of flowing water is now continuous.
|The water overlay is a more saturated blue.}}
{{History||1.4.4|snap=1.4.3|Water of any depth now negates all [[Damage#Fall damage|fall damage]]. [[Player]]s and [[mob]]s no longer die from great heights in shallow water.<ref>{{bug|MC-1644}} resolved as Works As Intended</ref>}}
{{History||1.5|snap=13w02a|[[File:Water JE13.png|32px]] [[File:Swamp Water JE4.png|32px]] The texture of water has been changed to use an animated texture file. Prior to this version, the texture was procedurally generated by the game (see dedicated section below).}}
{{History|||snap=13w03a|A water source [[block]] now forms if there is another water source block below it.}}
{{History|||snap=13w04a|Flowing water in [[Creative]] mode no longer slows the [[player]] down when flying.}}
{{History||1.6.1|snap=13w17a|Water [[lake]]s no longer generate in [[desert]]s.}}
{{History||1.7.2|snap=13w36a|[[File:Swamp Water JE4.png|32px]] {{color|#E0FFAE}} Added water color in swampland M, which is the same as in swampland.}}
{{History||1.7.2|snap=13w36a|Water pools now generate in the new desert M [[biome]].
|[[Ocean]]s are much smaller.}}
{{History|||snap=13w41a|[[File:Water JE14.png|32px]] [[File:Swamp Water JE5.png|32px]] Water's six internal faces are now visible from the outside.
|Water, [[ice]] and [[portal]]s are now visible through each other. This also now allows water's inside faces to be visible from outside.}}
{{History|||snap=13w42a|[[File:Water JE13.png|32px]] [[File:Swamp Water JE6.png|32px]] Water's internal faces have been removed. This visually reverts water to its pre-13w41a appearance when seen from the outside.}}
{{History||1.7.4|snap=13w47a|Water's internal top face has been readded.<ref>{{bug|MC-35658}}</ref>}}
{{History|||snap=13w48a|[[File:Water JE15.png|32px]] [[File:Swamp Water JE7.png|32px]] Water's internal side faces except the bottom face, have been readded.<ref>{{bug|MC-40621}}</ref><ref>{{bug|MC-190053}}</ref>}}
{{History||1.9|snap=15w43b|When viewed through [[glass]], water now appears as a solid blue color, as opposed to a downward flowing water texture.<ref name="badwatergraphicsJE">{{bug|MC-35790}}</ref>}}
{{History||1.11|snap=16w39a|Water now generates in [[woodland mansion]]s.}}
{{History||1.12|snap=17w06a|Water now hardens [[concrete powder]] into [[concrete]], on contact.}}
{{History||1.13|snap=18w07a|[[Item]]s now float in water.
|The [[player]]'s underwater visibility has been changed - the longer a player stays underwater, the better they can see.}}
{{History|||snap=18w10a|Underwater visibility now depends on the [[biome]] the player is in.}}
{{History|||snap=18w10c|Water can now be placed in the same block as [[chest]]s, [[trapped chest]]s, [[stairs]], [[slab]]s, [[fence]]s, [[wall]]s, [[iron bars]] and [[glass pane]]s.}}
{{History|||snap=18w10d|Water can now be placed in [[ender chest]]s, [[trapdoor]]s, [[ladder]]s, and [[sign]]s.}}
{{History|||snap=18w15a|[[File:Water JE16.png|32px]] {{color|#3F76E4}} Added default water color. The textures of water have been changed from blue to grayscale.<ref>{{bug|MC-200838}}</ref>
|[[File:Warm Ocean Water JE.png|32px]] [[File:Lukewarm Ocean Water JE.png|32px]] [[File:Frozen Ocean Water JE.png|32px]] [[File:Cold Ocean Water JE.png|32px]] Added water colors for [[warm ocean]], [[lukewarm ocean]], [[frozen ocean]] and [[cold ocean]].
|[[File:Swamp Water.png|32px]] {{color|#617B64}} Water color in swampland has been changed.
|[[File:Swamp Hills Water 18w15a.png|32px]] {{color|#E0FFAE}} Water color in swampland M is unchanged.<ref>{{bug|MC-128558}}</ref>
|Water now blocks 1 [[light]] level per [[block]] instead of 3.
|[[Player]]s no longer receive the [[Night Vision]] effect while underwater.{{verify|type=change|Did this ever happen, or is it just being used as an analogy?}}}}
{{History|||snap=18w16a|When water spreads and would later turn into a source [[block]], it now immediately places a source block.}}
{{History|||snap=18w19a|[[Experience orb]]s now float in water.}}
{{History|||snap=pre3|[[File:Swamp Water.png|32px]] {{color|#617B64}} water color in swamp hills now the same as in [[swamp]].}}
{{History|||snap=pre7|Pressing the {{control|jump}} button in flowing water at <code>level=1</code>, <code>level=2</code> and <code>level=3</code> now do normal jumps instead of {{control|swimming}} up.}}
{{History||1.15|snap=19w34a|Added [[bee]]s, which get damaged while in water.}}
{{History|||snap=19w35a|Bees now try to avoid water.}}
{{History||1.17|snap=20w45a|Flowing water no longer breaks rails.}}
{{History|||snap=21w06a|[[Aquifer]]s, large bodies of water in caves, have been added.}}
{{History|||snap=21w07a|Aquifers generate less often.}}
{{History|||snap=21w08a|Water [[spring]]s are now able to generate below Y{{=}}0.}}
{{History|||snap=21w10a|The FOV shrinking effect now respects the "FOV Effects" accessibility slider.<ref>{{bug|MC-214629}}</ref>}}
{{History|||snap=21w15a|All changes to water generation from 21w06a to 21w08a have been reverted.}}
{{History|||snap=Pre-release 2|[[Smooth lighting]] now works properly underwater.<ref>{{bug|MC-68129}} resolved as "Fixed"</ref>}}
{{History||1.18|snap=Experimental Snapshot 1|[[File:Meadow Water.png|32px]] Added water color in [[meadow]].
|All changes to water generation in the 1.17 snapshots have been reintroduced.}}
{{History||1.18|snap=21w40a|[[Water lake]]s no longer generate.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Water can now generate as part of [[Ancient City|ancient cities]].}}
{{History||1.19|snap=22w14a|[[File:Mangrove Swamp Water.png|32px]] Added water color in [[mangrove swamp]].}}
{{History||1.19.3|snap=22w44a|Added the [[game rule]] {{cd|waterSourceConversion}}, which disables the formation of new water source blocks when set to {{cd|false}}.}}
{{History||1.20<br>(experimental)|link=1.19.4|snap=23w07a|[[File:Cherry Grove Water JE1.png|32px]] Added water color in [[cherry grove]].}}

{{History|pocket alpha}}
{{History||v0.1.0|[[File:Water JE11.png|32px]]{{verify|type=change|Is this accurate to how it appeared in this edition at this time?}} Added water. 
|[[File:Water JE2.png|32px]] On older or much newer devices, the old [[Java Edition|Java]] water texture is used, whereas the newer animated texture is used on intermediately modern devices.}}
{{History||v0.7.0|[[File:Water JE11.png|32px]]{{verify|type=change|Is this accurate to how it appeared in this edition at this time?}} The texture of water has been changed to the new texture for all devices.}}
{{History||v0.9.0|snap=build 1|[[File:Swamp Water BE1.png|32px]] Water now uses a dark blue coloration in [[swamp]]s.
|Water dripping [[particles]] have been changed.
|[[Water lake]]s have been added.
|Water can now be found in the farms and wells of [[village]]s.
|Two [[biome]]s have been added that are almost all water: [[ocean]]s and [[river]]s.
|Oasis now generate in the new [[desert]] M [[biome]].}}
{{History||v0.10.0|snap=build 1|Smooth lighting for water has been added.
|A gradient effect has been added to water that increases its opacity with distance.
|[[File:Old bedrock swamp water.png|32px]] Water color in swampland has been changed.
|Flowing water can now push [[entities]].}}
{{History|||snap=build 7|Running water now has [[sound]]s.}}
{{History|||snap=?|Water now destroys [[block]]s.{{info needed|if this is referring to washing away plants and torches and stuff, it's been able to do that since 0.1.0}}}}
{{History||v0.14.0|snap=build 1|[[Dispenser]]s can now shoot out water from [[water bucket]]s. They can also suck up [[fluids]], including water, directly adjacent to the side they are facing.}}
{{History||v0.14.2|[[File:Old bedrock water.png|32px]] Water now uses animated texture files.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 1.0.0.0|When viewed through [[glass]], water now appears as a solid blue color, as opposed to a downward flowing water texture.<ref name="badwatergraphicsBE">{{bug|MCPE-11140}}</ref>}}
{{History||1.1.0|snap=alpha 1.1.0.0|Water now generates in [[woodland mansion]]s.
|Water now hardens [[concrete powder]] into [[concrete]], on contact.}}
{{History|bedrock}}
{{History||?|The rendering change for water in 1.0.0 has been reverted for an unknown reason.}}
{{History||1.2.13|snap=beta 1.2.13.5|Water can now be placed in the same [[block]]s as [[slab]]s and [[stairs]].}}
{{History||1.4.0|snap=beta 1.2.14.2|Water can now be placed in the same block as most transparent blocks, instead of slabs and stairs only.}}
{{History|||snap=beta 1.2.20.1|[[File:Plains Water.png|32px]] Water now has a completely new look for every [[biome]] and it is now much easier to see above and underwater (see [[Water#Bedrock Edition]] for all biome colors).
|[[Item]]s now float to the top of water.
|Underwater visibility now depends on the [[biome]] the [[player]] is in.
|[[Respiration]] enchantment and [[Water Breathing]] effect no longer grants enhanced underwater visibility.}}
{{History|||snap=?|When viewed through [[glass]], water now appears as its own top texture, as opposed to a downward flowing water texture.<ref name="badwatergraphicsBE"/>}}
{{History||1.14.0|snap=beta 1.14.0.1|Added [[bee]]s, which get damaged when touching water and try to avoid it.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Water JE11.png|32px]]{{verify|type=change|Is this accurate to how it appeared in this edition at this time?}} [[File:Swamp Water JE2.png|32px]] Added water.}}
{{History||xbox=TU9|[[Dispenser]]s have been given the ability to shoot out [[fluids]], including water, inside [[water bucket]]s. They can also suck up the fluids if activated again, but a bug prevents the empty [[bucket]] from being filled.}}
{{History||xbox=TU12|[[File:Water JE15.png|32px]] Water now uses animated texture files.}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|Water can be used in custom superflats. It appears as a 3D block in the block selection screen of the custom superflat interface.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Water splash [[sound]]s have been updated.
|Most [[mob]]s can now [[swimming|swim]] in water.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[File:Warm Ocean Water.png|32px]] [[File:Lukewarm Ocean Water.png|32px]] [[File:Frozen Ocean Water.png|32px]] [[File:Cold Ocean Water.png|32px]] Added [[warm ocean]], [[lukewarm ocean]], [[frozen ocean]] and [[cold ocean]] texture colors for water in those [[biome]]s.}}
{{History||ps=1.78|The animation of water is now less smooth.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Water JE15.png|32px]]{{verify|type=change|Is this accurate to how it appeared in this edition at this time?}} [[File:Old bedrock swamp water.png|32px]] Added water.}}
{{History|foot}}
<!-- Still need to add in the right version: Drowning added, Water can turn into ice -->
<!--- Still need to add "1.16 pre-release 5 - Water overlay texture turned slightly darker" -->
{{More sounds|Old and older water splash sounds.|type=historical}}

===Data history===
{{History|java}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 8 and 9. Both blocks have been merged into a single one.}}
{{History|||snap=18w10c|Removed <code>flowing_water</code>.}}
{{History|foot}}

<gallery>
EarlyFlowingWater.png|The water and flowing water in [[Infdev 20100615]].
</gallery>

==Issues==
{{Issue list}}

==Trivia==
*The texture subtly overlaid on the screen when underwater is that of the original water texture from 0.0.12a.
**The outdatedness of this texture is not considered a bug or oversight, unlike many other outdated textures.<ref>{{bug|MC-241000|||Invalid}}</ref>
**This texture is particularly difficult to notice due to its extreme transparency,<ref>{{bug|MC-128337}}</ref> as well as the fact that other blocks likely make the scene visually noisy enough to further obscure it under most conditions.
* While underwater, the player's FOV (field of vision) is lowered by 10 to simulate light {{w|refraction}}. This can be disabled via the "FOV Effects" [[option]].
*If a player or mob with the [[Levitation]] effect touches water, the effect is completely negated.<ref>{{bug|MC-83369}}</ref>

==Gallery==
<gallery>
1.8underwater.png|Underwater particles, or "bubbles".
Underground water mix.png|Water that is underground, but is still part of 2 different biomes. The color is split.
InvisibleWater.png|A glitch where water is invisible below its surface level.
Water Cave Filling.png|Water flowing into a [[cave]].
Under water.png|A view underwater.
Mac os water texture V1.13-920.gif|Animated view of the Java edition water texture.
Bubbles.gif|These bubbles appear above the [[hunger]] bar when the player's head is in water, and when all the bubbles pop, a heart of damage is dealt every second until the player is no longer entirely under water.
Waterfall.png|A naturally occurring waterfall.
Water (texture) JE1 BE1.png|This texture is subtly overlaid on the screen when underwater.
Land ruin.png|An underwater ruin {{in|bedrock}} that generated on land with a water block on top of it.
Land ruin Java.png|An underwater ruin {{in|java}} that generated on land with a visible loot chest that is not waterlogged and doesn't have water on top of it.
Largelake.png|A large lake, during a [[thunderstorm]].
Coral reef at night.png|A [[coral reef]] at night, in a [[warm ocean]] biome.
WaterRavine.jpg|A bug that causes the water to not flow into the pit.
Obsidian Spring.png|A water flowing on lava lake, creating obsidian. The water was placed by a player.
Two flowing streams.png|Waterfalls made by a player.
Watercave.png|Water flowing into the cave from nearby lake.
RavineandStornghold.png|Ravine with multiple ores, water and lava falls, and stronghold bridge over it.
Water shade.png|Different water colors in swamp biome.
File:Nonflowingwater.png|A block of water, which is not flowing because of a glitch, besides a village farm.
</gallery>

==See also==
*[[Waterlogging]]

==References ==
{{Reflist}}

==External Links ==
*[https://www.minecraft.net/en-us/article/block-week-water Block of the Week: Water] – Minecraft.net on July 14, 2017

{{Blocks|natural}}
{{Items}}

[[Category:Fluids]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]

[[cs:Voda]]
[[de:Wasser]]
[[es:Agua]]
[[fr:Eau]]
[[hu:Víz]]
[[it:Acqua]]
[[ja:水]]
[[ko:물]]
[[nl:Water]]
[[pl:Woda]]
[[pt:Água]]
[[ru:Вода]]
[[th:น้ำ]]
[[tr:Su]]
[[uk:Вода]]
[[zh:水]]</li></ul></nowiki>
16w32aAdded block state support to /execute, /fill, /setblock and /testforblock.
16w32bAdded ability for /title to display text in the action bar position.
16w38aAdded gamerules doWeatherCycle and maxEntityCramming.
Removed implicit target selectors (for example, @e[167,28,454]).
16w39aAdded /locate.
Pocket Edition Alpha
0.7.4
{{Extension DPL}}<ul><li>[[Campfire|Campfire]]<br/>{{Block
| image = <gallery>
Campfire.gif|Campfire
Soul Campfire.gif|Soul Campfire
Unlit Campfire.png|Unlit
</gallery>
| image2 = <gallery>
Campfire (item) JE2.png|Campfire
Soul Campfire (item) JE2.png|Soul Campfire
</gallery>
| invimage = Campfire
| invimage2 = Soul Campfire
| transparent = No
| light = '''Campfire''': <br>Yes (15) when lit<br>'''Soul Campfire''': <br>Yes (10) when lit
| tool = axe
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = Yes
}}
A '''campfire''' is a block that can be used to cook [[food]], pacify [[bee]]s, act as a spread-proof [[light source]], smoke signal or damaging trap block.

A '''soul campfire''' is a dimmer variant of the campfire with turquoise flames. Soul campfires deal more damage than normal campfires.

== Obtaining ==
=== Breaking ===
Campfires can be mined with any tool, or without a tool, but [[axe]]s are the fastest. A regular campfire drops 2{{only|java|short=1}} or 4{{only|bedrock|short=1}} [[charcoal]], a soul campfire drops [[soul soil]], and either one also drops any items placed on it. If mined with a tool enchanted with [[Silk Touch]], the campfire instead drops itself as an item.

{{IN|BE}}, either kind of campfire can also be broken by pushing it with a [[piston]] or [[sticky piston]]. Pistons cannot move or break campfires {{in|je}}.

{{breaking row
|Campfire, Soul Campfire
|axe
|horizontal=1}}

=== Natural generation ===
Campfires can generate in {{BiomeLink|taiga}} and {{BiomeLink|snowy taiga}}{{only|be}} [[village]]s.

Campfires also generate in camps inside [[ancient city|ancient cities]], beneath a pile of blue, light blue and cyan [[wool]] blocks.

=== Crafting ===
{{Crafting
|head=1
|B1= Stick
|A2= Stick
|B2= Coal; Charcoal
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Campfire
|type= Decoration block
}}
{{Crafting
|foot=1
|B1= Stick
|A2= Stick
|B2= Soul Sand; Soul Soil
|C2= Stick
|A3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|B3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|C3= Any Log or Stem; Any Stripped Log or Stem; Any Wood or Hyphae; Any Stripped Wood or Hyphae
|Output= Soul Campfire
|type= Decoration block
}}

=== Trading ===
{{IN|bedrock}}, apprentice-level fisherman [[villager]]s have a 50% chance of selling a campfire for 5 [[emerald]]s.

{{IN|java}}, apprentice-level fisherman villagers have a {{frac|2|3}} chance of selling a campfire for 2 [[emerald]]s.

== Usage ==
Lit campfires emit a light level of 15 and lit soul campfires emit a light level of 10. Unlike [[fire]], campfires do not spread under any circumstances.

Campfires are lit by default when placed. Campfires can be manually lit by {{control|using}} or [[Dispenser|dispensing]] [[flint and steel]] on them, shooting it with a flaming arrow, or using or dispensing fire charges, blaze fireballs, and ghast fireballs when {{cmd|gamerule|mobGriefing}} is true. {{IN|bedrock}}, campfires can also be lit by {{control|using}} an item enchanted with [[fire aspect]], or stepping on it while burning. 

Campfires can be extinguished by [[waterlogging]] it (placing [[water]] in the same block space), throwing a [[splash water bottle]] on it, or {{control|using}} a [[shovel]] on it. {{IN|bedrock}}, campfires can also be extinguished by placing a water source or allowing water to flow in the space above the campfire. As with [[torches]], rain does not extinguish campfires.<ref>{{bug|MC-141920||Rain doesn't put out campfire|Works as Intended}}</ref>

Using [[flint and steel]] on the side of a waterlogged or lit campfire sets the adjacent air block on fire instead.

Any items cooking on a campfire always drop when the campfire block is broken.

=== Particles and smoke signals ===
[[File:Campfire with smoke.gif|thumb|Campfire emitting smoke.]]
Campfires produce smoke particles that float up around 10 blocks before disappearing. If a [[hay bale]] is placed below, the campfire becomes a signal fire and the smoke floats up 24 blocks instead.

Campfire smoke particles can partially pass through a block directly above it, but do not pass through blocks more than one block directly above it.

Although a trap door is thinner than a slab, a trap door can block the smoke completely, preventing the smoke from floating up.

Campfires emit extra smoke particles during rain, similar to [[lava]].

Campfires also emit occasional ember particles, similar to lava. Soul campfires, however, do not emit embers.<ref>{{bug|MC-185482||Soul campfires do not emit ember particles|Works as Intended}}</ref>

=== Damage ===

Campfires damage [[mob]]s standing on top of them even if underwater (with exceptions such as [[shulker]]s, [[zombified piglin]]s or [[guardian]]s), but only if lit. Campfires deal {{hp|1}} and soul campfires deal {{hp|2}} of damage every tick (although [[damage immunity]] reduces this to once every half-second) Campfires do not cause lasting burning or destroy items. Damage taken is considered [[Damage#Fire|fire damage]] and is reduced by [[armor]] (which loses [[Item durability#Armor durability|durability]]), the [[Resistance]] potion effects, and the [[Protection]] and [[Fire Protection]] enchantments. The player can avoid being damaged at all, either by using a [[potion of fire resistance]] or wearing [[Frost Walker]] boots.

Regardless of [[Solid block#Height|height]], all blocks prevent damage done to mobs or players above campfires. The campfire deals damage only to entities occupying its block.

=== Cooking ===
[[File:Campfire (Cooking).gif|thumb]]
The player can place {{tooltip|raw food|raw beef, raw chicken, raw rabbit, raw porkchop, raw mutton, raw cod, raw salmon, potato, kelp}} on a lit campfire by {{control|using}} the food item on it. Up to four food items can be placed on a single campfire, which cooks the items simultaneously. Unlike other blocks that can cook food, campfires do not require any kind of fuel to cook. On a campfire, foods produce small smoke particles, indicating they are being cooked. Food items take 30 seconds (600 [[tick]]s) to cook, compared to 10 seconds for [[furnace]]s or 5 seconds for [[smoker]]s. Assuming that one uses all four slots to cook at once, the Campfire is, therefore, more efficient than furnaces (taking 10 seconds less per four items and no fuel) for cooking, but must be watched so as to pick up the food and refill it once it is done. It is slower than a smoker by about ten seconds, but its lack of fuel consumption could be seen as a worthwhile trade-off. Once finished cooking, items pop off the campfire. If the campfire is extinguished while cooking food, it resets as if it had not been cooked at all. Food items can be placed on an unlit campfire. 

Other items can be placed on campfires using external editors, mods or add-ons.

=== Hoppers ===
Campfires do not have an [[Inventory#External inventories|external inventory]]. Raw food cannot be loaded into the campfire with a [[hopper]].

A hopper placed directly underneath a campfire pulls through any items dropped into the campfire. Any drops from a mob that dies in the campfire get pulled into the hopper.

=== Bees ===
Placing a campfire under a [[beehive]] or [[bee nest]] allows players to harvest [[honey bottle]]s or [[honeycomb]] without provoking the [[bee]]s.
There must be unobstructed air between the campfire and the beehive or bee nest. [[Carpet]]s are an exception.{{only|JE}}

=== Piglins ===
Lit soul campfires repel [[piglin]]s that are not currently attacking. This occurs when the [[piglin]] is within an 8 block radius of the soul campfire.

=== Light source ===
Standard lit campfires emit a light level of 15, while soul campfires emit a light level of 10. Like most other sources of light, campfires melt nearby [[snow]] and [[ice]]. Due to their lower light level, soul campfires do not melt snow or ice.

=== Note blocks ===
Campfires can be placed under [[note block]]s to produce "bass" sounds.

=== Converting soul sand to soul soil ===
Soul campfires can be used to convert [[soul sand]] into [[soul soil]]. If a soul campfire is crafted using soul sand, placed, and then broken without [[Silk Touch]], that soul campfire drops soul soil.<ref>{{bug|MC-178579||Soul campfires can be used to convert soul sand into soul soil|Works as Intended}}</ref>

=== Piston interactivity ===
{{IN|BE}}, pushing a campfire or soul campfire with a [[piston]] or [[sticky piston]] breaks it. Unlike other methods, breaking with a piston drops only one [[charcoal]] instead of two. Campfires cannot be pulled by sticky pistons.

{{IN|JE}}, pistons do not interact with campfires. Campfires neither move nor break when pushed or pulled by pistons.

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

=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Campfire crackle1.ogg
|sound2=Campfire crackle2.ogg
|sound3=Campfire crackle3.ogg
|sound4=Campfire crackle4.ogg
|sound5=Campfire crackle5.ogg
|sound6=Campfire crackle6.ogg
|subtitle=Campfire crackles
|source=block
|description=Randomly while lit
|id=block.campfire.crackle
|translationkey=subtitles.block.campfire.crackle
|volume=0.5-1.5
|pitch=0.6-1.3
|distance=16}}
{{Sound table
|sound=Flint and steel click.ogg
|subtitle=Flint and steel click
|source=block
|description=When a campfire is lit with a flint and steel
|id=item.flintandsteel.use
|translationkey=subtitles.item.flintandsteel.use
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Ghast fireball4.ogg
|subtitle=Fireball whooshes
|source=block
|description=When a campfire is lit with a fire charge
|id=item.firecharge.use
|translationkey=subtitles.item.firecharge.use
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|rowspan=2
|sound=Fizz.ogg
|subtitle=Fire extinguishes
|source=block
|description=When a campfire is extinguished with water
|id=entity.generic.extinguish_fire
|translationkey=subtitles.entity.generic.extinguish_fire
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Fire extinguished
|source=block
|description=When a campfire is extinguished
|id=block.fire.extinguish
|translationkey=subtitles.block.fire.extinguish
|volume=0.5
|pitch=2.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Campfire crackle1.ogg
|sound2=Campfire crackle2.ogg
|sound3=Campfire crackle3.ogg
|sound4=Campfire crackle4.ogg
|sound5=Campfire crackle5.ogg
|sound6=Campfire crackle6.ogg
|source=block
|description=Randomly while lit
|id=block.campfire.crackle
|volume=1.0 {{Until|BE 1.19.80}}<br>0.5-1.5 {{Upcoming|BE 1.19.80}}
|pitch=1.0 {{Until|BE 1.19.80}}<br>0.6-1.3 {{Upcoming|BE 1.19.80}}}}
{{Sound table
|sound=Flint and steel click.ogg
|source=block
|description=When a campfire is lit
|id=fire.ignite
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|sound=Ghast fireball4.ogg
|source=hostile
|description=When a campfire is lit with a fire charge
|id=mob.ghast.fireball
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When a campfire is extinguished
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Campfire
|spritetype=block
|nameid=campfire
|blocktags=campfires}}
{{ID table
|displayname=Soul Campfire
|spritetype=block
|nameid=soul_campfire
|blocktags=campfires, piglin_repellents
|itemtags=piglin_repellents
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=campfire
|spritetype=block
|nameid=campfire
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Campfire
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Normal block
|spritename=campfire
|spritetype=block
|nameid=campfire
|id=464
|form=block
|itemform=item.campfire}}
{{ID table
|displayname=Normal item
|spritename=campfire
|spritetype=item
|nameid=campfire
|id=589
|form=item
|translationkey=tile.campfire.name}}
{{ID table
|displayname=Soul block
|spritename=soul-campfire
|spritetype=block
|nameid=soul_campfire
|id=545
|form=block
|itemform=item.soul_campfire}}
{{ID table
|displayname=Soul item
|spritename=soul-campfire
|spritetype=item
|nameid=soul_campfire
|id=622
|form=item
|translationkey=tile.soul_campfire.name
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=campfire
|spritetype=block
|nameid=Campfire
|foot=1}}

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

=== Block data ===
A campfire has a [[block entity]] associated with it that holds additional data about the [[block]].

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

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

== Achievements ==
{{load achievements|Bee our guest}}

== Advancements ==
{{Load advancements|Bee Our Guest}}

== History ==
{{History||September 26, 2018|link={{tweet|minecraft|1044587405779451906}}|Campfires are announced to be part of the [[biome]] vote at [[MINECON Earth 2018]].}}
{{History||September 29, 2018|link={{ytl|HoMDyRqMNMA}}|Campfires are showcased at [[MINECON Earth 2018]].}}
{{History||September 29, 2018|link={{tweet|minecraft|1046097775199498325}}|[[Taiga]] wins the [[biome]] vote, meaning campfires are to be added to the game in [[Java Edition 1.14|1.14]].}}
{{History|java}}
{{History||1.14|snap=19w02a|[[File:Campfire JE1 BE1.gif|32px]] [[File:Unlit Campfire JE1 BE1.png|32px]] Added campfires.}}
{{History|||snap=19w03a|[[File:Campfire (item) JE1 BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] The [[model]] and texture of the campfire have been changed.
|Lit campfires now produce spark [[particles]].
|The [[light]] level of campfires has been changed from 9 to 15.
|Campfires are now directionally placed.
|Lit campfires produce smoke plume [[particles]] more often.}}
{{History|||snap=19w04a|Campfires now spawn in [[taiga]] [[village]]s on the ground and inside chimneys.
|Crouching on a campfire no longer prevents the player from taking damage from it.<ref>{{Bug|MC-141913||Sneaking on a campfire prevents damage|Fixed}}</ref>}}
{{History|||snap=19w08a|Campfires can now be extinguished by [[splash water bottle]]s.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|sell]] campfires.}}
{{History||1.14.1|snap=Pre-Release 2|Campfires can now be lit by flaming [[arrow]]s.}}
{{History||1.14.2|snap=Pre-Release 1|Flaming arrows can no longer light [[waterlogging|waterlogged]] campfires.}}
{{History||1.15|snap=19w34a|Campfires under [[bee nest]]s and [[bee hive]]s now prevent [[bee]]s from aggravating toward [[player]]s who harvest them.}}
{{History|||snap=19w37a|Campfires can now be extinguished using a [[shovel]].}}
{{History|||snap=19w42a|Campfires can now be lit by small [[fireball]]s.}}
{{History||1.16|snap=20w11a|Campfires can now be lit by any burning [[projectile]].}}
{{History|||snap=20w13a|Campfires can now be [[crafting|crafted]] using [[stems]] and [[hyphae]].}}
{{History|||snap=20w15a|[[File:Soul Campfire (item) JE1 BE1.png|32px]] [[File:Soul Campfire.gif|32px]] Added soul campfires.}}
{{History|||snap=20w22a|Campfires now [[drops|drop]] the [[food]] being cooked when they are put out with a [[shovel]] or [[water bottle]].}}
{{History|||snap=Pre-release 3|[[File:Unlit Campfire with foods on it.png|32px]] Food can now be placed on unlit campfires. However, due to a bug,<ref>{{Bug|MC-188448||Food pops off of campfire when extinguished|Fixed}}</ref> food pops off of campfires when extinguished.}}
{{History||1.17|snap=20w46a|Food no longer pops off of campfires when extinguished.}}
{{History||1.18|snap=21w41a|[[File:Campfire (item) JE2.png|32px]] [[File:Soul Campfire (item) JE2.png|32px]] Changed campfire and soul campfire textures as items.}}
{{History||1.19|snap=22w13a|Campfires now generate in camps inside [[ancient city|ancient cities]].}}
{{History||1.19.4|snap=23w07a|The soul campfire recipes are no longer unlocked by [[stick]]s.<ref>{{bug|MC-238920}}</ref>}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=1.19.4-pre1|Cherry logs, wood, and their stripped variations can now used to craft campfire and soul campfire.<ref>{{bug|MC-260149}}</ref>}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Campfire JE1 BE1.gif|32px]] [[File:Unlit Campfire JE1 BE1.png|32px]] Added campfires.
|Campfires are available only through [[Experimental Gameplay]].}}
{{History||1.11.0|snap=beta 1.11.0.1|Campfires have been fully implemented.
|[[File:Campfire_(item)_JE1_BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] The [[model]] and texture of the campfire have been changed.}}
{{History|||snap=beta 1.11.0.4|Campfires can now be [[trading|bought]] from fishermen [[villager]]s.}}
{{History||1.13.0|snap=?|Campfires now emit embers similar to [[lava]].}}
{{History||1.14.0|snap=beta 1.14.0.1|Campfires under [[bee nest]]s and [[beehive]]s now prevent [[bee]]s from aggravating toward [[player]]s who harvest them.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Soul_Campfire_(item)_JE1_BE1.png|32px]] [[File:Soul Campfire.gif|32px]] Added soul campfires.}}
{{History||1.16.20|snap=beta 1.16.20.50|Soul campfires now emit [[light]] level of 10.}}
{{History||1.16.100|snap=beta 1.16.100.54|Soul campfires now deal double the damage that normal campfires deal.|Soul campfires now drop [[Soul Soil]] instead of [[Charcoal]] when mined.}}
{{History||1.17.30|snap=beta 1.17.30.23|Campfires are now stackable in the inventory.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Campfire (item) JE2.png|32px]] [[File:Soul Campfire (item) JE2.png|32px]] Changed campfire and soul campfire textures as items.}}
{{History||1.19.60|snap=beta 1.19.60.23|Campfires no longer set players and mobs on fire.}}
{{History||1.19.80|snap=beta 1.19.80.22|Campfires now damage mobs standing on top of them.}}
{{History||1.20.30|snap=beta 1.20.30.20|Campfires now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}

{{History|console}}
{{History||ps=1.91|[[File:Campfire_(item)_JE1_BE1.png|32px]] [[File:Campfire JE2 BE2.gif|32px]] [[File:Unlit Campfire JE2 BE2.png|32px]] Added campfires.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Gallery ==
<gallery>
Cozy Cabin Smoke.jpg|Campfire smoke coming out of a cozy cabin.
Cozy Cabin Campfire.jpg|Campfire near a cozy cabin.
1.14 Dev Campfire.jpg|Dev screenshot.
Campfire in taiga village.png|A few naturally generating campfires in a [[taiga]] biome [[village]].
Campfire with hay bale vs without.png|A comparison between a campfire with a [[hay bale]] below it (left) and one without (right).
Campfire Particles.png|The number of particles depends on the height of the top block.
Campfire cooking.png|Cooking porkchops with a campfire.
Campfire (cooking) JE1 BE1.gif|Cooking with a campfire in [[Java Edition 19w02a]].
</gallery>

== References ==
{{reflist}}

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

[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Block entities]]
[[Category:Storage]]
[[Category:Light sources]]

[[de:Lagerfeuer]]
[[fr:Feu de camp]]
[[ja:焚き火]]
[[ko:모닥불]]
[[pl:Ognisko]]
[[pt:Fogueira]]
[[ru:Костёр]]
[[th:แคมป์ไฟ]]
[[zh:营火]]</li><li>[[Smithing Template|Smithing Template]]<br/>{{for|the block|Smithing Table}}
{{Item
| title = Smithing Template
| image = <gallery>
Netherite Upgrade Smithing Template.png | Netherite Upgrade
Sentry Armor Trim Smithing Template.png | Armor Trim
</gallery>
| rarity = Rare
| renewable = No<!--Smithing templates are not renewable because diamonds, their only other method of creation, are not renewable.-->
| stackable = Yes (64)
}}
'''Smithing templates''' are items used in [[Smithing Table|smithing tables]] to alter [[Tool|tools]] and [[armor]]. They are consumed when used, but can be [[Crafting|duplicated]] using an existing template, its material and [[Diamond|diamonds]].

The sixteen '''armor trim smithing templates''' are found in a variety of [[Generated structures|structures]], and are used to apply various decorative trims (dependent on the variant) to armor using certain minerals for different colors.

'''Netherite upgrade smithing templates''' are required to upgrade diamond equipment with a [[Netherite Ingot|netherite ingot]]. They are only found in [[Bastion Remnant|bastion remnants]], but are guaranteed only in [[:en:Bastion_Remnant#Treasure_room|treasure rooms]].

== Obtaining ==
Smithing templates can be found in various [[Generated structures|structures]] and can be duplicated by using seven diamonds and a block based on what the template is.

=== Crafting ===
{{Crafting
|A1=Diamond |B1=Matching Smithing Template                                                                                                                           |C1=Diamond
|A2=Diamond |B2=Netherrack;Cobblestone;Sandstone;End Stone;Terracotta;Terracotta;Netherrack;Cobblestone;Terracotta;Cobbled Deepslate;Blackstone;Purpur Block;Prismarine;Cobblestone;Cobbled Deepslate;Terracotta;Mossy Cobblestone |C2=Diamond
|A3=Diamond |B3=Diamond                                                                                                                                              |C3=Diamond
|Output=Matching Smithing Template,2
}}

{| class="article-table"
|+ Duplication 
! Item !! Material
|-
| {{ItemSprite|netherite-upgrade|text=Netherite Upgrade}} || {{BlockSprite|Netherrack|text=Netherrack}}
|-
| {{ItemSprite|sentry-armor-trim|text=Sentry Armor Trim}} || {{BlockSprite|Cobblestone|text=Cobblestone}}
|-
| {{ItemSprite|vex-armor-trim|text=Vex Armor Trim}} || {{BlockSprite|Cobblestone|text=Cobblestone}}
|-
| {{ItemSprite|wild-armor-trim|text=Wild Armor Trim}} || {{BlockSprite|Mossy Cobblestone|text=Mossy Cobblestone}}
|-
| {{ItemSprite|coast-armor-trim|text=Coast Armor Trim}} || {{BlockSprite|Cobblestone|text=Cobblestone}}
|-
| {{ItemSprite|dune-armor-trim|text=Dune Armor Trim}} || {{BlockSprite|Sandstone|text=Sandstone}}
|-
| {{ItemSprite|wayfinder-armor-trim|text=Wayfinder Armor Trim}} || {{BlockSprite|Terracotta|text=Terracotta}}
|-
| {{ItemSprite|raiser-armor-trim|text=Raiser Armor Trim}} || {{BlockSprite|Terracotta|text=Terracotta}}
|-
| {{ItemSprite|shaper-armor-trim|text=Shaper Armor Trim}} || {{BlockSprite|Terracotta|text=Terracotta}}
|-
| {{ItemSprite|host-armor-trim|text=Host Armor Trim}} || {{BlockSprite|Terracotta|text=Terracotta}}
|-
| {{ItemSprite|ward-armor-trim|text=Ward Armor Trim}} || {{BlockSprite|Cobbled Deepslate|text=Cobbled Deepslate}}
|-
| {{ItemSprite|silence-armor-trim|text=Silence Armor Trim}} || {{BlockSprite|Cobbled Deepslate|text=Cobbled Deepslate}}
|-
| {{ItemSprite|tide-armor-trim|text=Tide Armor Trim}} || {{BlockSprite|Prismarine|text=Prismarine}}
|-
| {{ItemSprite|snout-armor-trim|text=Snout Armor Trim}} || {{BlockSprite|Blackstone|text=Blackstone}}
|-
| {{ItemSprite|rib-armor-trim|text=Rib Armor Trim}} || {{BlockSprite|Netherrack|text=Netherrack}}
|-
| {{ItemSprite|eye-armor-trim|text=Eye Armor Trim}} || {{BlockSprite|End Stone|text=End Stone}}
|-
| {{ItemSprite|spire-armor-trim|text=Spire Armor Trim}} || {{BlockSprite|Purpur Block|text=Purpur Block}}
|}

{{IN|bedrock}}, spire, tide, and dune armor trims can be duplicated with more blocks than {{in|java}}. In addition to the normal blocks, Tide armor trims can be duplicated using Prismarine Bricks or Dark Prismarine, dune armor trims can be duplicated with smooth sandstone, cut sandstone, or chiseled sandstone, and spire armor trims can be duplicated with purpur pillars.<ref>{{bug|MCPE-172711||Tide, Spire, and Dune Armor Trims can be crafted from more blocks than in Java Edition}}</ref>

=== Mob loot ===
[[Elder guardian]]s have a 20% chance to drop 1 tide armor trim upon death. [[Looting]] doesn't affect this percentage, and the elder guardian doesn't need to be killed by a player in order for the trim to drop and can be duplicated with [[prismarine]].

=== Chest loot ===
{{#invoke:LootChest|base3|netherite-upgrade-smithing-template,sentry-armor-trim-smithing-template,vex-armor-trim-smithing-template,wild-armor-trim-smithing-template,coast-armor-trim-smithing-template,dune-armor-trim-smithing-template,ward-armor-trim-smithing-template,silence-armor-trim-smithing-template,snout-armor-trim-smithing-template,rib-armor-trim-smithing-template,eye-armor-trim-smithing-template,spire-armor-trim-smithing-template}}
Note: In Woodland Mansions, only chests with random loot have the chance to contain the Vex Smithing Template, chests in the "Allium room", "Sapling farm", "Tree-chopping room" and "Fake End portal room" always generate with the same, room specific, loot.

=== Suspicious block loot ===
Items can only be extracted from [[Suspicious Block|suspicious blocks]] using a [[brush]].{{#invoke:LootChest|base3|wayfinder-armor-trim-smithing-template,raiser-armor-trim-smithing-template,shaper-armor-trim-smithing-template,host-armor-trim-smithing-template}}

== Usage ==
=== Crafting ingredient ===
{{Crafting
|A1=Diamond |B1=Matching Smithing Template                                                                                                                           |C1=Diamond
|A2=Diamond |B2=Netherrack;Cobblestone;Sandstone;End Stone;Terracotta;Terracotta;Netherrack;Cobblestone;Terracotta;Cobbled Deepslate;Blackstone;Purpur Block;Prismarine;Cobblestone;Cobbled Deepslate;Terracotta;Mossy Cobblestone |C2=Diamond
|A3=Diamond |B3=Diamond                                                                                                                                              |C3=Diamond
|Output=Matching Smithing Template,2
}}

=== Smithing ingredient ===
Smithing templates are used at a [[smithing table]]. Netherite upgrade smithing templates are used to upgrade diamond gear into netherite gear by using a netherite upgrade, a piece of diamond gear, and a [[netherite ingot]]. 

{{Smithing
|head=1
|ingredients=Netherite Upgrade +<br>Any Diamond Gear +<br>[[Netherite Ingot]]
|Netherite Upgrade
|Diamond Helmet; Diamond Chestplate; Diamond Leggings; Diamond Boots; Diamond Sword; Diamond Pickaxe; Diamond Axe; Diamond Shovel
|Netherite Ingot
|Netherite Helmet; Netherite Chestplate; Netherite Leggings; Netherite Boots; Netherite Sword; Netherite Pickaxe; Netherite Axe; Netherite Shovel
|tail=1
}}

{{FakeImage|{{Animate|Iron_Armor_with_Iron_Shaper_Trim.png; Golden_Armor_with_Golden_Shaper_Trim.png; Diamond_Armor_with_Diamond_Shaper_Trim.png; Netherite_Armor_with_Netherite_Shaper_Trim.png|180px}}|If the armor material and the trimming material are the same, the color palette used for the armor trim is darker.}}
Armor trim smithing templates are used to customize an armor piece's appearance by using a smithing template, an armor piece, and an ingot or crystal ([[emerald]], [[redstone dust]], [[lapis lazuli]], [[amethyst shard]], [[nether quartz]], [[netherite ingot]], [[diamond]], [[gold ingot]], [[iron ingot]], or [[copper ingot]]). Including all dyed leather armor colors and regular armor, there are ≈3.679x10<sup>9</sup> different possible armor pieces<!--5713438 leather colors, plus the 4 other armor materials = 5713442. 5713442 * 161 (the 160 trim combos (16 trims, 10 materials) + untrimmed) = 919864162. 919864162 * 4 (helmet, chestplate, leggings, boots) = 3679456648 ≈ 3.679x10^9-->, and 7.16x10<sup>35</sup> <!--919864162 + 1 (no armor in that slot) = 919864163. 919864163^4 = 715969952015045562662444917041515536 ≈ 7.16x10^35 total possible armor combinations-->total possible armor combinations excluding enchantments and the player not wearing armor.

Already trimmed armor can be trimmed again by applying another template on it; the old trim pattern is overwritten in the process.<ref>{{bug|MC-262538||When combining armor trims the new trim deletes the old one|WAI}}</ref> Therefore, one piece of armor cannot possess multiple trims at the same time.

Most armor trims cover a small portion of the armor piece's surface with the trim material, except for the silence armor trim, which allows the trim material to cover a majority of the armor piece's surface.

All of the trims are purely decorative, and don't impact gameplay or strength(without the use of mods or plugins) of the armor they are applied to in any way. [[Piglin]]s do not pick up any gold-trimmed armor pieces, and they are not pacified by players wearing even a full set of gold-trimmed armor (unless, of course, the armor pieces in question are themselves golden), and netherite-trimmed armor pieces can still be burned by [[fire]].

{{Smithing
|head=1
|ingredients=Any Armor Trim +<br>Any Armor Piece +<br>Any Ingot/Crystal
|Any Armor Trim Smithing Template
|Iron Helmet; Netherite Chestplate;Golden Leggings;Diamond Boots
|Amethyst Shard; Copper Ingot; Diamond; Emerald; Gold Ingot; Iron Ingot; Lapis Lazuli; Nether Quartz; Netherite Ingot; Redstone Dust; Diamond; Emerald
|Amethyst Trim Iron Helmet; Copper Trim Netherite Chestplate; Diamond Trim Golden Leggings; Emerald Trim Diamond Boots; Gold Trim Iron Helmet; Iron Trim Netherite Chestplate; Lapis Trim Golden Leggings; Quartz Trim Diamond Boots; Netherite Trim Iron Helmet; Redstone Trim Netherite Chestplate; Diamond Trim Golden Leggings; Emerald Trim Diamond Boots
|tail=1
}}

;List of color palettes for all materials
*{{ItemSprite|emerald         }} - {{TrimPalette| emerald         }}
*{{ItemSprite|redstone dust   }} - {{TrimPalette| redstone dust   }}
*{{ItemSprite|lapis lazuli    }} - {{TrimPalette| lapis lazuli    }}
*{{ItemSprite|amethyst shard  }} - {{TrimPalette| amethyst shard  }}
*{{ItemSprite|nether quartz   }} - {{TrimPalette| nether quartz   }}
*{{ItemSprite|netherite ingot }} - {{TrimPalette| netherite ingot }} (Darker: {{TrimPalette| netherite ingot |darker=1}})
*{{ItemSprite|diamond         }} - {{TrimPalette| diamond         }} (Darker: {{TrimPalette| diamond         |darker=1}})
*{{ItemSprite|gold ingot      }} - {{TrimPalette| gold ingot      }} (Darker: {{TrimPalette| gold ingot      |darker=1}})
*{{ItemSprite|iron ingot      }} - {{TrimPalette| iron ingot      }} (Darker: {{TrimPalette| iron ingot      |darker=1}})
*{{ItemSprite|copper ingot    }} - {{TrimPalette| copper ingot    }}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Smithing Template
|showforms=y
|generatetranslationkeys=y
|displayname=Netherite Upgrade
|spritename=netherite-upgrade-smithing-template
|spritetype=item
|nameid=netherite_upgrade_smithing_template
|form=item}}
{{ID table
|displayname=Sentry Armor Trim
|spritename=sentry-armor-trim-smithing-template
|spritetype=item
|nameid=sentry_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Vex Armor Trim
|spritename=vex-armor-trim-smithing-template
|spritetype=item
|nameid=vex_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Wild Armor Trim
|spritename=wild-armor-trim-smithing-template
|spritetype=item
|nameid=wild_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Coast Armor Trim
|spritename=coast-armor-trim-smithing-template
|spritetype=item
|nameid=coast_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Dune Armor Trim
|spritename=dune-armor-trim-smithing-template
|spritetype=item
|nameid=dune_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Wayfinder Armor Trim
|spritename=wayfinder-armor-trim-smithing-template
|spritetype=item
|nameid=wayfinder_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Raiser Armor Trim
|spritename=raiser-armor-trim-smithing-template
|spritetype=item
|nameid=raiser_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Shaper Armor Trim
|spritename=shaper-armor-trim-smithing-template
|spritetype=item
|nameid=shaper_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Host Armor Trim
|spritename=host-armor-trim-smithing-template
|spritetype=item
|nameid=host_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Ward Armor Trim
|spritename=ward-armor-trim-smithing-template
|spritetype=item
|nameid=ward_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Silence Armor Trim
|spritename=silence-armor-trim-smithing-template
|spritetype=item
|nameid=silence_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Tide Armor Trim
|spritename=tide-armor-trim-smithing-template
|spritetype=item
|nameid=tide_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Snout Armor Trim
|spritename=snout-armor-trim-smithing-template
|spritetype=item
|nameid=snout_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Rib Armor Trim
|spritename=rib-armor-trim-smithing-template
|spritetype=item
|nameid=rib_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Eye Armor Trim
|spritename=eye-armor-trim-smithing-template
|spritetype=item
|nameid=eye_armor_trim_smithing_template
|form=item}}
{{ID table
|displayname=Spire Armor Trim
|spritename=spire-armor-trim-smithing-template
|spritetype=item
|nameid=spire_armor_trim_smithing_template
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Smithing Template
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Netherite Upgrade
|spritename=netherite-upgrade-smithing-template
|spritetype=item
|nameid=netherite_upgrade_smithing_template
|id=685
|form=item
|translationkey=item.smithing_template.name, upgrade.netherite_upgrade.name}}
{{ID table
|displayname=Sentry Armor Trim
|spritename=sentry-armor-trim-smithing-template
|spritetype=item
|nameid=sentry_armor_trim_smithing_template
|id=686
|form=item
|translationkey=item.smithing_template.name, trim_pattern.sentry.name}}
{{ID table
|displayname=Vex Armor Trim
|spritename=vex-armor-trim-smithing-template
|spritetype=item
|nameid=vex_armor_trim_smithing_template
|id=692
|form=item
|translationkey=item.smithing_template.name, trim_pattern.vex.name}}
{{ID table
|displayname=Wild Armor Trim
|spritename=wild-armor-trim-smithing-template
|spritetype=item
|nameid=wild_armor_trim_smithing_template
|id=689
|form=item
|translationkey=item.smithing_template.name, trim_pattern.wild.name}}
{{ID table
|displayname=Coast Armor Trim
|spritename=coast-armor-trim-smithing-template
|spritetype=item
|nameid=coast_armor_trim_smithing_template
|id=688
|form=item
|translationkey=item.smithing_template.name, trim_pattern.coast.name}}
{{ID table
|displayname=Dune Armor Trim
|spritename=dune-armor-trim-smithing-template
|spritetype=item
|nameid=dune_armor_trim_smithing_template
|id=687
|form=item
|translationkey=item.smithing_template.name, trim_pattern.dune.name}}
{{ID table
|displayname=Wayfinder Armor Trim
|spritename=wayfinder-armor-trim-smithing-template
|spritetype=item
|nameid=wayfinder_armor_trim_smithing_template
|id=698
|form=item
|translationkey=item.smithing_template.name, trim_pattern.wayfinder.name}}
{{ID table
|displayname=Raiser Armor Trim
|spritename=raiser-armor-trim-smithing-template
|spritetype=item
|nameid=raiser_armor_trim_smithing_template
|id=699
|form=item
|translationkey=item.smithing_template.name, trim_pattern.raiser.name}}
{{ID table
|displayname=Shaper Armor Trim
|spritename=shaper-armor-trim-smithing-template
|spritetype=item
|nameid=shaper_armor_trim_smithing_template
|id=700
|form=item
|translationkey=item.smithing_template.name, trim_pattern.shaper.name}}
{{ID table
|displayname=Host Armor Trim
|spritename=host-armor-trim-smithing-template
|spritetype=item
|nameid=host_armor_trim_smithing_template
|id=701
|form=item
|translationkey=item.smithing_template.name, trim_pattern.host.name}}
{{ID table
|displayname=Ward Armor Trim
|spritename=ward-armor-trim-smithing-template
|spritetype=item
|nameid=ward_armor_trim_smithing_template
|id=690
|form=item
|translationkey=item.smithing_template.name, trim_pattern.ward.name}}
{{ID table
|displayname=Silence Armor Trim
|spritename=silence-armor-trim-smithing-template
|spritetype=item
|nameid=silence_armor_trim_smithing_template
|id=697
|form=item
|translationkey=item.smithing_template.name, trim_pattern.silence.name}}
{{ID table
|displayname=Tide Armor Trim
|spritename=tide-armor-trim-smithing-template
|spritetype=item
|nameid=tide_armor_trim_smithing_template
|id=693
|form=item
|translationkey=item.smithing_template.name, trim_pattern.tide.name}}
{{ID table
|displayname=Snout Armor Trim
|spritename=snout-armor-trim-smithing-template
|spritetype=item
|nameid=snout_armor_trim_smithing_template
|id=694
|form=item
|translationkey=item.smithing_template.name, trim_pattern.snout.name}}
{{ID table
|displayname=Rib Armor Trim
|spritename=rib-armor-trim-smithing-template
|spritetype=item
|nameid=rib_armor_trim_smithing_template
|id=695
|form=item
|translationkey=item.smithing_template.name, trim_pattern.rib.name}}
{{ID table
|displayname=Eye Armor Trim
|spritename=eye-armor-trim-smithing-template
|spritetype=item
|nameid=eye_armor_trim_smithing_template
|id=691
|form=item
|translationkey=item.smithing_template.name, trim_pattern.eye.name}}
{{ID table
|displayname=Spire Armor Trim
|spritename=spire-armor-trim-smithing-template
|spritetype=item
|nameid=spire_armor_trim_smithing_template
|id=696
|form=item
|translationkey=item.smithing_template.name, trim_pattern.spire.name
|foot=1}}

== Achievements ==
{{load achievements|Smithing with style}}

== Advancements ==
{{load advancements|Crafting a New Look;Smithing with Style}}

== Video ==
{{yt|klP9SrJFDU8}}

== History ==
{{History|java}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|[[File:Netherite Upgrade Smithing Template JE1 BE1.png|32px]] [[File:Sentry Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Vex Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Wild Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Coast Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Dune Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Ward Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Tide Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Snout Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Rib Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Eye Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Spire Armor Trim Smithing Template JE1 BE1.png|32px]] Added smithing templates behind the "Update 1.20" experimental datapack.}}
{{History|||snap=23w05a|Smithing templates can be used to trim leather armor.
|Gold, iron, diamond, and netherite armor can be trimmed with their respective material.
|The dune, coast, wild, and sentry armor trims now always generate two templates in a chest when found.
|Increased the chances for all smithing templates that generate in chest loot to spawn:
*Netherite upgrade chance to find increased from 3.2% to 10%.
*Coast chance to find increased from 11.1% to 16.7%.
*Dune chance to find increased from 11.1% to 14.3%.
*Eye chance to find increased from 4.7% to 10% in alter chests, and to 100% in library chests.
*Rib chance to find increased from 4.7% to 6.7%.
*Sentry chance to find increased from 20% to 25%.
*Snout chance to find increased from 4.7% to 8.3%.
*Spire chance to find increased from 4.7% to 6.7%.
*Vex chance to find increased from 4.7% to 50%.
*Ward chance to find increased from 4.7% to 5%.
*Wild chance to find increased from 20% to 33%.}}
{{History||1.20|snap=23w12a|Smithing templates are now available without using the "Update 1.20" experimental datapack.|[[File:Wayfinder Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Raiser Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Shaper Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Host Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Silence Armor Trim Smithing Template JE1 BE1.png|32px]] Added wayfinder, raiser, shaper, host, and silence armor trim smithing templates.
|[[File:Sentry Armor Trim Smithing Template JE2 BE2.png|32px]] [[File:Dune Armor Trim Smithing Template JE2 BE2.png|32px]] Changed the textures of the sentry and dune armor trim smithing templates.
|The pattern textures of dune and sentry armor trims are changed from [[File:Armor Trim Dune (sample model) JE1 BE1.png|24px]] [[File:Armor Trim Sentry (sample model) JE1 BE1.png|24px]] to [[File:Armor Trim Dune (sample model) JE2 BE2.png|24px]] [[File:Armor Trim Sentry (sample model) JE2 BE2.png|24px]].<br>
Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}
{{History|||snap=23w16a|Wayfinder, raiser, shaper, and host armor trim no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; wayfinder, raiser, shaper, and host armor trim now are in the rare loot.}}
{{History|||snap=23w17a|The probability of the wayfinder, raiser, shaper, and host armor trim to generate in [[suspicious gravel]] in [[trail ruins]] has been changed from 1/11 to 1/12.|The player now get the [[advancement]] "Crafting a new look" when they craft a trimmed armor at a [[smithing table]] using a smithing template, "Smithing with style" when they apply these smithing templates at least once on their armor: Spire, Snout, Rib, Ward, Silence, Vex, Tide, and Wayfinder.}}

{{History|bedrock}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|[[File:Netherite Upgrade Smithing Template JE1 BE1.png|32px]] [[File:Sentry Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Vex Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Wild Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Coast Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Dune Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Ward Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Tide Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Snout Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Rib Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Eye Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Spire Armor Trim Smithing Template JE1 BE1.png|32px]] Added smithing templates behind the "[[Bedrock Edition 1.20.0|Next Major Update]]" [[experimental]] toggle.}}
{{History|||snap=beta 1.19.80.22|[[File:Wayfinder Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Raiser Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Shaper Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Host Armor Trim Smithing Template JE1 BE1.png|32px]] [[File:Silence Armor Trim Smithing Template JE1 BE1.png|32px]] Added wayfinder, raiser, shaper, host, and silence armor trim smithing templates.
|[[File:Sentry Armor Trim Smithing Template JE2 BE2.png|32px]] [[File:Dune Armor Trim Smithing Template JE2 BE2.png|32px]] Changed the textures of the sentry and dune armor trim smithing templates.
|The pattern textures of dune and sentry armor trims are changed from [[File:Armor Trim Dune (sample model) JE1 BE1.png|24px]] [[File:Armor Trim Sentry (sample model) JE1 BE1.png|24px]] to [[File:Armor Trim Dune (sample model) JE2 BE2.png|24px]] [[File:Armor Trim Sentry (sample model) JE2 BE2.png|24px]].<br>
Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}
{{History||1.20.0|snap=beta 1.20.0.21|Smithing templates are now available without using the "Next Major Update" experimental toggle.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* Smithing templates were named "Smithing Blueprints" in the prototype but was changed because the word "blueprint" sounded modern and technical.<ref>{{ytl|klP9SrJFDU8|Minecraft 1.20: Armor Trims - What Do They Mean?|Minecraft|May 4, 2023|t=98}}</ref>
* When Mojang developer Gnembon was working on armor trims, he accidentally messed up their rendering, making them jet through the player's body in a weird fashion, similar to what appears in {{w|Salvador Dalí}}'s paintings where a hand might poke through a forehead.<ref>{{ytl|ghQODkq4ITI|Mojang Dev Comes To Hermitcraft! (Mojang Developer Gnembom Interview)|GoodVodsWithScar|June 23, 2023|t=1980}}</ref>
* Some of the armor trims feature patterns based on a [[mob]] or [[block]] that is found in the same [[Generated structures|structure]] as the corresponding smithing template.<ref name=":0">"Some of the armor trims reflect the place where you found the template, for example bastions contain a piglin-inspired trim."-[[Sofia Dankis]]-{{Mcnet|armor-trims-coming-minecraft-1-20|Armor Trims Coming to Minecraft 1.20|January 24, 2023}}</ref>
** The spire armor trim resembles a [[shulker]].
** The vex armor trim resembles an [[evoker]]. As an item in the [[inventory]], it resembles the wing or the vein texture of a [[vex]].
** The wild armor trim has moss growing on 3 of its corners.
** The coast armor trim appears to have barnacles attached to it.
** The ward armor trim, as an item in the inventory, resembles the faces inside a [[warden]]'s chest.
** The silence armor trim appears to have sculk creeping onto / infecting it.
** The tide armor trim resembles [[Prismarine|prismarine bricks]].
** The snout armor trim resembles a [[piglin]]<ref name=":0" />.
** The rib armor trim resembles a [[wither skeleton]].
** The eye armor trim resembles an [[eye of ender]]. There are also two eyes on the head part of the armor trim that resemble those of an [[enderman]].
* ''Netherite upgrade smithing template'' (35 characters with "_" and 32 characters without "_") and ''sentry armor trim smithing template'' (35 characters with "_" and 31 characters without "_") are the current longest name for item ID, while ''[[polished blackstone pressure plate]]'' and ''[[cracked polished blackstone bricks]]'' have 34 characters with "_" and 31 characters without "_".
* The silence armor trim is the rarest trim, due to being found in ancient cities in the deep dark, and having only a 1.2% chance to be per chest.
* When [[lapis lazuli]] is used as trim material, it is called "Lapis" instead of its full name "Lapis Lazuli"; this is the only instance of the abbreviation "Lapis" being used in-game.<ref>{{bug|MC-262486|||WAI}}</ref>

== Gallery ==
=== Sprites ===
<gallery>
Netherite Upgrade Smithing Template.png|Netherite Upgrade
Sentry Armor Trim Smithing Template.png|Sentry Armor Trim
Vex Armor Trim Smithing Template.png|Vex Armor Trim
Wild Armor Trim Smithing Template.png|Wild Armor Trim
Coast Armor Trim Smithing Template.png|Coast Armor Trim
Dune Armor Trim Smithing Template.png|Dune Armor Trim
Wayfinder Armor Trim Smithing Template.png|Wayfinder Armor Trim
Raiser Armor Trim Smithing Template.png|Raiser Armor Trim
Shaper Armor Trim Smithing Template.png|Shaper Armor Trim
Host Armor Trim Smithing Template.png|Host Armor Trim
Ward Armor Trim Smithing Template.png|Ward Armor Trim
Silence Armor Trim Smithing Template.png|Silence Armor Trim
Tide Armor Trim Smithing Template.png|Tide Armor Trim
Snout Armor Trim Smithing Template.png|Snout Armor Trim
Rib Armor Trim Smithing Template.png|Rib Armor Trim
Eye Armor Trim Smithing Template.png|Eye Armor Trim
Spire Armor Trim Smithing Template.png|Spire Armor Trim
</gallery>

=== Armor trim patterns ===
<gallery>
Armor Trim Sentry (sample model).png|Sentry Armor Trim
Armor Trim Vex (sample model).png|Vex Armor Trim
Armor Trim Wild (sample model).png|Wild Armor Trim
Armor Trim Coast (sample model).png|Coast Armor Trim
Armor Trim Dune (sample model).png|Dune Armor Trim
Armor Trim Wayfinder (sample model).png|Wayfinder Armor Trim
Armor Trim Raiser (sample model).png|Raiser Armor Trim
Armor Trim Shaper (sample model).png|Shaper Armor Trim
Armor Trim Host (sample model).png|Host Armor Trim
Armor Trim Ward (sample model).png|Ward Armor Trim
Armor Trim Silence (sample model).png|Silence Armor Trim
Armor Trim Tide (sample model).png|Tide Armor Trim
Armor Trim Snout (sample model).png|Snout Armor Trim
Armor Trim Rib (sample model).png|Rib Armor Trim
Armor Trim Eye (sample model).png|Eye Armor Trim
Armor Trim Spire (sample model).png|Spire Armor Trim
</gallery>

=== Official Artwork ===
<gallery>
T&T Thumbnail.jpg|[[Sunny]] wearing amethyst armor trims.
Warden Chasing Alex with Silence Trim Pixel Art.png|A [[warden]] chasing Alex holding the silence armor trim.
Alex Trimming Armor in Smithing Table Pixel Art.png|Alex adding the silence armor trim and amethyst on iron armor.
Alex Wearing Iron Armor with Amethyst Pixel Art.jpg|Alex wearing the trimmed iron armor.
File:Live2023-01.jpeg|Noor working on trimmed iron armor.
</gallery>

=== Screenshots ===
<gallery>
Kingbdogz Armor Trim 1.jpg|Redstone trims on diamond armor.
Kingbdogz Armor Trim 2.jpg|Gold trims on netherite armor.
Too Many Trims.jpg|A large amount of armor trims.
Kingbdogz Armor Trim 3.jpg|Gold on netherite.
Kingbdogz Armor Trim 4.jpg|Diamond on diamond.
New Armor Trims in 23W12A.jpg|<ref>{{Tweet|kingbdogz|1638580472962850831|new trims got the drip The new "Silence" armor trim to the left is now the hardest trim to get, with only a 1% chance per chest to spawn in Ancient Cities. Definitely gonna be a challenge to get!|March 22, 2023}}</ref>
Emerald Armor.png|Emerald on gold.
Xilefian Armor Trims 1.png|[[Xilefian]] showing how armor trims work.
Xilefian Armor Trims 2.png|[[Xilefian]] showing how armor trims work.
Xilefian Armor Trims 3.png|[[Xilefian]] showing how armor trims work.
Armor Trims On Netherite Armors.png|A display of all eleven (before [[Java Edition 23w12a]]) armor trims and ten colors on netherite armors.
Armor Trim Showcase.png|A display of all eleven (before [[Java Edition 23w12a]]) armor trims, on netherite armor using emerald as the trim material.
Armor Trim Colors.png|A display of all ten armor trim colors, using the ward trim on a netherite helmet.
Silence Armor Trim on All Armors.png|A display of all ten colors of the silence armor trim on all armors.
Image 2023-06-07 154100087.png|A screenshot of every armor trim in every color(besides quartz) on leather armor.
Armor Trim Friends.jpg|Official screenshot of [[Alex]] and [[Zuri]] wearing armor trims.
LadyAgnes Armor Trims.jpg|Copper trims on netherite armor.
Trim Lineup.jpg
Fancy Delta.jpg|[[Kai]] wearing trimmed armor in a [[Basalt Delta]].
Trims & Pots.jpg
Noor Gold Armor Trim .jpeg
Noor Diamond Armor Trim.jpeg
Noor Netherite Armor Trim.jpeg
Noor Iron Armor Trim.jpeg
</gallery>

== References ==
{{Reflist}}

{{Items}}

[[Category:Bedrock Edition]]
[[Category:Non-renewable resources]]

[[de:Schmiedevorlage]]
[[es:Molde de herrería]]
[[fr:Modèle de forge]]
[[ja:鍛冶型]]
[[pl:Szablon kowalski]]
[[pt:Molde de ferraria]]
[[ru:Кузнечный шаблон]]
[[uk:Ковальський шаблон]]
[[zh:锻造模板]]</li></ul>
Added support for commands, though none are implemented yet.
0.16.0
{{Extension DPL}}<ul><li>[[Raw Iron|Raw Iron]]<br/>{{Item
| image = Raw Iron.png
| renewable = No
| stackable = Yes (64)
}}
'''Raw iron''' is a raw metal resource obtained from mining [[iron ore]].

== Obtaining ==
=== Mining ===
[[Iron ore]] and [[deepslate iron ore]] mined with a [[stone pickaxe]] or higher drops 1 unit of raw iron. If the pickaxe is enchanted with [[Fortune]], it can drop an extra unit per level of Fortune, allowing for a maximum of 4 with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops the ore block instead.

=== Crafting ===
{{Crafting
|showname=1
|Block of Raw Iron
|Output=Raw Iron,9
|type=Material
|foot=1
}}

== Usage ==
The primary usage of raw iron is smelting it into [[iron ingot]]s.

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

=== Smelting ingredient ===
{{Smelting
|showname=2
|Raw Iron
|Iron Ingot
|0.7
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Iron
|spritetype=item
|nameid=raw_iron
|form=item
|id=505
|foot=1}}

== History ==
{{History|java}}
{{History||1.17|snap=21w14a|[[File:Raw Iron JE1.png|32px]] Added raw iron.}}
{{History|||snap=April 13, 2021|slink={{Tweet|JasperBoerstra|1381991999952277513}}|[[File:Raw Iron JE2.png|32px]] [[JAPPA]] shows a new raw iron texture.}}
{{History|||snap=21w15a|[[File:Raw Iron JE2.png|32px]] The texture of raw iron has been changed.
|Raw iron can now be used to craft [[block of raw iron]].}}
{{History|||snap=April 16, 2021|slink={{Tweet|JasperBoerstra|1383047666037325829}}|[[File:Raw Iron (pre-release).png|32px]] [[JAPPA]] shows a new raw iron texture again.}}
{{History|||snap=21w16a|[[File:Raw Iron JE3.png|32px]] The texture of raw iron has been changed.}}
{{History|Bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Raw Iron JE2.png|32px]] Added raw iron.}}
{{History|||snap=beta 1.17.0.52|Raw iron are now available without enabling [[experimental gameplay]].}}
{{History|||snap=beta 1.17.0.54|[[File:Raw Iron JE3.png|32px]] The texture of raw iron has been changed.}}
{{History|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
JE 1.17 Dev Raw Metals.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 1.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 2.png|Jappa shows raw ore textures.
Jappa Raw Ores 3.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 4.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 5.jpg|Jappa shows raw ore textures.
</gallery>

{{Items}}

[[Category:Non-renewable resources]]

[[de:Roheisen]]
[[es:Hierro en bruto]]
[[fr:Fer brut]]
[[it:Ferro grezzo]]
[[ja:鉄の原石]]
[[lzh:砂鐵]]
[[pl:Surowe żelazo]]
[[pt:Ferro bruto]]
[[ru:Необработанное железо]]
[[uk:Необроблене залізо]]
[[zh:粗铁]]</li><li>[[Coal|Coal]]<br/>{{About|the fuel item that can be mined|the ore|Coal Ore|the block|Block of Coal|the smelted wood|Charcoal}}
{{Item
| image = Coal.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
'''Coal''' is a mineral [[item]] mainly obtained from [[Coal Ore|coal ore]]. It is primarily used for crafting [[torches]] and [[Campfire|campfires]], as well as [[fuel]].

== Obtaining ==

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

=== Mining ===

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

=== Mob loot ===

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

=== Crafting ===

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

=== Smelting ===

{{Smelting
 |head=1
 |Coal Ore

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

== Usage ==

=== Crafting ingredient ===

{{crafting usage|Coal}}

=== Fuel ===

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

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

=== Trading ===

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

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

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

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

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

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

== History ==

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

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

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

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

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

{{Items}}

[[Category:Renewable resources]]

[[cs:Uhlí]]
[[de:Kohle]]
[[es:Carbón]]
[[fr:Charbon]]
[[hu:Szén]]
[[it:Carbone]]
[[ja:石炭]]
[[ko:석탄]]
[[nl:Steenkool]]
[[pl:Węgiel]]
[[pt:Carvão]]
[[ru:Уголь]]
[[th:ถ่าน]]
[[tr:Kömür]]
[[uk:Вугілля]]
[[zh:煤炭]]</li></ul>
build 1Added /clearfixedinv, /clone, /deop, /execute, /fill, /gamemode, /give, /help (with alias /?), /kill, /list, /op, /say, /setblock, /setfixedinvslot, /setworldspawn, /spawnpoint, /summon, /tell (with aliases /msg and /w), /testforblock, /testforblocks, /time, /toggledownfall, /tp (with alias /teleport), /weather, /wsserver and /xp.
Functionality of most commands is equivalent to PC 1.10 usage. Differences include: no support for datatags, /clone cannot use forced cloneMode, /gamemode can only use Creative and Survival modes, the player target is optional in /give, and the entity target is optional in /execute.
build 2Removed /clearfixedinv and /setfixedinvslot, along with other Education Edition -related items.
build 5Added /enchant.
Pocket Edition
1.0
{{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>[[Raw Copper|Raw Copper]]<br/>{{Item
| image = Raw Copper.png
| renewable = No
| stackable = Yes (64)
}}
'''Raw copper''' is a raw metal resource obtained from mining [[copper ore]].

== Obtaining ==

=== Mining ===
Copper ore and deepslate copper ore mined with a [[stone pickaxe]] or better drops 2–5 units of raw copper. If the pickaxe is enchanted with [[Fortune]], it can drop extra raw copper, allowing for a maximum of 20 units per ore block with Fortune III, or an average of 7.7 units of raw copper per ore block. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops the ore block instead.

=== Crafting ===
{{Crafting
|showname=1
|Block of Raw Copper
|Output=Raw Copper,9
|type=Material
|foot=1
}}

== Usage ==
The primary usage of raw copper is [[smelting]] it into [[copper ingot]]s.

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

=== Smelting ingredient ===
{{Smelting
|showname=2
|Raw Copper
|Copper Ingot
|0.7
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Copper
|spritetype=item
|nameid=raw_copper
|form=item
|id=507
|foot=1}}

== History ==
{{History|java}}
{{History||1.17|snap=21w14a|[[File:Raw Copper JE1.png|32px]] Added raw copper.}}
{{History|||snap=April 13, 2021|slink={{Tweet|JasperBoerstra|1381991999952277513}}|[[File:Raw Copper JE2.png|32px]] [[JAPPA]] shows a new raw copper texture.}}
{{History|||snap=21w15a|[[File:Raw Copper JE2.png|32px]] The texture of raw copper has been changed.
|Raw copper can now be used to craft [[block of raw copper]].}}
{{History|||snap=April 16, 2021|slink={{Tweet|JasperBoerstra|1383047666037325829}}|[[File:Raw Copper (pre-release).png|32px]] [[JAPPA]] shows a new raw copper texture again.}}
{{History|||snap=21w16a|[[File:Raw Copper JE3.png|32px]] The texture of raw copper has been changed.}}
{{History|||snap=21w17a|[[Copper ore]] now drops 2-3 raw copper when mined instead of a single unit.}}
{{History||1.18|snap=21w40a|[[Copper ore]] now drops 2-5 raw copper when mined.}}

{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Raw Copper JE2.png|32px]] Added raw copper.}}
{{History|||snap=beta 1.17.0.52|Raw copper are now available without enabling [[experimental gameplay]].}}
{{History|||snap=beta 1.17.0.54|[[File:Raw Copper JE3.png|32px]] The texture of raw copper has been changed.}}
{{History|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
JE 1.17 Dev Raw Metals.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 1.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 2.png|Jappa shows raw ore textures.
Jappa Raw Ores 3.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 4.jpg|Jappa shows raw ore textures.
Jappa Raw Ores 5.jpg|Jappa shows raw ore textures.
</gallery>

{{Items}}

[[Category:Non-renewable resources]]

[[de:Rohkupfer]]
[[es:Cobre en bruto]]
[[fr:Cuivre brut]]
[[it:Rame grezzo]]
[[ja:銅の原石]]
[[pl:Surowa miedź]]
[[pt:Cobre bruto]]
[[ru:Необработанная медь]]
[[tr:Ham Bakır]]
[[uk:Необроблена мідь]]
[[zh:粗铜]]</li></ul>
build 1Added /locate and /connect.
build 2Removed /locate.
build 3Re-added /locate. Only works for strongholds.

Issues

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

See also

Advertisement