Minecraft Wiki
Advertisement

For zombified variant, see Zombie Pigman, [[:passive Overworld pig mob|passive Overworld pig mob]], Pig, and [[:hostile pig-like Nether mob|hostile pig-like Nether mob]].
Crafting Table
This article describes content that may be included in a future update. 
This content has appeared in development versions, but the full update containing it has not been released yet.

Piglins are neutral mobs that spawn in the Nether. They are equipped with crossbows or golden swords. While they are normally hostile toward the player, they become neutral if the player wears golden armor. The player is capable of bartering with them.

Spawning

Groups of 1–3 piglins in crimson forests, bastions and uncommonly in the nether wastes biomes. 5% spawn as babies.

Adult piglins spawn with either golden swords or crossbows and sometimes wearing golden armor. Baby piglins spawn without any equipment.

Piglins do not despawn in peaceful mode nor spawn on magma blocks.

Drops

Piglins have an 8.5% chance of dropping their naturally-spawned equipment and drop it with random durability. Each level of Looting increases this chance by 1%.

Any picked-up items always drop, without changing the durability.

Java Edition

A piglin that is hit while inspecting a gold ingot during bartering puts the ingot in its inventory. This gold ingot is dropped upon death. If killed in one hit while inspecting, the gold has the same chance to drop as any other held item.

Naturally-spawned equipment

Experience

Adult piglins drop 5 experience and an extra 1–3 experience per equipment if killed by a player or tamed wolf.

Baby piglins drop 1 and an extra 1–2 per equipment if killed by a player or tamed wolf.

Behavior

Baby piglins play with baby hoglins, running with them and mounting them. In Bedrock Edition, only 10% of baby piglins can mount baby hoglins. In Java Edition, any piglin can, and up to 3 piglins stacked on top of each other may ride a baby hoglin.

Piglins that are not currently attacking retreat from zombified piglins, zoglins, soul fire, soul fire torches, soul fire lanterns, and soul campfires.

Piglins cannot swim in water and will drown instead.

Despite being a Nether mob, piglins are not naturally immune to fire damage.

Piglins are capable of opening doors.

Attacking

Baby piglins are passive and adults hostile. If a player is wearing at least one piece of gold armor, they become neutral. Piglins are provoked when players attack them, break or open a chest, trapped chest, ender chest, barrel, or a shulker box near them. They are also provoked by a player breaking blocks of gold, gold ore, gilded blackstone and nether gold ore.

Piglins can detect the breaking and opening of blocks within a range of 16 blocks in a straight line from the player (This can be altered with invisibility effect). The block interacted with does not require a line of sight to anger the Piglins.

Adult piglins attack wither skeletons and withers. Additionally, they also attack adult hoglins, but keep a distance of 6 blocks if outnumbered. In Bedrock, after defeating a hoglin, there is a 17 chance for piglins to do a victory dance.

Adult piglins group together within radius 32 blocks and attack in hordes like zombified piglins.

When attacking with a crossbow, piglins shoot arrows every 2 seconds. In Java Edition, they walk backwards (stopping if at the edge of a drop) as soon as the player os close. Unlike bow-armed mobs, they do not strafe from left to right while shooting. Piglins with swords and other equipable items rush at the player.

Iron golems attack both adult and baby piglins; adults do not attack an iron golem until it attacks first.

The item pickup affinity of adult piglins ranks over their want to attack, i.e, they stop to pickup items made of gold ingots even when in their provoked state. Only items that piglins inspect have this effect. The bartering mechanism works when the piglin is provoked. After inspecting and putting away the item, the piglin returns to its provoked state and continues to seek and attack the player. However, if it picks up four items in a row, it returns to its unprovoked state.

Bartering

Main article: Bartering
Not to be confused with Trading.
Minecraft Bartering Guide for Java Edition 1.16.2 to 1.18

A reference table of Piglin Bartering as of 1.16.2 and above. Bartered items may differ in Bedrock Edition.

Bartering is an action the player can perform with piglins to obtain various items.

Mechanics

<onlyinclude>To barter with a piglin, either throw by dropping a gold ingot near an adult piglin or use a gold ingot on it. After the piglin takes the gold ingot and examines it for six seconds in Java Edition or eight seconds in Bedrock Edition[1], it tosses a random item to the player. Piglin brutes ignore gold ingots. Baby piglins take the ingot without giving anything in return, instead holding the ingot, which is dropped when killed.

Piglins pick up many other items that are made of gold; however, ingots are the only items that piglins accept for bartering. Baby piglins are incapable of bartering and treat gold ingots like any other gold items.

Hitting a piglin causes it to "confiscate" the ingot; the piglin does not complete the barter. It cannot be bartered with again unless it puts another item in its inventory. Piglins who are killed in one hit before they finish examining always drop the ingot.

When a piglin is admiring a gold ingot, it can still be angered by the player breaking a container or a gold-related block nearby, although its behavior differs depending on the game edition. In Java Edition, the piglin finishes the barter on the original schedule, and only starts attacking the player once the barter finishes. In Bedrock Edition, the piglin immediately finishes the barter and starts attacking the player,[2] leading to a bartering transaction much shorter than the default 8 seconds.[3] This allows piglins in Bedrock Edition to barter rapidly when gold-related blocks are repeatedly broken nearby, or when a gold-related block is repeatedly pushed and pulled by pistons.

Piglin Admiring Item

A piglin looking at a gold ingot.

Bartering is controlled by the loot table minecraft:gameplay/piglin_bartering. If the game rule mobGriefing is false, piglins only barter when the player uses a gold ingot on them.

If a piglin is zombified into a zombified piglin before the bartering is complete, the newly-zombified piglin drops the gold ingot.

The player can only barter with piglins, not piglin brutes or zombified piglins, even if the zombified piglin was a piglin that was zombified in the Overworld or the End.

When a piglin is admiring a gold ingot while bartering, it does not run away from nearby zoglins or nearby zombified piglins.

Items bartered

The item the piglin throws may be one of the following:

Bartering items
Item given Quantity Chance Ingots needed
per item (average)
Enchanted Book
with Soul Speed (random level)
1 5459
(~1.09%)
91.8
Iron Boots
with Soul Speed (random level)
8459
(~1.74%)
57.375
Splash Potion of Fire Resistance
Potion of Fire Resistance
Water Bottle 10459
(~2.18%)
45.9
Iron Nugget 10–36 1.996
Ender Pearl 2–4 15.3
String 3–9 20459
(~4.36%)
3.825
Nether Quartz 5–12 2.7
Obsidian 1 40459
(~8.71%)
11.475
Crying Obsidian 1–3 5.7375
Fire Charge 1 11.475
Leather 2–4 3.825
Soul Sand 2–8 2.295
Nether Brick
Spectral Arrow[JE only]
Arrow[BE only]
6–12 1.275
Gravel 8–16 0.96
Blackstone

Bartering is the only renewable source of nether quartz, crying obsidian, soul sand, nether brick‌[JE only], gravel, blackstone, as well as the Soul Speed enchantment.

History

Java Edition
1.16
{{Extension DPL}}<ul><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Calculating signal strength from items

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

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

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

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

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

;Calculating items from signal strength

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

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

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

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

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

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

;{{BlockLink|Cake}}

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

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

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

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

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

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

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

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

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

;{{BlockLink|End Portal Frame}}

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

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

;{{EntityLink|Item Frame}}

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

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

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

;{{BlockLink|Jukebox}}

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

;{{BlockLink|Lectern}}

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

;{{BlockLink|Respawn Anchor}}

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

;{{BlockLink|Sculk Sensor}}

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

;{{BlockLink|Chiseled Bookshelf}}

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

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

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

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li><li>[[:Category:Food|Category:Food]]<br/>Foods in Minecraft.

[[Category:Items]]

[[cs:Kategorie:Potraviny]]
[[fr:Catégorie:Nourriture]]
[[hu:Kategória:Ételek]]
[[zh:Category:食物]]</li></ul></nowiki>
20w07aAdded bartering.
20w09aSoul sand, mushrooms, crimson fungi, flint, rotten flesh, and raw porkchops have been removed from the possible barters.
Crying obsidian, string, Fire Resistance potions and splash potions, and netherite hoes have been added to the possible barters.
Barter chances have been tweaked.
Due to a bug, all barters give stacks of 1–5 items.[4]
20w10aBarters now give the correct amounts of items.
Warped nylium, warped fungus, and shroomlights have been removed from the possible barters.
Iron nuggets have been added to the list of barters and soul sand has been re-added.
Barter chances have been tweaked.
20w11aEnchanted books and iron boots with Soul Speed have been added to the possible barters.
20w13aItems enchanted with Soul Speed are now slightly more common.
20w20aNetherite hoes can no longer be obtained through bartering.
1.16.2
{{Extension DPL}}<ul><li>[[Totem of Undying|Totem of Undying]]<br/>{{redirect|Totem}}
{{Item
| image = Totem_of_Undying_JE2_BE2.png
| renewable = Yes
| stackable = No
| rarity = Uncommon
|effects=: {{EffectLink|Absorption}} II (0:05)
: {{EffectLink|Regeneration}} II (0:45){{only|java|short=yes}}/ II (0:40){{only|bedrock|short=yes}}
: {{EffectLink|Fire Resistance}} I (0:40)
}}
A '''totem of undying''' is an uncommon [[combat]] item that can save holders from death. It is dropped by [[Evoker|evokers]], which spawn in [[woodland mansion]]s and [[raid]]s.

== Obtaining ==
=== Mob loot ===
Evokers always drop one totem of undying upon death. The drop rate is not affected by [[Looting]].

== Usage ==
[[File:Totem of Undying Animation.gif|alt=The totem animation in Java Edition.|thumb|Animation of the totem activating {{in|java}}.]]
[[File:Totem of Undying Bedrock Animation.gif|alt=The totem animation in Bedrock Edition.|thumb|Animation of the totem activating {{in|bedrock}}.]]
If the [[player]] is holding a totem of undying in their [[off-hand]] or main-hand slot and receives otherwise fatal [[damage]], the totem saves the player from [[death]]. The totem of undying must be in the player's hand (main hand or offhand) for it to work—it does not work if it is in the [[Heads-up display#Hotbar|hotbar]], unless selected. Any [[mob]] that can hold a totem of undying (in a hand or in the mouth) can use it while holding it.{{only|JE}} The totem can be used only once; it disappears after use. It does not save the player from death caused by [[void]] damage, the {{cmd|kill}} [[command]]s or even a [[tipped arrow]] with [[Instant Damage|harming]] effect damage.<ref>{{bug|MC-206307}}</ref>

== Effect ==
When activated, the totem of undying restores {{hp|1}}, removes all existing [[status effect]]s, then grants 40{{only|bedrock|short=1}} or 45{{only|java|short=1}} seconds<ref>{{bug|MCPE-90716}}</ref> of [[Regeneration]] II, 40 seconds of [[Fire Resistance]] I and 5 seconds of [[Absorption]] II. An animation shows the totem of undying appearing to hover in front of the [[player]]'s screen, similar to the animation seen when a player receives the [[Bad Omen]] or [[Hero of the Village]] effect{{only|bedrock|short=1}} or encounters an [[elder guardian]]. When killed by an [[Instant Damage]] tipped [[arrow]], the arrow's instant damage takes effect after the totem has been activated.

