Minecraft Wiki
Advertisement
Not to be confused with Badlands.
Over Ravine

A canyon in a plains biome.

A canyon[1] is a deep, long crack generating in the Overworld that can connect with caves. They often appear deep underground but can breach the surface.

Structure[]

Canyons are usually between 85 to 127 blocks in length, and typically less than 15 blocks wide. In Java Edition canyons are usually 27 to 62 blocks in depth. Canyons in Bedrock Edition can sometimes go all the way down to bedrock, causing canyons spawning in mountain biomes to appear deeper.

A canyon extending down to bedrock causes lava to generate at the bottom. Obsidian often forms at the bottom as water sources flow down into the lava.

Canyons can have small ledges along the top. They can be found at levels 10 to 72, sometimes appearing on the world surface or underwater, forming canyons. They can go deep underground, sometimes spawning slimes or exposing diamond ore. If they reach deep enough, they may also be floored by the lava lakes at level -55. Canyons can cut from surface level all the way down to bedrock, especially noticeable in the Amplified world type.

Water-filled can also be found in any ocean biome.

Canyons can connect to caves, dungeons, abandoned mineshafts, and any other generated structures. Due to the large surface area of their walls, canyons often have water and/or lava flowing down them (from springs in the walls, aquifers, or openings to the sea). A canyon that intersects a river, frozen river, or swamp is filled with stone under the body of water.

Lava oceans[]

Lava Ravine

A lava ocean inside of a canyon.

Similarly to how water oceans replace all air blocks below a certain altitude on the surface, when deep enough in a canyon, all blocks that would generate as air instead generate as lava.

Data values[]

ID[]

Java Edition:

Configured carverIdentifier
[No displayed name]canyon

Bedrock Edition:

FeatureIdentifier
[No displayed name][No ID]

History[]

Java Edition Beta
1.8
{{Extension DPL}}<ul><li>[[Melon Seeds|Melon Seeds]]<br/>{{Block
|image = <gallery>
Melon Stem Age 0.png | Age 0
Melon Stem Age 1.png | Age 1
Melon Stem Age 2.png | Age 2
Melon Stem Age 3.png | Age 3
Melon Stem Age 4.png | Age 4
Melon Stem Age 5.png | Age 5
Melon Stem Age 6.png | Age 6
Melon Stem Age 7.png | Age 7
</gallery>
| image2 = <gallery>
Attached Melon Stem (N).png | North 
Attached Melon Stem (E).png | East
Attached Melon Stem (S).png | South
Attached Melon Stem (W).png | West
</gallery>
| transparent = Yes
| light = No
| tool = none
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}'''Melon seeds''' are items obtained from [[Melon Slice|melon slices]] that can be used to grow melon stems.

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

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

=== Natural generation ===
Melon stems generate naturally in stem farm inside [[woodland mansion]]s.

Melon stems generate in 20% of the farm plots in [[savanna]] [[village]]s, and 10% of the farm plots in [[desert]] villages.

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

=== Crafting ===
{{Crafting
|Melon Slice
|Output= Melon Seeds
|type= Material
}}

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

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

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

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

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

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

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

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Melon Stem
|spritetype=block
|nameid=melon_stem
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Attached Melon Stem
|spritetype=block
|nameid=attached_melon_stem
|form=block}}
{{ID table
|displayname=Melon Seeds
|spritetype=item
|nameid=melon_seeds
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Melon Stem
|spritetype=block
|nameid=melon_stem
|id=105
|form=block
|translationkey=-}}
{{ID table
|displayname=Melon Seeds
|spritetype=item
|nameid=melon_seeds
|id=293
|form=item
|foot=1}}

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

{{/BS}}

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

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

{{History|pocket alpha}}
{{History||v0.5.0|Added melon seeds.
|[[File:Melon Stem Age 0 JE1.png|32px]] [[File:Stem Age 1 JE1.png|32px]] [[File:Melon Stem Age 2 JE1.png|32px]] [[File:Melon Stem Age 3 JE1.png|32px]] [[File:Melon Stem Age 4 JE1.png|32px]] [[File:Melon Stem Age 5 JE1.png|32px]] [[File:Melon Stem Age 6 JE1.png|32px]] [[File:Melon Stem Age 7 JE1.png|32px]] [[File:Attached Melon Stem (N) JE1.png|32px]] [[File:Attached Melon Stem (E) JE1.png|32px]] [[File:Attached Melon Stem (S) JE1.png|32px]] [[File:Attached Melon Stem (W) JE1.png|32px]]{{verify|Are these models correct?}} Added melon stems.}}
{{History||v0.6.0|[[File:Melon Seeds JE1 BE1.png|32px]] Melon seeds no longer use the pumpkin seeds texture.}}
{{History||v0.9.0|snap=?|Melon seeds can now be found in [[mineshaft]] chests.}}
{{History||v0.12.1|snap=build 1|Melon seeds are no longer available from the [[Nether reactor]].}}
{{History||v0.14.0|snap=build 1|Melon seeds can now be found in [[minecart with chest|minecarts with chests]] in [[mineshaft]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Melon seeds now generate inside [[dungeon]] [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Melon crops now generate inside [[woodland mansion]]s.
|Melon seeds can now be found in woodland mansion chests.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Melon seeds can now be found inside [[bonus chest]]s.
|Melon seeds are now used to tame [[parrot]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Attached Melon Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached melon stems has been changed.
|Melon stems now generate in [[savanna]] and [[desert]] [[village]] farms.
|Added [[wandering trader]]s, who [[trading|sell]] melon seeds.}}
{{History||1.11.0|snap=beta 1.11.0.1|Melon seeds can now be used to fill up [[composter]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate melon stems.}}

{{History|console}}
{{History||xbox=TU5|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Melon Seeds JE1 BE1.png|32px]] Added melon seeds.
|[[File:Melon Stem Age 0 JE1.png|32px]] [[File:Stem Age 1 JE1.png|32px]] [[File:Melon Stem Age 2 JE1.png|32px]] [[File:Melon Stem Age 3 JE1.png|32px]] [[File:Melon Stem Age 4 JE1.png|32px]] [[File:Melon Stem Age 5 JE1.png|32px]] [[File:Melon Stem Age 6 JE1.png|32px]] [[File:Melon Stem Age 7 JE1.png|32px]] [[File:Attached Melon Stem (N) JE1.png|32px]] [[File:Attached Melon Stem (E) JE1.png|32px]] [[File:Attached Melon Stem (S) JE1.png|32px]] [[File:Attached Melon Stem (W) JE1.png|32px]]{{verify|Are these models correct?}} Added melon stems.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Attached Melon Stem (W) JE5.png|32px]]{{info needed|More accurate image}} The texture of attached melon stems has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Melon Stem Age 0 JE1.png|32px]] [[File:Stem Age 1 JE1.png|32px]] [[File:Melon Stem Age 2 JE1.png|32px]] [[File:Melon Stem Age 3 JE1.png|32px]] [[File:Melon Stem Age 4 JE1.png|32px]] [[File:Melon Stem Age 5 JE1.png|32px]] [[File:Melon Stem Age 6 JE1.png|32px]] [[File:Melon Stem Age 7 JE1.png|32px]] [[File:Attached Melon Stem (N) JE1.png|32px]] [[File:Attached Melon Stem (E) JE1.png|32px]] [[File:Attached Melon Stem (S) JE1.png|32px]] [[File:Attached Melon Stem (W) JE1.png|32px]]{{verify|Are these models correct?}} Added melon stems.}}
{{History|foot}}

<gallery>
Melon Stem with data value 15.png|The final version of the melon stem with age 15, as seen in-game.
Melonstems.png|Melon stems of ages 1–15 on a modded version of 1.7.2, hence the melon stems using the melon top texture.
Stems of 13w02a.png|All 16 stem sizes in 13w02a, with accompanying data values.
</gallery>

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

== Issues ==

{{issue list}}

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

== See also ==

* [[Melon]]
* [[Pumpkin Seeds]]

==References==
{{Reflist}}

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

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

[[cs:Semínka melounu]]
[[de:Melone]]
[[es:Semillas de sandía]]
[[fr:Graines de pastèque]]
[[hu:Dinnyemagok]]
[[it:Anguria]]
[[ja:スイカの種]]
[[ko:수박씨]]
[[nl:Meloenzaden]]
[[pl:Nasiona arbuza]]
[[pt:Sementes de melancia]]
[[ru:Семена арбуза]]
[[th:เมล็ดแตงโม]]
[[zh:西瓜种子]]</li><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| durability = 
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br> 
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

