Minecraft Wiki
Register
Advertisement
This article is about the command in the current version (since Java Edition 1.13 (17w45a) and Bedrock Edition 1.19.50 (beta 1.19.50.23)). For the command in former game versions, see Commands/execute/Before.

/execute executes another command but allows changing the executor, changing the position and angle it is executed at, adding preconditions, and storing its result.

Usage[]

There are fourteen‌[JE only] / eleven‌[BE only] instructions (aka. subcommands) for the /execute command. Multiple subcommands can be chained after /execute. Subcommands are divided into 4‌[JE only] / 3‌[BE only] categories: modify subcommands, condition subcommands, store subcommands‌[JE only], and run subcommand.

  • Modify subcommands modify command context variables to change the context the command is executed. Subcommands following it will execute with specific executor(s), execution position(s), execution dimension(s), execution rotation(s) and execution anchor.
  • Condition subcommands are used to test whether certain conditions are met and then output results or limit conditions of execution.
  • Store subcommands‌[JE only] can store the return values of the command in a scoreboard or the data of an entity, block entity, or storage, and can also change the maximum or current value of a bossbar.
  • run subcommand is used for carrying out another command.

All needed subcommands can be concatenated together. Subcommands other than the run subcommand can be arranged arbitrarily and used multiple times. But the run subcommand can be used only once and must be put at the end of the subcommands chain. A run subcommand or a condition subcommand finalizes the chain, otherwise the command is unparseable in Bedrock Edition or parseable but does nothing (except summon subcommand, see also MC-165773 and MC-260576) in Java Edition.

Subcommands and forking[]

The game processes subcommand chain in order from front to end, for example, the following commands are different:

  • All entities move one block forward: execute as @e at @s run tp ^ ^ ^1
  • All entities are teleported to one block in front of the executor: execute at @s as @e run tp ^ ^ ^1

Some subcommands can fork the command execution, that is, they cause subcommands following it to be executed multiple times. It is possible to fork with zero branches, that is, terminate. For example, when as subcommand selects multiple entities, the subcommand following it will execute once per entity.

If the /execute command hasn't ever forked, we describe it as having only one branch — the main branch.

A branch may terminate halfway and does nothing (including run and store subcommands). For example, the condition in a condition subcommand doesn't met, or as subcommand selects zero entities. When terminating, an red message is shown in Bedrock Edition. If all branches terminated, we describe the /execute command itself as terminating.

Note that .... run execute ... has no effect at all in both Java Edition and Bedrock Edition. For example, the following commands work the same:

  • execute as @e[type=armor_stand] as @e[type=armor_stand] run summon armor_stand
  • execute as @e[type=armor_stand] run execute as @e[type=armor_stand] run execute run execute run summon armor_stand

However, the way to fork is different in Java Edition and Bedrock Edition. (See also MC-125067 — resolved as "Won't Fix". and MCPE-165278 — resolved as "Unresolved".)

  • In Java Edition, the game processes subcommands in breadth-first, that is, executes subcommands one by one. So the game processes other subcommands before processing run subcommands, so the run subcommand cannot affect other subcommands.
  • In Bedrock Edition, the game processes subcommands in depth-first. That is, after forking, all the following subcommands are considered as a whole and will be executed once for each branch.
  • For example, when there're two armor stands (A and B) in the world, and a player executes execute as @e[type=armor_stand] as @e[type=armor_stand] run summon armor_stand, the behaviors of Java Edition and Bedrock Edition are shown in the following pictures:

In Java Edition, depth-first can be achieved via /function, for example:

  • When there're two armor stands (A and B) in the world, and a player executes execute as @e[type=armor_stand] run function test, and in the function file is:
    • execute as @e[type=armor_stand] run summon armor_stand
  • It behaves like /execute as @e[type=armor_stand] as @e[type=armor_stand] run summon armor_stand in Bedrock Edition.

In Bedrock Edition, there is no way to achieve breadth-first.

Output values[]

Stored values[]

Information icon
This feature is exclusive to Java Edition. 