The totem of undying also works in [[Hardcore]] mode.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Totem of Undying.ogg
|subtitle=Totem activates
|source=dependent
|description=When something dies, using a totem of undying
|id=item.totem.use
|translationkey=subtitles.item.totem.use
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Totem of Undying.ogg
|source=player
|description=When something dies, using a totem of undying
|id=random.totem
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Totem of Undying
|spritetype=item
|nameid=totem_of_undying
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Totem of Undying
|spritetype=item
|nameid=totem_of_undying
|aliasid=totem
|id=568
|form=item
|translationkey=item.totem.name
|foot=1}}

== Achievements ==
{{load achievements|Cheating Death}}

== Advancements ==
{{load advancements|Postmortal}}

== History ==
{{History||2016|[[File:Totem of Undying (pre-release).png|32px]] An early version of the totem of undying was seen during Minecon shortly before its reveal.}}
{{History|java}}
{{History||1.11|snap=16w39a|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History||1.11.1|snap=16w50a|The ID name has now been changed from <code>totem</code> to <code>totem_of_undying</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 449.}}
{{History||1.14|snap=18w43a|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History|||snap=18w47a|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History||1.16.2|snap=20w28a|The totem of undying now gives the [[Fire Resistance]] II status effect for 40 seconds.}}
{{History|||snap=20w29a|The level of Fire Resistance given by the totem of undying is now reduced from II to I.<ref>{{bug|MC-194220}}</ref>}}
{{History||1.20.2|snap=23w31a|Totems of undying now trigger [[sculk sensor]]s when they activate.<ref>{{bug|MC-261427||Sculk sensors and calibrated sculk sensors don't detect totem of undying activating|Fixed}}</ref>}}

{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History||1.16.100|snap=beta 1.16.100.54|The level of Fire Resistance given by the totem of undying is now reduced from II to I.<ref>{{bug|MCPE-52364}}</ref>}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of totems of undying has been changed from <code>totem</code> to <code>totem_of_undying</code>.}}

{{History|console}}
{{History||xbox=TU54|xbone=CU44|ps=1.52|wiiu=Patch 24|switch=1.0.4|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History||xbox=TU56|xbone=CU48|ps=1.55|wiiu=Patch 26|switch=1.0.6|The totem of undying now applies [[Fire Resistance]] II when used.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}

{{History|new3ds}}
{{History||1.9.19|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* If a [[mob]] holds a totem of undying, the mob also resurrects upon [[Health#Death|death]] and the [[sound]] effect plays. However, the animation does not appear.
* In the {{el|ds}}, the totem of undying can be put in any hotbar slot to activate it, due to the lack of an [[Dual wield|off-hand slot]] in that version.
* Being able to obtain totems of undying in [[raids]] without exploring [[woodland mansions]] is considered a "massive game play design flaw" by Mojang.<ref>{{ytl|YRPlscod34Y}}</ref>

== Gallery ==
<gallery>
File:Particle totem of undying.png|Screenshot of the totem of undying being used mid-animation after a [[drowned]] deals otherwise fatal damage to the player.
File:Totem of Undying activating.gif|Animation of the totem activating.
File:Totem animation in third person mode.png|The totem animation in third person mode.
</gallery>

== References ==
{{reflist}}

{{Items}}

[[de:Totem der Unsterblichkeit]]
[[fr:Totem d'immortalité]]
[[ja:不死のトーテム]]
[[ko:불사의 토템]]
[[lzh:保命符]]
[[nl:Totem der onsterfelijkheid]]
[[pl:Totem nieśmiertelności]]
[[pt:Totem da imortalidade]]
[[ru:Тотем бессмертия]]
[[th:Totem of Undying]]
[[zh:不死图腾]]
[[Category:Renewable resources]]</li><li>[[Sparkler|Sparkler]]<br/>{{About|the Education Edition exclusive item|the new melee weapon available from the ''Minecraft Dungeons'' anniversary event|MCD:Sparkler}}
{{Item
| image = <gallery>
Orange Sparkler.png | Orange
Blue Sparkler.png | Blue
Red Sparkler.png | Red
Purple Sparkler.png | Purple
Green Sparkler.png | Green
</gallery>
| image2 = <gallery>
Active Orange Sparkler.png | Active Orange
Active Blue Sparkler.png | Active Blue
Active Red Sparkler.png | Active Red
Active Purple Sparkler.png | Active Purple
Active Green Sparkler.png | Active Green
</gallery>
| renewable = No
| stackable = No
}}
{{education feature}}
{{exclusive|bedrock|education}}
A '''sparkler''' is a [[Chemistry Update|chemistry]]-related [[item]] that emits particles when lit.
Sparklers are available in orange, blue, red, purple, and green colors.

== Obtaining ==

=== Crafting ===
{{Crafting
|showdescription=1
|B1=Chloride |B2=Magnesium |B3=Stick
|Output=Sparkler
|description= Calcium Chloride: Orange<br>Cerium Chloride: Blue<br>Mercuric Chloride: Red<br>Potassium Chloride: Purple<br>Tungsten Chloride: Green<br>{{only|bedrock|education}}
|type=Miscellaneous
}}

== Usage ==

{{ctrl|Using}} a sparkler ignites it, causing its texture to change. When lit, the sparkler emits colored [[particles]]; the [[durability]] meter depletes while the sparkler is burning. Sparklers are one of the few [[item]]s that can be held in the [[off-hand]] {{in|be}}. Unlit sparklers have normal lighting like most items, while lit sparklers appear to glow when held in the player's hand, similarly to [[glow stick]]s.

When the [[player]] uses another item while a sparkler is lit, or holds the sparkler in the off-hand, the sparkler's durability stops depleting.

If the player has a lit sparkler in their [[inventory]] and goes into the [[water]], the sparkler is destroyed immediately. However, it does not get destroyed if dropped in water. It also cannot float.

Despite having durability, sparklers cannot be enchanted with [[Unbreaking]] or [[Mending]].

== Sounds ==
{{Sound table
|type=bedrock
|sound=Fuse.ogg
|source=sound
|description=While a sparkler is active
|id=sparkler.active
|volume=0.25
|pitch=0.8/1.2}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=While a sparkler is being lit
|id=random.fizz
|volume=1.0
|pitch=2.4/2.6
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Sparkler
|spritename=sparklers
|spritetype=item
|nameid=sparkler
|id=600
|form=item
|translationkey=item.sparkler.orange.name,item.sparkler.blue.name,item.sparkler.red.name,item.sparkler.purple.name,item.sparkler.green.name
|foot=1}}

== History ==
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Orange Sparkler BE1.png|32px]] [[File:Blue Sparkler BE1.png|32px]] [[File:Red Sparkler BE1.png|32px]] [[File:Purple Sparkler BE1.png|32px]] [[File:Green Sparkler BE1.png|32px]] <br>[[File:Active Orange Sparkler BE1.png|32px]] [[File:Active Blue Sparkler BE1.png|32px]] [[File:Active Red Sparkler BE1.png|32px]] [[File:Active Purple Sparkler BE1.png|32px]] [[File:Active Green Sparkler BE1.png|32px]] Added sparklers.}}

{{History|education}}
{{History||1.0.27|[[File:Orange Sparkler BE1.png|32px]] [[File:Blue Sparkler BE1.png|32px]] [[File:Red Sparkler BE1.png|32px]] [[File:Purple Sparkler BE1.png|32px]] [[File:Green Sparkler BE1.png|32px]] <br>[[File:Active Orange Sparkler BE1.png|32px]] [[File:Active Blue Sparkler BE1.png|32px]] [[File:Active Red Sparkler BE1.png|32px]] [[File:Active Purple Sparkler BE1.png|32px]] [[File:Active Green Sparkler BE1.png|32px]] Added sparklers.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==
* The formula for sparkler roughly works in real life. Magnesium itself burns white in air, while the metal salts add [[wikipedia:flame test|color to the flame]].

{{items}}
{{Education Edition}}

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

[[de:Wunderkerze]]
[[ja:手持ち花火]]
[[ko:스파클러]]
[[pl:Zimne ognie]]
[[pt:Vela-Faísca]]
[[zh:烟花棒]]</li></ul>
20w28aWater bottles, spectral arrows, and blackstone have been added to the possible barters.
Magma cream and glowstone dust have been removed from the possible barters.
Barter chances have been tweaked.
Many barters give fewer items.
Bedrock Edition
1.16.0
{{Extension DPL}}<ul><li>[[Brick|Brick]]<br/>{{about|the item|the crafted block|Bricks|other uses}}
{{Item
| image = [[File:Brick JE2 BE2.png|32px]]
| stackable = Yes (64)
| renewable = Yes 
}}

A '''brick''' is an item used to craft [[bricks|brick]] blocks, [[flower pot]]s, and [[decorated pot]]s.

== Obtaining ==

=== Smelting ===
A brick can be obtained by smelting a [[clay ball]].
{{Smelting
|Clay Ball
|Brick
|0,3
}}

=== Mining ===

When [[breaking]] a [[decorated pot]] with a tool without [[Silk Touch]] on the main hand, the decorated pot can drops 0-4 brick(s) depend on the material that the decorated pot make of.

=== Loot ===

{{LootChestItem|brick}}

=== Trading ===

Novice-level stone mason [[villager]]s sell 16{{only|bedrock}} or 10{{only|java}} bricks for one [[emerald]].

== Usage ==
Brick can be used to craft [[bricks]], [[flower pot]]s, and [[decorated pot]]s.
=== Crafting ingredient ===

{{crafting usage}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Brick
|spritetype=item
|nameid=brick
|id=383
|form=item
|foot=1}}

== History ==

{{History|java alpha}}
{{History||v1.0.11|[[File:Brick JE1 BE1.png|32px]] Added bricks as an item.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Bricks are now used for [[flower pot]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this item's numeral ID was 336.}}
{{History||1.14|snap=18w43a|[[File:Brick JE2 BE2.png|32px]] The texture of bricks has been changed.}}
{{History|||snap=19w11a|Bricks are now [[trading|sold]] by [[villager]]s of the new mason profession, making them [[renewable resource|renewable]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Bricks can now be used for crafting [[decorated pot]]s.|Bricks now drop when brushing [[suspicious sand]] in [[desert well]]s.|Bricks now drop when mining [[decorated pot]] with a tool on the main hand.}}
{{History||1.20|snap=23w12a|The probability for the brick to generate in the [[suspicious sand]] in [[desert well]] has been changed from 1/7 to 1/8.|Brick can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Brick no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; brick now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Brick JE1 BE1.png|32px]] Added bricks as an item. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.2|Bricks can now be obtained by smelting clay balls.
|Bricks are now used to craft [[brick block]]s.}}
{{History||v0.12.1|snap=build 1|Bricks are now used to craft [[flower pot]]s.}}
{{History||v0.16.0|snap=build 5|Added bricks to the [[Creative]] [[inventory]].<ref name="missing brick">{{Bug|MCPE-16556}}</ref>}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|16 bricks can now be obtained via trading with stone mason [[villager]]s for 1-2 [[emerald]]s.
|[[File:Brick JE2 BE2.png|32px]] The texture of bricks has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Trading has been changed; bricks sold by stone mason villagers now cost only one emerald.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Bricks now drop when brushing [[suspicious sand]] in [[desert well]]s and can be used to craft decorated pots.}}

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

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Cihla]]
[[de:Ziegel]]
[[es:Ladrillo]]
[[fr:Brique]]
[[hu:Tégla]]
[[it:Mattone]]
[[ja:レンガ]]
[[ko:벽돌 (아이템)]]
[[nl:Baksteen]]
[[pl:Cegła]]
[[pt:Tijolo]]
[[ru:Кирпич]]
[[th:อิฐ]]
[[uk:Цеглина]]
[[zh:红砖]]</li><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| durability = 
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br> 
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

=== Piglins ===
If a {{EntityLink|Piglin}} see a golden sword, it will set off to reach it, then stare at it for 120 — 160 ticks, putting it in their inventory, and continue to perform the action it was taking before being attracted by the golden sword.

== 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>
beta 1.16.0.51Added bartering.
beta 1.16.0.57Updated the loot table to match Java Edition 20w13a. Previously, right-clicking the piglin would give the player obsidian or flint and steel, while dropping gold onto the ground would result in a Nether wart block
Piglins now "inspect" the gold ingot before giving the player an item, as opposed to giving the item instantly.
1.16.100
{{Extension DPL}}<ul><li>[[Horse Armor|Horse Armor]]<br/>{{Item
| image = <gallery>
Leather Horse Armor.png | Leather 
Iron Horse Armor.png | Iron
Golden Horse Armor.png | Golden
Diamond Horse Armor.png | Diamond
</gallery>
| image2 = <gallery>
Leather Horse Armor (item).png|Leather
Iron Horse Armor (item).png|Iron
Golden Horse Armor (item).png|Golden
Diamond Horse Armor (item).png|Diamond
</gallery>
| extratext = View [[#Gallery|all renders]]
| renewable = 
* '''Leather''': Yes
* '''All others''': No
| stackable = No
}}

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

== Obtaining ==

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

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

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

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

==Usage==

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== Notes ==
{{Notelist}}

== References ==
{{Reflist}}

{{items}}

[[Category:Armor]]

[[de:Rossharnisch]]
[[es:Armadura para caballo]]
[[fr:Armure pour cheval]]
[[it:Bardatura]]
[[ja:馬鎧]]
[[ko:말 갑옷]]
[[nl:Paardenharnas]]
[[pl:Zbroja końska]]
[[pt:Armadura para cavalo]]
[[ru:Конская броня]]
[[uk:Кінські обладунки]]
[[zh:马铠]]</li><li>[[Pumpkin Pie|Pumpkin Pie]]<br/>{{redirect|Pie|the other craftable dessert|Cake|the terrain features|Pile}}
{{Item
| title = Pumpkin Pie
| image = Pumpkin Pie.png
| renewable = Yes
| heals = {{hunger|8}}
| stackable = Yes (64)
}}

'''Pumpkin pie''' is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==
{{see also
 | Tutorials/Pumpkin and melon farming |title1= Pumpkin and melon farming
 | Tutorials/Sugar Cane farming |title2= Sugar cane farming
 | Tutorials/Egg farming |title3= Egg farming
}}

=== Crafting ===

{{Crafting
|Pumpkin
|Sugar
|Egg
|Output= Pumpkin Pie
|type=Foodstuff
}}

=== Trading ===

Apprentice-level farmer [[villager]]s have a 50%{{only|bedrock}} or {{frac|2|3}}{{only|java}} chance to sell 4 pumpkin pies for an emerald as part of their trades.

{{in|java}}, farmer villagers throw pumpkin pies at players under the [[Hero of the Village]] effect.

=== Natural generation ===

{{LootChestItem|pumpkin-pie}}

== Usage ==

=== Food ===

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

To eat pumpkin pie, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|8}} [[hunger]] and 4.8 [[:en:Hunger#Mechanics|saturation]].

=== Composting ===
Placing pumpkin pie into a [[composter]] raises the compost level by 1.

==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=Pumpkin Pie
|spritetype=item
|nameid=pumpkin_pie
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pumpkin Pie
|spritetype=item
|nameid=pumpkin_pie
|id=284
|form=item
|foot=1}}

== Video ==

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

== History ==

{{History|java}}
{{History||September 11, 2012|link=http://twitter.com/jeb_/status/245503714167750656|The first screenshot of pumpkin pie was posted on [[Jens Bergensten|Jeb's]] Twitter.<ref>{{Tweet|jeb|245503714167750656}}</ref><ref>{{Tweet|jeb|245506498099298305}}</ref>}}
{{History||1.4.2|snap=12w37a|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pies.}}
{{History||1.8|snap=14w02a|Pumpkin pie can now be [[trading|bought]] from farmer [[villager]]s, at 2–3 pumpkin pies for 1 [[emerald]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 400.}}
{{History||1.14|snap=18w43a|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History|||snap=18w50a|Pumpkin pies now generate in chests in taiga [[village]] houses.}}
{{History|||snap=19w03a|Placing pumpkin pie into the new [[composter]] raises the compost level by 1.}}
{{History|||snap=19w13a|Farmer villagers now give pumpkin pies to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||v0.12.1|snap=build 1|Pumpkin pie now restores [[hunger]] instead of [[health]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Pumpkin pie can now be found in [[taiga]] and [[snowy taiga]] [[village]] house [[chest]]s.
|Pumpkin pie can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Farmer [[villager]]s now have a 50% chance to [[trading|sell]] 4 pumpkin pies for an [[emerald]].}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Pumpkin Pie JE2 BE2.png|32px]] The texture of pumpkin pie has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Pumpkin Pie JE1 BE1.png|32px]] Added pumpkin pie.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:Twitter Pumpkin Pie.png|The first screenshot of pumpkin pies, posted on Jeb's twitter.
</gallery>

== References ==

{{reflist}}


{{Items}}

[[cs:Dýňový koláč]]
[[de:Kürbiskuchen]]
[[es:Tarta de calabaza]]
[[fr:Tarte à la citrouille]]
[[it:Torta di zucca]]
[[ja:パンプキンパイ]]
[[ko:호박 파이]]
[[lzh:南瓜餅]]
[[nl:Pompoentaart]]
[[pl:Placek dyniowy]]
[[pt:Torta de abóbora]]
[[ru:Тыквенный пирог]]
[[zh:南瓜派]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul>
beta 1.16.100.54Updated the loot table to match Java Edition 1.16.2. Arrows are used in place of spectral arrows.

Issues

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

Trivia

  • Piglins sometimes pick up and equip the iron boots enchanted with Soul Speed that they have just offered while bartering. A player wanting to obtain the iron boots without killing the piglin can induce the piglin to discard the iron boots by offering a pair of golden boots.

See also

References

  1. MCPE-99448 — Piglins need 8 seconds to barter, while they only need 6 in java
  2. MCPE-94099 — Piglins get angry when a player destroys a chest or a gold-related item while admiring a gold item
  3. MCPE-91275 — Piglin can skip bartering animation when being distracted by other activities
  4. MC-173165

Picking up items

Any piglin can pick up and equip any gold related item, regardless of their ability to pick up other items. A piglin inspects any gold-related item for a moment after picking it up.

Piglins have eight hidden inventory slots in which they can stack items. When a piglin with a full inventory encounters another item, it picks up the item and then throws it on the floor after contemplating it, leading to a cycle of continuously picking up and discarding the item. Baby piglins attempt to pick up any item and can steal from players. Adult piglins can pick up any golden item and porkchops, but they don't actively seek out and contemplate porkchops and gold nuggets; instead, if either of those items is nearby, they instantly place it in their inventory. Piglins drop any of these items upon death aside from gold ingots, raw porkchops and cooked porkchops.

Like other mobs capable of picking up items, piglins pick up armor and weapons. However, unlike other mobs, they prefer items in the gold tier or armor material, and throw away stronger items to equip these.

Zombification

Piglin being zombified

A piglin turning into a zombified piglin.

When in the Overworld, piglins transform into zombified piglins after 15 seconds. When they transform, they retain their armor (but drop held items) and gain a golden sword. Upon transformation, the spawned zombified piglin has the Nausea effect for 10 seconds. In Bedrock Edition, piglins in the End also transform into zombified piglins.

Sounds

Java Edition:

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Piglin snorts??entity.piglin.ambientsubtitles.entity.piglin.ambient0.7??
Piglin snorts angrily??entity.piglin.angrysubtitles.entity.piglin.angry0.7??
Piglin celebrates??entity.piglin.celebratesubtitles.entity.piglin.celebrate0.8??
Piglin converts to Zombified Piglin??entity.piglin.converted_to_zombifiedsubtitles.entity.piglin.converted_to_zombified1.0??
Piglin hurts??entity.piglin.hurtsubtitles.entity.piglin.hurt0.7??
Piglin dies??entity.piglin.deathsubtitles.entity.piglin.death0.7-0.8??
Piglin retreats??entity.piglin.retreatsubtitles.entity.piglin.retreat0.7??
Piglin steps??entity.piglin.stepsubtitles.entity.piglin.step0.75??
Piglin snorts enviously??entity.piglin.jealoussubtitles.entity.piglin.jealous0.8??
Piglin admires item??entity.piglin.admiring_itemsubtitles.entity.piglin.admiring_item0.8-0.85??

Data values

ID

NameIdentifierTranslation key
Piglinpiglinentity.minecraft.piglin

Entity data

See also: Chunk format
  • Entity data
    • Tags common to all entities
    • Tags common to all mobs
    •  CannotHunt: 1 or 0 (true/false) – if true, the piglin does not attack hoglins. Set to true for piglins spawned as a part of bastion remnants.
    •  Inventory: Each compound tag in this list is an item in the piglin's inventory. It can hold a maximum of 8 items.
      • An item in the inventory, excluding the Slot tag.
        • Tags common to all items
    •  IsBaby: 1 or 0 (true/false) – true if the piglin is a baby. May not exist.
    •  IsImmuneToZombification: 1 or 0 (true/false) – if true, the piglin does not transform to a zombified piglin when in the Overworld.
    •  TimeInOverworld: The number of ticks that the piglin has existed in the Overworld; the piglin converts to a zombified piglin when this is greater than 300.

Note to editors: Piglins store hunts in the brain tag.

Advancements

Icon Advancement In-game description Parent Actual requirements (if different) Resource location
Advancement-plain-rawNot Today, Thank You
Deflect a projectile with a Shield Suit UpBlock any projectile with a shield.story/deflect_arrow
Advancement-plain-rawAdventure
Adventure, exploration and combat Kill any entity, or be killed by any entity.adventure/root
Advancement-plain-rawMonster Hunter
Kill any hostile monster AdventureKill one of these 34 mobs: Only the riders of the chicken jockeys and skeleton horsemen are counted in this advancement. Other mobs may be killed, but are ignored for this advancement.adventure/kill_a_mob
Advancement-fancy-rawMonsters Hunted
Kill one of every hostile monster Monster HunterKill each of these 34 mobs: Other mobs may be killed, but are ignored for this advancement. Only the riders of the chicken jockeys and skeleton horsemen are counted in this advancement.adventure/kill_all_mobs

History

Upcoming Java Edition
1.16
{{Extension DPL}}<ul><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><li>[[:Category:Combat|Category:Combat]]<br/>[[Category:Items]]

[[fr:Catégorie:Combat]]
[[zh:Category:武器]]</li></ul>
20w07aPiglin Baby Piglin Added piglins and baby piglins.
Piglin with Crossbow Piglins can hold crossbows.
Piglins can be converted into zombie pigmen in the Overworld.
The player can barter with Piglins (see Bartering/Before 20w09a)
20w09aPiglins now have an IsImmuneToZombification data value that, when set, prevents them from zombifying in the Overworld.
The loot table of items that can be bartered from piglins has been modified (see Bartering/Before 20w10a).
Baby Piglin Riding a Baby Hoglin Baby piglins can now ride on the back of baby hoglins.
20w10aThe loot table of items that can be bartered from piglins has been modified again (see Bartering/Before 20w11a).
20w11aEnchanted books and iron boots with Soul Speed have been added to the items that can be bartered from piglins.
20w12aFile:Hoglin Rider Tryglin.png Baby piglins can now ride on top of each other on a baby hoglin, up to three baby piglins can climb on at once.
20w14aNow avoid zoglins, the same way they avoid zombified piglins.
The baby piglins no longer has a weapon when it turns into a zombie.
The texture size has been changed from 128x64 to 64x64, and the layout of the parts of the ears has been changed.
20w16a They now spawn in Bastion Remnants.
Upcoming Bedrock Edition
1.16.0
{{Extension DPL}}<ul><li>[[Shovel|Shovel]]<br/>{{Item
| image = <gallery>
Wooden Shovel.png | Wooden
Stone Shovel.png | Stone
Iron Shovel.png | Iron
Golden Shovel.png | Golden
Diamond Shovel.png | Diamond
Netherite Shovel.png | Netherite
</gallery>
| rarity = Common
| renewable = '''Netherite''': No<br>'''All others''': Yes
| durability = 
* Wood: 59
* Stone: 131
* Iron: 250
* Golden: 32
* Diamond: 1561
* Netherite: 2031
| stackable = No
}}

'''Shovels''' are [[tool]]s used to hasten the process of breaking [[dirt]], [[sand]], [[gravel]] and other soil blocks, as well as to convert [[Dirt (disambiguation)|dirt]] blocks into [[Dirt Path|dirt paths]].

== Obtaining ==

=== Crafting ===
{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=[[Shovel]]s
  |B1= {Any Planks}; Iron Ingot; Gold Ingot; Diamond
  |B2= Stick
  |B3= Stick
|Output= Wooden Shovel; Iron Shovel; Golden Shovel; Diamond Shovel
|type= Tool
}}
{{Crafting
  |name=[[Stone Shovel]]
  |B1=Any stone-tier block
  |B2=Stick
  |B3=Stick
  |Output=Stone Shovel
  |description=Can use any variant of cobblestone
  |type=Tool
}}
{{Crafting
  |foot=1
  |ignoreusage=1
  |name=[[Shovel]]
  |ingredients=Damaged Matching [[Shovel]]
  |Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
  |Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
  |Output=Wooden Shovel; Stone Shovel; Iron Shovel; Golden Shovel; Diamond Shovel; Netherite Shovel
  |description= The durability of the two shovels is added together, plus an extra 5% durability.
  |type= Tool
}}

=== Upgrading ===
Like other diamond tools, a diamond shovel can be upgraded to a netherite shovel, although increased durability and resistance to fire/lava in item form are the only benefits. The shovel's performance as a digging tool or a weapon is unchanged by the upgrade.

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

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Wooden Shovel]] or<br>2x Damaged [[Stone Shovel]] or<br>2x Damaged [[Iron Shovel]] or<br>2x Damaged [[Golden Shovel]] or<br>2x Damaged [[Diamond Shovel]] or<br>2x Damaged [[Netherite Shovel]]
|Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
|Damaged Wooden Shovel; Damaged Stone Shovel; Damaged Iron Shovel; Damaged Golden Shovel; Damaged Diamond Shovel; Damaged Netherite Shovel
|Wooden Shovel; Stone Shovel; Iron Shovel; Golden Shovel; Diamond Shovel; Netherite Shovel
|description=The durability of the two shovels is added together, plus an extra 5% durability.
}}

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

=== Chest loot ===
On <code>ancient_city/city_center/city_center_2</code>, they generate a furnace with a wooden shovel inside of it.
{{LootChestItem|iron-shovel,level-enchanted-iron-shovel,random-enchanted-golden-shovel,diamond-shovel,level-enchanted-diamond-shovel,damaged-random-enchanted-diamond-shovel,damaged-random-enchanted-diamond-shovel-2}}

=== Mob loot ===

==== Equipment ====
{{Main|Drops#Equipped items}}

[[Zombie]]s and [[husk]]s have a 0.67% (3.33% in Hard [[difficulty]]) chance of spawning with an iron shovel. They have an 8.5% (9.5% with [[Looting]] I, 10.5% with Looting II and 11.5% with Looting III) chance of dropping that shovel if they are killed by the player. The dropped shovel is usually badly damaged, and may be enchanted: 0%–25% on Normal difficulty and 3.125%–25% on Hard difficulty, varying with [[regional difficulty]], and enchanted as if on an enchanting table at level 5–22.

==== Raids ====

Vindicators and pillagers that spawn from raids have a 4.1% chance(5.12% on hard) to drop a badly-damaged iron shovel that is sometimes enchanted with a random enchantment.{{only|bedrock}}

=== Trading ===

Novice-level toolsmith villagers have a 25% chance to sell stone shovels for one emerald, journeyman-level toolsmith villagers have a 25% chance to sell enchanted iron shovels for 2 emeralds, and expert-level toolsmith villagers have a 50% chance to sell enchanted diamond shovels for 5 emeralds as part of their trades.{{only|bedrock}}

Novice-level toolsmith villagers have a 40% chance to sell stone shovels for one emerald, journeyman-level tool smiths have a 40% chance to sell an enchanted iron shovel for 7-22 emeralds, and expert-level tool smiths have a {{frac|2|3}} chance to sell an enchanted diamond shovel for 11-27 emeralds.{{only|java}}

The enchantments are the same as the ones obtained from an [[enchanting table]] at levels 5–19.

=== Villager gifts ===

{{in|java}}, toolsmith [[villager]]s occasionally throw stone shovels at players with the [[Hero of the Village]] effect.

== Usage ==

=== Digging ===

A shovel can be used to break some materials faster. When breaking a block, it uses 1 durability. For blocks that break instantly, it uses 0 durability.

==== Durability ====

Each different tier of shovel has a different durability:

{| class="wikitable sortable"
! Material
! [[Durability]]
|-
| {{itemLink|Wooden Shovel|Wood|link=Shovel}}
| 59
|-
| {{itemLink|Stone Shovel|Stone|link=Shovel}}
| 131
|-
| {{itemLink|Iron Shovel|Iron|link=Shovel}}
| 250
|-
| {{itemLink|Diamond Shovel|Diamond|link=Shovel}}
| 1561
|-
| {{itemLink|Golden Shovel|Golden|link=Shovel}}
| 32
|-
| {{itemLink|Netherite Shovel|Netherite|link=Shovel}}
| 2031
|}

==== Speed ====

The following table summarizes the speed at which different quality shovels perform on different block types. Values with a red background indicate that no resource is dropped when the block is destroyed without a shovel. 
{{breaking row|Clay|simple=1}}
{{breaking row|Coarse Dirt}}
{{Breaking row|Concrete Powder}}
{{breaking row|Dirt}}
{{breaking row|Dirt Path}}
{{breaking row|Farmland}}
{{breaking row|Grass Block}}
{{breaking row|Gravel}}
{{breaking row|Mud}}
{{breaking row|Muddy Mangrove Roots}}
{{breaking row|Mycelium}}
{{breaking row|Podzol}}
{{breaking row|Red Sand}}
{{breaking row|Rooted Dirt}}
{{breaking row|Sand}}
{{breaking row|Snow|Wooden}}
{{breaking row|Snow Block|Wooden}}
{{breaking row|Soul Sand}}
{{breaking row|Soul Soil}}
{{breaking row|Suspicious Gravel}}
{{breaking row|Suspicious Sand|foot=1}}

=== Dirt paths ===

A shovel can be used to create a [[dirt path]] by {{control|using}} (not digging) the shovel on any one of the following blocks, losing one durability point:
* {{BlockLink|Grass Block}}
* {{BlockLink|Dirt}}
* {{BlockLink|Coarse Dirt}}
* {{BlockLink|Rooted Dirt}}
* {{BlockLink|Podzol}}
* {{BlockLink|Mycelium}}

=== Campfire ===

A shovel can be used to extinguish a [[campfire]].

===Weapon===

Hitting a mob while holding a shovel is a stronger attack than barehanded. Shovels take 2 damage when used as a weapon.

====Java Edition====

[[Category:Java Edition specific information]]
Shovels have an attack speed modifier of -3, meaning they take 1 second to [[Damage#Attack cooldown|recover]]. Shovels deal different damage based on the type:

{| class="wikitable" style="text-align:center" data-description="Attack damage"
!Shovel type
! Attack damage
! Attack speed
!Damage per<br>second (DPS)
|-
|{{ItemLink|Wooden Shovel}}<br>{{ItemLink|Golden Shovel}}||{{hp|2.5}}|| rowspan="5" |1||2.5
|-
|{{ItemLink|Stone Shovel}}||{{hp|3.5}}||3.5
|-
|{{ItemLink|Iron Shovel}}||{{hp|4.5}}||4.5
|-
|{{ItemLink|Diamond Shovel}}||{{hp|5.5}}||5.5
|-
|{{ItemLink|Netherite Shovel}}||{{hp|6.5}}||6.5
|}

====Bedrock Edition====

{{IN|bedrock}}, shovels always attack instantly and do the following damage:

{| class="wikitable" style="text-align:center" data-description="Attack damage"
! colspan="5" |Attack damage
|-
|{{ItemSprite|Wooden Shovel}}{{ItemSprite|Golden Shovel}} {{hp|2}}
|{{ItemSprite|Stone Shovel}} {{hp|3}}
|{{ItemSprite|Iron Shovel}} {{hp|4}}
|{{ItemSprite|Diamond Shovel}} {{hp|5}}
|{{ItemSprite|Netherite Shovel}} {{hp|6}}
|}

===Enchantments===

A shovel can receive, or be found in an [[End City]] with the following [[enchantment]]s:

{| class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Fortune]]<ref group="note" name="exc">Silk Touch and Fortune are mutually exclusive</ref>
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Silk Touch]]<ref group="note" name="exc" />
|I
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Efficiency]]
|V
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Enchanting Table}}{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|}