{| class="wikitable" style="text-align:center" data-description="Sword attack damage by type"
! Material
! {{ItemSprite|Wooden Sword|text=Wooden}}
! {{ItemSprite|Golden Sword|text=Gold}}
! {{ItemSprite|Stone Sword|text=Stone}}
! {{ItemSprite|Iron Sword|text=Iron}}
! {{ItemSprite|Diamond Sword|text=Diamond}}
! {{ItemSprite|Netherite Sword|text=Netherite}}
|-
! Attack Damage
| {{hp|5}} <!-- DO NOT CHANGE THESE! The values are correct, '+4 Attack Damage' means 5 total attack damage. -->
| {{hp|5}}
| {{hp|6}}
| {{hp|7}}
| {{hp|8}}
| {{hp|9}}
|-
! Durability
| 60
| 33
| 132
| 251
| 1562
| 2032
|-
! Lifetime damage inflicted<ref group="note">The formula to find the total lifetime damage is ''Durability × Damage per hit = Lifetime damage minimum''. It excludes enchantments and critical hits</ref>
| {{hp|300}}
| {{hp|165}}
| {{hp|792}}
| {{hp|1757}}
| {{hp|12496}}
| {{hp|18288}}
|}
{{notelist}}

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

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

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

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

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

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

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

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

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

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

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

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

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|subtitle=Strong attack
|source=player
|description=When a player deals an attack that does not trigger any other attack sounds
|id=entity.player.attack.strong
|translationkey=subtitles.entity.player.attack.strong
|volume=''varies'' <ref group=sound>0.6 for <code>strong1</code> through <code>strong4</code>, and 0.7 for <code>strong5</code> and <code>strong6</code></ref>
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Critical attack1.ogg
|sound2=Critical attack2.ogg
|sound3=Critical attack3.ogg
|subtitle=Critical attack
|source=player
|description=When a player deals a critical hit
|id=entity.player.attack.crit
|translationkey=subtitles.entity.player.attack.crit
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Knockback attack1.ogg
|sound2=Knockback attack2.ogg
|sound3=Knockback attack3.ogg
|sound4=Knockback attack4.ogg
|subtitle=Knockback attack
|source=player
|description=When a player deals a sprinting attack
|id=entity.player.attack.knockback
|translationkey=subtitles.entity.player.attack.knockback
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Sweep attack1.ogg
|sound2=Sweep attack2.ogg
|sound3=Sweep attack3.ogg
|sound4=Sweep attack4.ogg
|sound5=Sweep attack5.ogg
|sound6=Sweep attack6.ogg
|sound7=Sweep attack7.ogg
|subtitle=Sweeping attack
|source=player
|description=When a player deals a sweep attack
|id=entity.player.attack.sweep
|translationkey=subtitles.entity.player.attack.sweep
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|subtitle=Weak attack
|source=player
|description=When a player deals an attack with no damage
|id=entity.player.attack.nodamage
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Weak attack
|source=player
|description=When a player attempts to attack without sufficient cooldown
|id=entity.player.attack.weak
|translationkey=subtitles.entity.player.attack.weak
|volume=0.7
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a sword's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Strong attack1.ogg
|sound2=Strong attack2.ogg
|sound3=Strong attack3.ogg
|sound4=Strong attack4.ogg
|sound5=Strong attack5.ogg
|sound6=Strong attack6.ogg
|source=player
|description=When a player deals an attack with damage
|id=game.player.attack.strong
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Weak attack1.ogg
|sound2=Weak attack2.ogg
|sound3=Weak attack3.ogg
|sound4=Weak attack4.ogg
|source=player
|description=When a player deals an attack with no damage
|id=game.player.attack.nodamage
|volume=0.2
|pitch=0.8-1.2}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When an sword's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Wooden Sword
|spritetype=item
|nameid=wooden_sword
|form=item}}
{{ID table
|displayname=Stone Sword
|spritetype=item
|nameid=stone_sword
|form=item}}
{{ID table
|displayname=Iron Sword
|spritetype=item
|nameid=iron_sword
|form=item}}
{{ID table
|displayname=Diamond Sword
|spritetype=item
|nameid=diamond_sword
|form=item}}
{{ID table
|displayname=Golden Sword
|spritetype=item
|nameid=golden_sword
|form=item}}
{{ID table
|displayname=Netherite Sword
|spritetype=item
|nameid=netherite_sword
|form=item
|foot=1}}

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

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

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

== References ==
{{reflist}}

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

[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul>
Pre-releaseAdded ravines.
Java Edition
1.13
{{Extension DPL}}<ul><li>[[Spider Eye|Spider Eye]]<br/>{{Item
| title = Spider Eye
| image = Spider Eye.png
| renewable = Yes
| heals = {{Hunger|2}}
|effects={{EffectLink|Poison}} (0:05)
| stackable = Yes (64)
}}
A '''spider eye''' is a poisonous [[food]] and [[brewing]] item.

== Obtaining ==

=== Mob loot ===

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

==== Witches ====

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

=== Chest loot ===

{{LootChestItem|spider-eye}}

== Usage ==

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

=== Crafting ingredient ===

{{crafting usage}}

=== Brewing ingredient ===

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

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

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

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

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

== Video ==

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

== References ==

{{reflist}} 


{{items}}



[[cs:Pavoučí oko]]
[[de:Spinnenauge]]
[[es:Ojo de araña]]
[[fr:Œil d'araignée]]
[[hu:Pókszem]]
[[it:Occhio di ragno]]
[[ja:クモの目]]
[[ko:거미 눈]]
[[nl:Spinnenoog]]
[[pl:Oko pająka]]
[[pt:Olho de aranha]]
[[ru:Паучий глаз]]
[[zh:蜘蛛眼]]
[[Category:Food]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li><li>[[Cookie|Cookie]]<br/>{{Item
| title = Cookie
| image = Cookie.png
| heals = {{hunger|2}}
| renewable = Yes
| stackable = Yes (64)
}}
'''Cookies''' are [[food]] items that can be obtained in large quantities, but do not restore hunger or saturation significantly.

== Obtaining ==
=== Trading ===
Journeyman-level farmer [[villager]]s sell 18 cookies for 3 [[emerald]]s as part of their trades.

=== Crafting ===
{{Crafting
|A2= Wheat
|B2= Cocoa Beans
|C2= Wheat
|Output= Cookie,8
|type= Foodstuff
}}

=== Villager gifts ===
{{in|java}}, if the [[player]] has the [[Hero of the Village]] effect, a farmer villager may gift them a cookie.

== Usage ==
=== Food ===
To eat a cookie, 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]].

=== Parrots ===
Feeding a cookie to a [[parrot]] kills the parrot instantly, and causes it to give off [[Poison]] [[particles]] as it dies due to chocolate being toxic to parrots.
{{IN|Bedrock}}, feeding a cookie to a parrot inflicts the parrot with [[Fatal Poison]] for 1,000 seconds.

=== Composting ===
Placing a cookie into a [[composter]] has an 85% chance of raising the compost level by 1.

Considering the high yield of cookies (8 cookies from 1 cocoa bean and 2 wheats) and the higher chance to successfully compost a cookie (85%), it is more efficient to craft cookies to compost rather than using separate ingredients. For example, 100 wheats and 50 cocoa beans, which in total could yield only 13.92 bone meal on average, could be crafted into 400 cookies to yield 48.57 bone meal on average.

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cookie
|spritetype=item
|nameid=cookie
|id=271
|form=item
|foot=1}}

== History ==

{{History|java beta}}
{{History||1.4|[[File:Cookie JE1 BE1.png|32px]] Added cookies. 
|Cookies restore {{hp|1}} and are currently the only stackable [[food]], up to 8 cookies per stack.}}
{{History||1.8|snap=Pre-release|Cookies can now be stacked to 64.
|Cookies now restore {{hunger|1}}.}}
{{History|java}}
{{History||1.3.1|snap=12w18a|Cocoa beans have become farmable, making cookies [[renewable resource|renewable]] and ''much'' cheaper.}}
{{History|||snap=12w19a|Cookies now restore {{hunger|2}} instead of {{hunger|1}}.}}
{{History|||snap=12w21a|Farmer [[villager]]s now [[trading|sell]] 8–10 cookies for 1 [[emerald]].}}
{{History||1.8|snap=14w02a|Farmer villagers now sell 6 cookies for 1 emerald.}}
{{History||1.11|snap=16w33a|Farmer villagers now sell 6–10 cookies for 1 emerald.}}
{{History||1.12|snap=17w13a|Cookies can now be used to tame [[parrot]]s.}}
{{History|||snap=pre3|Cookies are no longer used to tame [[parrot]]s. Instead, a cookie now instantly kills a parrot.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 357.}}
{{History||1.14|snap=18w43a|[[File:Cookie JE2 BE2.png|32px]] The texture of cookies has been changed.}}
{{History|||snap=19w03a|Placing a cookie into the new [[composter]] has a 80% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Cookies now have an 85% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w13a|Farmer villagers now give cookies to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.9.0|snap=build 1|[[File:Cookie JE1 BE1.png|32px]] Added cookies.}}
{{History||v0.12.1|snap=build 1|Cookies now restore [[hunger]] instead of [[health]].}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|sell]] 6-10 cookies for 1 [[emerald]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Cookies can now be used to inflict a fatal [[Poison]] [[status effect]] to [[parrot]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cookie JE2 BE2.png|32px]] The texture of cookies has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Cookies can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now [[trading|sell]] 18 cookies for 3 [[emerald]]s as part of their third tier [[trading|trades]].}}

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

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

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:12w21a CookiePurchase.png|Cookies being obtained by [[trading]] with a farmer [[villager]].
File:Eating Steve.png|[[Steve]] eating a cookie.
File:Eating Alex.png|Alex eating a cookie.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--cookie Taking Inventory: Cookie] – Minecraft.net on August 22, 2019