In Java Edition, a branch returns a success value and a result value (see #Store subcommand for details) after it fully executed (if it does not terminate halfway). These two return values come from the last subcommand (may be a condition subcommand or a run subcommand). The success value is always 0 or 1. The result value must be an integer, if not, it is rounded down. If the last subcommand fails, both the two values are 0. The two values can be stored through storage subcommands.

Note that all commands except the execute command have these two return values. The execute command itself does not have them.

If the command execution is forked after a storage subcommand, the storage operation will be applied on each branch. Each branch's return value will be stored. Since the stored values will not be accumulated, after the whole execute command is executed, the stored value is the return value of the last executed branch.

If executing a /function command after a storage subcommand, the storage operation will be applied on each command in the function file. For each command (except /execute command) in the function file, its return value will be stored after being executed. For /execute commands in the function file, return value of each branch will be stored after being executed. The return value of /function command itself will be also stored after the whole function file is executed. Since the stored values will not be accumulated, after the whole execute command is executed, the stored value is the return value of the /function command itself.

Success count[]

Like amost commands, /execute command itself also has a success count (whether or not terminates halfway), which is different from success and result value. It is similar to the success value, but is accumulated. This is usually 0 or 1. If the command is forked or a function is executed, success count can be a number higher than 1. When executing it with a command block, the success count is returned to the command block, which can be checked by a conditional command block or be read with a redstone comparator.

Syntax[]

There are fourteen‌[JE only] / eleven‌[BE only] instructions (aka. subcommands) for the /execute command, and each has its own special syntax, so describing syntax takes a large branching tree.

Full syntax tree
  • Java Edition
/execute . . .
  • align <axes> -> execute
  • anchored <anchor> -> execute
  • as <targets> -> execute
  • at <targets> -> execute
  • facing (<pos>|entity <targets> <anchor>) -> execute
  • in <dimension> -> execute
  • on <relation> -> execute
  • positioned (<pos>|as <targets>|over <heightmap>) -> execute
  • rotated (<rot>|as <targets>) -> execute
  • store (result|success) . . .
    • … block <targetPos> <path> <type> <scale> -> execute
    • … bossbar <id> (max|value) -> execute
    • … entity <target> <path> <type> <scale> -> execute
    • … score <targets> <objective> -> execute
    • … storage <target> <path> <type> <scale> -> execute
  • summon <entity> -> execute
  • … (if|unless) . . .
    • … biome <pos> <biome> -> [execute]
    • … block <pos> <block> -> [execute]
    • … blocks <start> <end> <destination> (all|masked) -> [execute]
    • … data . . .
      • … block <sourcePos> <path> -> [execute]
      • … entity <source> <path> -> [execute]
      • … storage <source> <path> -> [execute]
    • … dimension <dimension> -> [execute]
    • … function <function> -> [execute][upcoming: JE 1.20.2]
    • … entity <entities> -> [execute]
    • … loaded <pos> -> [execute]
    • … predicate <predicate> -> [execute]
    • … score <target> <targetObjective> . . .
      • … (<|<=|=|>|>=) <source> <sourceObjective> -> [execute]
      • … matches <range> -> [execute]
  • run <command>
where -> execute represents the start of another subcommand.
  • Bedrock Edition
/execute . . .
  • align <axes: string> <chainedCommand: ExecuteChainedOption_0>
  • anchored <eyes|feet> <chainedCommand: ExecuteChainedOption_0>
  • as <origin: target> <chainedCommand: ExecuteChainedOption_0>
  • at <origin: target> <chainedCommand: ExecuteChainedOption_0>
  • facing . . .
    • … <position: x y z> <chainedCommand: ExecuteChainedOption_0>
    • … entity <origin: target> <eyes|feet> <chainedCommand: ExecuteChainedOption_0>
  • in <dimension: Dimension> <chainedCommand: ExecuteChainedOption_0>
  • positioned . . .
    • … <position: x y z> <chainedCommand: ExecuteChainedOption_0>
    • … as <origin: target> <chainedCommand: ExecuteChainedOption_0>
  • rotated . . .
    • … <yaw: value> <pitch: value> <chainedCommand: ExecuteChainedOption_0>
    • … as <origin: target> <chainedCommand: ExecuteChainedOption_0>
  • <subcommand: Option_If_Unless> . . .
    • … block <position: x y z> <block: Block> . . .
      • … <blockStates: block states> [chainedCommand: ExecuteChainedOption_0]
      • … [chainedCommand: ExecuteChainedOption_0]
    • … blocks <begin: x y z> <end: x y z> <destination: x y z> <scan mode: BlocksScanMode> [chainedCommand: ExecuteChainedOption_0]
    • … entity <target: target> [chainedCommand: ExecuteChainedOption_0]
    • … score <target: target> <objective: string> . . .
      • … <operation: compare operator> <source: target> <objective: string> [chainedCommand: ExecuteChainedOption_0]
      • … matches <range: integer range> [chainedCommand: ExecuteChainedOption_0]
  • run <command: command>
where chainedCommand: ExecuteChainedOption_0 represents the start of another subcommand.

Modify subcommands[]

align[]

Updates the execution position, aligning to its current block position (an integer). Applies only along specified axes.
This is akin to flooring the coordinates – i.e. rounding them downward.
Syntax
Java Edition:
align <axes> -> execute
Bedrock Edition:
align <axes: string> <chainedCommand: ExecuteChainedOption_0>
Arguments
JE<axes>: swizzle
BE: axes: string: basic_string
Any non-repeating combination of the characters 'x', 'y', and 'z'. Axes can be declared in any order, but they cannot duplicate. (For example, x, xz, zyx, or yz.)
Result
Execution position in the given axes are floored, changing by less than 1 block.
Unparseable if the argument is not specified correctly.
Example
Given (-1.8, 2.3, 5.9), execute align xz changes the position to (-2, 2.3, 5).
Given (2.4, -1.1, 3.8), execute align yxz run spawnpoint @p ~ ~ ~ sets the player's spawnpoint to (2, -2, 3).

anchored[]

Sets the execution anchor to the eyes or feet. Defaults to feet.
Running positioned <pos> -> execute resets to feet
Effectively recenters local coordinates on either the eyes or feet, also changing the angle the facing subcommand (of /execute and /teleport) works off of.
See also MCPE-162681 and MCPE-165051 for issues about Bedrock Edition.
Syntax
Java Edition:
anchored <anchor> -> execute
Bedrock Edition:
anchored <eyes|feet> <chainedCommand: ExecuteChainedOption_0>
Arguments
JE<anchor>: entity_anchor
BE: eyes|feet
Whether to anchor the executed command to eyes or feet
Must be either eyes or feet.
Result
Execution anchor is set to either the eyes or the feet.
Unparseable if the argument is not specified correctly.
Example
The effect of /tp is to move a target by placing its feet at the given position.
execute anchored eyes run tp ^ ^ ^ effectively teleports the executor's feet to where its eyes are.
execute anchored eyes run tp ^5 ^ ^ means "place the executor's feet 5 blocks left of where its eyes are"

as[]

Sets the executor to target entity, without changing execution position, rotation, dimension, and anchor.
Syntax
Java Edition:
as <targets> -> execute
Bedrock Edition:
as <origin: target> <chainedCommand: ExecuteChainedOption_0>
Arguments
JE<targets>: entity
BE: origin: target: CommandSelector<Actor>
Target entity/entities to become the new executor.
Must be a player name, a target selector or a UUID[Java Edition only].
Result
Executor is updated to target entity (which changes the meaning of @s).
Unparseable if the argument is not specified correctly.
Forks if <targets> or origin: target selects multiple entities.
Terminates if <targets> or origin: target fails to resolve to one or more valid entities (named players must be online).
Example
Kill all sheep: execute as @e[type=sheep] run kill @s
Make all villagers in loaded chunks invincible: execute as @e[type=villager] run data merge entity @s {Invulnerable:1}[Java Edition only]

at[]

Sets the execution position, rotation, and dimension to match those of an entity; does not change executor.
Syntax
Java Edition:
at <targets> -> execute
Bedrock Edition:
at <origin: target> <chainedCommand: ExecuteChainedOption_0>
Arguments
JE<targets>: entity
BE: origin: target: CommandSelector<Actor>
Target entity/entities to match position, rotation, and dimension with.
Must be a player name, a target selector or a UUID[Java Edition only].
Result
Execution position, rotation, and dimension are updated to match target entity.
Unparseable if the argument is not specified correctly.
Forks if <targets> or origin: target selects multiple entities.
Terminates if <targets> or origin: target fails to resolve to one or more valid entities (named players must be online).
Example
Move all sheep upward 1 block: execute as @e[type=sheep] at @s run tp ~ ~1 ~
Kill the player running the command, because "at" does not change the executor: execute at @e[type=sheep] run kill @s

facing[]

Sets the execution rotation to face a given point, as viewed from its anchor (either the eyes or the feet).
Syntax
Java Edition:
facing <pos> -> execute
facing entity <targets> <anchor> -> execute
Bedrock Edition:
facing <position: x y z> <chainedCommand: ExecuteChainedOption_0>
facing entity <origin: target> <eyes|feet> <chainedCommand: ExecuteChainedOption_0>
Arguments
Option: facing <pos> and facing <position: x y z>
JE<pos>: vec3
BE: position: x y z: CommandPositionFloat
Coordinates to rotate toward
Must be a three-dimensional coordinates with floating-point number elements. Accepts tilde and caret notations.
Option: facing entity <targets> <anchor> and facing entity <origin: target> <eyes|feet>
JE<targets>: entity
BE: origin: target: CommandSelector<Actor>
The target(s) to rotate toward
Must be a player name, a target selector or a UUID[Java Edition only].
JE<anchor>: entity_anchor
BE: eyes|feet
Whether to point at the target's eyes or feet
Must be either eyes or feet.
Result
Execution rotation is updated to face given position or targets.
Unparseable if the argument is not specified correctly.
Forks if <targets> or origin: target selects multiple entities.
Terminates if <targets> or origin: target fails to resolve to one or more valid entities (named players must be online).
Example
Executor rotates once to the left: execute facing ^1 ^ ^ run tp @s ~ ~ ~ ~ ~
All entities move one block in the direction of (0, 64, 0) (without changing their rotation): execute as @e at @s facing 0 64 0 run tp @s ^ ^ ^1
All entities move one block in the direction of (0, 64, 0) (with changing their rotation): execute as @e at @s facing 0 64 0 run tp ^ ^ ^1 ~ ~
All non player entities move one space in the direction of their nearest player (without changing their rotation): execute as @e[type=!player] at @s facing entity @p feet run tp @s ^ ^ ^1

in[]

Sets the execution dimension and position.
It respects dimension scaling for relative and local coordinates: the execution position (only the X/Z part) is divided by 8 when changing from the Overworld to the Nether, and is multiplied by 8 when vice versa. Applies to custom dimensions as well.
Syntax
Java Edition:
in <dimension> -> execute
Bedrock Edition:
in <dimension: Dimension> <chainedCommand: ExecuteChainedOption_0>
Arguments
JE<dimension>: dimension
BE: dimension: Dimension: enum
Name of the new execution dimension
In Java Edition, must be the resource location, which will be resolved during command execution into a dimension. In Bedrock Edition, must be either overworld, nether, or the_end.
Result
Execution dimension and position is updated.
Unparseable if the argument is not specified correctly.
Example
Looking for an end city (from the overworld):
  • execute in minecraft:the_end run locate structure minecraft:end_city[Java Edition only]
  • execute in the_end run locate structure end_city[Bedrock Edition only]
If a player at position (16,64,16) in Overworld runs the following command, the player is teleported to (16,64,16) in the Nether:
  • execute in minecraft:the_nether positioned as @s run tp ~ ~ ~[Java Edition only]
  • execute in nether positioned as @s run tp ~ ~ ~[Bedrock Edition only]
If a player at position (16,64,16) in Overworld runs the following command, the player is teleported to (2,64,2) in the Nether.
If a player at position (80,64,80) in Overworld runs the following command, the player is teleported to (10,64,15) in the Nether.

on[]

Information icon
This feature is exclusive to Java Edition. 
Updates the executor, selecting entities based on relation to the current executor entity (changing the original executor), without changing execution position, rotation, dimension, and anchor.
Syntax
Java Edition:
on <relation> -> execute
Arguments
JE: <relation>
A relation of the current executor entity
  • attacker: the last entity that damaged the current executor entity in the previous 5 seconds. Note that damage types in minecraft:no_anger tag bypass the record of attacker. Interaction entities do not forget attacker after 5 seconds. Some mobs forget the attacker when stoping angry.
  • controller: the entity that is riding and controlling the current executor entity. See Riding#Controlling for details.
  • leasher: the entity leading the current executor entity with a leash.
  • origin: the entity that cause the summon of the current executor entity. For example, the shooter of an arrow, the primer of a primed TNT entity.
  • owner: the owner of the current executor entity if it is a tameable animal.
  • passengers: all entities that are directly riding the current executor entity, no sub-passengers.
  • target: the attack target of the current executor entity. Interaction entities can select the last entity that interacted with them.
  • vehicle: the entity ridden by the current executor entity.
Result
Executor is updated based on the relation with the executor entity (which changes the meaning of @s).
Forks if passengers selects multiple entities. (Other relations can select only at most one entities.)
Terminates if current executor is not an entity.
Terminates if the relation is not applicable to the current executor entity or there are no entities matching it.
Example
Damage 1 heart the entity that is leashing a cat: execute as @e[type=cat] on leasher run damage @s 2 generic
Give all players riding a boat a fishing rod: execute as @e[type=boat] on passengers run give @s fishing_rod

positioned[]

Sets the execution position, without changing execution rotation or dimension; can match an entity's position, or at one block above the Y-level stored in the specified heightmap[JE only].
Syntax
Java Edition:
positioned <pos> -> execute
positioned as <targets> -> execute
positioned over <heightmap> -> execute
Bedrock Edition:
positioned <position: x y z> <chainedCommand: ExecuteChainedOption_0>
positioned as <origin: target> <chainedCommand: ExecuteChainedOption_0>
Arguments
Option: positioned <pos> or positioned <position: x y z>
JE<pos>: vec3
BE: position: x y z: CommandPositionFloat
New position
Must be a three-dimensional coordinates with floating-point number elements. Accepts tilde and caret notations.
Option: positioned as <targets> or positioned as <origin: target>
JE<targets>: entity
BE: origin: target: CommandSelector<Actor>
Target entity/entities to match position with
Must be a player name, a target selector or a UUID[Java Edition only].
Option: positioned over <heightmap>
JE: <heightmap>: heightmap
Specifies the heightmap
Must be one of world_surface, motion_blocking, motion_blocking_no_leaves, and ocean_floor.
Result
Execution position is updated. And positioned <pos> also resets execution anchor to feet.
Unparseable if the argument is not specified correctly.
Forks if <targets> or origin: target selects multiple entities.
Terminates if <targets> or origin: target fails to resolve to one or more valid entities (named players must be online).
When multiple entities are selected, next sub-command is executed once in each execution position.
Example
Look for a village near (0, 64, 0):
  • execute positioned 0 64 0 run locate structure #village[Java Edition only]
  • execute positioned 0 64 0 run locate structure village[Bedrock Edition only]

rotated[]

Sets the execution rotation; can match an entity's rotation.
Syntax
Java Edition:
rotated <rot> -> execute
rotated as <targets> -> execute
Bedrock Edition:
rotated <yaw: value> <pitch: value> <chainedCommand: ExecuteChainedOption_0>
rotated as <origin: target> <chainedCommand: ExecuteChainedOption_0>
Arguments
Option: rotated <rot> or rotated <yaw: value> <pitch: value>
JE: <rot>: rotation (<yaw> <pitch>)
BE: yaw: value: RelativeFloat and pitch: value: RelativeFloat
Angles of rotation
Must be a rotation with double‌[JE only] or float‌[BE only] number elements, including yaw and pitch, measured in degrees.
  • For the horizontal rotation (yaw), -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.
  • For the vertical rotation (pitch), -90.0 for straight up to 90.0 for straight down.
Tilde notation can be used to specify a rotation relative to the execution rotation.
Option: rotated as <targets> or rotated as <origin: target>
JE<targets>: entity
BE: origin: target: CommandSelector<Actor>
Target entity/entities to match rotation with
Must be a player name, a target selector or a UUID[Java Edition only].
Result
Execution rotation is updated.
Unparseable if the argument is not specified correctly.
Forks if <targets> or origin: target selects multiple entities.
Terminates if <targets> or origin: target fails to resolve to one or more valid entities (named players must be online).
Example
Move every sheep 1 block in the direction that the player closest to it is facing: execute as @e[type=sheep] at @sORpositioned as @s rotated as @p run tp @s ^ ^ ^1

summon[]

Information icon
This feature is exclusive to Java Edition. 
Summons a new entity at execution position and changes the executor to this summoned entity.
Syntax
Java Edition:
summon <entity> -> execute
Arguments
JE: <entity>: resource
Entity to be summon and the new executor
Must be an existing registered resource location in minecraft:entity_type registry.
Result
Summons the entity and changes the executor.
Unparseable if the argument is not specified correctly.
Example
Summon a sheep with the tag "Test": execute summon sheep run tag @s add Test
Summon a block display entiy and scale it: execute summon block_display run data merge entity @s {transformation:{scale:[4.0,4.0,4.0]},block_state:{Name:"minecraft:dirt"}}

Condition subcommands[]

The particular use of the if and unless subcommands are to restrict command execution to happen only under specified conditions. In most cases, unless is a negation of if, equivalent to "if not...". The two commands have identical argument structures.

Result of condition subcommands
Unparseable if the argument is not specified correctly.
In some cases, for example, testing a block outside the world, both if and unless terminates or fails.
When not at the end of the subcommands chain, only if the condition tests pass does the branch continue; otherwise it terminates.
In Java Edition, if it is executed in multiple branches, it acts as a context filter - Only branchs with a context that matches the condition continues.
When at the end of the subcommands chain, it checks whether the condition is met and then outputs. In Java Edition, it has output values that can be stored by store subcommands.

There are nine‌[JE only] / four‌[BE only] different types of conditions:

  1. (if|unless) biome – Tests a biome area‌[Java Edition only]
  2. (if|unless) block – Tests a single real block
  3. (if|unless) blocks – Tests a real 3D rectangular volume against another
  4. (if|unless) data – Tests the data held by a real block, entity, or a storage‌[Java Edition only]
  5. (if|unless) dimension - Tests the dimension of the execution‌[Java Edition only]
  6. (if|unless) function – Tests a function[more information needed][upcoming: JE 1.20.2]
  7. (if|unless) entity – Tests whether an entity like the one given is real
  8. (if|unless) loaded - Tests if a given position is loaded in the world‌[Java Edition only]
  9. (if|unless) predicate – Tests a predicate‌[Java Edition only]
  10. (if|unless) score - Tests a target's score

(if|unless) biome[]

Information icon
This feature is exclusive to Java Edition. 
Checks for a specific biome in a given position.
Syntax
(if|unless) biome <pos> <biome> -> [execute]
Arguments
<pos>: block_pos
Position to test
Must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation.
<biome>: resource_or_tag
Biome(s) to test for
Must be an existing registered resource location or tag in minecraft:worldgen/biome registry.
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • If <pos> is unloaded or out of the world.
  • If test doesn't pass.
When at the end of the subcommands chain, if the command is successful, both success value and result value are 1.

(if|unless) block[]

Compares the block at a given position to a given block ID.
Syntax
Java Edition:
(if|unless) block <pos> <block> -> [execute]
Bedrock Edition:
<subcommand: Option_If_Unless> block <position: x y z> <block: Block> [chainedCommand: ExecuteChainedOption_0]
<subcommand: Option_If_Unless> block <position: x y z> <block: Block> <blockStates: block states> [chainedCommand: ExecuteChainedOption_0]
Arguments
JE<pos>: block_pos
BE: position: x y z: CommandPosition
Position of a target block to test
In Java Edition, must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation. In Bedrock Edition, must be a three-dimensional coordinates composed of <x>, <y> and <z>, each of which must be a floating-point number or tilde and caret notation.
JE<block>: block_predicate
BE: block: Block: enum
Specifies the block to test for
In Java Edition, must be in the format of block_id[block_states]{data_tags}(accepts block tags), in which block states and data tags can be omitted when they are not needed. In Bedrock Edition, must be a block id.
BE: blockStates: block states: BlockStateCommandParam
Specifies the block state for the specified block to test for
Must be a blockstate argument as ["<state1>":<value1>,"<state2>":<value2>,...]. For example: ["old_leaf_type":"birch","persistent_bit":true].
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • If <pos> or position: x y z is unloaded or out of the world.
  • If test doesn't pass.
In Java Edition, when at the end of the subcommands chain, if the command is successful, both success value and result value are 1.

(if|unless) blocks[]

Compares the blocks in two equally sized volumes.
Syntax
Java Edition:
(if|unless) blocks <start> <end> <destination> (all|masked) -> [execute]
Bedrock Edition:
<subcommand: Option_If_Unless> blocks <begin: x y z> <end: x y z> <destination: x y z> <scan mode: BlocksScanMode> [chainedCommand: ExecuteChainedOption_0]
Arguments
JE<start>: block_pos
BE: begin: x y z: CommandPosition
JE<end>: block_pos
BE: end: x y z: CommandPosition
Positions of any two diagonal corners of the source volume (the volume to compare)
In Java Edition, must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation. In Bedrock Edition, must be a three-dimensional coordinates composed of <x>, <y> and <z>, each of which must be a floating-point number or tilde and caret notation.
JE<destination>: block_pos
BE: destination: x y z: CommandPosition
Position of the lower northwest corner of the destination volume (the volume to compare to)
Assumed to be of the same size as the source volume
In Java Edition, must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation. In Bedrock Edition, must be a three-dimensional coordinates composed of <x>, <y> and <z>, each of which must be a floating-point number or tilde and caret notation.
JE: (all|masked)
BE: scan mode: BlocksScanMode: enum
Specifies whether all blocks in the source volume should be compared, or if air blocks should be masked/ignored
Must be either all or masked.
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at end of the subcommands chain; fails when at the end:
  • If <start> / begin: x y z, <end> / end: x y z, or <destination> / destination: x y z is unloaded or out of the world.
  • If the volume of the source region is greater than 32768 (the equivalent of 8 chunk sections)‌.
  • If test doesn't pass.
In Java Edition, when at the end of the subcommands chain, if the command is successful:
The success value is 1.
For if mode, result value is 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).
For unless mode, result value is 1.