{{notelist}}

=== Fuel===

Wooden shovels can be used as a fuel in [[furnace]]s, smelting 1 item per shovel.

===Smelting ingredient===

{{Smelting|showname=1|Iron Shovel;Golden Shovel|Iron Nugget;Gold Nugget|0,1}}
===Piglins ===
If a {{EntityLink|Piglin}} see a golden shovel, it will set off to reach it, then stare at it for 120 — 160 ticks, putting it in their inventory, and continue to perform the action it was taking before being attracted by the golden shovel.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Shovel flatten1.ogg
|sound2=Shovel flatten2.ogg
|sound3=Shovel flatten3.ogg
|sound4=Shovel flatten4.ogg
|subtitle=Shovel flattens
|source=block
|description=When a shovel creates a [[dirt path]]
|id=item.shovel.flatten
|translationkey=subtitles.item.shovel.flatten
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a shovel'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=Grass hit1.ogg
|sound2=Grass hit2.ogg
|sound3=Grass hit3.ogg
|sound4=Grass hit4.ogg
|sound5=Grass hit5.ogg
|sound6=Grass hit6.ogg
|source=block
|description=When a shovel creates a dirt path <ref group=sound>{{Bug|MCPE-114390}}</ref>
|id=use.grass
|volume=1.0
|pitch=0.8}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a shovel'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 Shovel
|spritetype=item
|nameid=wooden_shovel
|form=item}}
{{ID table
|displayname=Stone Shovel
|spritetype=item
|nameid=stone_shovel
|form=item}}
{{ID table
|displayname=Iron Shovel
|spritetype=item
|nameid=iron_shovel
|form=item}}
{{ID table
|displayname=Diamond Shovel
|spritetype=item
|nameid=diamond_shovel
|form=item}}
{{ID table
|displayname=Golden Shovel
|spritetype=item
|nameid=golden_shovel
|form=item}}
{{ID table
|displayname=Netherite Shovel
|spritetype=item
|nameid=netherite_shovel
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wooden Shovel
|spritetype=item
|nameid=wooden_shovel
|id=309
|form=item}}
{{ID table
|displayname=Stone Shovel
|spritetype=item
|nameid=stone_shovel
|id=313
|form=item}}
{{ID table
|displayname=Iron Shovel
|spritetype=item
|nameid=iron_shovel
|id=296
|form=item}}
{{ID table
|displayname=Diamond Shovel
|spritetype=item
|nameid=diamond_shovel
|id=317
|form=item}}
{{ID table
|displayname=Golden Shovel
|spritetype=item
|nameid=golden_shovel
|id=323
|form=item}}
{{ID table
|displayname=Netherite Shovel
|spritetype=item
|nameid=netherite_shovel
|id=605
|form=item
|foot=1}}