{{Items}}

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

[[cs:Sušenka]]
[[de:Keks]]
[[es:Galleta]]
[[fr:Cookie]]
[[hu:Csokis süti]]
[[ja:クッキー]]
[[ko:쿠키]]
[[nl:Koekje]]
[[pl:Ciastko]]
[[pt:Biscoito]]
[[ru:Печенье]]
[[uk:Печиво]] 
[[zh:曲奇]]</li></ul>
18w06aRavines now generate in The Nether.
18w08aRavines can now generate underwater in oceans.
1.14
{{Extension DPL}}<ul><li>[[Golden Carrot|Golden Carrot]]<br/>{{Item
| title = Golden Carrot
| image = Golden Carrot.png
| heals = {{hunger|6}}
| renewable = Yes
| stackable = Yes (64)
}}

A '''golden carrot''' is a valuable [[food]] item and [[brewing]] ingredient. It provides the second most saturation in the game, behind [[suspicious stew]] crafted with either a [[Flower|dandelion]] or [[Flower|blue orchid]].

==Obtaining==
=== Chest loot ===
{{LootChestItem|golden-carrot}}

=== Crafting ===
{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget
|A2= Gold Nugget
|B2= Carrot
|C2= Gold Nugget
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget
|Output= Golden Carrot
|type= Foodstuff
}}

=== Trading ===
Master-level farmer [[villager]]s have a 50% chance to sell 3 golden carrots for 3 [[emerald]]s {{in|bedrock}}, and always offer the same trade {{in|java}}.