(if|unless) data[]

Information icon
This feature is exclusive to Java Edition. 
Checks whether the targeted block, entity or storage has any data tag for a given path.
Syntax
(if|unless) data block <pos> <path> -> [execute] – for data checking a block
(if|unless) data entity <target> <path> -> [execute] – for data checking an entity
(if|unless) data storage <source> <path> -> [execute] – for data checking a storage
Arguments
Option: (if|unless) data block <pos> <path>
<pos>: block_pos
Position of the block for data testing
Must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation.
<path>: nbt_path
Data path to check whether the block has
Must be an NBT path.
Option: (if|unless) data entity <target> <path>
<target>: entity
A single entity for data testing
Must be a player name, a target selector or a UUID. And the target selector must be in single type.
<path>: nbt_path
Data path to check whether the entity has
Must be an NBT path.
Option: (if|unless) data storage <source> <path>
<source>: resource_location
The resource location of the storage for data testing
Must be a resource location which will be resolved during command execution into unregistered content or client-side content.
<path>: nbt_path
Data path to check whether the storage has
Must be an NBT path.
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • If <pos> is unloaded or out of the world.
  • If block at <pos> isn't a block entity.
  • If <target> fails to resolve to one or more valid entities (named players must be online).
  • If test doesn't pass.
When at the end of the subcommands chain, if the command is successful:
The success value is 1.
For if mode, result value is the number of matching data tags.
For unless mode, result value is 1.

(if|unless) dimension[]

Information icon
This feature is exclusive to Java Edition. 
Checks if the execution is in a matching dimension.
Syntax
(if|unless) dimension <dimension> -> [execute]
Arguments
<dimension>: dimension
Dimension to test for
It must be the resource location, which will be resolved during command execution into a dimension.
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • If test doesn't pass.
When at the end of the subcommands chain, if the command is successful, both success value and result value are 1.

(if|unless) function[]

Crafting Table
This section describes content that may be included in Java Edition. 
This content has appeared in Java Edition development versions, but the full update containing it has not been released yet.
Checks a function or function tag and matches the return value(s). If a tag is given, all functions run regardless of the results of prior functions.[more information needed]
Syntax
(if|unless) function <function> -> [execute]
Arguments
<function>: function
Function to test for
It must be a resource location, which refers to a single function, or one prefixed with a #, which refers to a function tag.
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • If the function or function tag doesn't exist.
  • If test doesn't pass.
[more information needed]

(if|unless) entity[]

Checks whether one or more entities exist.
Syntax
Java Edition:
(if|unless) entity <entities> -> [execute]
Bedrock Edition:
<subcommand: Option_If_Unless> entity <target: target> [chainedCommand: ExecuteChainedOption_0]
Arguments
JE<entities>: entity
BE: target: target: CommandSelector<Actor>
The target entity/ies to test for
Must be a player name, a target selector or a UUID[Java Edition only].
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • If test doesn't pass.
In Java Edition, when at the end of the subcommands chain, if the command is successful:
The success value is 1.
For if mode, result value is the number of matching entities.
For unless mode, result value is 1.

(if|unless) loaded[]

Information icon
This feature is exclusive to Java Edition. 
Checks if chunks at a given position is fully loaded (Entity Ticking).
Syntax
(if|unless) loaded <pos> -> [execute]
Arguments
<pos>: block_pos
Position to test
Must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation.
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • If <pos> is out of the world.
  • If test doesn't pass.
When at the end of the subcommands chain, if the command is successful, both success value and result value are 1.

(if|unless) predicate[]

Information icon
This feature is exclusive to Java Edition. 
Checks whether the predicate successes. See Predicate for more information.
Syntax
(if|unless) predicate <predicate> -> [execute]
Arguments
<predicate>: resource_location
The predicate to be checked whether it evaluates to a positive result
Must be a resource location which will be resolved during command execution into unregistered content or client-side content.
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • If the predicate doesn't exist.
  • If test doesn't pass.
When at the end of the subcommands chain, if the command is successful, both success value and result value are 1.

(if|unless) score[]

Check whether a score has the specific relation to another score, or whether it is in a given range.
Syntax
Java Edition:
(if|unless) score <target> <targetObjective> (<|<=|=|>=|>) <source> <sourceObjective> -> [execute] – for comparing two scores
(if|unless) score <target> <targetObjective> matches <range> -> [execute] – for comparing one score against a range
Bedrock Edition:
<subcommand: Option_If_Unless> score <target: target> <objective: string> <operation: compare operator> <source: target> <objective: string> [chainedCommand: ExecuteChainedOption_0] - for comparing two scores
<subcommand: Option_If_Unless> score <target: target> <objective: string> matches <range: integer range> [chainedCommand: ExecuteChainedOption_0] - for comparing one score against a range
Arguments
JE<target>: score_holder
BE: target: target: CommandSelector<Actor>
A single score holder
In Java Edition, must be a selection of score holders. It may be either a target selector, a player name, a UUID, or * for all score holders tracked by the scoreboard. Named player needn't be online, and it even needn't be a real player's name.
In Bedrock Edition, must be a player name or a target selector. It can also be quoted unique id to specified non-player entities in the objective.
JE<targetObjective>: objective
BE: objective: string: basic_string
The scoreboard objective to check under. The score of <target> or <target: target> in this objective is checked
In Java Edition, it must be a valid scoreboard objective name. In Bedrock Edition, it must be a single word that has no space or a quoted string.
Option: (if|unless) score ... (<|<=|=|>=|>) ... and <subcommand: Option_If_Unless> score ... <operation: compare operator> ...
JE: (<|<=|=|>=|>)
BE: operation: compare operator: enum
Specifies a compare operator
Must be one of <, <=, =, >=, and >.
JE<source>: score_holder
BE: source: target: CommandSelector<Actor>
A single score holder to compare against
In Java Edition, must be a selection of score holders. It may be either a target selector, a player name, a UUID, or * for all score holders tracked by the scoreboard. Named player needn't be online, and it even needn't be a real player's name.
In Bedrock Edition, must be a player name or a target selector. It can also be quoted unique id to specified non-player entities in the objective.
JE<sourceObjective>: objective
BE: objective: string: basic_string
A scoreboard objective. The score of <source> or <source: target> in this objective is checked
In Java Edition, it must be a valid scoreboard objective name. In Bedrock Edition, it must be a single word that has no space or a quoted string.
Option: (if|unless) score ... matches ... and <subcommand: Option_If_Unless> score ... matches ...
JE<range>: int_range
BE: range: integer range: CommandIntegerRange
Range to compare score against
Must be a range acceptable for integer values. (e.g. 0 - exact match of 0. ..0 - less than or equal to 0. 0.. - more than or equal to 0. 0..1 - between 0 and 1, inclusive.)
Result
Unparseable if the argument is not specified correctly.
In following conditions, terminates when this subcommand is not at the end of the subcommands chain; fails when at the end:
  • In Java Edition, if <target> / target: target or <source> / source: target is *.
  • If test doesn't pass.