==Achievements==

{{load achievements|MOAR Tools ;Oooh, shiny!}}

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

== Video==

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

==History==
{{Missing information|there are so many missing blocks that need shovel to break}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Iron Shovel JE1.png|32px]] Added iron shovels which are located in the player's [[inventory]].
|Shovels cannot be crafted yet and are not functional in this version.}}
{{History|||snap=20100110|Shovels are now functional and can now be used to gather [[material]]s like [[dirt]], [[sand]] and [[gravel]] 400% faster than by hand.}}
{{History|||snap=20100124|A complete [[tool]] set is no longer given to the [[player]] on starting a new world. Instead, there are multiple [[chest]]s in the later called "[[Indev House]]" containing a stack of most accessible [[blocks]]/[[items]] including [[tools]].}}
{{History|||snap=20100128|[[File:Wooden Shovel JE1 BE1.png|32px]] [[File:Stone Shovel JE1 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] [[Tools]] now have tiers. Shovels made from wood, stone, and diamond have been added.
|[[File:Iron Shovel JE2 BE1.png|32px]] The texture of iron shovels has been changed.
|A shovel held by the player is now rendered to appear more 3D.|They cannot be crafted yet, but have been added to the item chest in the Indev house.}}
{{History|||snap=20100129|Wood, stone, iron, and diamond shovels can now be [[craft]]ed.}}
{{History|||snap=20100130|[[File:Golden Shovel JE1.png|32px]] Shovels can now be made out of gold.}}
{{History|||snap=20100201-1|[[Tools]], including shovels, now take [[damage]] when being used.
|Better tools, including shovels, now last longer.}}
{{History||20100206|[[File:Golden Shovel JE2 BE1.png|32px]] The texture of golden shovels has been changed.}}
{{History|java alpha}}
{{History||1.0.5_01|Shovels are now used to get snowballs out of snow layers.}}
{{History|java beta}}
{{History||April 9, 2011|link=https://www.youtube.com/watch?v=qy882ILYJMM&t=154s|[[File:Iron Shovel (pre-release).png|32px]] Alternate iron shovel texture was shown in [[Mojang]] test video.}}
{{History|java}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft wooden shovels.}}
{{History||1.3.1|snap=12w18a|Wooden shovels can now be used as [[fuel]] in a [[furnace]].}}
{{History|||snap=12w21a|Blacksmith [[villager]]s now [[trading|sell]] diamond shovels for 7 [[emerald]]s, and iron shovels for 4–5 emeralds.}}
{{History||1.6.1|snap=13w21a|Instead of replacing the barehanded [[damage]] ({{hp|1}}), shovels now add their damage onto the barehanded damage, which results in all shovels doing {{hp|1}} more damage than before.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft wooden shovels.}}
{{History||1.8|snap=14w02a|Tool smith villagers now [[trading|sell]] enchanted iron shovels for 5–7 emeralds. The previous trades are now unavailable, making diamond shovels [[non-renewable resource|non-renewable]].}}
{{History||1.9|snap=15w31a|A shovel can now be used on a [[grass block]] to create [[grass path]] blocks.
|[[Enchanting|Enchanted]] iron or diamond shovels can now be found in [[end city]] chests.}}
{{History|||snap=15w34a|Shovels now use the "attack strength" combat mechanic meter. The time it takes for the meter to fill up for a shovel is 0.8 seconds.}}
{{History|||snap=15w34c|Shovels now do more [[damage]] and take longer to recover.}}
{{History|||snap=15w35a|The damage of shovels has been reduced.}}
{{History|||snap=15w41a|Wooden shovels are now used to craft [[boat]]s.}}
{{History|||snap=15w50a|The [[sound]] <code>item.shovel.flatten</code> has been added to shovels.}}
{{History|||snap=16w04a|Wooden shovels are no longer used to [[crafting|craft]] boats.}}
{{History||1.11.1|snap=16w50a|Golden and iron shovels now [[smelting|smelt]] down into one of their respective [[nugget]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 269, 273, 256, 277 and 284.}}
{{History||1.14|snap=18w43a|[[File:Wooden Shovel JE2 BE2.png|32px]] [[File:Stone Shovel JE2 BE2.png|32px]] [[File:Iron Shovel JE3 BE2.png|32px]] [[File:Golden Shovel JE3 BE2.png|32px]] [[File:Diamond Shovel JE2 BE2.png|32px]] The textures of all shovels have been changed.}}
{{History|||snap=18w50a|Iron shovels can now be found in chests in [[village]] toolsmith houses.}}
{{History|||snap=19w11a|Toolsmith [[villager]]s now [[trading|sell]] stone shovels and enchanted diamond shovels, making diamond shovels [[renewable resource|renewable]] again.}}
{{History|||snap=19w13a|Toolsmith villagers now give stone shovels to players under the [[Hero of the Village]] effect.}}
{{History||1.15|snap=19w37a|Shovels can now be used to extinguish [[campfire]]s.}}
{{History||1.16|snap=20w06a|[[File:Netherite Shovel JE1.png|32px]] Added netherite shovels.
|Netherite shovels are obtained by combining one diamond shovel and one netherite ingot in a crafting table.
|[[Crimson planks]] and [[warped planks]] can now be used to craft wooden shovels.}}
{{History|||snap=20w09a|[[File:Diamond Shovel JE3 BE3.png|32px]] The texture of diamond shovels has been changed.
|Shovels can now break soul soil quickly.}}
{{History|||snap=20w10a|[[File:Netherite Shovel JE2 BE1.png|32px]] The texture of netherite shovels has been changed.
|Netherite shovels can no longer be crafted.
|Netherite shovels are now obtained by combining one diamond shovel and one netherite ingot in a smithing table.}}
{{History|||snap=20w15a|Stone shovels can now be crafted using [[blackstone]].}}
{{History|||snap=20w16a|Netherite shovels now generate randomly enchanted in [[bastion remnants]] chests.
|Golden shovels now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds shovels now generate in place of netherite shovels in bastion remnant chests.}}
{{History||1.16.2|snap=20w30a|Increases the chance of finding randomly enchanted diamond shovels in bastion remnant chests.
|Unenchanted, undamaged diamond shovels can also be found in bastion remnant chests.}}
{{History||1.17|snap=21w08a|Stone shovels can now be crafted using [[cobbled deepslate]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft wooden shovels.}}
{{History|||snap=22w13a|Wooden shovels may now be found in [[ancient city]] [[furnace]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Upgrading diamond shovels to netherite shovels now requires the netherite upgrade [[smithing template]].}}
{{History||1.20|snap=23w14a|Shovel now breaks [[suspicious sand]] and [[suspicious gravel]] quickly.}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|The attack speed for all shovels has been increased to 2.|The [[damage]] for all shovels has been decreased by {{hp|1}}.}}


{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stone Shovel JE1 BE1.png|32px]] Added stone shovels.}}
{{History||v0.3.0|[[File:Wooden Shovel JE1 BE1.png|32px]] Added wooden shovels.
|Survival players no longer start out with an infinite durability stone shovel in the inventory.}}
{{History||v0.3.2|[[File:Iron Shovel JE2 BE1.png|32px]] [[File:Golden Shovel JE2 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] Added iron, gold, and diamond shovels.}}
{{History||v0.4.0|Removed stone shovels from the creative inventory.}}
{{History||v0.11.0|snap=build 1|Wooden shovels are now used to craft [[boat]]s.
|Iron shovels are now available in the [[creative]] [[inventory]].
|A shovel can now be used on a [[grass block]] to create [[grass path]] blocks.}}
{{History|||snap=build 11|Wooden, stone, golden, and diamond shovels are now available in the [[creative]] inventory.}}
{{History|||snap=build 12|All shovels have been removed from creative.}}
{{History|||snap=build 13|Shovel have been re-added to creative mode.}}
{{History||v0.12.1|snap=build 1|Shovels can now be [[enchanting|enchanted]].
|[[Zombie]]s now have a small chance to spawn holding an iron shovel.}}
{{History||v0.15.0|snap=build 1|Added [[husk]]s, which have a small chance to spawn holding an iron shovel.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron and diamond shovels can now be found inside [[end city]] chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Enchanted iron shovels are now [[trading|sold]] by toolsmith [[villager]]s for 4-5 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Iron and golden shovels are now [[smelting|smeltable]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Wooden Shovel JE2 BE2.png|32px]] [[File:Stone Shovel JE2 BE2.png|32px]] [[File:Iron Shovel JE3 BE2.png|32px]] [[File:Golden Shovel JE3 BE2.png|32px]] [[File:Diamond Shovel JE2 BE2.png|32px]] The textures of all shovels have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron shovels can now be found in [[village]] toolsmith houses.}}
{{History|||snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn in [[raid]]s can now drop iron shovels upon [[death]].
|[[Trading]] has been changed, toolsmith [[villager]]s now have a 25% chance to [[trading|sell]] enchanted iron shovels for 2 [[emerald]]s as part of their third tier trades.
|Stone shovels and [[enchanting|enchanted]] diamond shovels can now be [[trading|bought]] from toolsmith villagers.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Shovel JE2 BE1.png|32px]] Added netherite shovels.|Netherite shovels are obtained by combining one diamond shovel and one netherite ingot in a crafting table.
|[[File:Diamond Shovel JE3 BE3.png|32px]] The texture of diamond shovels has been changed.}}
{{History|||snap=beta 1.16.0.57|Netherite shovels can no longer be crafted.
|Netherite shovels are now obtained by combining one diamond shovel and one netherite ingot in a smithing table.
|Stone shovels can now be crafted using [[blackstone]].
|Netherite shovels now generate randomly enchanted in [[bastion remnants]] chests.
|Golden shovels now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds shovels now generate in place of netherite shovels in bastion remnant chests.}}
{{History||1.20.10|snap=beta 1.20.10.20|The [[wooden shovel]] in the crafting recipe has been removed for all boat types except the bamboo raft.}}
{{History|||snap=beta 1.20.10.21|The bamboo raft recipe no longer needs a wooden shovel.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wooden Shovel JE1 BE1.png|32px]] [[File:Stone Shovel JE1 BE1.png|32px]] [[File:Iron Shovel JE2 BE1.png|32px]] [[File:Golden Shovel JE2 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] Added shovels (all five types).}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Iron and golden shovels are now [[smelting|smeltable]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wooden Shovel JE2 BE2.png|32px]] [[File:Stone Shovel JE2 BE2.png|32px]] [[File:Iron Shovel JE3 BE2.png|32px]] [[File:Golden Shovel JE3 BE2.png|32px]] [[File:Diamond Shovel JE2 BE2.png|32px]] The textures of all shovels have been changed.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Wooden Shovel JE1 BE1.png|32px]] [[File:Stone Shovel JE1 BE1.png|32px]] [[File:Iron Shovel JE2 BE1.png|32px]] [[File:Golden Shovel JE2 BE1.png|32px]] [[File:Diamond Shovel JE1 BE1.png|32px]] Added shovels.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery==
<gallery>
Shovel JINX.jpg|Official shovel T-shirt made by JINX.
Stone Shovel SDGP.png|Stone shovel in the [[Super Duper Graphics Pack]].
Adventure Shovel.png|An "adventure shovel" that can break blocks in [[adventure mode]].
</gallery>