== Usage ==
=== Food ===
To eat a golden carrot, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} and 14.4 [[Hunger#Mechanics|saturation points]]. 

=== Animal food ===
Golden carrots are used to tame, [[breed]], lead, grow, and heal [[horse]]s, [[donkey]]s, and [[mule]]s, and to breed, lead, and grow [[rabbit]]s.

=== Brewing ingredient ===
{{Brewing
  |showname=1
  |Golden Carrot
  |Potion of Night Vision
}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Golden Carrot
|spritetype=item
|nameid=golden_carrot
|id=283
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Artificial Selection;Oooh, shiny!}}

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

== Video ==
{{Video note|this video is outdated; it does not mention that golden carrots can be used as animal food.}}

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

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Golden Carrot JE1.png|32px]] Added golden carrots.
|The new [[Potion of Night Vision]] is brewed by adding a golden carrot to an [[Awkward Potion]].}}
{{History|||snap=12w36a|[[File:Golden Carrot JE2.png|32px]] The texture of golden carrots has been changed.}}
{{History|||snap=12w37a|[[File:Golden Carrot JE3 BE1.png|32px]] The texture of golden carrots has been changed in order to match the new [[carrot]] texture. The [[item]] sprite no longer has a dark outline.}}
{{History||1.6.1|snap=?|Golden carrots can now be used to tame, breed and heal horses and donkeys.}}
{{History||1.8|snap=?|Golden carrots can now be used to breed rabbits.}}
{{History|||snap=14w32a|Moved golden carrots from the Foodstuffs tab to the Brewing tab in the [[Creative inventory]].<ref name="gold carrot inventory">https://bugs.mojang.com/browse/MC-3664</ref>}}
{{History||1.8.1|snap=pre1|Rabbits now follow players holding golden carrots.<ref>{{bug|MC-70054|||Fixed}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 396.}}
{{History||1.14|snap=18w43a|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|sell]] golden carrots.}}
{{History||1.16|snap=20w16a|Golden carrots can now be found in [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|Golden carrots can now be found in [[bastion remnant]] chests.}}
{{History||1.18|snap=experimental snapshot 6|Horses, donkeys and mules now follow players holding golden carrots.}}
{{History||1.19|snap=22w13a|Golden carrots may now be found in [[ancient city]] ice box [[chest]]s.
|A single golden carrot now generates in the [[chest]] in <code>ancient_city/city_center/city_center_2</code>.}}
{{History|||snap=22w14a|The golden carrot in the chest in <code>ancient_city/city_center/city_center_2</code> has been replaced with a [[golden apple]].}}


{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History||v0.13.0|snap=build 1| Golden carrots can now be used to feed [[rabbit]]s.}}
{{History||v0.15.0|snap=build 1|Golden carrots can now be used to feed [[horse]]s and [[donkey]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Golden carrots can now be [[trading|bought]] from farmer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|Trading has been changed, master-level farmer now has {{frac|1|3}} chance to sell golden carrots.}}
{{History||1.16.0|snap=beta 1.16.0.57|Golden carrots now generate in [[ruined portal]] chests.
|Golden carrots trade offering chance changed to 50%.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* [[Carrot]]
* [[Golden Apple]]

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--golden-carrot Taking Inventory: Golden Carrot] – Minecraft.net on September 6, 2022

{{items}}

[[cs:Zlatá mrkev]]
[[de:Goldene Karotte]]
[[es:Zanahoria dorada]]
[[fr:Carotte dorée]]
[[hu:Aranyrépa]]
[[ja:金のニンジン]]
[[ko:황금 당근]]
[[nl:Gouden wortel]]
[[pl:Złota marchewka]]
[[pt:Cenoura dourada]]
[[ru:Золотая морковь]]
[[uk:Золота морква]]
[[zh:金胡萝卜]]
[[Category:Renewable resources]]
[[Category:Food]]
[[Category:Brewing recipe]]</li><li>[[Stick|Stick]]<br/>{{for|other uses|Stick (disambiguation)}}
{{Item
| image = Stick.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''stick''' is an item used for [[crafting]] many [[tools]] and [[item]]s.

== Obtaining ==

=== Crafting ===

{{Crafting
|B2= Any Planks
|B3= Any Planks
|Output= Stick,4
|type= Material
|head=1
}}
{{Crafting
|B2= Bamboo
|B3= Bamboo
|Output= Stick
|type= Material
|foot=1
}}

=== Fishing ===

Sticks can be obtained as a "junk" item while [[fishing]].

=== Block loot ===

[[Dead bush]]es drop between 0–2 sticks when destroyed.

All [[Leaves|leaf]] types have a 2% chance to drop between 1-2 sticks when broken. Using a tool with [[Fortune]] increase these chances to 2.2%, 2.5%, and 3.3% for Fortune I, II, and III respectively.

=== Entity loot ===

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

[[Boat]]s and [[Boat with Chest|boats with chest]]s drop 2 sticks when falling from exactly 12, 13, 49, 51, 111, 114, 198, 202, 310, or 315 blocks.<ref>{{bug|MC-119369}}</ref>.

=== Chest loot ===

{{LootChestItem|stick}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Fuel ===

When used as a [[furnace]] fuel, a stick smelts 0.5 [[item]]s.

=== Trading ===

Novice-level [[Trading#Fletcher|fletcher]] [[villager]]s have a {{frac|2|3}} chance to buy 32 sticks for an [[emerald]] in ''Java Edition'', and they always offer the trade in Bedrock Edition.

== Video ==

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Stick
|spritetype=item
|nameid=stick
|id=320
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100129|[[File:Stick JE1 BE1.png|32px]] Added sticks.
|Sticks are used to craft [[sign]]s, [[torch]]es, [[sword]]s, [[pickaxe]]s, [[axe]]s and [[shovel]]s.}}
{{History|||snap=20100130|Sticks are now used to craft [[bow]]s and [[arrow]]s.}}
{{History||20100206|Sticks are now used to craft [[hoe]]s.}}
{{History||20100219|Sticks can be used as fuel for the newly added [[furnace]].}}
{{History||20100223|Sticks are now used to craft [[painting]]s.}}
{{History|java infdev}}
{{History||20100607|Sticks are now used to craft [[ladder]]s.}}
{{History||20100618|Sticks are now used to craft [[rail]]s.}}
{{History|java alpha}}
{{History||v1.0.1|Sticks are now used to craft [[redstone torch]]es and [[lever]]s.}}
{{History||v1.0.6|2 sticks now drops from breaking [[boat]]s.}}
{{History||v1.0.17|Sticks are now used to craft [[fence]]s.}}
{{History||v1.1.1|Sticks are now used to craft [[fishing rod]]s.}}
{{History|java beta}}
{{History||1.5|Sticks are now used to craft [[powered rail]]s.}}
{{History||1.8|snap=Pre-release|Sticks are now used to craft [[fence gate]]s.}}
{{History|java}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft sticks.}}
{{History||1.3.1|snap=12w16a|Sticks are found in the new [[bonus chest]]s.}}
{{History|||snap=12w22a|Sticks are now used to craft [[tripwire hook]]s.}}
{{History|||snap=12w27a|Sticks no longer drops from breaking [[boat]]s.|Instead, it needs to fall certain heights to drop 2 sticks.}}
{{History||1.4.2|snap=12w34a|Sticks are now used to craft [[item frame]]s.}}
{{History|||snap=12w38b|[[Witch]]es now have a chance to drop sticks.}}
{{History||1.5|snap=13w02a|Sticks are now used to craft [[activator rail]]s.}}
{{History||1.7.2|snap=13w36a|Sticks can be obtained as one of the "junk" [[item]]s by [[fishing]].}}
{{History|||snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft sticks.}}
{{History||1.8|snap=14w30a|Sticks are now used to craft [[banner]]s.}}
{{History|||snap=14w32a|Sticks are now used to craft [[armor stand]]s.}}
{{History||1.9|snap=15w31a|Sticks are now dropped by [[dead bush]]es.}}
{{History|||snap=15w44a|Sticks are now found in [[bonus chest]]s for more than double the average yield.}}
{{History||1.13|snap=17w47a|Sticks can now be found in 70.5% of bonus chests in stacks of 1–12.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 280.}}
{{History||1.14|snap=18w43a|Sticks can now be crafted from [[bamboo]].
|Sticks can now be used to craft [[crossbow]]s.
|Sticks are now [[drops|dropped]] by [[leaves]].}}
{{History|||snap=18w48a|Sticks can now be used to craft [[grindstone]]s.
|Sticks can now be found in [[chest]]s in [[village]] cartographer houses.}}
{{History|||snap=18w50a|Sticks can now be found in village fletcher houses and toolsmith houses.}}
{{History|||snap=19w02a|Sticks can now be used to craft [[campfire]]s.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|buy]] sticks.}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft sticks.
|Sticks can now be used to craft [[soul torch]]es.}}
{{History||1.17|snap=21w05a|Sticks are now dropped by [[azalea leaves]] and [[flowering azalea leaves]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft sticks.}}
{{History|||snap=22w13a|Sticks are now dropped by [[mangrove leaves]].}}
{{History||1.19.4|snap=23w07a|The [[crossbow]] and [[soul campfire]] recipes are no longer unlocked by sticks.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Sticks are now dropped by [[cherry leaves]].
|Sticks can now be used to craft [[brush]]es.
|Sticks now drop when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History||1.20|snap=23w12a|The probability for the stick to generate in the [[suspicious sand]] in [[desert well]] has been changed from 1/7 to 1/8.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stick JE1 BE1.png|32px]] Added sticks. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.0|Sticks are now [[craft]]able.
|Sticks can be used to [[craft]] wooden and stone [[pickaxe]]s, [[axe]]s, [[sword]]s and [[shovel]]s, [[ladder]]s, [[torch]]es, [[fence]]s and [[fence gate]]s.}}
{{History||v0.3.2|Sticks are now used to craft iron, gold and diamond [[pickaxe]]s, [[axe]]s, [[sword]]s and [[shovel]]s.}}
{{History||v0.3.3|Sticks are now used to craft [[bow]]s.}}
{{History||v0.4.0|Sticks are now used to craft [[hoe]]s.}}
{{History||v0.5.0|Sticks are now used to craft [[painting]]s.}}
{{History||v0.6.0|Sticks are now used to craft [[sign]]s.}}
{{History||v0.8.0|snap=build 2|Sticks are now used to craft [[rail]]s and [[powered rail]]s.}}
{{History||v0.11.0|snap=build 1|Sticks are now used to craft [[fishing rod]]s.
|Sticks can now be found as a junk [[item]] from [[fishing]].}}
{{History||v0.12.1|snap=build 1|Sticks are now [[drops|dropped]] when [[dead bush]]es are [[breaking|destroyed]].}}
{{History||v0.13.0|snap=build 1|Sticks are now used to craft [[redstone torch]]es, [[lever]]s and [[tripwire hook]]s.}}
{{History||v0.14.0|snap=build 1|Added [[witch]]es, which have a chance of [[drops|dropping]] sticks.
|Sticks can now be used to craft [[item frame]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Sticks can now be used to craft [[armor stand]]s and [[banner]]s.
|Sticks can now generate inside [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Sticks can now be used to craft [[sparkler]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Sticks can now be crafted from [[bamboo]].}}
{{History|||snap=beta 1.8.0.10|Sticks can now be used to craft [[crossbow]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Sticks can now be used to craft [[barrel]]s, [[grindstone]]s, and [[campfire]]s.
|[[Leaves]] now have a chance of [[drops|dropping]] 0-2 sticks when [[breaking|destroyed]].}}
{{History||1.11.0|snap=beta 1.11.0.1|Sticks can now be found in [[village]] toolsmith and fletcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Sticks can now be [[trading|sold]] to fletcher [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.51|Sticks can now be used to craft [[soul torch]]es.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Sticks can now be used to craft [[brush]]es.
|Sticks now drop when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History||1.20.10|snap=beta 1.20.10.20|Sticks are no longer used to craft barrels.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Stick JE1 BE1.png|32px]] Added sticks.}}
{{History|PS4}}
{{History||1.90|Sticks can now be [[drops|dropped]] by [[leaves]].}}

{{History|new3DS}}
{{History||0.1.0|[[File:Stick JE1 BE1.png|32px]] Added sticks.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==

* The stick is used in 49 recipes in ''Java Edition'', and 50 recipes in ''Bedrock Edition'', more than any other item in the game. [[Iron ingot]] takes second place with 35 recipes, and [[planks]] take third place with 34 recipes.
* To craft each recipe once, a player would need 111 sticks, including 1 for the [[redstone torch]] in an [[activator rail]], while using the extra tripwire hook for the [[crossbow]]. This would require 56 [[planks]], or 14 [[logs]], for the sticks, and an extra 29 planks for the [[tool|wooden tools]], [[tripwire hook]], [[signs]], [[fences]], [[fence gate]], [[grindstone]], and slabs for the [[barrel]]. This means that the player needs a total of 85 planks, or 22 logs, plus 6 more for the [[campfire]] and [[soul campfire]].

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--stick Taking Inventory: Stick] – Minecraft.net on April 2, 2020

{{Items}}

[[cs:Tyčka]]
[[de:Stock]]
[[es:Palo]]
[[fr:Bâton]]
[[hu:Bot]]
[[it:Bastone]]
[[ja:棒]]
[[ko:막대기]]
[[nl:Stok]]
[[pl:Patyk]]
[[pt:Graveto]]
[[ru:Палка]]
[[th:แท่งไม้]]
[[tr:Çubuk]]
[[uk:Палиця]]
[[zh:木棍]]
[[Category:Renewable resources]]</li></ul>
18w43aRenamed "Ravine" to "Canyon".
1.17
{{Extension DPL}}<ul><li>[[Firework Rocket|Firework Rocket]]<br/>{{redirect|Firework}}
{{ItemEntity
|image=Firework Rocket.png
|renewable='''Trail Effect''':No<br>'''All Others''':Yes
|stackable=Yes (64)‎
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
|networkid=76
}}
A '''firework rocket''' is an [[item]] (and [[entity]]) used for creating decorative explosions, boosting when flying with [[elytra]], and loading into a [[crossbow]] as ammunition.

== Obtaining  ==

Fireworks can be obtained by crafting. {{IN|java}}, a firework with no explosion effect is available on the [[Creative]] inventory and can be crafted as shown below. {{IN|bedrock}}, fireworks with the different base colors or no explosion are available in the Creative inventory.

=== Crafting ===

{{Crafting
|head=1
|showname=0
|showdescription=1
|Paper
|; ; Gunpowder
|; Gunpowder; Gunpowder
|Gunpowder
|Output=Firework Rocket,3
|description=When crafted this way (without a firework star), the rocket does not have explosion effects. The value of gunpowder affects the [[Firework Rocket#Duration and direction|flight duration]].
|type=Miscellaneous
}}
{{Crafting
|Any Firework Star
|Paper
|; ; Gunpowder
|; Gunpowder; Gunpowder
|Gunpowder
|Output= Firework Rocket,3
|description=Adding more gunpowder increases the duration of the rocket. Up to three gunpowder can be used. Up to five firework stars can also be used with three gunpowder. Up to seven firework stars can be used by using firework stars instead of additional gunpowder. All firework stars explode almost simultaneously when the rocket detonates.
|type=Miscellaneous
|foot=1
}}

== Usage ==

=== Launching fireworks ===
To launch a firework rocket, {{control|use}} its item on a block. They can also be launched from [[dispenser]]s and [[crossbow]]s. If shot from a [[Multishot]] [[crossbow]], then 3 rockets fire with the same effects.

=== Elytra ===
{{control|Using}} a firework rocket while flying with [[elytra]] propels the player in the direction they are facing. The duration of the speed boost depends on the flight duration of the rocket. If the rocket is equipped with a firework star of any kind, the player takes damage when it explodes.

=== Crossbow ===
A firework rocket can be used as ammunition for [[crossbow]]s, although it deals [[damage]] only if it has an [[explosion]] effect. A higher flight duration gives the firework rocket a longer range, and more damage is added per firework star. The [[Piercing]] enchantment has no effect on firework rockets shot from a crossbow.

{{IN|java}}, if a firework rocket shot from a [[crossbow]] hits an [[entity]], the rocket instantly [[explosion|explodes]], no matter the flight duration. Attempting to do this {{in|bedrock}}, however, results in the firework passing through the entity,<ref>[[bugtracker:MCPE-52675|MCPE-52675]]</ref> so the [[player]] must plan where to aim.

== Behavior ==
{{see also|Firework Star#Effects}}

Once launched, fireworks fly out vertically, with random horizontal offset up to 5 blocks. {{IN|bedrock|java}}, fireworks can fly in any of the 6 directions a dispenser can point. After [[#Duration and direction|some time]], the firework explodes into a colorful explosion based on the effects of the [[firework star]]s added upon crafting, or no explosion if no firework star was used. If multiple firework stars were added to the rocket upon crafting, they all explode simultaneously.

The explosion of a firework rocket deals damage to mobs and players that are within 5 blocks and not obstructed by [[solid block]]s. The maximum damage of a rocket with one firework star is {{hp|7}}, with the damage decreasing with distance. Each additional firework star on the rocket adds {{hp|2}} points of damage, for a maximum damage of {{hp|19}} with 7 stars. Using commands to add additional firework stars results in more damage. The damage dealt is unaffected by any other ingredients used. The explosion does not destroy end crystals nor damage the Ender dragon, but does destroy armor stands.

There is a delay between the detonation and the player hearing the sound, emulating real fireworks, but this sound travels much more slowly than in the real world.<ref>{{Tweet|jeb|277075644804907009|However, no sound effects for fireworks yet... but everything's implemented, so they can be added without doing a new snapshot|December 7, 2012}}</ref><ref>{{Tweet|jeb|277075517226762242|Haha, @igblan , the speed of sound is 40 m/s, because the realistic speed of ~340 m/s didn't work well in Minecraft scale|December 7, 2012}}</ref> {{IN|java}}, the explosion of a firework can be seen 64 blocks away, regardless of its height. {{IN|bedrock}}, the explosion can be seen from your render distance.

If the explosion exceeds the (unmodded) [[particle]] limit of 16,384, the oldest particles are removed before displaying new ones, resulting in severely diminished firework quality / duration. At most a firework should have 3 trail stars, more than that could waste diamonds, firework stars, and other fireworks. Particle counts per star are:

{| class="wikitable" data-description="Particle counts per firework star"
|-
! Ball Type !! Plain !! Trail
|-
| Small || 98 || ~1300
|-
| Large || 387 || 4000+
|-
| Star || 122 || ~1600
|-
| Creeper || 266 || ~3500
|-
| Burst || 72 || ~930
|}

Twinkle effect adds 2 particles to the count.

Like most other entities, they can be moved by [[water]] and [[explosion]]s, and teleported via [[portal]]s. They also cannot move through solid surfaced blocks, upon hitting one, they either move to a side or explode based on the duration. If a firework explodes under a block, its explosion is flattened.

=== Duration and direction ===

Fireworks travel different heights based on the amount of gunpowder added. The number is displayed as a tag on the item's tooltip with the description of "Flight Duration".

The height it rises is between 8 and 20 blocks with 1 gunpowder, 18 to 34 blocks with 2 gunpowder, and 32 to 52 blocks with 3 gunpowder. 
(Note: Using command blocks, firework rockets with higher durations go higher and keep accelerating with virtually no terminal velocity. If the duration is long enough, the firework rocket could reach heights of over 1,000,000 blocks and speeds of over 10,000 m/s in a matter of minutes. Such fireworks with significant X and Z motions speed up sideways exponentially and reach outside the world boundary in a matter of seconds.{{only|java}})

When spawned, <!-- server-side --> fireworks have a vertical speed of .05 and a random small X and Z speed (random value near zero with a standard deviation of .001).  Each firework also determines its lifetime in ticks by 10 × (number of gunpowder + 1) + random value from 0 to 5 + random value from 0 to 6, after which it explodes.  Each tick, the firework accelerates horizontally by multiplying its X and Z velocities by 1.15, and vertically by adding a constant factor of .04.

Fireworks can be made to travel different directions by being dispensed or launched under flowing water. The firework's direction combines with the flow of the water to go diagonally.

Firework rockets without firework stars shot from a crossbow upon hitting terrain elements will traverse along until stopped by a ledge or into unobstructed terrains again continuing its original flight path. Ledges as tall as one pixel high (e.g. from [[Dirt Path|Dirt Paths]] to [[Grass Block|Grass Blocks]]) will also block the firework. They will still vanish if they hit entities early amidst their flight.

==Village Raids==
After successfully defending a village from a [[Raid]] the villagers may celebrate by setting off firework rockets.

==Boosting elytra==
Fireworks can be used to boost [[elytra]] when in flight. Normally, elytra can glide for a short distance, but with the use of fireworks, the player can fly a long distance, gain speed, and take off from the ground. 

Simply using the firework rocket with elytra spread boosts the player in the direction the player faces. It can leave behind a trail sometimes.

Although fireworks with firework stars can be used, the player takes blast damage if they use it in flight. 

There are four types of rockets, with three types of flight duration. Higher flight durations mean longer boosts. {{IN|bedrock}}, the fireworks obtained from the Creative menu have a flight duration of 1, while {{in|java}}, the fireworks obtained in the Creative menu have a flight duration of 1, 2, or 3.

==Sounds ==
{{Edition|Java}}:<br>
Firework rockets use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Firework blast.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a non-large firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.blast
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework blast far.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a non-large firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.blast_far
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework large blast.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a large firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.large_blast
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework large blast far.ogg
|subtitle=Firework blasts
|source=ambient
|description=When a large firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.large_blast_far
|translationkey=subtitles.entity.firework_rocket.blast
|volume=20.0
|pitch=0.95-1.05
|distance=16}}
{{Sound table
|sound=Firework twinkle.ogg
|subtitle=Firework twinkles
|source=ambient
|description=When a twinkle firework rocket explodes within a 16-block radius of the player
|id=entity.firework_rocket.twinkle
|translationkey=subtitles.entity.firework_rocket.twinkle
|volume=20.0
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Firework twinkle far.ogg
|subtitle=Firework twinkles
|source=ambient
|description=When a twinkle firework rocket explodes greater than 16 blocks away from the player
|id=entity.firework_rocket.twinkle_far
|translationkey=subtitles.entity.firework_rocket.twinkle
|volume=20.0
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Firework launch.ogg
|subtitle=Firework launches
|source=ambient
|description=When a dispenser shoots, a player uses, or a crossbow fires a firework rocket
|id=entity.firework_rocket.launch
|translationkey=subtitles.entity.firework_rocket.launch
|volume=3.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Firework launches
|source=neutral
|description=When a dispenser fires a firework rocket
|id=entity.firework_rocket.shoot
|translationkey=subtitles.entity.firework_rocket.launch
|volume=1.0
|pitch=1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Firework blast.ogg
|source=ambient
|description=When a non-large firework rocket explodes
|id=firework.blast
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework large blast.ogg
|source=ambient
|description=When a large firework rocket explodes
|id=firework.large_blast
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework twinkle.ogg
|source=ambient
|description=When a twinkle firework rocket explodes
|id=firework.twinkle
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Firework launch.ogg
|source=ambient
|description=When a dispenser shoots, a player uses, or a crossbow fires a firework rocket
|id=firework.launch
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bow shoot.ogg
|source=ambient
|description=''Unused sound event''
|id=firework.shoot
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Firework Rocket
|spritetype=item
|nameid=firework_rocket
|aliasid=fireworks
|id=519
|form=item
|translationkey=item.fireworks.name
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Firework Rocket
|spritetype=entity
|nameid=fireworks_rocket
|id=72
|foot=1}}

===Item data===

{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Firework Rockets}}
</div>

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

===Entity data===

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

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

==Advancements ==
{{load advancements|Bullseye;Ol' Betsy}}

==History==

{{History|java}}
{{History||November 24, 2012|link=none|[[Jeb]] stated that there may be fireworks in ''Minecraft'' at the ''Future Updates with the Minecraft PC Team'' panel at [[MINECON 2012]].}}
{{History||December 5, 2012|link={{tweet|jeb|276367442362630144}}|Jeb released the first image of fireworks, along with the information that colors, fade, height, effects and shapes are [[crafting|craftable]].}}
{{History||December 7, 2012|link=https://twitter.com/jeb_/status/277075087503536128|Jeb mentions that fireworks should probably scare [[wolves]] and potentially have other effects on mobs.}}
{{History||1.4.6|snap=12w49a|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets.
|Firework rockets cannot be obtained within the [[Creative inventory]].}}
{{History|||snap=12w50a|Added [[sound]] and more effects to firework rockets.}}
{{History||1.10|snap=16w20a|The firework rocket [[crafting]] recipe now produces 3 rockets, rather than 1.}}
{{History||1.11|snap=16w32a|The entity ID has been changed from <code>FireworksRocketEntity</code> to <code>fireworks_rocket</code>.}}
{{History||1.11.1|snap=16w50a|Firework rockets can now cause [[damage]] to [[entity|entities]] that are within their [[explosion]] radius.
|Firework rockets can now boost [[player]]s while flying with [[elytra]].}}
{{History||1.13|snap=17w47a|The ID has been changed from <code>fireworks</code> to <code>firework_rocket</code>.
|The fade effects on fireworks can now be added by combining the firework star with [[dye]]s.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 401.}}
{{History||1.13|snap=?|Firework rockets are now available in the [[Creative]] [[Inventory]]. However, it does not show a flight duration}}
{{History|||snap=pre5|The [[entity]] ID of firework rockets has been changed to <code>firework_rocket</code>.}}
{{History||1.14|snap=18w43a|Fireworks can now be shot from [[crossbow]]s.
|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History||1.15|snap=19w36a|Firework rockets dispensed from a [[dispenser]] now travel in the direction they were fired.}}
{{History||1.17|snap=20w45a|Simple firework rockets with one gunpowder can now be crafted using the [[recipe book]].}}
{{History||1.19.3|snap=22w45a|All three flight durations of firework rockets are now available in the Creative inventory.<ref>{{bug
|MC-194390||A firework rocket from the creative inventory doesn't show a flight duration|Fixed}}</ref>}}


{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets. 
|Firework rockets are available in the Creative inventory in 17 variants, sixteen colors in small ball duration 1, plus one additional preset with only duration 1.{{verify|type=update|Is this the right snapshot?}}{{info needed}}}}
{{History||1.8.0|snap=beta 1.8.0.10|Firework rockets can now be held in the off-hand and be shot from [[crossbow]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of firework rockets has been changed from <code>fireworks</code> to <code>firework_rocket</code>.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Firework Rocket JE1 BE1.png|32px]] Added firework rockets.
|Firework rockets are available in five types in the Creative inventory. The presets are as follows:
* Duration 1, small ball, light blue, twinkle
* Duration 2, creeper shaped, green
* Duration 2, burst, red, fade to orange
* Duration 3, burst, magenta, fade to blue, twinkle
* Duration 2, star shaped, yellow, fade to orange, trail}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The crafting interface has been updated to allow crafting [[firework star]]s and fireworks.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Firework rockets can now boost [[player]]s while flying with [[elytra]].}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Firework rockets now [[damage]] players if there is a [[firework star]] applicated to the firework rocket.}}
{{History||xbox=TU56|xbone=CU47|ps=1.55|wiiu=Patch 26|switch=1.0.6|Firework rockets now produce 3 rockets upon [[crafting]] them instead of 1.}}
{{History||xbox=TU60|xbone=CU51|ps=1.64|wiiu=Patch 30|switch=1.0.11|Added new firework rocket models.}}
{{History|PS4}}
{{History||1.90|[[File:Firework Rocket JE2 BE2.png|32px]] The texture of firework rockets has been changed.}}
{{History|foot}}

==Issues==

{{issue list}}

== Trivia==
* Launching a rocket by hand on a wooden [[pressure plate]] activates it. The same doesn't hold for stone pressure plates, or for a [[dispenser]] placing a rocket onto a wooden pressure plate.
* New Year's Eve is what inspired [[Jeb]] to add fireworks.<ref>{{tweet|jeb|277080498814189568|@SPvs_TheWorld New Year's Eve|December 7, 2012}}</ref>
*If the player shoots a firework into a [[Nether portal]], it explodes in [[the Nether]].
*There are around 2×10{{^|136}} distinct fireworks.

==Gallery==

<gallery>
File:Firework jeb twitter.jpg|[[Jeb]]'s first image of Fireworks, also showing that they can be shot from dispensers.
File:1.4.6 release image.png|1.4.6 Release image.
File:Flatexplosion.png|An example of a flattened firework explosion.
File:Creeper firework.png|Creeper face shaped firework.
</gallery>

==References==

{{Reflist}}

{{Items}}
{{Entities}}

[[cs:Rachejtle]]
[[de:Feuerwerksrakete]]
[[es:Cohete de fuegos artificiales]]
[[fr:Feu d'artifice]]
[[hu:Tűzijáték rakéta]]
[[ja:ロケット花火]]
[[ko:폭죽 로켓]]
[[nl:Vuurpijl]]
[[pl:Fajerwerk]]
[[pt:Fogo de artifício]]
[[ru:Пиротехническая ракета]]
[[th:ดอกไม้ไฟ]]
[[zh:烟花火箭]]
[[Category:Renewable resources]]</li><li>[[Shield|Shield]]<br/>{{Item
| image = Shield.png
| image2 = White Shield.png
| extratext = View [[#Gallery|all renders]]
| durability = 336
| renewable = Yes
| stackable = No
}}
A '''shield''' is a tool used for protecting the [[player]] against attacks.

== Obtaining ==
=== Crafting ===
{{Crafting
|head=1
|showname=0
|A1=Any Planks <!-- the recipe changed in 15w37a, do not change it to the old recipe without reason -->
|B1=Iron Ingot
|C1=Any Planks
|A2=Any Planks
|B2=Any Planks
|C2=Any Planks
|B3=Any Planks
|Output=Shield
|type=Combat
}}
{{Crafting
|ignoreusage=1
|Shield
|Matching Banner
|A2=Shield
|B2=Banner
|Output=Matching Shield
|type=combat
|foot=1
}}

=== Repairing ===
{{Crafting
|ignoreusage=1
|showdescription=1
|Damaged Shield
|Damaged Shield
|Output=Shield
|description= The durability of the two shields is added together, plus an extra 5% durability. The repaired shield has no pattern.
|type= Combat
}}

Shields may also be repaired on an [[anvil]] by using [[planks]] or another shield. Shields repaired on anvils retain their pattern.

=== Trading ===
Journeyman-level armorer [[villager]]s have {{frac|1|3}}{{only|Bedrock|short=1}}/{{frac|2|5}}{{only|Java|short=1}} chance of selling a shield for 5 [[emerald]]s as their sixth trade.

== Usage ==
Despite using iron in its crafting recipe, it cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>

=== Defense ===
Shields are used for [[blocking]] incoming attacks. {{control|Using}}{{Only|Java|short=1}} or {{Control|sneaking}}{{Only|Bedrock|short=1}} causes a player to slow to a [[sneaking]] pace, and after {{convert|5|ticks|seconds}}<ref>{{bug|MC-100949||Shield blocking is delayed}}</ref>, attacks coming from in front of the player are blocked, dealing no damage. When the shield blocks an attack of {{hp|3}} or stronger, it takes durability damage equal to the strength of the attack rounded up.  

Most blocked projectiles that carry status effects (such as [[Shulker#Shulker bullet|shulker bullets]]{{only|java|short=1}}, flaming [[arrow]]s, or tipped arrows) do not affect the blocker. [[Trident]]s & arrows can be deflected into other targets. Knockback from melee attacks and projectiles is prevented, while knockback from [[explosion]]s, [[hoglin]], and [[ravager]] attacks are significantly reduced.

The shield directionally blocks all attacks coming from within the FOV of the direction the wielder is facing, providing a full hemisphere of coverage to them. If the wielder faces straight up, they are likely to miss their blocks.<ref>{{bug|MC-109101||Shields do not block damage while the player faces straight up}}</ref><!--straight down fix: MC-92019-->

Mobs that deal continuous contact damage such as the slime, magma cube, and blaze rapidly drain the shield's durability for as long as the shielded player remains within the mob's hitbox.<ref>{{bug|MC-169167}}</ref><ref>{{bug|MCPE-119451}}</ref>

Blockable attacks include:
*Melee attacks, except by a warden, axe-wielding mobs or by a sprinting player wielding an axe, however even without sprinting an axe still greatly decreases the durability 
** Status effects do not carry through to the blocker{{only|java|short=1}}.
*Normal, tipped, and spectral [[arrow]]s
** Arrows other than [[Piercing]] are totally deflected and can hit other targets.
** Status effects do not carry through to the blocker{{only|java|short=1}}.
***This can be used to damage the attacker or another mob down there.
*[[Flame|Flaming arrows]]
** Burning does not carry through to the blocker{{only|java|short=1}}.
*[[Trident]]s
*[[Snowball]]s and [[egg]]s
*Spines from [[pufferfish]]
*Bullets from [[shulker]]s
** The levitation effect does not carry through to the blocker{{only|java|short=1}}.
*Spit from [[llama]]s
*[[Fireball]]s, such as from [[blaze]]s and [[fire charge]]s
** Burning does not carry through to the blocker.
*Direct hits from [[ghast]] [[fireball]]s
** These still cause environmental damage.
*All explosions{{only|JE|short=1}}
*Explosion damage from [[creeper]]s
*[[TNT]] that another player lit
*[[Ravager]] headbutts
** These still knock the blocker back by about 3 blocks.
** Blocking these strikes can stun the ravager for a moment, and it roars afterward.
*Ravager roars are blocked but still knock back the blocker.
*[[Bee]] stings are blocked, but bees continuously attack until the player stops blocking and the player is stung.
*Beam attacks from [[guardian]]s or [[elder guardian]]s (only reduces damage by 50%).
*Damage reflected from [[Thorns]] enchantment / [[Guardian|guardians]].

They cannot block:
*Arrows from a [[crossbow]] enchanted with [[Piercing]]
** This does not reduce the shield's durability.
*[[Status effect]]s from tipped arrows or shulker bullets {{only|bedrock|short=1}} <ref>{{bug|MCPE-52904}}</ref>
** Direct projectile damage is blocked, but the effect still carries through.
*Status effects from splash/lingering [[potion]]s, [[evoker]]s' fangs, or breath from the [[ender dragon]]
*Beam attacks from [[guardian]]s or [[elder guardian]]s, or the [[warden]]'s sonic boom attack
*TNT that the blocking player lit themselves{{only|BE|short=1}}
*TNT that a [[Redstone (disambiguation)|redstone mechanism]] lit{{only|BE|short=1}}
*[[Fall damage]], including that from [[ender pearl]]s
** This also includes when the player rides an [[entity]] that died due to fall damage.
*Strikes from a warden or any [[axe]]-wielding mob (e.g., [[vindicator]]s, [[piglin brute]]s, [[zombie]]s after disabling players shield they attack another time immediately)
** Such strikes disable being able to use shields for 5 seconds.

=== Applying patterns ===
[[File:Cyan Shield Screenshot.png|250px|thumb|A custom shield.]]
Shields can be decorated by applying a [[banner]].

{{Crafting
|showdescription=1
|Shield
|Matching Banner
|Output=Matching Shield; Ominous Shield
|B2link=Banner
|Olink=Shield
|type=Combat
|description=Applies the banner pattern to the shield. The banner is consumed.<br>The shield must have no preexisting patterns.<br>Does not change existing durability or enchantments on the shield.
}}

Unlike with [[banner]]s, shields cannot be repainted or washed in a [[cauldron]]. Shields have only half the resolution of banners, making patterns look slightly different. In the game files, the pattern textures can be found in a separate directory called entity/shield.

{{IN|java}}, shields with patterns can also be obtained using the same commands as banners, except <code>banner</code> has to be replaced with <code>shield</code>.

=== Enchantments ===
A shield can receive the following [[enchantments]], but only through an [[anvil]]:

{| class="wikitable col-2-center"
|+
!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=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|subtitle=Shield blocks
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|translationkey=subtitles.item.shield.block
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|subtitle=Gear equips
|source=player
|description=When a shield is placed in the offhand slot
|id=item.armor.equip_generic
|translationkey=subtitles.item.armor.equip
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a shield's durability is exhausted
|id=item.shield.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=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|volume=0.7
|pitch=1.0}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|source=player
|description=When a shield is placed in the offhand slot<wbr>{{Upcoming|BE 1.20.30}}<wbr><ref group=sound>{{Bug|MCPE-168039}}</ref>
|id=armor.equip_generic
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a shield'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=Shield
|spritetype=item
|nameid=shield
|form=item
|translationkey=item.minecraft.shield, item.minecraft.shield.white, item.minecraft.shield.orange, item.minecraft.shield.magenta, item.minecraft.shield.light_blue, item.minecraft.shield.yellow, item.minecraft.shield.lime, item.minecraft.shield.pink, item.minecraft.shield.gray, item.minecraft.shield.light_gray, item.minecraft.shield.cyan, item.minecraft.shield.purple, item.minecraft.shield.blue, item.minecraft.shield.brown, item.minecraft.shield.green, item.minecraft.shield.red, item.minecraft.shield.black
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Shield
|spritetype=item
|nameid=shield
|id=355
|form=item
|translationkey=item.shield.name, item.shield.white.name, item.shield.orange.name, item.shield.magenta.name, item.shield.lightBlue.name, item.shield.yellow.name, item.shield.lime.name, item.shield.pink.name, item.shield.gray.name, item.shield.silver.name, item.shield.cyan.name, item.shield.purple.name, item.shield.blue.name, item.shield.brown.name, item.shield.green.name, item.shield.red.name, item.shield.black.name
|foot=1}}

== Advancements ==
{{load advancements|Not Today}}

== History ==
{{History||July 10, 2011|link=http://minetimes.wordpress.com/2011/07/10/interview-mit-jeb-ihr-konntet-die-fragen-stellen/|During an interview, [[Jeb]] says that "shields for the left arm" might be added.}}
{{History|java}}
{{History||1.9|snap=15w33c|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Added shields.
|Shields replace the [[blocking]] functionality of [[sword]]s, although blocking more [[damage]].
|The current [[crafting]] recipe of shields includes [[wool]], producing 16 possible colored shields. There currently isn't a blank, uncolored shield.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Matching Wool |B1=Any Planks
|A2=Matching Wool |B2=Any Planks |C2=Iron Ingot
|A3=Matching Wool |B3=Any Planks
|Output=Matching Shield
|ignoreusage=1
}}
{{!}}}
|Any of the colored base shields can be [[crafting|crafted]] with a [[banner]] of the same base color, to produce a patterned shield.
}}
{{History|||snap=15w34c|When an attack is blocked by a shield, the attacker now may be knocked back.
|Being attacked with an [[axe]] now may disable shield use for 5 seconds.}}
{{History|||snap=15w37a|The [[crafting]] recipe of shields has been changed to 6 [[planks]] and 1 [[iron ingot]].
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Any Planks |B1=Iron Ingot |C1=Any Planks
|A2=Any Planks |B2=Any Planks |C2=Any Planks
|B3=Any Planks
|Output=Shield
|ignoreusage=1
}}
{{!}}}
|[[File:Shield JE1.png|22px]] Crafting a shield now produces a base wooden shield that can be crafted together with any [[banner]].
|The cooldown of shields has been reduced from 0.5s to 0.25s.
|Blocking with shields now prevents some side effects.{{verify}}
|[[Arrow]]s now ricochet off shields.}}
{{History|||snap=15w44a|Shields can now be repaired by combining with other shields. This removes any [[banner]] that had been applied.}}
{{History|||snap=15w45a|Crafting a banner onto a shield now consumes the banner.}}
{{History|||snap=15w47b|Added shield blocking [[sound]]s.}}
{{History|||snap=16w07a|Added more variation of shield blocking sounds.}}
{{History|||snap=pre1|The [[durability]] of shields has been increased from 181 to 337.}}
{{History||1.10|snap=16w21a|Shields can now be equipped by [[dispenser]]s.}}
{{History||1.11|snap=16w33a|[[Crafting]] a shield with a banner no longer changes the durability, nor does it remove [[enchanting|enchantments]] from it.}}
{{History|||snap=16w35a|Shields now block 100% of [[damage]]/[[knockback]]/debuffs dealt in melee combat.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 442.}}
{{History||1.13.2|snap=release|Shields now properly block attacks when the player is facing down.<ref>{{bug|MC-92019|||Fixed}}</ref>}}
{{History||1.14|snap=18w43a|[[File:Shield JE2 BE1.png|22px]] The texture of shields has been changed.
|Shields no longer knockback attackers when they block due to a bug with rework of the blocking mechanic with the introduction of the ravager.<ref>{{bug|MC-147694}}</ref>}}
{{History|||snap=19w11a|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.14.3|snap=Pre-Release 3|Shields blocking flaming [[arrow]]s no longer put the [[player]] on [[fire]].}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft shields.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft shields.}}
{{History||1.19.3|snap=22w43a|Shields can now properly block all explosions.}}
{{History||1.19.4|snap=23w06a|A sound is now played when a shield is placed into the offhand slot.}}

{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|Critical hits now bypass shields.
|The warm-up delay has been removed from shields.
|When in the off-hand, shields now activate when [[sneaking]].}}
{{History|||snap=Combat Test 2|Shields now protect against critical attacks again.
|Shields can only be activated when the weapon is charged to 200%.}}
{{History|||snap=Combat Test 3|A "Shield Indicator" option that displays when the shield is active, similar to the attack indicator, has been added.
|An option to hide shields when active has been added.
|The arc of available protection of shields has been decreased to 100 degrees instead of 180 degrees.}}
{{History|||snap=Combat Test 4|An option to disable shields being activated by pressing {{ctrl|crouch}} has been added.
|The option to hide the shield has been removed.}}
{{History|||snap=Combat Test 6|Shields now protect up to 5 [[damage]] for melee attacks (still 100% against projectiles).
|Shields activate instantly regardless if the weapon is charged, similar to Combat test 1.
|Shields now recover faster after an attack.}}
{{History|||snap=Combat Test 7c|Shields now add a 50% knockback resistance when active.
|Shields now protect against 100% [[explosions|explosion]] damage.}}
{{History|||snap=Combat Test 8c|The knockback calculations for shields have been fixed.{{Info needed}}
|Crouch-shielding while jumping has been disabled.
|Shields with [[banner]]s are now temporarily stronger than normal shields (10 absorption instead of 5, and better knockback resistance) to test different shield types.}}

{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Shield JE2 BE1.png|22px]] Added shields.
|Shields cannot be customized with [[banner]]s.
|Shields are activated by [[sneaking|crouching]] or mounting [[mob]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.16.210|snap=beta 1.16.210.51|Now grants partial knockback protection from the [[goat]] ram attack.}}
{{History||1.16.220|snap=beta 1.16.220.50|[[Mob]]s that pick up shields now place them to their off-hand.}}
{{History||1.18.30|snap=beta 1.18.30.26|Being attacked with an [[axe]] now may disable shield use. This was not mentioned in the official changelog.<ref>{{tweet|kingbdogz|1504505321884196872|We missed a change in recent changelogs for the Bedrock beta that you may like - we have now made a parity fix that makes shields get disabled for 5 seconds when attacked by an Axe-wielding mob or player. We will make sure to list this properly in the next beta :)|March 17, 2022}}</ref>}}
{{History||1.20.0|snap=beta 1.20.0.20|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Shields can now be customized using a banner.}}

{{History|PS4}}
{{History||1.90|[[File:Shield JE1.png|22px]] Added shields.
|Shields do not have [[banner]] application features.}}
{{History|foot}}

== Issues ==
{{issue list|-wither}}

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

=== Screenshots ===
<gallery>
JebShield.png|One of the first images of shields. [[Jeb]] wearing diamond armor while holding a creeper-emblazoned shield during [[MineCon]] 2015.
Jeb Crafting Shield.png|Jeb crafting a shield.
Player with Shield.png|Player holding the default shield.
Shield Block.png|A player blocking with a shield.
ShieldFirstPerson.png|Blocking with a shield as seen in first person.
Enchanted Shield (item).gif|An enchanted shield as seen in the [[inventory]].
-ominous- shield.png|A shield with the [[ominous banner]] on it as seen in the inventory.
Kai-Shield.jpg|An image of [[Kai]] wielding a banner with a shield, used to announce the feature on [[Bedrock Edition]].
Bedrock-Shields.jpg
</gallery>

== References ==
{{reflist}}

== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--shield Taking Inventory: Shield] – Minecraft.net on July 25, 2019

{{Items}}

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

[[de:Schild (Kampf)]]
[[fr:Bouclier]]
[[it:Scudo]]
[[ja:盾]]
[[ko:방패]]
[[nl:Schild]]
[[pl:Tarcza]]
[[pt:Escudo]]
[[ru:Щит]]
[[th:โล่]]
[[zh:盾牌]]</li></ul>
21w06aCanyons can no longer generate underwater in oceans.
21w15aCanyons can once again generate underwater in oceans.
1.18
{{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>[[Bottle of Entity|Bottle of Entity]]<br/>{{joke feature}}
{{exclusive|java}}
{{WIP}}
{{see also|Potion|Splash Potion}}
{{Item
|image=Bottle of Entity.png
|image2=Splash Bottle of Entity.png
|image3=Bottle of Void.png
|stackable= No
}}

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

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

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

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

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

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

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

{{items}}
{{Jokes}}

[[ja:Bottle of Entity]]
[[pt:Frasco de entidade]]
[[Category:Joke items]]</li></ul>
Experimental Snapshot 1Canyons can no longer generate underwater in oceans.
experimental snapshot 6Canyons can once again generate underwater in oceans.
Bedrock Edition
1.2.0
{{Extension DPL}}<ul><li>[[Black Dye|Black Dye]]<br/>{{Item
| image = Black Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Black dye''' is a [[Dye#Primary|primary color dye]] similar to an [[ink sac]].

== Obtaining ==

=== Trading ===
[[Wandering trader]]s have a chance to [[trading|trade]] 3 black dyes for 1 [[emerald]].{{only|java}}

=== Crafting ===
{{Crafting
  |head=1
  |showname=0
  |Ink Sac
  |Output=Black Dye
  |type=Material
}}
{{Crafting
  |Wither Rose
  |Output=Black Dye
  |type=Material
  |foot=1
}}

== Usage  ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===

Apprentice-level Shepherd villagers have a 20%{{only|bedrock}} or {{frac|2|7}}{{only|java}} chance to buy 12 black dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Black Dye
|spritetype=item
|nameid=black_dye
|aliasid=dye / 16
|id=395
|form=item
|translationkey=item.dye.black_new.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.14|snap=18w43a|[[File:Black Dye JE1 BE1.png|32px]] Added black dye.}}
{{History|||snap=18w44a|Black dyes now can changed the text color on the [[sign]]s to black.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell black dyes.}}
{{History|||snap=19w11a|Black dyes can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.15|snap=Pre-release 1|Black dye can now be used to craft [[prismarine|dark prismarine]], just like [[Bedrock Edition]].}}
{{History||1.17|snap=20w45a|Black dyes can now used to craft newly added [[black candle]]s.}}
{{History|||snap=21w19a|Black dyes can no longer used to craft black candles.}}
{{History|||snap=Pre-release 1|Black dyes can once again used to craft black candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Black dyes now can change the text color on [[hanging sign]]s to black.}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Black Dye JE1 BE1.png|32px]] Added black dye.}}
{{History||1.11.0|snap=beta 1.11.0.4|Black dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{history||1.13.0|snap=beta 1.13.0.9|Black dye can now be [[crafting|crafted]] from [[flower|wither roses]].}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of black dye has been changed from <code>dye/16</code> to <code>black_dye</code>.}}

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

== Issues ==

{{issue list}}

{{Items}}

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

[[de:Schwarzer Farbstoff]]
[[es:Tinte negro]]
[[fr:Teinture noire]]
[[ja:黒色の染料]]
[[ko:검은색 염료]]
[[pl:Czarny barwnik]]
[[pt:Corante preto]]
[[th:สีย้อมสีดำ]]
[[zh:黑色染料]]</li><li>[[Longer String|Longer String]]<br/>{{stub}}
{{Joke feature}}
{{exclusive|java}}
{{item
| image = Longer String.png
| rarity=Common
| renewable=Yes
| stackable=Yes (64)
}}
'''Longer string''' is a joke item from [[Java Edition 23w13a_or_b]].

==Obtaining==
===Crafting===
{{Crafting
|A1= String |B1= String
|Output= Longer String
|shapeless= 1
|ignoreusage=1
}}

==Data values==
===ID===
{{edition|java}}:{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Longer String
|spritetype=item
|nameid=string2
|form=item|foot=1}}
==History==
{{History|java}}
{{History||23w13a_or_b|[[File:Longer String.png|32px]] Added longer string.}}
{{History|foot}}

{{items}}
{{Jokes}}
[[Category:Joke items]]

[[ja:Longer String]]
[[pt:Linha mais comprida]]</li></ul>
beta 1.2.0.2Added canyons.
1.4.0
  •  tag: Parent Tag
    •  Trim: Properties of Armor Trim.
      •  material: The material which decides the color of armor trim.
      •  pattern: The pattern of armor trim.


Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History

Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History

Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History

Template loop detected: Template:History Template loop detected: Template:History Template loop detected: Template:History

Armor durability from Indev until late Beta
Material Helmet Chestplate Leggings Boots
Leather 33 48 45 39
Golden 66 96 90 78
Chainmail 66 96 90 78

Iron

132 192 180 156
Diamond 264 384 360 312
beta 1.2.14.2Canyons can now generate underwater.

Issues[]

Issues relating to "Canyon" or "Ravine" are maintained on the bug tracker. Report issues there.

Trivia[]

  • In Bedrock Edition the seed 1669320484, as well as any seed calculated from 4294967296 × n + 1669320484, generates a huge canyon extending endlessly from southwest to northeast at coordinate X=−1269, Z=0, shaped by countless identical connected north-south canyons. There are other lines of canyons parallel to this one, but few of them are visible aboveground or have the canyons connected. This seed also generates parallel lines of endless dungeons underground. As of 1.18, nearly all endless canyons are underground.
  • It is relatively-common to find up to around half a dozen canyons intersecting close even to where they're first found (including vertically, often perpendicularly). So if one finds one, one may find more, soon-enough.

Gallery[]

References[]

  1. "Minecraft Snapshot 21w06a" – Minecraft.net, February 10, 2021
Advertisement