In Java Edition, when at the end of the subcommands chain, if the command is successful, both success value and result value are 1.

Example[]

Kill all players standing on a wool:
  • execute as @a at @s if block ~ ~-1 ~ #wool run kill @s[Java Edition only]
  • execute as @a at @s if block ~ ~-1 ~ wool run kill @s[Bedrock Edition only]
Check whether scores A and B are equal: execute if score @s A = @s B

Store subcommand[]

Information icon
This feature is exclusive to Java Edition. 

Store the final subcommand's result or success value somewhere. It is first processed along with other subcommands, recording the location to store in. After the last subcommand (may be a condition subcommand or a run subcommand) is executed, return values are stored in the recorded location. Note that the return values of commands must be an integer. If a decimal, it is rounded down.

There are five different modes of storage:

  1. store (result|success) block – Store return value under one of a block's NBTs
  2. store (result|success) bossbar – Store return value as a bossbar data
  3. store (result|success) entity – Store return value under one of an entity's NBTs
  4. store (result|success) score – Store return value under a target's score on an objective
  5. store (result|success) storage – Store return value under one of a storage's NBTs

store (result|success) block[]

Saves the final command's return value as tag data within a block entity. Store as a byte, short, int, long, float, or double. If the return value is a decimal, it is rounded first and then multiplied by <scale>.
Syntax
store (result|success) block <targetPos> <path> <type> <scale> -> execute
Arguments
<targetPos>: block_pos
Position of target block
<path>: nbt_path
Location of the desired tag to hold the value in
<type>
Desired data size/type
Must be one of byte, short, int, long, float, and double.
<scale>: double
Multiplier to apply before storing value, may be negative
Result
Unparseable if the argument is not specified correctly.
Does not store anything when the path does not exist.

store (result|success) bossbar[]

Saves the final command's return value in either a bossbar's current value or its maximum value
Syntax
store (result|success) bossbar <id> (value|max) -> execute
Arguments
<id>: resource_location
ID of the bossbar to target for saving
(value|max)
Whether to overwrite the bossbar's current value or its max value
Result
Unparseable if the argument is not specified correctly.

store (result|success) entity[]

Save the final command's return value in one of an entity's data tags. Store as a byte, short, int, long, float, or double. If the return value is a decimal, it is rounded first and then multiplied by <scale>. Like the /data command, "/execute store <arguments>" cannot modify player NBT.
Syntax
store (result|success) entity <target> <path> <type> <scale> -> execute
Arguments
<target>: entity
A single entity to store under
<path>: nbt_path
Location of the desired tag to hold the value in
<type>
Desired data size/type
Must be one of byte, short, int, long, float, and double.
<scale>: double
Multiplier to apply before storing value, may be negative
Result
Unparseable if the argument is not specified correctly.
Does not store anything when the path does not exist.

store (result|success) score[]

Overrides the score held by <targets> on the given <objective> with the final command's return value.
Syntax
store (result|success) score <targets> <objective> -> execute
Arguments
<targets>: score_holder
Specifies score holder(s) whose score is to be overridden
<objective>: objective
A scoreboard objective
Result
Unparseable if the argument is not specified correctly.

store (result|success) storage[]

Uses the <path> within storage <target> to store the return value in. Store as a byte, short, int, long, float, or double. If the return value is a decimal, it is rounded first and then multiplied by <scale>. If the storage does not yet exist, it gets created.
Syntax
store (result|success) storage <target> <path> <type> <scale> -> execute
Arguments
<target>: resource_location (Single word)
Target storage container, as a resource location
<path>: nbt_path
Location of the desired tag to hold the value in
<type>
Desired data size/type
Must be one of byte, short, int, long, float, and double.
<scale>: double
Multiplier to apply before storing value, may be negative
Result
Unparseable if the argument is not specified correctly.

Run subcommand[]

The run command's single argument is the command to be executed, the context variables of which may be modified by the subcommands used.

Syntax
Java Edition:
run --><command>
Bedrock Edition:
run <command: command>
Arguments
JE: <command>
BE: command: command
Can be any command
Technical‌[Java Edition only]
Resets the command node to the root of the command dispatcher
Information on modelling commands as chat text:
  • The command dispatcher is what starts when the player begins a message with a forward-slash (/).
  • A command node is the specific word/entry the cursor is editing, either a command or an argument.
  • The root node comes before the first word in the current command.
Result
Execute this command. Fails if <command> or command: command is failure.

More examples[]

  • Teleport all players who have an item enchanted with Efficiency in their first hotbar slot to coordinates (0, 64, 0):
    /execute as @a if data entity @s Inventory[{Slot:0b}].tag.Enchantments[{id:"minecraft:efficiency"}] run tp @s 0 64 0[Java Edition only]
  • Create a smoke particle three blocks in front of all players:
    /execute as @a at @s anchored eyes run particle smoke ^ ^ ^3[Java Edition only]
  • Place a saddle on pigs located within 5 blocks of the executing player, and remove saddles from pigs located over 5 blocks away from the executing player:
    /execute as @e[type=pig] at @s store success entity @s Saddle byte 1 if entity @p[distance=..5][Java Edition only]
  • Make a player say "My feet are soaked!" in chat if they are located in a block of water:
    /execute as @a at @s if block ~ ~ ~ water run say "My feet are soaked!"
  • Make a player say "Score is reset" in chat if the score 'test' is not set, eg by doing "scoreboard players reset @s test":
    /execute as @a unless score @s test = @s test run say "Score is reset"
  • Hurl all pigs skyward who are within 3 blocks of the nearest player:
    /execute at @p as @e[type=pig,distance=..3] run data merge entity @s {Motion:[0.0,2.0,0.0]}[Java Edition only]
  • Kill all zombies who have no headgear:
    /execute as @e[type=zombie] unless data entity @s ArmorItems[3].id run kill @s[Java Edition only]

History[]