===Enchanted shovels===
<gallery>
Enchanted_Wooden_Shovel.gif
Enchanted_Stone_Shovel.gif
Enchanted_Iron_Shovel.gif
Enchanted_Golden_Shovel.gif
Enchanted_Diamond_Shovel.gif
Enchanted_Netherite_Shovel.gif
</gallery>

==References==
{{reflist}}

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

{{items}}

[[Category:Combat]]

[[cs:Lopata]]
[[de:Schaufel]]
[[es:Pala]]
[[fr:Pelle]]
[[hu:Ásó]]
[[ja:シャベル]]
[[ko:삽]]
[[nl:Schep]]
[[pl:Łopata]]
[[pt:Pá]]
[[ru:Лопата]]
[[uk:Лопата]]
[[zh:锹]]</li><li>[[Flower Pot|Flower Pot]]<br/>{{more images|The potted cherry sapling texture has been change in 1.19.4-pre2.}}
{{For|other uses|Pot}}
{{Block
| image = Flower Pot.png
| image2 = Potted Poppy.png
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}

A '''flower pot''' is a decorative [[block]] that can contain flowers, bamboo, saplings, cacti, mushrooms, fungi, and other reasonably small plants.

== Obtaining ==
=== Natural generation ===
Flower pots naturally generate in [[witch hut]]s where they contain a red [[mushroom]], the basement of [[igloo]]s where they contain a [[cactus]], and in [[woodland mansion]]s, where they contain birch [[sapling]]s, dark oak saplings, dandelions, poppies, blue orchids, alliums, azure bluets, red and white tulips, and oxeye daisies.

Flower pots containing a dandelion can be found in some [[plains]] and [[savanna]] [[village]] houses. Flower pots containing a cactus or a dead bush can be found in some [[desert]] village houses. Flower pots containing a spruce sapling can be found in [[taiga]] village mason houses. Flower pots containing a poppy can be found in taiga village churches.

=== Breaking ===
Flower pots can be mined instantly using any [[tool]] or without a tool.

A flower pot drops itself as an [[item]] (any [[plant]] or [[mushroom]] in it separately) when pushed by a [[piston]] or washed away with [[water]].

[[Lava]] can flow into the space of a flower pot, destroying it.

=== Chest loot ===
{{LootChestItem|flower-pot}}

=== Crafting ===
{{Crafting
|A2= Brick
|C2= Brick
|B3= Brick
|Output= Flower Pot
|type= Decoration block
}}

== Usage ==
A flower pot can be used to hold [[mushroom]]s, [[Fungus|fungi]], and various [[plant]]s. Plants that can be {{control|placed}} in a pot include any one block high [[flower]]s, [[sapling]]s, [[fern]]s, [[dead bush]]es, [[cacti]], [[bamboo]], [[azalea]]s, [[mangrove propagule]], and [[roots]].

Plants can be removed by using the interact button.

{{IN|je}}, flower pots can be placed on any block, or over [[air]].<ref>{{bug|MC-127036|||WAI}}</ref>

{{IN|be}}, they must be placed on top of a full-[[block]] top surface, or the top of a [[fence]], stone [[wall]], or [[hopper]]. They cannot be placed on [[slab]]s and [[stairs]] unless those blocks are upside-down. Pots may also be placed on an upward facing trapdoor. If the trapdoor is opened, the pot will break.

Flower pots are {{frac|3|8}} of a block high and can be stepped on. It is not possible to walk from the top of a flower pot onto a full sized block without jumping. It is possible to jump from a flower pot onto a fence.
 
The plant or fungus can be removed from the flower pot by pressing the {{control|use}} control. This places the item directly back into the player's inventory.<ref>{{bug|MC-169496|||WAI}}</ref>

They can be used to display cacti and wither roses without inheriting their damaging properties.<ref>{{bug|MC-2241|||WAI}}</ref><ref>{{bug|MC-138024|||WAI}}</ref>

Potted [[Fungus|warped fungus]] can be used to repel [[hoglin]]s.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Flower Pot
|spritetype=block
|nameid=flower_pot
|blocktags=flower_pots
|translationkey=block.minecraft.flower_pot,item.minecraft.flower_pot}}
{{ID table
|displayname=Potted Dandelion
|spritetype=block
|nameid=potted_dandelion
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Poppy
|spritetype=block
|nameid=potted_poppy
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Blue Orchid
|spritetype=block
|nameid=potted_blue_orchid
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Allium
|spritetype=block
|nameid=potted_allium
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Azure Bluet
|spritetype=block
|nameid=potted_azure_bluet
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Red Tulip
|spritetype=block
|nameid=potted_red_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Orange Tulip
|spritetype=block
|nameid=potted_orange_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted White Tulip
|spritetype=block
|nameid=potted_white_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Pink Tulip
|spritetype=block
|nameid=potted_pink_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Oxeye Daisy
|spritetype=block
|nameid=potted_oxeye_daisy
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Cornflower
|spritetype=block
|nameid=potted_cornflower
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Lily of the Valley
|spritetype=block
|nameid=potted_lily_of_the_valley
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Wither Rose
|spritetype=block
|nameid=potted_wither_rose
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Oak Sapling
|spritetype=block
|nameid=potted_oak_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Spruce Sapling
|spritetype=block
|nameid=potted_spruce_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Birch Sapling
|spritetype=block
|nameid=potted_birch_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Jungle Sapling
|spritetype=block
|nameid=potted_jungle_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Acacia Sapling
|spritetype=block
|nameid=potted_acacia_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Dark Oak Sapling
|spritetype=block
|nameid=potted_dark_oak_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Red Mushroom
|spritetype=block
|nameid=potted_red_mushroom
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Brown Mushroom
|spritetype=block
|nameid=potted_brown_mushroom
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Fern
|spritetype=block
|nameid=potted_fern
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Dead Bush
|spritetype=block
|nameid=potted_dead_bush
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Cactus
|spritetype=block
|nameid=potted_cactus
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Bamboo
|spritetype=block
|nameid=potted_bamboo
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Azalea
|spritetype=block
|nameid=potted_azalea_bush
|blocktags=flower_pots
|spritename=potted azalea bush
|form=block}}
{{ID table
|displayname=Potted Flowering Azalea
|spritetype=block
|nameid=potted_flowering_azalea_bush
|blocktags=flower_pots
|spritename=potted flowering azalea bush
|form=block}}
{{ID table
|displayname=Potted Crimson Fungus
|spritetype=block
|nameid=potted_crimson_fungus
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Warped Fungus
|spritetype=block
|nameid=potted_warped_fungus
|blocktags=flower_pots, hoglin_repellents
|form=block}}
{{ID table
|displayname=Potted Crimson Roots
|spritetype=block
|nameid=potted_crimson_roots
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Warped Roots
|spritetype=block
|nameid=potted_warped_roots
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Mangrove Propagule
|spritetype=block
|nameid=potted_mangrove_propagule
|blocktags=flower_pots
|form=block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Flower Pot
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=flower-pot
|spritetype=block
|nameid=flower_pot
|id=140
|form=block
|itemform=item.flower_pot
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=flower-pot
|spritetype=item
|nameid=flower_pot
|id=514
|form=item
|foot=1}}