Java Edition
1.13
{{Extension DPL}}<ul><li>[[Chain|Chain]]<br/>{{about|the block|the enchantment in Minecraft Dungeons|MCD:Chains|the armor tier named chainmail|Armor|the armor material called chainmail|Armor materials}}
{{Block
|image=<gallery>
Chain Axis Y.png | Y-axis
Chain Axis X.png | X-axis
Chain Axis Z.png | Z-axis
</gallery>
| transparent = Yes
| light = No
| tool = Wooden pickaxe
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== References ==
{{reflist}}

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

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

[[de:Kette]]
[[es:Cadena]]
[[fr:Chaîne]]
[[ja:鎖]]
[[ko:사슬]]
[[pl:Łańcuch]]
[[pt:Corrente]]
[[ru:Цепь]]
[[zh:锁链]]</li><li>[[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>
17w45aReworked /execute. The syntax of /execute has been split off. See Commands/execute/Before for old syntax.
17w45bReworked /execute store.
18w02aAdded new subcommands to /execute to allow for more control over commands.
18w05aAdded /execute store (result|success) bossbar.
1.14
{{Extension DPL}}<ul><li>[[White Dye|White Dye]]<br/>{{Item
| image = White Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''White dye''' is a [[Dye#Primary|primary color dye]] similar to [[bone meal]].

== Obtaining ==
=== Crafting ===
{{Crafting
 |showname=0
 |Bone Meal
 |Output=White Dye
 |type=Material
 |head=1
}}
{{Crafting
 |Lily of the Valley
 |Output=White Dye
 |type=Material
 |foot=1
}}

=== Loot chest ===
{{#invoke:LootChest|base3|white-dye}}

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===

Apprentice-level shepherd villagers have a 20% chance to buy 12 white dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=White Dye
|spritetype=item
|nameid=white_dye
|aliasid=dye / 19
|id=410
|form=item
|translationkey=item.dye.white_new.name
|foot=1}}

== History ==

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

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:White Dye JE1 BE1.png|32px]] Added white dye.}}
{{History||1.9.0|snap=beta 1.9.0.0|Added [[flower|lilies of the valley]], which can be used to [[crafting|craft]] white dye.}}
{{History||1.11.0|snap=beta 1.11.0.4|White dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of white dye has been changed from <code>dye/19</code> to <code>white_dye</code>.}}

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

== Issues ==
{{issue list}}


{{Items}}

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

[[de:Weißer Farbstoff]]
[[es:Tinte blanco]]
[[fr:Teinture blanche]]
[[ja:白色の染料]]
[[ko:하얀색 염료]]
[[pl:Biały barwnik]]
[[pt:Corante branco]]
[[zh:白色染料]]</li><li>[[String|String]]<br/>{{Block
| image = <gallery>
String JE2 BE2.png  | String
Tripwire (NESW).png | Tripwire
</gallery>
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''String''' is an item used in [[crafting]] recipes such as [[bow]]s, [[fishing rod]]s and [[lead]]s. When placed as a [[block]], string becomes '''tripwire''', which can be combined with [[Tripwire Hook|tripwire hooks]] to form a tripwire circuit.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Placement

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

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

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

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

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

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

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

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

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

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

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

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

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

{{/BS}}

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

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

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

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

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

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

== Issues ==
{{Issue list}}

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

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

==References==
{{Reflist}}

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

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

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

[[cs:Vlákno]]
[[de:Faden]]
[[es:Hilo]]
[[fr:Ficelle]]
[[hu:Fonál]]
[[it:Cordicella]]
[[ja:糸]]
[[ko:실]]
[[nl:Draad]]
[[pl:Nić]]
[[pt:Linha]]
[[ru:Нить]]
[[th:เส้นใย]]
[[uk:Нитка]]
[[zh:线]]</li></ul>
18w43aAdded /execute (if|unless) data.
1.15
{{Extension DPL}}<ul><li>[[Baked Potato|Baked Potato]]<br/>{{Item
| title = Baked Potato
| renewable = Yes
| heals = {{hunger|5}}
| stackable = Yes (64)}}

A '''baked potato''' is a [[food]] [[item]] that can be eaten by the [[player]].

== Obtaining ==

Baked potatoes can be obtained by cooking [[potato]]es in a [[furnace]], [[smoker]], or [[campfire]].
{{Smelting
|Potato
|Baked Potato
|0,35
}}

{{IN|JE}}, baked potatoes can also be obtained by killing a zombie or one of its variants while it is on fire. The drop chance is still affected by [[Looting]].

=== Chest loot ===
{{LootChestItem|baked-potato}}

== Usage ==

To eat a baked potato, press and hold {{control|use}} while it is selected in the [[hotbar]]. Eating one restores {{hunger|5}} hunger and 6.0 hunger [[Hunger#Mechanics|saturation]].

=== Crafting ingredient ===

{{crafting usage}}

=== Composting ===
Placing a baked potato into a [[composter]] has an 85% chance of raising the compost level by 1. This is more efficient than composting with raw potatoes.

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Baked Potato
|spritetype=item
|nameid=baked_potato
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Baked Potato
|spritetype=item
|nameid=baked_potato
|id=281
|form=item
|foot=1}}

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

== History ==

{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Baked Potato JE1.png|32px]] Added baked potatoes.}}
{{History|||snap=12w37a|[[File:Baked Potato JE2 BE1.png|32px]] The texture of baked potatoes has been slightly changed.}}
{{History||1.8|snap=14w02a|Baked potatoes now restore {{Hunger|5}} hunger points instead of 6.}}
{{History|||snap=14w27a|Baked potatoes are now used to craft [[rabbit stew]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 393.}}
{{History||1.14|snap=18w43a|[[File:Baked Potato JE3.png|32px]] The texture of baked potatoes has been changed.}}
{{History|||snap=18w50a|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed, once again.}}
{{History|||snap=19w03a|Placing a baked potato into the new [[composter]] has an 80% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Baked potatoes now have an 85% chance of increasing the compost level in a composter by 1.}}
{{History||1.17|snap=21w13a|Baked potatoes can now be dropped by flaming [[zombie]]s.<ref>{{bug|MC-199065}}</ref>}}
{{History||1.19|snap=22w13a|Baked potatoes can now be found in [[ancient city]] ice box [[chest]]s.}}
{{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]] baked potatoes from the player.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History||v0.12.1|snap=build 1|Baked potatoes now restore [[hunger]] instead of [[health]].}}
{{History||v0.13.0|snap=build 1|Baked potatoes are now used to craft [[rabbit stew]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Baked potatoes can now be used to fill up [[composter]]s.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History||ps=1.00|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes to the [[PlayStation 4 Edition|PS4]] and [[PlayStation Vita Edition|PSVita]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* {{ItemLink|Poisonous Potato}}

{{Items}}

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

[[cs:Pečená brambora]]
[[de:Ofenkartoffel]]
[[es:Patata cocida]]
[[fr:Pomme de terre cuite]]
[[hu:Sült burgonya]]
[[it:Patata al forno]]
[[ja:ベイクドポテト]]
[[ko:구운 감자]]
[[nl:Gebakken aardappel]]
[[pl:Pieczony ziemniak]]
[[pt:Batata assada]]
[[ru:Печёный картофель]]
[[th:มันฝรั่งอบ]]
[[zh:烤马铃薯]]</li><li>[[Spyglass|Spyglass]]<br/>{{Item
| title = Spyglass
| image = Spyglass.png
| durability = 
| rarity = Common
| renewable = Yes
| stackable = No
}}
 
A '''spyglass''' is a [[tool]] used to zoom in on distant objects.

== Obtaining ==
=== Crafting ===
{{Crafting
  |B1=Amethyst Shard
  |B2=Copper Ingot
  |B3=Copper Ingot
  |Output=Spyglass
  |type=Tool
}}

== Usage ==
[[File:Steve scoping Spyglass.png|right|100px]] [[File:Alex scoping Spyglass.png|right|100px]]

To use a spyglass, the player selects it from the hotbar and clicks {{control|use}} while looking in the desired direction.

Spyglasses are used to zoom in on a specific location in the player's field of view (FOV). The spyglass changes the FOV to {{frac|1|10}} of the FOV set in [[options]]. By default, the FOV is set to 70° in ''Java Edition'' and 60° in Bedrock Edition, resulting in an FOV of 7° in ''Java Edition'' and 6° in Bedrock Edition through the spyglass. The player's FOV can be set from 30° to 110°, so the spyglass FOV can  range from 3° to 11°. Regardless of the situation, or status effects the player has, using the Spyglass always shows a FOV {{frac|1|10}} of the FOV set in [[options]].

A square vignette is applied when in use, similar to the effect when wearing a [[carved pumpkin]]. Pressing {{key|F1}} removes the vignette,{{only|java}}<ref>{{bug|MC-203575||The spyglass overlay goes away when pressing F1|WAI}}</ref><ref>{{bug|MCPE-125869||Spyglass's overlay don't go away even if the player toggles Hide GUI on/ Pressing F1|}}</ref> similar to a carved pumpkin. 

Hazy distant objects remain hazy when viewed in the spyglass. Mobs too distant to render also do not render in the spyglass. The spyglass shows a magnified view of what the player already sees.

The player is slowed down while watching through the spyglass. When the player uses the spyglass continuously for {{convert|1|minute|game tick}}, the interface is automatically closed.

If the player has a certain effect on their screen like [[fire]], the spyglass does not remove that effect on the player's screen.

[[File:Spyglass Zooming.gif|thumb|center|A spyglass being used to zoom in on a [[block of gold]] starting from normal FOV (70°).]]

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Spyglass use.ogg
|subtitle=Spyglass expands
|source=player
|description=When a player uses a spyglass
|id=item.spyglass.use
|translationkey=subtitles.item.spyglass.use
|volume=0.5
|pitch=''varies'' <ref group=sound>Can be 1.15, 1.33, 1.4, or 1.55</ref>
|distance=16}}
{{Sound table
|sound=Spyglass stop.ogg
|subtitle=Spyglass retracts
|source=player
|description=When a player stops using a spyglass
|id=item.spyglass.stop_using
|translationkey=subtitles.item.spyglass.stop_using
|volume=0.5
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 0.9</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Spyglass use.ogg
|source=player
|description=When a player uses a spyglass
|id=item.spyglass.use
|volume=0.5
|pitch=1.15-1.55}}
{{Sound table
|sound=Spyglass stop.ogg
|source=player
|description=When a player stops using a spyglass
|id=item.spyglass.stop_using
|volume=0.5
|pitch=0.8-1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Spyglass
|spritetype=item
|nameid=spyglass
|form=item
|foot=1|id=626}}

== Advancements ==
{{load advancements|Is it a Bird?;Is it a Balloon?;Is it a Plane?}}

== History ==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=25m21s}}|[[File:Spyglass JE1.png|32px]]<!-- [[File:Spyglass scope (pre-release).png|32px]]--> Spyglasses are revealed at [[Minecraft Live 2020]]. They were originally named "telescopes" and had an oval vignette.}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Spyglass JE1.png|32px]] Added spyglasses.
|[[File:Spyglass scope JE1.png|32px]] The scope texture is currently a circle with glare spots.}}
{{History|||snap=20w46a|[[File:Spyglass scope JE2.png|32px]] The scope texture is now a [[glass]] square with a [[copper]] border.}}
{{History|||snap=20w48a|[[File:Spyglass JE2 BE1.png|32px]] The spyglass is now a 3D model instead of a flat sprite.
|[[File:Spyglass (texture) JE2.png|32px]] The texture of the spyglass has changed.
|A spyglass in use is anchored better to the player's "eye" when viewed in 3rd person.}}
{{History|||snap=21w05a|Copper ingots are now renewable via [[drowned]], making spyglasses renewable.}}
{{History|||snap=21w10a|[[File:Spyglass (item) JE3 BE1.png|32px]] Spyglasses have a new texture in the inventory. The 3D model is still used in the hand, similar to [[tridents]].}}
{{History||1.17.1|snap=Pre-release 1|[[File:Spyglass (texture) JE3.png|32px]] The texture of the spyglass model has changed.}}
{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Spyglass JE2 BE1.png|32px]] [[File:Spyglass (item) JE3 BE1.png|32px]] Added spyglasses.}}
{{History|||snap=beta 1.17.0.52|Spyglasses are now available without enabling [[experimental gameplay]].}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
*If {{command|item replace}} is used to place a spyglass on a player's head, the item appears stuck to the center of the player's face.

== Gallery ==
<gallery>
Villager Spyglass.png|Spying on [[villager]]s through a spyglass.
After using the spyglass at FOV 30 F1.png|Hiding the HUD removes the spyglass overlay.
Panda eating a spyglass.png|When eaten by a [[panda]], spyglasses cause [[missing texture]] particles to be produced.<ref>{{bug|MC-206684}}</ref>
JE 1.17 Development Telescope.jpg|The spyglass was originally called the telescope.
JE 1.17 Development Telescope 2.jpg|The telescope's overlay was originally round instead of square.
File:Ari Spyglass.jpg|How the spyglass looks in the third person.
Steve scoping Spyglass JE1.png|Steve using a spyglass before its 3D model was added.
Alex scoping Spyglass JE1.png|Alex using a spyglass before its 3D model was added.
File:Mangrove Portal.jpg|An [[allay]] peeking into view of [[Noor]]’s spyglass.
</gallery>

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--spyglass Taking Inventory: Spyglass] – Minecraft.net on February 17, 2022

{{Items}}

[[Category:Renewable resources]]

[[de:Fernrohr]]
[[es:Catalejo]]
[[fr:Longue-vue]]
[[it:Cannocchiale]]
[[ja:望遠鏡]]
[[pl:Luneta]]
[[pt:Luneta]]
[[ru:Подзорная труба]]
[[zh:望远镜]]</li></ul>
19w38aAdded /execute (if|unless) predicate.
Added /execute store (result|success) storage.
1.19.3
{{Extension DPL}}<ul><li>[[:Category:Combat|Category:Combat]]<br/>[[Category:Items]]

[[fr:Catégorie:Combat]]
[[zh:Category:武器]]</li><li>[[Saddle|Saddle]]<br/>{{about|normal saddles|the removed horse saddle|Horse Saddle}}
{{item
| image = <gallery>
Saddle (Pig).png | Pig
Saddle (Horse).png | Horse
Saddle (Strider).png | Strider
</gallery>
| invimage = Saddle
| renewable = Yes
| stackable = No
}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

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

== References ==
{{reflist}}

{{items}}

[[cs:Sedlo]]
[[de:Sattel]]
[[es:Montura]]
[[fr:Selle]]
[[hu:Nyereg]]
[[it:Sella]]
[[ja:鞍]]
[[ko:안장]]
[[nl:Zadel]]
[[pl:Siodło]]
[[pt:Sela]]
[[ru:Седло]]
[[zh:鞍]]
[[Category:Renewable resources]]
[[uk:Сідло]]</li></ul>
22w46aAdded /execute (if|unless) biome.
1.19.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>[[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>
23w03aAdded /execute on.
Added /execute (if|unless) dimension and /execute (if|unless) loaded.
23w04aAdded a new relation origin for /execute on.
23w06aAdded /execute summon.
Now /execute if loaded is a condition subcommand instead of a modify-like subcommand.[1]
Pre-release 1Added /execute positioned over.
Upcoming Java Edition
1.20.2
{{Extension DPL}}<ul><li>[[La Baguette|La Baguette]]<br/>{{Exclusive|Java}}
{{Joke feature}}
{{WIP}}

{{Item
| rarity = Common
| renewable = Yes
| durability = 59
| stackable = No
}}

'''La Baguette''' is a joke weapon from [[Java Edition 23w13a_or_b]]. Its stats are identical to a wooden [[sword]], though La Baguette cannot be used to fuel furnaces.

== Obtaining ==
One [[Le Tricolore|tricolore]] and one baguette is given to all players when [[French mode]] gets activated.

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x La Baguette
|La Baguette
|La Baguette
|La Baguette
|description=The durability of the two baguettes is added together, plus an extra 5% durability. Any enchantments, besides curses, would be removed.
}}

====Unit repair====
Strangely, La Baguette can be repaired using planks rather than bread, just like a wooden sword.
{{Anvil|Input1=Damaged La Baguette|Input2=Damaged La Baguette; Any Planks|Output=La Baguette}}

==Usage==
La Baguette functions identically to a wooden sword.

===Attacking===
It can be used to damage mobs for {{hp|4}} health points. La Baguette has an attack speed of 1.6 and takes 0.625 seconds to [[Damage#Attack cooldown|recover]].

=== Breaking ===
La Baguette, just like other swords, can be used to break certain blocks 50% faster. See [[Sword#Sword breaking times]] for more.

=== Enchantments ===
La Baguette, like other swords, can receive 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
|}

{{Notelist}}

==Trivia==
This item is simply called "Baguette" in the official French translation, without an article.

{{Items}}
{{Jokes}}

[[Category:Tools]]
[[Category:Combat]]

[[ja:La Baguette]]
[[pt:La Baguette]]
[[Category:Joke items]]</li><li>[[Golden Apple|Golden Apple]]<br/>{{Distinguish|Enchanted Golden Apple}}
{{Item
| image = Golden Apple.png
| rarity = Rare
| heals = {{hunger|4}}
|effects=: {{EffectLink|Absorption}} (2:00)
: {{EffectLink|Regeneration}} II (0:05)
|renewable = Yes
|stackable = Yes (64)
}}

A '''golden apple''' is a [[food]] item that bestows beneficial effects when consumed, and is also used to cure a [[Zombie Villager|zombie villager]] under the [[Weakness]] effect into a normal [[villager]].

== Obtaining ==
=== Crafting ===
{{Crafting
|A1= Gold Ingot
|B1= Gold Ingot
|C1= Gold Ingot
|A2= Gold Ingot
|B2= Apple
|C2= Gold Ingot
|A3= Gold Ingot
|B3= Gold Ingot
|C3= Gold Ingot
|Output= Golden Apple
|type= Foodstuff
}}

=== Chest loot ===
On the base of <code>ancient_city/city_center/city_center_2</code>, a single golden apple is contained in the [[chest]]. Eating it at that location unlocks the [[piston]] doors to the [[redstone]] labs beneath.
{{LootChestItem|golden-apple}}

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

To eat a golden apple, press and hold {{control|use}} while it is selected in the hotbar. It restores {{hunger|4}} points of hunger and 9.6 hunger [[Hunger#Mechanics|saturation]].

Unlike most foods, golden apples can be eaten when the hunger bar is full.

The golden apple provides: 
*[[Absorption]] I for 2 minutes (providing {{hp|4|absorption=1}} points of absorption health)
*[[Regeneration]] II ({{hp|1}} every 25 ticks, {{hp|2|notag=1}} × 0.4 per second) for 5 seconds (long enough to heal {{hp|4}} points of damage)

=== Curing zombie villagers ===
{{main|Zombie Villager#Curing}}

A golden apple and a [[potion of weakness]] can be used to convert a [[zombie villager]] into a regular [[villager]].

=== Horses ===
Golden apples can be used for improving the chances of taming a [[horse]] by 10%, for [[breeding]] and leading horses, and for speeding up the growth of baby horses by 4 minutes.

===Piglins===
{{EntityLink|Piglin|Piglins}} are attracted to golden apples. They run toward any golden apples on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory. However, piglins do not eat golden apples (or any [[food]]).

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

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

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

== Achievements ==
{{load achievements|Zombie Doctor;Oooh, shiny!}}

== Advancements ==
{{load advancements|Zombie Doctor;Oh Shiny;A Furious Cocktail;How Did We Get Here;Husbandry;A Balanced Diet}}

== History ==
{{History|java infdev}}
{{History||February 23, 2010|link=http://www.minecraftforum.net/topic/2750582-the-secret-history-of-minecraft/|A [[player]] named JTE put a [[crafting]] recipe for golden apples as a joke at the bottom of a crafting guide she made. The recipe used [[gold ingot]]s instead of [[block of gold|gold blocks]].}}
{{History||20100227-1|[[File:Golden Apple JE1 BE1.png|32px]] Added golden apples. 
|Golden apples heal a full {{hp|20}} [[health]] points, making them the best [[food]] in the entire game. 
|Golden apples are [[crafting|crafted]] with an [[apple]] and eight [[gold block|blocks of gold]].
|However, since apples were not yet obtainable in normal gameplay, golden apples were not obtainable either.}}
{{History||20100625-2|Golden apples can now be rarely found in [[dungeon]]s, making them obtainable in normal gameplay.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Due to the addition of [[hunger]], golden apples have been changed so that they restore {{hunger|10}}, instead of {{hp|20}} [[health]] points, but also give [[Regeneration]] for 30 seconds.
|[[Apple]]s can now be found in [[stronghold]] storeroom [[chest]]s, making golden apples craftable in normal gameplay for the first time.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Golden apples have been given 'glint' (animated purple glow) when viewed from the [[player]]'s [[inventory]], and its tooltip has now changed from the standard white to a magenta color.}}
{{History|||snap=Beta 1.9 Prerelease 3|Golden apples can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History||1.1|snap=11w48a|Golden apples are now easier to [[crafting|craft]]. Standard [[apple]]s now rarely [[drops|drop]] from oak [[leaves]], meaning that [[player]]s no longer need to venture into [[stronghold]]s/[[dungeon]]s to find one.
|As [[gold]] is also renewable via [[Zombified Piglin|zombie pigmen]], golden apples have become a [[renewable resource]].}}
{{History|||snap=release|Golden apples have been changed, so that they now restore {{hunger|4}} and give only 4 seconds of [[Regeneration]]. 
|The [[crafting]] recipe of golden apples has been modified, requiring 8 [[gold nugget]]s instead of 8 [[blocks of gold]] to craft. Although its natural spawn is rare, it is easier to obtain through crafting.}}
{{History||1.3.1|snap=12w21a|With the addition of [[enchanted golden apple]]s, which got a purple tooltip, the standard golden apple's tooltip changed to blue. However, the standard golden apple's effects remain unchanged.}}
{{History||1.4.2|snap=12w32a|Golden apples can now be fed to [[zombie villager]]s with the [[Weakness]] debuff causing them to revert to [[villager]]s after a delay of about 3 minutes.}}
{{History||1.6.1|snap=13w23a|Golden apples now use 8 [[gold ingot]]s instead of 8 [[gold nugget]]s.
|The [[Regeneration]] effect of golden apples has been slowed down.}}
{{History|||snap=13w23b|Golden apples now give the player [[Health Boost]] for 1:30 and [[Regeneration]] II for 0:10. This temporarily gives the [[player]] 4 extra base [[health]] points, and it heals a total of {{hp|4}} health points.}}
{{History|||snap=13w24b|The Health Boost effect has been replaced with [[Absorption]], lasting 1:30.}}
{{History|||snap=13w25a|Absorption from golden apples now lasts 2:00.}}
{{History|||snap=?|Golden apples can now be used to tame, breed and heal horses and donkeys.}}
{{History||1.9|snap=15w37a|The [[Regeneration]] effect from golden apples has been reduced to Regeneration I (from II in [[Java Edition 1.8]]).}}
{{History|||snap=15w43a|A single golden apple can now sometimes be found in [[igloo]] [[chest]]s.}}
{{History|||snap=15w43b|A single golden apple is now always found in igloo chests.}}
{{History|||snap=15w44a|The [[Regeneration]] effect from golden apples has been returned to Regeneration II, as it had been in [[Java Edition 1.8|1.8]].
|The average yield of golden apples from [[dungeon]] chests has been increased.
|Golden apples have been added to [[desert temple]] and [[mineshaft]] chests.}}
{{History||1.11|snap=16w39a|Golden apples are now found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|The names and IDs have been split into golden apple and enchanted golden apple.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 322.}}
{{History|||snap=18w09a|Golden apples can now generate in the [[chest]]s of [[underwater ruins]].}}
{{History||1.14|snap=18w43a|[[File:Golden Apple JE2 BE2.png|32px]] The texture for golden apples has been changed.}}
{{History||1.16|snap=20w16a|Golden apples can now be found inside [[ruined portal]] chests.}}
{{History|||snap=20w18a|Golden apples are now less common in ruined portal [[chest]]s.}}
{{History||1.16.2|snap=20w30a|Golden apples are now found in [[bastion remnant]] chests.}}
{{History||1.18|snap=experimental snapshot 6|Horses, donkeys and mules now follow players holding golden apples.}}
{{History||1.19|snap=22w14a|A single golden apple may now be found in the chest at {{cd|city_center_2}} in [[Ancient City|ancient cities]].}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Golden Apple JE1 BE1.png|32px]] Added golden apples.}}
{{History|||snap=build 3|A [[crafting]] recipe has been added for golden apples.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|Golden apples can now generate in the [[chest]]s of [[underwater ruins]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Golden Apple JE2 BE2.png|32px]] The texture for golden apples has been changed.}}
{{History||1.16.0|snap=beta 1.16.0.57|Golden apples can now be found inside [[ruined portal]] chests.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Golden Apple JE1 BE1.png|32px]] Added golden apples.}}
{{History||xbox=TU5|Due to the addition of [[hunger]], golden apples have been changed, so that they restore {{hunger|10}} instead of {{hp|20}} health points, but also give [[Regeneration]] for 30 seconds.}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|Golden apples now give extra "[[Absorption]]" health for a short period.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Golden Apple JE2 BE2.png|32px]] The texture for golden apples has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Golden Apple JE1 BE1.png|32px]] Added golden apples.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
Prior to [[Java Edition Beta 1.8]], the golden apple outwardly restored the player's full {{hp|20}} health points; Internally however, it is set to restore over double that, at {{hp|42}} health points. This is most likely a reference to [https://en.wikipedia.org/wiki/The_Hitchhiker's_Guide_to_the_Galaxy The Hitchhiker's Guide to the Galaxy], making it restore (the meaning of) life, 42 (health points). This is far before either the [[Absorption]] or [[Health Boost]] effects, causing this reference go unnoticed.

== Gallery ==
<gallery>
File:GoldenAppleComparison.png|A comparison of the two golden apple variations.
File:Golden apple in dungen 2013.png|A golden apple found in a dungeon.
File:Notch Apple In Mansion Chest.png|An extremely rare occasion where a regular golden apple and an enchanted apple being found in the same woodland mansion chest {{in|ee}}.
File:GoldenAppleDungeonChest.png|Golden apple in a [[dungeon]] chest, prior to 1.3.1. It resembles the enchanted golden apple.
File:Golden Apple Mineshaft Loot.png|A golden apple was found in a minecart chest in an abandoned mineshaft.
</gallery>

{{Items}}

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

[[cs:Zlaté jablko]]
[[de:Goldener Apfel]]
[[es:Manzana dorada]]
[[fr:Pomme dorée]]
[[hu:Aranyalma]]
[[it:Mela d'oro]]
[[ja:金のリンゴ]]
[[ko:황금 사과]]
[[nl:Gouden appel]]
[[pl:Złote jabłko]]
[[pt:Maçã dourada]]
[[ru:Золотое яблоко]]
[[th:แอปเปิ้ลทอง]]
[[tr:Altın Elma]]
[[uk:Золоте яблуко]]
[[zh:金苹果]]</li></ul>
23w31aAdded /execute (if|unless) function.
1.20.2 Pre-release 1Temporarily removed syntax /execute (if|unless) function.
Bedrock Edition
Upcoming Creator Features
(Experimental)
beta 1.19.10.20Added new /execute syntax to closer resemble that of Java Edition.
beta 1.19.40.20Implemented the /execute rotated command.
beta 1.19.40.21Implemented the /execute facing and /execute align commands.
beta 1.19.40.23Implemented the /execute anchored and /execute in commands.
1.19.50
{{Extension DPL}}<ul><li>[[End Crystal|End Crystal]]<br/>{{ItemEntity
|image=End Crystal.gif
|imagesize=150px
|invimage=End Crystal
|renewable=Yes
|stackable=Yes (64)
|rarity=Rare
|drops=None
|size=
Height: 2 Blocks<br>Width: 2 Blocks
}}
An '''end crystal''' is an [[entity]] that can be [[Crafting|crafted]] or found on [[the End]]'s main island, where it heals the [[Ender Dragon|ender dragon]]. It can only be placed on [[obsidian]] or [[bedrock]] and [[Explosion|explodes]] instantly when attacked or damaged in most ways.

== Spawning ==

=== Natural generation ===

An end crystal is found atop each [[obsidian pillar]] on the central island of the End, each on top of a piece of [[bedrock]]. There are 10 end crystals in total, of which two are protected in "cages" of [[iron bars]]. All end crystals respawn one after another as the respawning process of the [[ender dragon]] starts.

== Obtaining ==

=== Crafting ===

{{Crafting
  |A1=Glass
  |B1=Glass
  |C1=Glass
  |A2=Glass
  |B2=Eye of Ender
  |C2=Glass
  |A3=Glass
  |B3=Ghast Tear
  |C3=Glass
  |Output= End Crystal
  |type= Decoration block
}}

== Usage ==

=== Healing the ender dragon ===

Their primary purpose is to recharge the health of the ender dragon, who gains a charge from the nearest crystal within a cuboid extending 32 blocks from the dragon in all directions. The dragon is healed {{hp|1}} each half-second. If multiple ender dragons are spawned, an end crystal can affect multiple dragons at the same time. The healing beam is neither obstructed nor is its power diminished by entities or blocks.

=== Respawning the ender dragon ===
[[File:End Crystals on the Exit portal.png|right|thumb|How to arrange end crystals on the exit portal to respawn the ender dragon.]]

As items, end crystals may be placed on bedrock and [[obsidian]], if the two blocks above the bedrock or obsidian block are air or replaceable blocks and no other entities intersect the area. When an end crystal is placed in [[the End]], a [[fire]] block is created at the end crystal location. If four are placed on the end [[exit portal]], one on each of the flat sides, the crystals respawn the original end crystals on the obsidian pillars, as well as resurrect the dragon itself, before exploding. The top of each pillar also explodes, destroying any player-placed blocks. This happens even if TNT explosions are turned off in settings.

If the exit portal is ever broken for any reason, end crystals can still be placed on obsidian blocks with the same location as the exit portal.

=== Explosions ===

End crystals explode when attacked or damaged in most ways, even by attacks that normally do zero damage. They are not affected by exploding fireworks, and if damaged by an explosion, they disappear instead of exploding.{{Only|Java}}<ref>{{bug|MC-118429||End crystals don't explode when destroyed by nearby explosions}}</ref> The end crystal's [[explosion]] has an [[Explosion#Explosion strength|explosion strength]] of 6, the same as a [[charged creeper]]. The end crystal's fire often remains after the crystal explodes. Any ender dragon charging from the crystal when it is destroyed takes {{hp|10}} damage.

{{IN|java}}, an end crystal's explosion can be [[blocking|blocked]] by a [[shield]].

Although an ender dragon damages most blocks and entities in its path, it cannot destroy end crystals simply by going near them.

Placing [[water]] on the end crystal will neutralize the blast effect, but not the [[damage]] or knockback.

End crystals with obsidian or bedrock below them will not damage blocks below them when they explode.

{{IN|bedrock}}, having the game rule {{cd|mobGriefing}} to {{cd|false}} will prevent the End Crystal from destroying any blocks. While {{in|java}} the same game rule will not prevent the End Crystal from destroying any blocks.

=== Beams ===
The end crystal naturally shoots a beam at the ender dragon and heals it when the dragon is within range. This beam can be manually created using the command {{cmd|data merge entity @e[type{{=}}end_crystal,limit{{=}}1] {BeamTarget:{X:0, Y:0, Z:0<nowiki>}}}}. The beam can be pointed in any direction, allowing it to mark locations or objects.

=== Properties ===
[[File:End Crystal (Slateless).gif|thumb|A base-less end crystal.]]  

End crystals are of two kinds: the ones with a base beneath them are created either by game mechanism or by the {{cmd|summon}} command; while the base-less ones are created by players by manually placing the crystal items on top of [[obsidian]] or [[bedrock]].

The base appears to be made of bedrock, with a crystal hovering over it. While in the End, a crystal continually generates fire at its current position, one block above the base (directly on top of the block the base is embedded in), replacing any other block at that location. This fire is capable of spreading.

The end crystal entity is not solid and can be walked through freely. End crystals can be pushed by [[piston]]s, but they explode if moved while on fire. Because fire is checked only when an entity moves, end crystals do not normally take damage from their own fire unless moved.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|subtitle=Explosion
|source=block
|description=When an end crystal explodes
|id=entity.generic.explode
|translationkey=subtitles.entity.generic.explode
|volume=4.0
|pitch=0.56-0.84
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When an end crystal explodes
|id=random.explode
|volume=4.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=item
|nameid=end_crystal
|id=637
|form=item
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=End Crystal
|spritetype=entity
|nameid=ender_crystal
|id=71
|foot=1}}

=== Entity data ===

End crystals 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]].

== Achievements ==
{{load achievements|The End... Again...}}

== Advancements ==
{{load advancements|The End... Again...}}

== History ==
[[File:End Crystal 19w38a.gif|thumb|Java Edition 19w38a]]
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 6|[[File:End Crystal JE1 BE1.png|32px]] Added ender crystals.}}
{{History||1.2.1|snap=12w04a|Previously, ender crystals could be spawned using [[spawn egg]]s with ID 200 (in a [[server]], these were created using {{cmd|give 383 1 200}}). The spawned crystal would be positioned where a natural crystal would be if there was a bedrock block at the location. It was still possible until 1.9 to obtain an end crystal spawn egg, but it would not spawn anything.}}
{{History||1.7.2|snap=13w36a|Ender crystals can now be spawned with the {{cmd|summon}} command.}}
{{History||1.8|snap=14w06a|Ender crystals now generate one [[block]] lower. The fire they generate destroys the [[bedrock]] block that is supposed to be underneath (see {{bug|MC-47526}}).}}
{{History||1.9|snap=15w31a|Ender crystals generate at the correct Y-level again.}}
{{History|||snap=15w33c|Respawning the ender dragon now also respawns the ender crystals on the obsidian pillars.
|Ender crystals now have a compound BeamTarget tag that hold the X, Y, Z block location the beam points to.}}
{{History|||snap=15w44a|"Ender crystals" have been renamed to "end crystals".
|[[File:End Crystal (item) JE1 BE1.png|32px]] End crystals can now be obtained as an item.
|End crystals now drop from [[skeleton trap]] horses and can be placed only on [[obsidian]] or bedrock. Placing several of them atop the end exit portal respawns the ender dragon.}}
{{History|||snap=15w44b|End crystals are no longer dropped by [[skeleton horse]]s.
|Added crafting recipe for end crystals, making end crystals [[renewable]].}}
{{History|||snap=15w49a|End crystals now require [[air]]/replaceable [[block]]s and lack of [[entity|entities]] for placement.}}
{{History|||snap=15w51a|End crystals can no longer be placed in [[Adventure mode]].}}
{{History||1.11|snap=16w32a|The entity ID has been changed from <code>EnderCrystal</code> to <code>ender_crystal</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 426.}}
{{History|||snap=18w20b|Renamed to "End Crystal".}}
{{History|||snap=pre5|Entity ID has been changed to <code>end_crystal</code>.}}
{{History||1.14|snap=18w43a|[[File:End Crystal JE2.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal [[item]] have been changed.}}
{{History||1.19.3|snap=22w43a|End crystal explosions can now be [[blocking|blocked]] by [[shield]]s.<ref>{{bug|MC-188247|||Fixed}}</ref>}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:End Crystal JE1 BE1.png|32px]][[File:End Crystal (item) JE1 BE1.png|32px]] Added end crystals.}}
{{History|bedrock}}
{{History||1.6.0|snap=?|[[File:End Crystal BE2.png|32px]] [[File:End Crystal BE2.gif|32px]] The model of the end crystals has been changed. It has now two cubes instead of three.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:End Crystal BE3.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal item have been changed.}}
{{History||1.17.10|snap=beta 1.17.10.20|[[File:End Crystal JE2.png|32px]] The model of the end crystals has been changed to have three cubes again, and to match ''Java Edition''.}}
{{History||1.19.70|snap=beta 1.19.70.20|Increased end crystal collision box size to match ''Java Edition''.|End crystals with obsidian or bedrock below them now will not damage blocks below them when they explode.}}

{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:End Crystal JE1 BE1.png|32px]] Added ender crystals.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Ender crystals now generate one block lower. The fire they generate destroys the [[bedrock]] block that is supposed to be underneath.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|"Ender crystals" have been renamed to "end crystals".
|[[File:End Crystal (item) JE1 BE1.png|32px]] End crystals can now be obtained as an [[item]]. 
|End crystals now drop from [[skeleton trap]] horses and can be placed only on [[obsidian]] or bedrock. Placing several of them atop the [[end portal|end exit portal]] respawns the ender dragon.
|Added a crafting recipe for end crystals.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:End Crystal JE2.png|32px]][[File:End Crystal (item) JE2 BE2.png|32px]] The textures of end crystals and the end crystal item have been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:End Crystal JE1 BE1.png|32px]][[File:End Crystal (item) JE1 BE1.png|32px]] Added end crystals.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* According to [[Jens Bergensten|Jeb]], the reason behind the current crafting recipe using glass as opposed to [[Chorus Fruit|chorus fruit]] or any materials introduced in [[Java Edition 1.9|1.9]] is as a means for players to craft end crystals in older worlds that the dragon has already been killed in.<ref>{{tweet|jeb_|667000226524372992|The problem is that you need to be able to craft the crystals on worlds in which the dragon has been destroyed already|November 18, 2015}}</ref>
* A historical rendition of the [[beacon]] block featured an animated entity within it, which resembled a yellow miniaturized end crystal. The bedrock platform of the end crystal entity would also render below the beacon, though this would normally be hidden within the block below.
* Using a [[piston]] to push an end crystal's fire into an end portal block deletes the end portal block. However, natural portal blocks regenerate if the end crystal is moved.