=== Block states ===
{{see also|Block states}}
{{IN|be}}, flower pots use the following block states:

{{/BS}}

=== Block data ===
{{IN|bedrock}}, flower pot has a block entity associated with it that holds additional data about the block.

See [[Bedrock Edition level format/Block entity format]].

== Achievements ==
{{load achievements|Pot Planter}}

== History ==
{{History||August 16, 2012|link={{tweet|Dinnerbone|236062188555624448}}|[[Dinnerbone]] tweeted the first image of flower pots.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Rose JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Dead Bush JE1.png|32px]]<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.
|At this point, plants inside of pots rendered much like they do outside of flower pots, not being subject to directional shading.}}
{{History|||snap=12w40a|A potted [[red mushroom]] can now be found on one window of a [[witch hut]]. This changed to an empty pot in a far later unknown version,{{info needed}} but returned again afterward.{{info needed}}}}
{{History||1.7.2|snap=13w36a|[[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] Allium, azure bluet, oxeye daisies, blue orchids, red tulips, orange tulips, white tulips and pink tulips can now be placed in flower pots.
|[[File:Potted Poppy JE1.png|32px]] As the rose has been replaced with the poppy, the potted rose is also now replaced with the potted poppy as a result.
|Flower pots can no longer use data values because more than 15 plants can be potted, it now has a [[block entity]] instead.
|[[File:Potted Green Shrub.png|32px]] [[File:Potted Cobweb JE1.png|32px]] Due to the tile entity handling, it is now possible to place any [[block]] inside of a flower pot via NBT editors. However, at this point, with the ones possible in vanilla [[survival]] aside, only [[grass]], [[shrub|green shrub]]s, and [[cobweb]]s actually render.
|[[File:Potted Grass JE1.png|32px]] Potted grass now exists can be placed in flower pots using [[commands]].
|[[File:Potted Grass (no tint) JE1.png|32px]] [[File:Potted Fern (no tint) JE1.png|32px]] Potted shrubs, grass, and ferns must now have block data value 11 to display biome colors, otherwise rendering as default/gray.}}
{{History|||snap=13w37a|Added {{cmd|setblock}}, allowing for the aforementioned potted plants to be obtained without map editing.}}
{{History|||snap=13w43a|[[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]] Acacia sapling and dark oak saplings can now be placed in flower pots.}}
{{History||1.8|snap=14w06a|Many more blocks (almost all full cubes) placed into a flower pot by modifying the block entity now render, if in somewhat buggy fashion, as the texture is in a cross shape. {{LoadPage|Flower Pot/1.8 development gallery/14w06a|Click show to display all of the applicable blocks.|b}}
|[[File:Potted Cactus JE2.png|32px]] Potted cacti now appear as a cross formed of their bottom texture inside of a pot.<ref>{{bug|MC-47469}}</ref>}}
{{History|||snap=14w06b|Further blocks now render in flower pots than did in the previous snapshot. {{LoadPage|Flower Pot/1.8 development gallery/14w06b|Click show to display all of the applicable blocks.|b}}
|[[File:Potted Cactus JE3.png|32px]] The accidental potted cactus model change has been reverted.}}
{{History|||snap=14w07a|[[File:Potted Iron Trapdoor.png|32px]] The newly added [[iron trapdoor]] also renders in flower pots when created with commands.}}
{{History|||snap=14w17a|[[File:Flower Pot JE2.png|32px]] [[File:Potted Dandelion JE2.png|32px]] [[File:Potted Allium JE2.png|32px]] [[File:Potted Azure Bluet JE2.png|32px]] [[File:Potted Oxeye Daisy JE2.png|32px]] [[File:Potted Blue Orchid JE2.png|32px]] [[File:Potted Poppy JE2.png|32px]] [[File:Potted Red Tulip JE2.png|32px]] [[File:Potted Orange Tulip JE2.png|32px]] [[File:Potted White Tulip JE2.png|32px]] [[File:Potted Pink Tulip JE2.png|32px]] [[File:Potted Red Mushroom JE2.png|32px]] [[File:Potted Brown Mushroom JE2.png|32px]] [[File:Potted Oak Sapling JE2.png|32px]] [[File:Potted Birch Sapling JE2.png|32px]] [[File:Potted Spruce Sapling JE2.png|32px]] [[File:Potted Jungle Sapling JE2.png|32px]] [[File:Potted Acacia Sapling JE2.png|32px]] [[File:Potted Dark Oak Sapling JE2.png|32px]] [[File:Potted Cactus JE4.png|32px]] [[File:Potted Fern JE2.png|32px]] [[File:Potted Dead Bush JE2.png|32px]] The flower pot model and rendering has changed. The insides are now subject to directional shading, rather than being fully lit, much like the changes made to [[hopper]]s and [[cauldron]]s in 14w10a. In addition, the outer face (as well as the cuboids comprising the cactus in potted cactus) are no longer subject to ambient occlusion. The potted cactus also now uses the side texture on the top face, rather than the top texture.
|Invalid blocks no longer render inside flower pots. This also includes cobweb and grass.}}
{{History|||snap=14w25a|[[File:Potted Dandelion JE3.png|32px]] [[File:Potted Allium JE3.png|32px]] [[File:Potted Azure Bluet JE3.png|32px]] [[File:Potted Oxeye Daisy JE3.png|32px]] [[File:Potted Blue Orchid JE3.png|32px]] [[File:Potted Poppy JE3.png|32px]] [[File:Potted Red Tulip JE3.png|32px]] [[File:Potted Orange Tulip JE3.png|32px]] [[File:Potted White Tulip JE3.png|32px]] [[File:Potted Pink Tulip JE3.png|32px]] [[File:Potted Red Mushroom JE3.png|32px]] [[File:Potted Brown Mushroom JE3.png|32px]] [[File:Potted Oak Sapling JE3.png|32px]] [[File:Potted Birch Sapling JE3.png|32px]] [[File:Potted Spruce Sapling JE3.png|32px]] [[File:Potted Jungle Sapling JE3.png|32px]] [[File:Potted Acacia Sapling JE3.png|32px]] [[File:Potted Dark Oak Sapling JE3.png|32px]] [[File:Potted Fern JE3.png|32px]] [[File:Potted Dead Bush JE3.png|32px]] Potted cross shaped objects are now affected by directional shading.<ref>{{bug|MC-129826}}</ref>}}
{{History||1.9|snap=15w43a|A potted cactus can now be found on a table in [[igloo]] basements.}}
{{History||1.11|snap=16w32a|The block entity ID of flower pots has been changed from <code>FlowerPot</code> to <code>flower_pot</code>.}}
{{History|||snap=16w39a|Potted plants can now be removed from flower pots by pressing {{control|use}}.
|Flower pots now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|The different block states for the <code>flower_pot</code> ID have been split up into their own IDs.
|Flower pots are no longer block entities.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 140, and the item's was 390.}}
{{History||1.14|snap=18w43a|[[File:Flower Pot JE3.png|32px]] [[File:Potted Dandelion JE4.png|32px]] [[File:Potted Poppy JE4.png|32px]] [[File:Potted Allium JE4.png|32px]] [[File:Potted Azure Bluet JE4.png|32px]] [[File:Potted Oxeye Daisy JE4.png|32px]] [[File:Potted Blue Orchid JE4.png|32px]] [[File:Potted Red Tulip JE4.png|32px]] [[File:Potted Orange Tulip JE4.png|32px]] [[File:Potted White Tulip JE4.png|32px]] [[File:Potted Pink Tulip JE4.png|32px]] [[File:Potted Red Mushroom JE4.png|32px]] [[File:Potted Brown Mushroom JE4.png|32px]] [[File:Potted Oak Sapling JE4.png|32px]] [[File:Potted Birch Sapling JE4.png|32px]] [[File:Potted Spruce Sapling JE4.png|32px]] [[File:Potted Jungle Sapling JE4.png|32px]] [[File:Potted Acacia Sapling JE4.png|32px]] [[File:Potted Dark Oak Sapling JE4.png|32px]] [[File:Potted Cactus JE5.png|32px]] [[File:Potted Fern JE4.png|32px]] [[File:Potted Dead Bush JE4.png|32px]] <br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots and their contained plants have been changed.
|[[File:Potted Cornflower JE1 BE1.png|32px]] [[File:Potted Lily of the Valley JE1 BE1.png|32px]] [[File:Potted Wither Rose JE1 BE1.png|32px]] [[File:Potted Bamboo JE1 BE1.png|32px]] Cornflower, lily of the valley, wither rose and [[bamboo]] can now be placed in flower pots.}}
{{History|||snap=18w44a|[[File:Potted Cactus JE6.png|32px]] The texture of potted cacti has been changed.}}
{{History|||snap=18w47b|[[File:Potted Poppy JE5.png|32px]] The texture of potted poppies has been changed.}}
{{History|||snap=18w49a|Flower pots can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=19w11a|Flower pots have become [[renewable resource|renewable]], as mason [[villager]]s now [[trading|sell]] [[brick]]s.}}
{{History||1.16|snap=20w06a|The model of flower pots has been fixed and has been given an underside, which has changed the model from [[File:Flower Pot UNKVER2 (facing NWU).png|32px]] to [[File:Flower Pot UNKVER3 (facing NWU).png|32px]].}}
{{History|||snap=20w09a|[[File:Potted Crimson Fungus JE1 BE1.png|32px]] [[File:Potted Warped Fungus JE1 BE1.png|32px]] [[File:Potted Crimson Roots JE1 BE1.png|32px]] [[File:Potted Warped Roots JE1 BE1.png|32px]] Crimson and warped [[fungi]] and crimson and warped [[roots]] can now be placed in flower pots.
|The model for potted plants has been fixed, so the bottom face now renders,<ref>{{bug|MC-170842}}</ref> which has changed the model from [[File:Potted Dandelion UNKVER1 (facing NWU).png|32px]] [[File:Potted Poppy UNKVER1 (facing NWU).png|32px]] [[File:Potted Allium UNKVER1 (facing NWU).png|32px]] [[File:Potted Azure Bluet UNKVER1 (facing NWU).png|32px]] [[File:Potted Oxeye Daisy UNKVER1 (facing NWU).png|32px]] [[File:Potted Blue Orchid UNKVER1 (facing NWU).png|32px]] [[File:Potted Red Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Orange Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted White Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Pink Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Red Mushroom UNKVER1 (facing NWU).png|32px]] [[File:Potted Brown Mushroom UNKVER1 (facing NWU).png|32px]] [[File:Potted Oak Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Birch Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Spruce Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Jungle Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Acacia Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Dark Oak Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Cactus UNKVER1 (facing NWU).png|32px]] [[File:Potted Fern UNKVER1 (facing NWU).png|32px]] [[File:Potted Dead Bush UNKVER1 (facing NWU).png|32px]] [[File:Potted Cornflower UNKVER1 (facing NWU).png|32px]] [[File:Potted Lily of the Valley UNKVER1 (facing NWU).png|32px]] [[File:Potted Wither Rose UNKVER1 (facing NWU).png|32px]] [[File:Potted Bamboo UNKVER1 (facing NWU).png|32px]] to [[File:Potted Dandelion UNKVER2 (facing NWU).png|32px]] [[File:Potted Poppy UNKVER2 (facing NWU).png|32px]] [[File:Potted Allium UNKVER2 (facing NWU).png|32px]] [[File:Potted Azure Bluet UNKVER2 (facing NWU).png|32px]] [[File:Potted Oxeye Daisy UNKVER2 (facing NWU).png|32px]] [[File:Potted Blue Orchid UNKVER2 (facing NWU).png|32px]] [[File:Potted Red Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Orange Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted White Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Pink Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Red Mushroom UNKVER2 (facing NWU).png|32px]] [[File:Potted Brown Mushroom UNKVER2 (facing NWU).png|32px]] [[File:Potted Oak Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Birch Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Spruce Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Jungle Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Acacia Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Dark Oak Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Cactus UNKVER2 (facing NWU).png|32px]] [[File:Potted Fern UNKVER2 (facing NWU).png|32px]] [[File:Potted Dead Bush UNKVER2 (facing NWU).png|32px]] [[File:Potted Cornflower UNKVER2 (facing NWU).png|32px]] [[File:Potted Lily of the Valley UNKVER2 (facing NWU).png|32px]] [[File:Potted Wither Rose UNKVER2 (facing NWU).png|32px]] [[File:Potted Bamboo UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=20w11a|[[File:Potted Bamboo UNKVER3 (facing NWU).png|32px]] An unneeded face has been removed from potted bamboo to solve a z-fighting issue.<ref>{{bug|MC-173156}}</ref>}}
{{History|||snap=Pre-release 3|[[File:Potted Cactus JE7.png|32px]] [[File:Potted Cactus UNKVER3 (facing NWU).png|32px]] The model of the potted cacti has been changed. The top face now uses the top texture of cactus, rather than the side texture and the bottom face has been changed to the top texture of the flower pot.}}
{{History||1.16.2|snap=20w28a|[[File:Potted Cactus UNKVER4 (facing NWU).png|32px]] The model of the potted cactus no longer has a hole in the bottom, although the texture is stretched.}}
{{History||1.17|snap=Pre-release 1|[[File:Potted Azalea JE1 BE1.png|32px]] [[File:Potted Flowering Azalea JE1 BE1.png|32px]][[Azalea]] and flowering azalea can now be placed in flower pots.
|[[File:Potted Flowering Azalea (plant texture) JE1.png|32px]] Potted flowering azalea has own unused plant texture but uses normal variant for consistency with flowering azalea: [[File:Potted Flowering Azalea (bottom) JE1 BE1.png|32px]] [[File:Flowering Azalea (bottom) JE2 BE2.png|32px]]}}
{{History||1.19|snap=22w11a|[[File:Potted Mangrove Propagule JE1.png|32px]] [[Mangrove propagule]]s can now be placed in flower pots.}}
{{History|||snap=22w18a|[[File:Potted Mangrove Propagule JE2.png|32px]] The western element of the flower pot in potted mangrove propagules has been deleted.<ref name="mc-251355">{{bug|MC-251355}}</ref>}}
{{History|||snap=Pre-release 1|[[File:Potted Mangrove Propagule JE1.png|32px]] The aforementioned western element has been restored.<ref name="mc-251355"/>}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Potted Torchflower JE1.png|32px]] [[File:Potted Cherry Sapling JE1.png|32px]] [[Torchflower]]s and [[cherry sapling]]s can now be placed in flower pots.}}
{{History|||snap=1.19.4-pre2|Changed the texture of potted cherry saplings.}}
{{History||1.20|snap=23w12a|Potted torchflower and cherry sapling are now available without using the "Update 1.20" experimental datapack.|Flower pot can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w13a|[[File:Potted Flowering Azalea JE2.png|32px]] Flowering azalea now uses own plant texture, changing appearance from [[File:Potted Flowering Azalea (bottom) JE1 BE1.png|32px]] to [[File:Potted Flowering Azalea (bottom) JE2.png|32px]] and breaking consistency with flowering azalea.<ref>{{bug|MC-230916}}</ref>}}
{{History|||snap=23w16a|Flower pot no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; flower pot now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History||v0.14.0|snap=build 1|Flower pots now generate in [[witch hut]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Flower pots now generate in [[igloo]] basements.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Flower pots now generate naturally in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Potted Bamboo JE1 BE1.png|32px]]{{verify|Is this how they really look in BE?}} [[Bamboo]] can now be placed in flower pots.}}
{{History||1.9.0|snap=beta 1.9.0.0|[[File:Potted Cornflower BE.jpg|32px]] [[File:Potted Lily of the Valley BE.jpg|32px]] Cornflower and lily of the valley can now be placed in flower pots.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Flower Pot BE.jpg|32px]] [[File:Potted Dandelion BE.jpg|32px]] [[File:Potted Poppy BE.jpg|32px]] [[File:Potted Allium BE.jpg|32px]] [[File:Potted Azure Bluet BE.jpg|32px]] [[File:Potted Oxeye Daisy BE.jpg|32px]] [[File:Potted Blue Orchid BE.jpg|32px]] [[File:Potted Red Tulip BE.jpg|32px]] [[File:Potted Orange Tulip BE.jpg|32px]] [[File:Potted White Tulip BE.jpg|32px]] [[File:Potted Pink Tulip BE.jpg|32px]] [[File:Potted Red Mushroom BE.jpg|32px]] [[File:Potted Brown Mushroom BE.jpg|32px]] [[File:Potted Oak Sapling BE.jpg|32px]] [[File:Potted Birch Sapling BE.jpg|32px]] [[File:Potted Spruce Sapling BE.jpg|32px]] [[File:Potted Jungle Sapling BE.jpg|32px]] [[File:Potted Acacia Sapling BE.jpg|32px]] [[File:Potted Dark Oak Sapling BE.jpg|32px]] [[File:Potted Cactus BE.png|32px]] [[File:Potted Fern BE.jpg|32px]]<br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots have been changed.
|Flower pots now generate in the new [[village]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Flower pots can now be found in [[village]] mason [[chest]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|[[File:Potted Wither Rose JE1 BE1.png|32px]] [[Wither rose]]s can now be placed in flower pots.}}
{{History||1.16.0|snap=beta 1.15.0.51|Potted plants can now be removed from flower pots by pressing {{control|use}}.}}
{{History|||snap=beta 1.16.0.51|[[File:Potted Crimson Fungus JE1 BE1.png|32px]] [[File:Potted Warped Fungus JE1 BE1.png|32px]] [[File:Potted Crimson Roots JE1 BE1.png|32px]] [[File:Potted Warped Roots JE1 BE1.png|32px]] Crimson and warped [[fungi]] and crimson and warped [[roots]] can now be placed in flower pots.}}
{{History||1.17.10|snap=beta 1.17.10.21|[[File:Potted Azalea JE1 BE1.png|32px]] [[File:Potted Flowering Azalea JE1 BE1.png|32px]] [[Azalea]] and flowering azalea can now be placed in flower pots.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]] [[File:Potted Dead Bush JE3.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Flower Pot BE.png|32px]] [[File:Potted Dandelion BE.png|32px]] [[File:Potted Poppy BE.png|32px]] [[File:Potted Allium BE.png|32px]] [[File:Potted Azure Bluet BE.png|32px]] [[File:Potted Oxeye Daisy BE.png|32px]] [[File:Potted Blue Orchid BE.png|32px]] [[File:Potted Red Tulip BE.png|32px]] [[File:Potted Orange Tulip BE.png|32px]] [[File:Potted White Tulip BE.png|32px]] [[File:Potted Pink Tulip BE.png|32px]] [[File:Potted Red Mushroom BE.png|32px]] [[File:Potted Brown Mushroom BE.png|32px]] [[File:Potted Oak Sapling BE.png|32px]] [[File:Potted Birch Sapling BE.png|32px]] [[File:Potted Spruce Sapling BE.png|32px]] [[File:Potted Jungle Sapling BE.png|32px]] [[File:Potted Acacia Sapling BE.png|32px]] [[File:Potted Dark Oak Sapling BE.png|32px]] [[File:Potted Cactus BE.png|32px]] [[File:Potted Fern BE.png|32px]]<br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History|foot}}