== Gallery ==
<gallery>
End Crystal Usage.png|Using end crystals to respawn the ender dragon.
Crystal Link.png|An ender dragon being hit with the "healing beam" of an end crystal.
Ender Crystal.png|An end crystal.
EnderCrystalOverworld.png|An end crystal in the Overworld spawned using {{cmd|summon}} {{code|end_crystal}}.
Ender Dragon Revival.png|End crystals respawning the ender dragon.
CagedEnderCrystal.png|A caged end crystal.
Respawn ender dragon.png|A [[player]] trying to respawn the ender dragon.
End Crystal (item).gif|An animation of the item of the end crystal.
</gallery>

== References ==
{{reflist}}

{{Entities}}
{{Items}}

[[de:Enderkristall]]
[[el:Κρύσταλλος του Ender]]
[[es:Cristal del End]]
[[fr:Cristal de l'End]]
[[ja:エンドクリスタル]]
[[ko:엔드 수정]]
[[nl:Endkristal]]
[[pl:Kryształ Endu]]
[[pt:Cristal do End]]
[[ru:Кристалл Края]]
[[th:คริสตัลเอนด์]]
[[uk:Кристал Енду]]
[[zh:末影水晶]]</li><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></ul></nowiki>
beta 1.19.50.23The new /execute syntax is no longer behind the "Upcoming Creator Features" experimental toggle.
1.19.70
{{Extension DPL}}<ul><li>[[Steak|Steak]]<br/>{{Item
| title = Steak
| image = Steak.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable = Yes (64)
}}

'''Steak''' ({{in|java}}) or '''cooked beef''' ({{in|bedrock}}) is a [[food]] [[item]] obtained from [[cow]]s, [[mooshroom]]s, or from cooking [[raw beef]].

== Obtaining ==

=== Mob loot ===

==== Cows ====

When a [[cow]] or [[mooshroom]] is killed, it drops [[raw beef]]. If a cow dies while on fire, it drops steak instead. If the cow is killed using a weapon with the [[Looting]] enchantment, the maximum number of steak drops increases by 1 per level.

=== Cooking ===

Raw beef can be cooked in a [[furnace]], [[smoker]], or [[campfire]]. Each steak removed from a furnace output slot gives 0.35 [[experience]] (22.4 experience per stack).
{{Smelting
|Raw Beef
|Steak
|0,35
}}

=== Villager gifts ===
{{IN|java}}, butcher [[Villager|villagers]] may give players steak if they have the [[Hero of the Village]] status effect.

== Usage ==

=== Food ===

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

=== Wolves ===

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

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

== Data values ==

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Beef
|spritetype=item
|nameid=cooked_beef
|id=274
|form=item
|foot=1}}

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