<gallery>
Suggestion for itemframes.png|Original Reddit image suggesting item frames and flower pots.
FlowerPot.png|The first image of flower pots, released by [[Dinnerbone]].
Pots 1-100.png|An [[Java Edition 14w06a|14w06a]] example of some of the blocks that can be placed inside of flower pots, and their rendering.
Pots 1-100b.png|The same arrangement as prior in [[Java Edition 14w06b|14w06b]].
</gallery>

=== Flower pot "item" ===
{{:Technical blocks/Flower Pot}}

== Gallery ==
=== Renders ===
; Flowers
<gallery>
Potted Dandelion.png | 
Potted Poppy.png | 
Potted Blue Orchid.png | 
Potted Allium.png | 
Potted Azure Bluet.png | 
Potted Red Tulip.png | 
Potted Orange Tulip.png | 
Potted White Tulip.png | 
Potted Pink Tulip.png | 
Potted Oxeye Daisy.png | 
Potted Cornflower.png | 
Potted Lily of the Valley.png | 
Potted Wither Rose.png | 
Potted Torchflower.png
</gallery>

; Saplings
<gallery>
Potted Oak Sapling.png | 
Potted Spruce Sapling.png | 
Potted Birch Sapling.png | 
Potted Jungle Sapling.png | 
Potted Acacia Sapling.png | 
Potted Dark Oak Sapling.png | 
Potted Azalea.png | 
Potted Flowering Azalea.png | 
Potted Mangrove Propagule.png | 
Potted Cherry Sapling.png
</gallery>