== History ==

{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Steak JE1 BE1.png|32px]] Added steak.
|Steak has been introduced as the cooked result of [[raw beef]].
|Steak is a new [[food]] [[item]] dropped by [[cow]]s in addition to their [[leather]]. 
|The icon for steak is used as the image for the [[cooked porkchop]] before [[Java Edition Beta 1.8|Beta 1.8]], as the cooked porkchop's icon was updated to a lighter colored piece of meat.}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Steak can now be used to [[breed]] [[wolves]].}}
{{History||1.3.1|snap=12w21a|Steak can now be [[trading|bought]] from butcher [[villager]]s, at 6–7 steak for 1 [[emerald]].}}
{{History|||snap=1.3|[[File:Steak JE2.png|32px]] The texture of steak has been changed.}}
{{History||1.4.2|snap=12w37a|[[File:Steak JE3 BE2.png|32px]] The texture of steak has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trade]] steak.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 364.}}
{{History||1.14|snap=18w43a|[[File:Steak JE4 BE3.png|32px]] The texture of steak has been changed.}}
{{History|||snap=19w13a|Butcher villagers now give steak to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Steak JE1 BE1.png|32px]] Added steak.}}
{{History||v0.5.0|Steak now restores {{hp|8}} instead of {{hp|4}}.}}
{{History||v0.8.0|snap=build 1|[[File:Steak JE3 BE2.png|32px]] The texture of steak has been changed, so that it no longer has a dark outline.}}
{{History||v0.12.1|snap=build 1|Steak now restores [[hunger]] instead of [[health]].}}
{{History||v0.16.0|snap=build 4|"Steak" has been renamed to "Cooked Beef."}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Steak JE4 BE3.png|32px]] The texture of cooked beef has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked beef can now be [[trading|bought]] from butcher [[villager]]s.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Steak JE1 BE1.png|32px]] Added steak.}}
{{History||xbox=TU12|[[File:Steak JE3 BE2.png|32px]] The steak's texture has been changed, so that it no longer has a dark outline.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Steak JE4 BE3.png|32px]] The texture of steak has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Steak JE3 BE2.png|32px]] Added steak.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
Jeb steak.png|Raw beef and steak shown in the [[inventory]] from a preview screenshot.
Eating Steak.png|A still frame of the player eating a steak.
Steak SDGP.png|Steak in the [[Super Duper Graphics Pack]].
</gallery>

== Notes ==
{{fnlist}}

{{Items}}

[[cs:Propečený steak]]
[[de:Steak]]
[[es:Filete asado]]
[[fr:Steak]]
[[hu:Steak]]
[[it:Bistecca]]
[[ja:ステーキ]]
[[ko:스테이크]]
[[nl:Biefstuk]]
[[pl:Befsztyk]]
[[pt:Filé]]
[[ru:Жареная говядина]]
[[tr:Biftek]]
[[uk:Стейк]]
[[zh:牛排]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Feather|Feather]]<br/>{{about|a item|a enchantent|Feather Falling}}
{{Item
| image = Feather.png
| stackable = Yes (64)
| renewable = Yes
}}
'''Feathers''' are items dropped by [[chicken]]s and [[parrot]]s, as well as tamed [[cats]] as morning gifts.

== Obtaining ==

=== Mob loot ===

Adult [[chicken]]s drop 0–2 feathers upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 0–5 with Looting III.

[[Parrot]]s drop 1–2 feathers upon death. The maximum is increased by 1 per level of Looting, for a maximum of 1–5 with Looting III.

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

=== Natural generation ===

{{LootChestItem|feather}}

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

Tamed [[cat]]s have a 70% chance of giving the [[player]] a "morning gift", and the gift has a 16.13% chance to be a feather.

== Usage ==

=== Helmet ===
<div style='float:right'></div>
While a feather cannot be equipped in the head slot in [[Survival]] mode, equipping it using commands causes it to appear completely upright unlike other items.

[[File:Steve wearing Feather.png|75px]]
[[File:Alex wearing Feather.png|75px]]

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===

Expert-level fletcher [[villager]]s buy 24 feathers for an [[emerald]] as part of their trade.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Feather
|spritetype=item
|nameid=feather
|id=327
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100130|[[File:Feather JE1.png|32px]] Added feathers.|Feathers can be used to [[craft]] [[arrow]]s.
|Feathers are [[drop]]ped by every [[mob]] in quantities of 0 to 2.}}
{{History||20100206|[[File:Feather JE2 BE1.png|32px]] The feather's texture has been changed; it is now not as straight anymore.}}
{{History||20100219|[[Zombie]]s are now the only [[mob]] that can drop feathers. This was a placeholder as [[Notch]] has stated he currently doesn't know what else they should drop.<ref>{{tweet|notch|21723172931895296}}</ref>}}
{{History|java alpha}}
{{History||v1.0.14|[[Chicken]]s now [[drop]] 0–2 feathers upon death.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[Zombie]]s now drop [[rotten flesh]], instead of feathers.
|[[Chicken]]s are now the only source of feathers.}}
{{History|java}}
{{History||1.3.1|snap=12w17a|Feathers are now used to craft [[book and quill]]s.}}
{{History||1.4.6|snap=12w49a|Feathers are now used to craft a [[firework star]] with a burst effect.}}
{{History||1.12|snap=17w13a|[[Parrot]]s now [[drop]] feathers.}}
{{History||1.13|snap=17w47a|Prior to ''[[The Flattening]]'', this [[item]]'s numeral ID was 288.}}
{{History|||snap=18w11a|Feathers now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer feathers as [[Cat#Gifts|gift]]s.}}
{{History|||snap=18w48a|Feathers can now be found in chests in plains [[village]] houses.}}
{{History|||snap=18w50a|Feathers can now be found in chests in fletcher houses.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with feather in their mouths.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|buy]] feathers.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=1.19.4 Pre-release 1|Feathers can now be used to craft [[brush]]es.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Feather JE2 BE1.png|32px]] Added feathers. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.3|Chickens now drop 0–2 feathers upon death.|Feathers can now be used to [[craft]] [[arrow]]s.}}
{{History||v0.5.0|Feathers can now be obtained after activating the [[nether reactor]].}}
{{History||v0.11.0|snap=build 1|[[Zombie]]s now drop [[rotten flesh]], instead of feathers.}}
{{History||v0.12.1|snap=build 1|Feathers are no longer available from the [[nether reactor]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Feathers can now be used to craft [[book and quill]]s.|Added [[parrot]]s, which [[drop]] feathers.|Feathers can now be used as an ingredient to craft a [[firework star]].}}
{{History||1.4.0|snap=beta 1.2.14.2|Feathers can now be found in [[shipwreck]] [[chest]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Feathers can now be given as a gift to the [[player]] by tamed [[cat]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.|Feathers can now be found in the new [[plains]] [[village]] house.}}
{{History||1.11.0|snap=beta 1.11.0.1|Feathers can now be found in village fletcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Feathers can now be [[trading|sold]] to fletcher [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] feathers.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|Feathers can now be used to craft [[brush]]es.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Feather JE2 BE1.png|32px]] Added feathers.}}
{{History|Ps4}}
{{History||1.90|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Feather JE2 BE1.png|32px]] Added feathers.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--feather Taking Inventory: Feather] – Minecraft.net on March 3, 2019

{{Items}}

[[Category:Renewable resources]]

[[cs:Pírko]]
[[de:Feder]]
[[es:Pluma]]
[[fr:Plume]]
[[hu:Toll]]
[[it:Piuma]]
[[ja:羽根]]
[[ko:깃털]]
[[nl:Veer]]
[[pl:Pióro]]
[[pt:Pena]]
[[ru:Перо]]
[[uk:Перо]]
[[zh:羽毛]]</li></ul>
beta 1.19.70.21Removed data: int argument from /execute <if|unless> block.

References[]

  1. MC-259227 — resolved as "Fixed".
Advertisement