; Mushrooms
<gallery>
Potted Red Mushroom.png | 
Potted Brown Mushroom.png | 
Potted Crimson Fungus.png | 
Potted Warped Fungus.png |
</gallery>

; Roots and bushes
<gallery>
Potted Crimson Roots.png | 
Potted Warped Roots.png | 
Potted Fern.png | 
Potted Dead Bush.png | 
Potted Cactus.png | 
Potted Cactus BE.png | 
Potted Bamboo.png
</gallery>
=== Other ===
<gallery>
FiveFlowerPots.png | Five flower pots in a player-created village.
</gallery>
== Issues ==

{{issue list}}

== Trivia ==

* The flower pot is based on a suggestion from Reddit, like [[ender chest]]s and [[item frame]]s.<ref>{{tweet|dinnerbone|235747041286975488|My next task is going to be flower pots.|August 15, 2012}}</ref>
* Flower pots break [[falling block]]s.
* If a plant that has been [[Name Tag|named]] is put in a flower pot, the plant loses its name.
* The inside of the flower pot in ''Java Edition'' uses the center 4x4 pixels of the dirt texture while Bedrock Edition uses the center 6x6.

==References==

{{Reflist}}

{{Blocks|Utility}}
{{items}}

[[Category:Manufactured blocks]]
[[Category:Storage]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[Category:Utility blocks]]

[[cs:Květináč]]
[[de:Blumentopf]]
[[es:Maceta]]
[[fr:Pot de fleurs]]
[[hu:Virágcserép]]
[[it:Vaso da fiori]]
[[ja:植木鉢]]
[[ko:화분]]
[[nl:Bloempot]]
[[pl:Doniczka]]
[[pt:Vaso]]
[[ru:Цветочный горшок]]
[[zh:花盆]]
[[uk:Квітковий горщик]]</li></ul>
beta 1.16.0.51Piglin BE Baby Piglin Added piglins and baby piglins.
Piglin with Crossbow BE Piglins can hold crossbows.
Hoglin Rider BE Baby piglins can ride on the back of baby hoglins.
Currently, piglins can drop only flint and steel and obsidian while bartering as a placeholder.
Piglins currently drop 0-2 arrows, even if the piglin is not armed with a crossbow.
Piglins currently use the player's hurt sound.
Piglins now dance after finishing hoglin hunting.
beta 1.16.0.57 Piglins now have their own sounds.
Properly added bartering.
Piglins now avoid zoglins, the same way they avoid zombified piglins.
Piglins can no longer drop arrows when killed.
The health of piglins has been reduced from 24 to 16.
Piglins now spawn in bastion remnants.
Baby piglins can now ride on top of each other on a baby hoglin, up to three baby piglins can climb on at once.

Issues

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

Trivia

Renders

Gallery

Piglin with Crossbow standby JEPiglin with Crossbow targeting JEPiglin with Crossbow standby BEPiglin with Crossbow targeting BE
The differences of piglins targeting with crossbows between Java Edition and Bedrock Edition.

References

See also

Advertisement