Minecraft Wiki
Register
Advertisement

A redstone comparator is a block used in redstone circuits to maintain, compare, or subtract signal strength, or to measure certain block states (primarily the fullness of containers).

Obtaining

To remove a redstone comparator, mine it. A redstone comparator can be broken instantly with anything, and drops itself as an item.

A redstone comparator will also be removed and drop itself as an item:

  • if its attachment block is moved, removed, or destroyed.
  • if water flows into its space.
  • if 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 will be destroyed without dropping itself as an item.

Crafting

Name Ingredients Crafting recipe Description
Redstone Comparator Redstone Torch +
Nether Quartz +
Stone

Can use stone only, no variants.‌[Java Edition only]
Redstone Comparator Redstone Torch +
Nether Quartz +
Any Stone

Can use stone and its variants interchangeably.‌[Bedrock and Legacy Console editions only]

Usage

A redstone comparator can be placed on the top of any opaque block with a solid full-height top surface (including upside-down slabs and upside-down stairs), as well as on hoppers. To place a redstone comparator, use the Place Block control.

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 will face 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 which can be toggled with the Use Item control:

  • 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 only accepted from redstone blocks, redstone dust, redstone repeaters, and other comparators. 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 usually will not respond to 1-tick fluctuations of power or signal strength — for example, a 1-clock input will be treated as always off from the side, and always on from the rear.

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 side inputs will simply output the same signal strength as its rear input.

Compare signal strength

File:ComparatorsExplained.PNG

Comparators in comparison mode.

A redstone comparator in comparison mode (front torch down and unpowered) will compare 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 simply outputs the same signal strength as its rear input.

Subtract signal strength

A redstone comparator in subtraction mode (front torch up and powered) will subtract the signal strength of the highest side input from the signal strength of the rear input (minimum 0 signal strength).

For example, if the rear input signal strength is 7, the left side is 2, and the right side is 4, then the output will be a signal strength of 3, because 7 - MAX(2,4) = 3.

Measure block state

A redstone comparator can measure the fullness of a chest, as well as other block states, even through a block.

A redstone comparator will treat certain blocks behind it as power sources and output a signal strength proportional to the block's state. The comparator may be separated from the measured block by a solid block. But in Java Edition, if the solid block is powered to signal strength 15 the comparator will output 15 no matter the fullness of the container.[1]

Containers

Minimum Items for Container Signal Strength
Power
Level
Containers and Slots





3 5 9 27 54
0 0i 0i 0i 0i 0i
1 1i 1i 1i 1i 1i "13"
2 14i 23i 42i 1s
60i
3s
55i
"cat"
3 28i 46i 1s
19i
3s
55i
7s
46i
"blocks"
4 42i 1s
5i
1s
60i
5s
51i
11s
37i
"chirp"
5 55i 1s
28i
2s
37i
7s
46i
15s
28i
"far"
6 1s
5i
1s
51i
3s
14i
9s
42i
19s
19i
"mall"
7 1s
19i
2s
10i
3s
55i
11s
37i
23s
10i
"melohi"
8 1s
32i
2s
32i
4s
32i
13s
32i
27s "stal"
9 1s
46i
2s
55i
5s
10i
15s
28i
30s
55i
"strad"
10 1s
60i
3s
14i
5s
51i
17s
23i
34s
46i
"ward"
11 2s
10i
3s
37i
6s
28i
19s
19i
38s
37i
"11"
12 2s
23i
3s
60i
7s
5i
21s
14i
42s
28i
"wait"
13 2s
37i
4s
19i
7s
46i
23s
10i
46s
19i
14 2s
51i
4s
42i
8s
23i
25s
5i
50s
10i
15 3s 5s 9s 27s 54s

A redstone comparator used to measure the state of a container outputs a signal strength in proportion to how full the container is (0 for empty, 15 for full, etc.).

Containers which can be measured by a comparator include:

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 which cannot be opened (either because it has an opaque block or ocelot above it) will always produce an output of 0 no matter how many items are in the container.

The Minimum Items for Container Signal Strength table (right) shows the minimum number of 64-stackable items required to produce specific signal strengths from various containers. A number followed by an "s" indicates the number of full item stacks required (not displayed if a full stack is not required), and a number followed by an "i" indicates the number of additional items required (not displayed if no items are required beyond some number of item stacks). For items which stack up to a maximum of 16 (snowballs, signs, ender pearls, etc.), divide the "i" number by 4 and round up. For non-stackable items, count any "i" number as one additional item.

For example, to produce a signal strength of 10 from a hopper requires a minimum of 3 full stacks plus 14 more items (or 4 16-stackable items).

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:
signal strength = truncate(1 + ((sum of all slots' fullnesses) / (number of slots in container)) * 14)
fullness of a slot = (number of items in slot) / (max stack size for this type of item)
Example: 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64, produces output with a signal strength of 8:

1 + ((300 items / 64 items per slot) / 9 slots) * 14 = 8.292, truncated is 8

Note that a non-stackable item is counted as a full slot (1 item in a slot, with a max stack size of 1: 1 / 1 = 1.0), and items which stack up to 16 (such as ender pearls and snowballs and eggs) are similarly considered a full slot at 16.
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:
items required = max(desired signal strength, roundup((total slots in container * 64 / 14) * (desired signal strength - 1) ) )
Example: To use a furnace (which has 3 slots) to create a strength 9 signal, you need 110 items:

max(9, (3*64/14)*(9-1)) = 109.714, rounded up is 110

Miscellaneous

Comparator storage

Comparators used to measure containers.

Some non-container blocks can also be measured by a redstone comparator:

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.
Cauldron Redstone Strength Values

Cauldron signal strength

Cauldron
A cauldron outputs different signal strengths depending on how much water is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3.
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 only succeed once per execution, but certain commands (such as those which accept players as arguments) can succeed multiple times, and the comparator will output the number of times it succeeded (maximum 15).
A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator will continue 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).
End Portal Frame
An end portal frame outputs a full signal of 15 if it contains an eye of ender and zero otherwise.
Item frame and comparator

A comparator can measure the presence and rotation of an item frame's contents.

Item Frame
A comparator can measure the state of an item frame's contents. In order for a comparator to measure an item frame's contents, it must be placed behind the block the item frame is attached to, facing away from the item frame. An item frame comparator will output 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 right-click rotation to a maximum of 8, then wrapping back to 1).
Jukebox
A jukebox outputs a signal strength which indicates which record is currently playing. For which records produce which signal strengths, see the Minimum Items for Container Signal Strength table above.

Data values

A redstone comparator is defined by its ID, block data, and block entity. A redstone comparator also has a block state which is expected to replace the functionality of block data in a future version.

ID

Redstone Comparator/ID

Block data

See also: Data values

A redstone comparator's block data specifies its orientation, mode, and powered status.

Bits Values
0x1
0x2
A two-bit field storing a value from 0 to 3 specifying the redstone comparator's orientation:
  • 0: Facing north.
  • 1: Facing east.
  • 2: Facing south.
  • 3: Facing west.
0x4 Set if in subtraction mode (front torch up and powered).
0x8 Set if powered (at any power level).

Block entity

A redstone comparator has a block entity associated with it that holds additional data about the block. The redstone comparator's block entity ID is comparator.

  • Block entity data
    • Tags common to all block entities
    •  OutputSignal: Represents the strength of the analog signal output of this redstone comparator.

Block state

See also: Block states

Java Edition:

Name Default value Allowed values Description
facingnortheast
north
south
west
The direction from the output side to the input side of the comparator,
or the opposite from the direction the player faces while placing the comparator.
modecomparecompare
subtract
Specifies the current mode of the redstone comparator.
poweredfalsefalse
true
True if the redstone comparator is being powered.

Bedrock Edition:

NameMetadata Bits Default value Allowed valuesValues for
Metadata Bits
Description
direction
(Deprecated)
0x1
0x2
00
1
2
3
0
1
2
3
The direction the repeater directs power.
  • 0: Facing north.
  • 1: Facing east.
  • 2: Facing south.
  • 3: Facing west.
minecraft:cardinal_directionNot Supportedsoutheast
north
south
west
UnsupportedThe direction from the output side to the input side of the comparator,
or the opposite from the direction the player faces while placing the comparator.
output_lit_bit0x8falsefalse
true
0
1
True if the redstone comparator is being powered.
output_subtract_bit0x4falsefalse
true
0
1
Specifies the current mode of the redstone comparator.

Video

Redstone Comparator/video

History

release
24 November 2012Jeb stated that there may be a "capacitor" in Minecraft.
27 December 2012Dinnerbone released pictures of the first version of the "comparator", stating it was a replacement for the "capacitor" idea which has variable, alternate inputs.
2 January 2013Dinnerbone released one more picture of the comparator. The picture itself showing a digital-to-analogue converter, using the comparator as the main block.
1.5
{{Extension DPL}}<ul><li>[[Footprint|Footprint]]<br/>{{about|the joke item|the unused particle|Java Edition unused features#Footprint particle}}
{{Joke feature}}
{{Item
| image = Footprint (item).png
| renewable = No
| stackable = Yes (64)
}}

The '''Footprint''' was a joke item from [[Java Edition 20w14∞]], found only in the {{code|missing}} dimension.

== Appearance ==
This item is semi-transparent with a grey colour scheme.

== Obtaining ==

=== Dimension ===
Footprints were obtained only from a chest in the {{Code|missing}} dimension. Only existing in 2020 April fools snapshot 20w14∞, it cannot exist in any non-April Fool's joke versions and April Fool's joke versions before or after 20w14∞. There is a maximum of 2 footprints that can be obtained legitimately in any given world.

=== Cheats/Creative Mode ===
Despite these footprints not being available in the creative inventory, it is still possible to acquire them via the command {{Code|code=give <target> minecraft:footprint <amount>}} or duplicating them by holding down middle-click whilst in creative mode.

== Usage ==
As of snapshot 20w14∞, this item cannot be placed or used in any way other than a trophy. This item can be inserted and/or rotated inside of an item frame, and it has a stack limit of 64.

== Data values ==
=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Footprint
|spritetype=item
|nameid=footprint
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||20w14∞|[[File:Footprint (item).png|32px]] Added the footprint item.}}
{{History|foot}}

== Gallery ==
<gallery>
File:Missing biome.png|The Easter Egg dimension that the item spawns in.
</gallery>

== Trivia ==
* This is a reference to the removed "Footstep" particle, hence in the "missing" dimension.
** This item is intended as a joke directed towards the commands' community where the "Footstep" particle is commonly requested.<ref>https://gist.github.com/boq/8e65cb85badc75765eeb8956af78aaa5</ref>

== References ==
{{reflist}}

{{Items}}
{{Jokes}}

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

[[es:Footprint]]
[[pt:Pegada]]</li><li>[[Lead|Lead]]<br/>{{About|the item used for leashing and leading mobs|the element|Element#Lead}}
{{Item
| image = Lead.png
| stackable = Yes (64)
| renewable = Yes
}}
'''Leads''' are [[tool]]s used to leash and lead passive and neutral [[animal]]s, [[golem]]s and some [[monster]]s.

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

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

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

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

{{crafting usage}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

==== Entity data ====

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

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

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

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

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

== Achievements ==

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

== Advancements ==

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

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

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

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

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

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

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

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

== References ==
{{Reflist}}

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

{{items}}

{{entities}}

[[Category:Tools]]

[[de:Leine]]
[[es:Rienda]]
[[fr:Laisse]]
[[hu:Lasszó]]
[[it:Guinzaglio]]
[[ja:リード]]
[[ko:끈]]
[[nl:Leidtouw]]
[[pl:Smycz]]
[[pt:Laço]]
[[ru:Поводок]]
[[th:เชือกจูง]]
[[zh:拴绳]]
[[Category:Renewable resources]]</li></ul>
13w01aAdded redstone comparator, with 0 delay.
13w01bAdded delay of 1 game tick (1/2 redstone tick) to comparator to fix bugs.
Added ability to measure containers to redstone comparator.
13w02aUpdated texture to show quartz in the middle.
Changed algorithm for measuring containers so that comparators output a signal with as few as 1 item in the container.
13w02bComparators now treat large chests as a single container.
13w03aComparators now output success count of command blocks.
Comparators now measure container minecarts on detector rails.
13w04aComparators now measure jukeboxes.
13w05aComparators no longer cause constant block updates, the delay is made consistent, and side input no longer causes a pulse output.
Block 150 (powered_comparator) is no longer used; powered state is now represented by the 8s bit on block 149 (unpowered_comparator).
13w05bComparator delay changed from 1 game tick (1/2 redstone tick) to 2 game ticks (1 redstone tick).
13w09cThe redstone signal strength from a comparator next to a brewing stand with 3 water bottles in it is the same as one with 3 water bottles and 1 ingredient in it.
1.6.1
{{Extension DPL}}<ul><li>[[Book and Quill|Book and Quill]]<br/>{{For|the item produced after a Book and Quill is signed|Written Book}}
{{Item
| image = Book and Quill.png
| renewable = Yes 
| stackable = No
}}

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

== Obtaining ==

=== Crafting ===

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

=== Natural generation ===

{{LootChestItem|book-and-quill}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Writing ===

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

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

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

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

=== Lecterns ===

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

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

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

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

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

=== Signing ===

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

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

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

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

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

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

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

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

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

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

=== Item data ===

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

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

== Video ==

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

== History ==

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{Reflist}}

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

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

{{Items}}

[[Category:Renewable resources]]

[[cs:Rozepsaná kniha s brkem]]
[[de:Buch und Feder]]
[[el:Βιβλίο και Πένα]]
[[es:Libro y pluma]]
[[fr:Livre vierge]]
[[hu:Könyv és toll]]
[[it:Libro e penna]]
[[ja:本と羽根ペン]]
[[ko:책과 깃펜]]
[[nl:Boek en veer]]
[[pl:Książka z piórem]]
[[pt:Livro e pena]]
[[ru:Книга с пером]]
[[th:หนังสือกับปากกาขนนก]]
[[uk:Книга з пером]]
[[zh:书与笔]]</li><li>[[Melon Slice|Melon Slice]]<br/>{{Dungeons hatnote|type=consumable|Melon}}
{{Item
| title = Melon Slice
|typeimage=Melon Slice.png
| renewable = Yes
| heals = {{hunger|2}}
| stackable = Yes (64)
}}
A '''melon slice'''{{efn|Known as '''Melon Slice''' {{in|java}} and '''Melon''' {{in|bedrock}}.}} is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==

=== Block loot ===

{{see also|Tutorials/Pumpkin and melon farming|title1 = Pumpkin and melon farming}}

Melon slices can be obtained by breaking (harvesting) [[melon]]s using any [[tool]] or by hand. [[Axe]]s, followed by [[sword]]s, are the fastest tools for harvesting melons.  A melon drops 3–7 melon slices, when broken; by hand, using a [[tool]], or after being broken by the movement of a [[piston]], with an average of 4.64 slices per melon.

Breaking a melon with a tool enchanted with [[Fortune]] increases the potential number of drops by 1 slice per level, up to a maximum of 9 slices.

== Usage ==

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

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

=== Crafting ingredient ===

{{crafting usage}}

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

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

== Data values ==

=== ID ===

{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Melon Slice
|spritetype=item
|nameid=melon_slice
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|spritename=melon-slice
|displayname=Melon
|spritetype=item
|nameid=melon_slice
|aliasid=melon
|id=272
|form=item
|translationkey=item.melon.name
|foot=1}}

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

== History ==
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Melon Slice JE1 BE1.png|32px]] Added melons.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|Melons are now used in the [[crafting]] recipe of [[glistering melon]]s.}}
{{History|||snap=Beta 1.9 Prerelease 5|Melons once again drop the correct number of slices.}}
{{History||1.3.1|snap=12w21a|Melons can now be [[trading|bought]] from farmer [[villager]]s, at 5–8 melon slices for 1 [[emerald]].}}
{{History||1.7.2|snap=13w37a|Block ID 105, [[melon stem]], has been removed from the {{cmd|give}} [[commands|command]].}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trading|sell]] melons. They now buy [[melon]]s instead.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 360.}}
{{History|||snap=18w20b|"Melon" has been renamed to "Melon Slice."
|The ID of melon slices has been changed from <code>melon</code> to <code>melon_slice</code>.}}
{{History||1.14|snap=18w43a|[[File:Melon Slice JE2 BE2.png|32px]] The texture of melon slices has been changed.}}
{{History|||snap=19w03a|Placing a melon slice into the new [[composter]] has a 20% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Melon slices now have a 50% chance of increasing the compost level in a composter by 1.}}

{{History|pocket alpha}}
{{History||v0.5.0|[[File:Melon Slice JE1 BE1.png|32px]] Added melons. 
|Melons restore {{health|2}} each, rather than {{hunger|2}}.}}
{{History||v0.12.1|snap=?|Added Melon slice to the Creative inventory.}}
{{History|||snap=build 1|Melons now restores [[hunger]] instead of [[health]].
|Melons can no longer be obtained from [[nether reactor]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.3|[[Breaking]] a [[melon]] with [[shears]] now always yields 9 melons.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Melon Slice JE2 BE2.png|32px]] The texture of melons has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Melons can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|Melons can now be [[trading|sold]] to farmer [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Trading]] has been changed, melon slices can no longer be sold to farmer villagers.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of melon slices has been changed from <code>melon</code> to <code>melon_slice</code>.}}

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

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

== Issues ==
{{issue list}}

== See also ==
* [[Pumpkin]]
* [[Glistering Melon Slice]]

== Notes ==
{{fnlist}}

{{Items}}

[[Category:Plants]]

[[cs:Meloun]]
[[de:Melone]]
[[es:Rodaja de sandía]]
[[fr:Tranche de pastèque]]
[[hu:Dinnye Szelet]]
[[ko:수박]]
[[nl:Meloenschijf]]
[[pl:Arbuz]]
[[pt:Fatia de melancia]]
[[ru:Ломтик арбуза]]
[[zh:西瓜片]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul>
13w18aComparators now measure cauldrons and end portal frames.
1.7.2
{{Extension DPL}}<ul><li>[[Door|Door]]<br/>{{About|the block|the music track|Minecraft - Volume Alpha}}
{{See also|Trapdoor}}
{{Block
| image = <gallery>
Iron Door.png|Java Edition
Iron Door BE.png|Bedrock Edition
</gallery>
| extratext = View [[#Gallery|all renders]]
| transparent = Partial
| light = No
| tntres = {{Blast resistance values|Wooden Door}} <small>(Wood)</small><br>{{Blast resistance values|Iron Door}}<small> (Iron)</small>
| hardness = {{Hardness values|Wooden Door}} <small>(Wood)</small><br>{{Hardness values|Iron Door}}<small> (Iron)</small>
| tool = axe
| tool2 = wooden pickaxe
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = '''Overworld wood''': Yes<br>'''Nether wood''','''iron''': No
}}
A '''door''' is a block that can be used as a barrier that can be opened by hand or with [[redstone]].

== Obtaining ==
Doors can be found in any Overworld biome, and can also be crafted from any type of [[wood]] as well as materials found in [[the Nether]]. Some have built-in openings that are useful for determining the time of day.

=== Breaking ===
Wooden doors can be broken with anything, but [[axe]]s are fastest. An iron door can be broken with anything if the top half of the door is broken.<ref>{{bug|MC-189739}}</ref><ref>{{bug|MCPE-126620}}</ref> All doors drop themselves if they no longer have a block beneath them that can support them.
{{breaking row
|Oak Door, Spruce Door, Birch Door, Jungle Door, Acacia Door, Dark Oak Door, Mangrove Door, Cherry Door, Bamboo Door, Crimson Door, Warped Door; Iron Door
|textTrim=Door
|Axe;Pickaxe
|;
|item=1;1
|link=none;none
}}

A door is removed and drops itself as an item:

* if the block beneath the door is moved, removed, or destroyed
* if a [[piston]] tries to push the door (trying to pull a door does nothing) or moves a block into its space

=== Natural generation ===
Doors generate in some generated structures, forming the entrances to the majority of buildings. Doors do not generate in [[zombie village]]s.

;{{BlockSprite|Oak Door|text=Oak}}

Oak doors generate as part of:

* Plains [[village]]s
* [[Stronghold]]s
* Right-side-up [[shipwreck]]s

;{{BlockSprite|Spruce Door|text=Spruce}}

Spruce doors generate as part of:

* Taiga, snowy tundra and snowy taiga [[village]]s
* Right-side-up [[shipwreck]]s

;{{BlockSprite|Jungle Door|text=Jungle}}

Jungle doors generate as part of:

* Desert [[village]]s
* Right-side-up [[shipwreck]]s

;{{BlockSprite|Acacia Door|text=Acacia}}

Acacia doors generate as part of:

* Savanna [[village]]s
<!-- * Right-side-up [[shipwreck]]s{{only|BE}}{{need testing}} -->

;{{BlockSprite|Dark Oak Door|text=Dark oak}}

Dark oak doors generate as part of:

* Master bedroom closets in [[woodland mansion]]s
* Right-side-up [[shipwreck]]s

;{{BlockSprite|Iron Door|text=Iron}}

Iron doors generate as part of:

* Prison rooms in [[woodland mansion]]s
* [[Stronghold]]s with a stone [[button]] to open{{only|JE}}

=== Crafting ===
{{Crafting
|head=1
|name=[[Wood Door]]
|A1= Matching Planks
|B1= Matching Planks
|A2= Matching Planks
|B2= Matching Planks
|A3= Matching Planks
|B3= Matching Planks
|Output= Matching wood Door,3
|type= Redstone
}}
{{Crafting
|A1= Iron Ingot
|B1= Iron Ingot
|A2= Iron Ingot
|B2= Iron Ingot
|A3= Iron Ingot
|B3= Iron Ingot
|Output= Iron Door,3
|type= Redstone
|foot=1
}}

== Usage ==
Wooden doors can be opened and closed by players, [[villager]]s, [[wandering trader]]s{{only|bedrock|short=1}}<!--Wandering traders cannot open doors in java edition. -->, [[vindicator]]s{{only|java|short=1}}, and [[piglin]]s. Wooden doors can be broken by all variants of [[zombie]]s (except [[drowned]]) and [[vindicator]]s in Hard difficulty.

Iron doors can be opened only with redstone power.

=== Placement ===
Doors must be "attached" to a block beneath them. To place a door, {{control|use}} a door item while pointing at the top of the block it should be attached to. A door can be attached to:
* the '''top''' of any full solid [[opaque]] block ([[stone]], [[dirt]], [[blocks of gold]], etc.)
* the '''top''' of an upside-down [[slab]] or upside-down [[stairs]]
* the '''top''' of a [[slime block]] or downward-facing [[piston]]

More information about placement on transparent blocks can be found at [[Opacity/Placement]].

When placed, a door occupies the side of the block facing the player, or behind a player if placed in the player's own space.

By default, a door's "hinge" appears on the side of the half of the block that the player pointed at when placing and its "handle" on the opposite side{{only|java}}, but the hinge is forced to other side by:
* Placing a door besides another door (creating a double door where both doors open away from each other)
* Placing a door between a full solid and any opaque block (top or bottom), making the hinge appear to attach to the solid block.

=== Behavior ===
[[Water]] and [[lava]] flow around doors. Lava can create [[fire]] in air blocks next to wooden doors as if the wooden doors were flammable, but the doors do not burn (and cannot be burned by other methods either, except throwing them into lava).

[[Mob]]s can spawn in a space occupied by a door.

The sound of opening and closing of a door can be heard up to 16 blocks away, like most mob sounds.

When placed using the {{cmd|setblock}} command, only one half of a door is placed, because doors are actually two separate blocks. The lower half still works, but with graphical bugs, and the upper half does not. Redstone cannot be used because it updates the half, breaking it. The upper half does not drop anything when broken, the lower half drops a normal door. This implies that the upper half is dependent on the lower.

=== Barrier ===
A door can be used as a switchable barrier to entity movement. Although primarily used to block movement by mobs and players, a door can also be used to control the movement of boats (for example, a door placed in a two-wide water flow stops a boat when perpendicular to the flow, but allow it to move again when parallel), items and minecarts (a door can stop a falling item or minecart, then allow it to drop again when the door moves), etc.

{{IN|Java}}, doors provide a breathable space if placed underwater. {{IN|bedrock}}, doors in water source blocks are [[waterlogging|waterlogged]] and do not displace water source blocks.

Doors are 0.1875 ({{frac|3|16}}) blocks thick (0.1825 {{in|bedrock}}). The rest of a door's space can be moved through freely. A door occupies two block spaces and both halves normally act as a single barrier, although doors can be opened or closed with a player or mob occupying the bottom block of the door,<ref>{{bug|MC-54255}} – "You can stand on the bottom block of a door, allowing you to climb it like a ladder" resolved as "Won't Fix"</ref> in which case the player can jump up to land on the bottom half of the door and then again to land on top of the door.

To open or close a wooden door, use the {{control|use|text=Use Item/Place Block}} [[control]]. When a door opens or closes, it immediately changes its orientation without affecting anything in the space it "swings through". Moving doors do not push entities the way that pistons do.

[[Villager]]s, [[wandering trader]]s,{{only|bedrock|short=1}} [[vindicator]]s{{only|java|short=1}}, [[piglin]]s and [[piglin brute]]s can open and close wooden doors when pathfinding.

Some [[zombie]]s can break wooden doors in [[Hard]] [[difficulty]]. Zombies have a 5% chance to spawn with the ability to break doors. Vindicators spawned from a [[raid]] in [[Normal]] and Hard difficulty can also break wooden doors, but they do so only to reach targeted players, villagers, or wandering traders. Some vindicators may sometimes open a wooden door instead of breaking it.{{only|java}} Both zombies and vindicators attempt to break wooden doors only when in their "closed" state, even if a door is placed so that its "open" state blocks access (for example, by facing sideways when placing a door so that it allows passage when closed and blocks passage when open).

Iron doors can be opened only with redstone power (a [[button]], a [[redstone circuit]], etc.). Any mob can activate an iron door by stepping on a pressure plate or by triggering a tripwire.

=== Redstone component ===
{{see also|Redstone circuit}}

Both wood and iron doors can be controlled with redstone power.

A door is a redstone [[mechanism component]] and can be activated by:
* an adjacent active '''[[power component]]''', including above or below: for example, a [[redstone torch]], a [[block of redstone]], a [[daylight sensor]], etc.
* an adjacent '''powered block''' (for example, a block with an active redstone torch under it), including above or below
* a powered '''[[redstone comparator]]''' or '''[[redstone repeater]]''' facing the door
* powered '''[[redstone dust]]''' configured to point at the door or a directionless "dot" next to it; a door is ''not'' activated by adjacent powered redstone dust that is configured to point in another direction.

All methods of activating a door can be applied to either the top or bottom parts of a door.

When activated, a door immediately rotates around its hinge side to its open state. When deactivated, a door immediately returns to its closed state.

An activated wood door can still be closed by a player or villager and does not re-open until it receives a new activation signal (if a door has been closed "by hand", it still needs to be deactivated and then reactivated to open by redstone).

=== Fuel ===
Overworld wooden doors can be used as a [[Smelting#Fuel|fuel]] in [[furnace]]s, smelting 1 item per door.

=== Note blocks ===
Wooden doors can be placed under [[note block]]s to produce "bass" sound.

== Sounds ==
=== Generic ===
==== Iron ====
{{Sound table/Block/Metal}}

==== Normal wood ====
{{Sound table/Block/Wood}}

==== Cherry wood ====
{{Sound table/Block/Cherry wood}}

==== Bamboo wood ====
{{Sound table/Block/Bamboo wood}}

==== Nether wood ====
{{Sound table/Block/Nether wood}}

=== Unique ===
{{el|java}}:
{{Sound table
|sound=Iron Door open1.ogg
|sound2=Iron Door open2.ogg
|sound3=Iron Door open3.ogg
|sound4=Iron Door open4.ogg
|subtitle=Door creaks
|source=block
|description=When an iron door opens
|id=block.iron_door.open
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Iron Door close1.ogg
|sound2=Iron Door close2.ogg
|sound3=Iron Door close3.ogg
|sound4=Iron Door close4.ogg
|subtitle=Door creaks
|source=block
|description=When an iron door closes
|id=block.iron_door.close
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Wooden Door open3.ogg
|sound2=Wooden Door open4.ogg
|subtitle=Door creaks
|source=block
|description=When a wooden door opens
|id=block.wooden_door.open
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Wooden Door close2.ogg
|sound2=Wooden Door close5.ogg
|sound3=Wooden Door close6.ogg
|subtitle=Door creaks
|source=block
|description=When a wooden door closes
|id=block.wooden_door.close
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Cherry door toggle1.ogg
|sound2=Cherry door toggle2.ogg
|sound3=Cherry door toggle3.ogg
|sound4=Cherry door toggle4.ogg
|subtitle=Door creaks
|source=block
|description=When a cherry wood door opens
|id=block.cherry_wood_door.open
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|subtitle=Door creaks
|source=block
|description=When a cherry wood door closes
|id=block.cherry_wood_door.close
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Bamboo Door toggle1.ogg
|sound2=Bamboo Door toggle2.ogg
|sound3=Bamboo Door toggle3.ogg
|sound4=Bamboo Door toggle4.ogg
|subtitle=Door creaks
|source=block
|description=When a bamboo wood door opens
|id=block.bamboo_wood_door.open
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|subtitle=Door creaks
|source=block
|description=When a bamboo wood door closes
|id=block.bamboo_wood_door.close
|translationkey=subtitles.block.door.toggle
|volume=0.9
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Nether Door toggle1.ogg
|sound2=Nether Door toggle2.ogg
|sound3=Nether Door toggle3.ogg
|sound4=Nether Door toggle4.ogg
|subtitle=Door creaks
|source=block
|description=When a Nether wood door opens
|id=block.nether_wood_door.open
|translationkey=subtitles.block.door.toggle
|volume=1.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|subtitle=Door creaks
|source=block
|description=When a Nether wood door closes
|id=block.nether_wood_door.close
|translationkey=subtitles.block.door.toggle
|volume=1.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Zombie hit wood1.ogg
|sound2=Zombie hit wood2.ogg
|sound3=Zombie hit wood3.ogg
|sound4=Zombie hit wood4.ogg
|subtitle=Door shakes
|source=hostile
|description=When a [[zombie]] attacks a door
|id=entity.zombie.attack_wooden_door
|translationkey=subtitles.entity.zombie.attack_wooden_door
|volume=2.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Zombie hit metal1.ogg
|sound2=Zombie hit metal2.ogg
|sound3=Zombie hit metal3.ogg
|subtitle=Block broken <ref group=sound name=ironsubtitle>{{Bug|MC-226770}}</ref>
|source=None
|description=''Unused sound event''<ref group=sound>{{bug|MC-218122}}</ref>
|id=entity.zombie.attack_iron_door
|translationkey=subtitles.block.generic.break|translationkeynote=<ref group=sound name=ironsubtitle/>
|volume=''None''
|pitch=''None''
|distance=''None''}}
{{Sound table
|sound=Zombie breaks door.ogg
|subtitle=Door breaks
|source=hostile
|description=When a zombie breaks a door
|id=entity.zombie.break_wooden_door
|translationkey=subtitles.entity.zombie.break_wooden_door
|volume=2.0
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{el|bedrock}}:
{{Sound table
|type=bedrock
|sound=Iron Door open1.ogg
|sound2=Iron Door open2.ogg
|sound3=Iron Door open3.ogg
|sound4=Iron Door open4.ogg
|source=block
|description=When an iron door opens
|id=open.iron_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|sound=Iron Door close1.ogg
|sound2=Iron Door close2.ogg
|sound3=Iron Door close3.ogg
|sound4=Iron Door close4.ogg
|source=block
|description=When an iron door closes
|id=close.iron_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|sound=Wooden Door open3.ogg
|sound2=Wooden Door open4.ogg
|source=block
|description=When a wooden door opens
|id=open.wooden_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|sound=Wooden Door close2.ogg
|sound2=Wooden Door close5.ogg
|sound3=Wooden Door close6.ogg
|source=block
|description=When a wooden door closes
|id=close.wooden_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|rowspan=2
|sound=Cherry door toggle1.ogg
|sound2=Cherry door toggle2.ogg
|sound3=Cherry door toggle3.ogg
|sound4=Cherry door toggle4.ogg
|source=block
|description=When a cherry wood door opens
|id=open.cherry_wood_door
|volume=1.0
|pitch=0.9-1.0}}
{{Sound table
|source=block
|description=When a cherry wood door closes
|id=close.cherry_wood_door
|volume=1.0
|pitch=0.9-1.0}}
{{Sound table
|rowspan=2
|sound=Bamboo Door toggle1.ogg
|sound2=Bamboo Door toggle2.ogg
|sound3=Bamboo Door toggle3.ogg
|sound4=Bamboo Door toggle4.ogg
|source=block
|description=When a bamboo wood door opens
|id=open.bamboo_wood_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|source=block
|description=When a bamboo wood door closes
|id=close.bamboo_wood_door
|volume=0.9
|pitch=0.9-1.0}}
{{Sound table
|rowspan=2
|sound=Nether Door toggle1.ogg
|sound2=Nether Door toggle2.ogg
|sound3=Nether Door toggle3.ogg
|sound4=Nether Door toggle4.ogg
|source=block
|description=When a Nether wood door opens
|id=open.nether_wood_door
|volume=1.0
|pitch=0.9-1.0}}
{{Sound table
|source=block
|description=When a Nether wood door closes
|id=close.nether_wood_door
|volume=1.0
|pitch=0.9-1.0}}
{{Sound table
|sound=Zombie hit wood1.ogg
|sound2=Zombie hit wood2.ogg
|sound3=Zombie hit wood3.ogg
|sound4=Zombie hit wood4.ogg
|source=hostile
|description=While a zombie is breaking a wooden door
|id=mob.zombie.wood
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Zombie breaks door.ogg
|source=hostile
|description=When a zombie breaks a wooden door
|id=mob.zombie.woodbreak
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Iron Door
|spritetype=block
|nameid=iron_door
|blocktags=doors
|itemtags=doors}}
{{ID table
|displayname=Oak Door
|spritetype=block
|nameid=oak_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Spruce Door
|spritetype=block
|nameid=spruce_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Birch Door
|spritetype=block
|nameid=birch_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Jungle Door
|spritetype=block
|nameid=jungle_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Acacia Door
|spritetype=block
|nameid=acacia_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Dark Oak Door
|spritetype=block
|nameid=dark_oak_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Mangrove Door
|spritetype=block
|nameid=mangrove_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Cherry Door
|spritetype=block
|nameid=cherry_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Bamboo Door
|spritetype=block
|nameid=bamboo_door
|blocktags=doors, wooden_doors
|itemtags=doors, wooden_doors}}
{{ID table
|displayname=Crimson Door
|spritetype=block
|nameid=crimson_door
|blocktags=doors, non_flammable_wood, wooden_doors
|itemtags=doors, non_flammable_wood, wooden_doors}}
{{ID table
|displayname=Warped Door
|spritetype=block
|nameid=warped_door
|blocktags=doors, non_flammable_wood, wooden_doors
|itemtags=doors, non_flammable_wood, wooden_doors
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|firstcolumnname=Door
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|spritename=iron-door
|displayname=Iron block
|spritetype=block
|nameid=iron_door
|id=71
|form=block
|itemform=item.iron_door}}
{{ID table
|spritename=oak-door
|displayname=Oak block
|spritetype=block
|nameid=wooden_door
|id=64
|form=block
|itemform=item.wooden_door
|translationkey=-}}
{{ID table
|spritename=spruce-door
|displayname=Spruce block
|spritetype=block
|nameid=spruce_door
|id=193
|form=block
|itemform=item.spruce_door
|translationkey=-}}
{{ID table
|spritename=birch-door
|displayname=Birch block
|spritetype=block
|nameid=birch_door
|id=194
|form=block
|itemform=item.birch_door
|translationkey=-}}
{{ID table
|spritename=jungle-door
|displayname=Jungle block
|spritetype=block
|nameid=jungle_door
|id=195
|form=block
|itemform=item.jungle_door
|translationkey=-}}
{{ID table
|spritename=acacia-door
|displayname=Acacia block
|spritetype=block
|nameid=acacia_door
|id=196
|form=block
|itemform=item.acacia_door
|translationkey=-}}
{{ID table
|spritename=dark-oak-door
|displayname=Dark Oak block
|spritetype=block
|nameid=dark_oak_door
|id=197
|form=block
|itemform=item.dark_oak_door
|translationkey=-}}
{{ID table
|spritename=mangrove-door
|displayname=Mangrove block
|spritetype=block
|nameid=mangrove_door
|id=-493
|form=block
|itemform=item.mangrove_door
|translationkey=-}}
{{ID table
|displayname=Cherry Door
|spritetype=block
|nameid=cherry_door
|id=-531
|itemtags=minecraft:door
|translationkey=item.cherry_door.name}}
{{ID table
|displayname=Bamboo Door
|spritetype=block
|nameid=bamboo_door
|id=-517
|itemtags=minecraft:door
|translationkey=item.bamboo_door.name}}
{{ID table
|spritename=crimson-door
|displayname=Crimson block
|spritetype=block
|nameid=crimson_door
|id=499
|form=block
|itemform=item.crimson_door}}
{{ID table
|spritename=warped-door
|displayname=Warped block
|spritetype=block
|nameid=warped_door
|id=500
|form=block
|itemform=item.warped_door}}
{{ID table
|spritename=iron-door
|displayname=Iron item
|spritetype=item
|nameid=iron_door
|id=372
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=oak-door
|displayname=Oak item
|spritetype=item
|nameid=wooden_door
|id=359
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=spruce-door
|displayname=Spruce item
|spritetype=item
|nameid=spruce_door
|id=553
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=birch-door
|displayname=Birch item
|spritetype=item
|nameid=birch_door
|id=554
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=jungle-door
|displayname=Jungle item
|spritetype=item
|nameid=jungle_door
|id=555
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=acacia-door
|displayname=Acacia item
|spritetype=item
|nameid=acacia_door
|id=556
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=dark-oak-door
|displayname=Dark Oak item
|spritetype=item
|nameid=dark_oak_door
|id=557
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=mangrove-door
|displayname=Mangrove item
|spritetype=item
|nameid=mangrove_door
|id=641
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=crimson-door
|displayname=Crimson item
|spritetype=item
|nameid=crimson_door
|id=616
|form=item
|itemtags=minecraft:door}}
{{ID table
|spritename=warped-door
|displayname=Warped item
|spritetype=item
|nameid=warped_door
|id=617
|form=item
|itemtags=minecraft:door
|foot=1}}

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

{{/BS}}

== Video ==
Note: The videos do not mention or state Crimson, Warped, Bamboo, or Cherry doors, since the videos were uploaded before 1.16.
<div style="text-align:center">
<span style="display:inline-block">{{yt|7jlIQcbHFts}}</span>
<span style="display:inline-block">{{yt|CC6ujEdvzQY}}</span>
</div>

== History ==
''For a history of changes to textures and models for each block state, see [[/Asset history]]''
{{History||3 June 2010|link=https://notch.tumblr.com/post/659506746/asynchronous-saving-and-loading-and-slightly-more|Notch states plans to implement doors.}}
{{History|java infdev}}{{History||20100607|[[File:Oak Door JE1.png|32px]] [[File:Oak Door (Right) JE1.png|32px]] [[File:Oak Door (item) JE1.png|32px]] Added wooden doors.}}
{{History||20100608|Doors have been given smarter rotation logic.}}
{{History||20100611|[[File:Oak Door JE2.png|32px]] [[File:Oak Door (Right) JE2.png|32px]] The models of doors have been changed to use door bottom half texture on sides instead of the wooden [[planks]] texture.}}
{{History||20100618|[[File:Oak Door JE3 BE1.png|32px]] [[File:Oak Door (Right) JE3.png|32px]] The textures of doors have been changed.}}
{{History||20100624|[[File:Oak Door (Right) JE4 BE1.png|32px]] The model of door with right hinge has been changed to mirror and use textures of door with left hinge.}}
{{History|java alpha}}
{{History||v1.0.1|[[File:Iron Door JE1 BE1.png|32px]] [[File:Iron Door (Right) JE1 BE1.png|32px]] [[File:Iron Door (item) JE1 BE1.png|32px]] Added iron doors.
|[[File:Oak Door (item) JE2 BE1.png|32px]] The texture of wooden doors in [[item]] form has been changed.
|Doors can now be controlled by redstone power.}}
{{History|java beta}}
{{History||1.7|Punching the back face of a left-hinge oak or iron door or the front face of a right-hinge door, as well as destroying a door, would [[Java Edition placeholder texture uses|create]] particles using the [[Placeholder texture#Texture atlas blank spaces|block placeholder texture]].}}
{{History||1.7.3|Doors no longer produce placeholder texture particles.}}
{{History||1.8|snap=Pre-release|Doors now occur naturally in [[village]]s and [[stronghold]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 6|Wooden doors are now broken faster using an [[axe]].
|Iron doors are broken much faster using a [[pickaxe]], and the [[mining]] speed is now [[tier]] dependent.}}
{{History|||snap=RC1|The opening and closing [[sound]]s for doors have been changed.}}
{{History||1.1|snap=11w47a|Double doors now open correctly.}}
{{History||1.2.1|snap=12w05b|[[Villager]]s can now open and close doors.}}
{{History|||snap=12w06a|[[File:Oak Door JE4 BE3.png|32px]] [[File:Iron Door JE2 BE5.png|32px]] Changed top model of door.
|[[Zombie]]s can now break wooden doors.
|Doors have been changed to properly detect if they are open or closed. Placing two [[pressure plate]]s directly in front of doors and stepping on them now opens them correctly.}}
{{History|||snap=12w07a|Zombies can no longer break iron doors.}}
{{History||1.4.2|snap=12w40a|Wooden doors can no longer be opened by attacking (left-click).}}
{{History||1.8|snap=December 13, 2013|slink=https://twitter.com/jeb_/status/411425952338808832|[[Jens Bergensten|Jeb]] tweeted an image showing that the crafting recipes for doors are changed so that 3 doors are crafted at once. Doors are also stackable to 64.}}
{{History|||snap=14w02a|Doors are now stackable to 64.
|The [[crafting]] recipes of doors now yield 3 doors instead of 1.}}
{{History|||snap=14w10a|[[File:Oak Door JE5.png|32px]] [[File:Iron Door JE3.png|32px]] The models of doors have been changed.}}
{{History|||snap=August 8, 2014|slink=https://twitter.com/TheMogMiner/status/497751889102905344|[[Ryan Holtz|TheMogMiner]] tweeted an image showing new types of [[wood]] doors.}}
{{History|||snap=14w32d|[[File:Spruce Door JE1 BE1.png|32px]] [[File:Birch Door JE1 BE1.png|32px]] [[File:Jungle Door JE1.png|32px]] [[File:Acacia Door JE1.png|32px]] [[File:Dark Oak Door JE1 BE1.png|32px]] [[File:Spruce Door (item) JE1.png|32px]] [[File:Birch Door (item) JE1.png|32px]] [[File:Jungle Door (item) JE1.png|32px]] [[File:Acacia Door (item) JE1.png|32px]] [[File:Dark Oak Door (item) JE1.png|32px]] New types of wood doors have been added: spruce, birch, jungle, acacia and dark oak.}}
{{History|||snap=14w33a|[[File:Jungle Door JE2 BE1.png|32px]] [[File:Acacia Door JE2 BE1.png|32px]] The models of jungle and acacia doors no longer have inner faces in the holes in their models.
|[[File:Spruce Door (item) JE2.png|32px]] [[File:Birch Door (item) JE2.png|32px]] [[File:Jungle Door (item) JE2.png|32px]] [[File:Acacia Door (item) JE2.png|32px]] [[File:Dark Oak Door (item) JE2.png|32px]] [[Item]] textures of new doors have been changed to match the dimensions of oak and iron doors.
|The wooden door (''Door'') has been renamed to ''Oak Door''.}}
{{History|||snap=14w33b|[[File:Oak Door (item) JE3 BE2.png|32px]] [[File:Spruce Door (item) JE3 BE1.png|32px]] [[File:Birch Door (item) JE3 BE1.png|32px]] [[File:Jungle Door (item) JE3 BE1.png|32px]] [[File:Acacia Door (item) JE3 BE1.png|32px]] [[File:Dark Oak Door (item) JE3 BE1.png|32px]][[File:Iron Door (item) JE2 BE2.png|32px]] All [[item]] textures for all doors have been changed. Doors now have hinges on the left and handles on the right, existing wooden doors & iron doors have a slight item textures change as well.}}
{{History||1.9|snap=15w31a|[[File:Birch Door JE2.png|32px]] [[File:Jungle Door JE3.png|32px]] [[File:Acacia Door JE3.png|32px]] [[File:Dark Oak Door JE2.png|32px]] Shading on the [[block]] textures of birch, jungle, acacia, and dark oak doors have been changed, so that the shadow is in the upper left and the highlight is in the lower right.}}
{{History|||snap=15w43a|Iron doors now have different [[sound]]s than wooden doors.
|Doors now have [[sound]]s for placing and different sounds for opening and closing - see sounds section.}}
{{History|||snap=15w47a|Doors now make [[sound]]s when placed,<ref>{{bug|MC-2844}} – "Doors have no placement sound." resolved as "Fixed"</ref> despite these apparently already being added in 15w43a.}}
{{History|||snap=15w49a|Doors are now placed facing left/right depending on which half of the [[block]] the [[player]] clicks on, unless neighboring doors or solid/opaque blocks cause them to place a certain way.}}
{{History||1.10|snap=16w20a|Acacia and spruce doors now generate in [[savanna]] and [[taiga]] [[villages]].}}
{{History||1.11|snap=16w33a|Wooden doors can now be used to fuel [[furnace]]s.|Iron doors no longer have a right-click action - previously they would result in the hand swinging, and would override other valid right click actions such as snowball throwing.}}
{{History|||snap=16w39a|Dark oak doors and iron doors now generate in [[woodland mansion]]s.}}
{{History||July 19, 2017|link=https://twitter.com/jeb_/status/887599625045250048|[[Jeb]] tweets image of a new jungle [[wood planks]], jungle doors, [[cauldron]], and [[dandelion]] textures.}}
{{History||1.13|snap=17w47a|The oak door ID has been changed from <code>wooden_door</code> to <code>oak_door</code>.
|Prior to [[1.13/Flattening|''The Flattening'']], these [[block]]s' numeral IDs were 64, 71, 193, 194, 195, 196 and 197, and the [[item]]s' 324, 330, 427, 428, 429, 430 and 431.}}
{{History|||snap=18w11a|Doors now generate as part of the newly added [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Oak Door JE6.png|32px]] [[File:Spruce Door JE2.png|32px]] [[File:Birch Door JE3.png|32px]] [[File:Jungle Door JE4.png|32px]] [[File:Acacia Door JE4.png|32px]] [[File:Dark Oak Door JE3.png|32px]] [[File:Iron Door JE4.png|32px]] The textures of all doors have been changed.
|[[Vindicator]]s can now break doors.}}
{{History|||snap=18w47b|[[File:Spruce Door JE3.png|32px]] The textures of spruce doors have been changed.}}
{{History|||snap=18w49a|Added [[snowy tundra]] villages, which generate with spruce doors.}}
{{History|||snap=18w50a|The updated [[desert]] villages now generate with jungle doors instead of oak doors.}}
{{History|||snap=19w08a|[[File:Oak Door JE7.png|32px]] The texture of oak doors has been changed.}}
{{History|||snap=19w12b|Doors can now be placed on glass, ice, glowstone and sea lanterns.}}
{{History|||snap=19w13a|[[Evoker]]s and [[pillager]]s can now open doors during [[raid]]s.}}
{{History|||snap=19w14a|Pillagers can no longer open doors.}}
{{History||1.15|snap=19w39a|Iron doors must now be mined with a [[pickaxe]] for it to be dropped as an [[item]].}}
{{History||1.16|snap=20w06a|[[File:Crimson Door JE1.png|32px]] [[File:Warped Door JE1.png|32px]] [[File:Crimson Door (item) JE1 BE1.png|32px]] [[File:Warped Door (item) JE1 BE1.png|32px]] Added crimson and warped doors.}}
{{History|||snap=20w07a|Added [[piglin]]s, which can open and close doors.}}
{{History|||snap=20w19a|[[File:Crimson Door JE2.png|32px]] [[File:Warped Door JE2.png|32px]] [[File:Crimson Door (item) JE2 BE2.png|32px]] [[File:Warped Door (item) JE2 BE2.png|32px]] The textures of crimson and warped doors have been changed.}}
{{History||1.17|snap=21w11a|[[File:Jungle Door (item) JE4 BE2.png|32px]] Changed the texture of the jungle door item.}}
{{History||1.18|snap=21w41a|[[File:Oak Door (item) JE4 BE3.png|32px]] [[File:Spruce Door (item) JE4 BE2.png|32px]] [[File:Birch Door (item) JE4 BE2.png|32px]] [[File:Jungle Door (item) JE5 BE3.png|32px]] [[File:Acacia Door (item) JE4 BE2.png|32px]] [[File:Dark Oak Door (item) JE4 BE2.png|32px]][[File:Iron Door (item) JE3 BE3.png|32px]] All [[item]] textures for all doors except crimson and warped have been changed.}}
{{History|||snap=Pre-release 5|[[File:Oak Door JE8.png|32px]] [[File:Spruce Door JE4.png|32px]] [[File:Birch Door JE4.png|32px]] [[File:Jungle Door JE5.png|32px]] [[File:Acacia Door JE5.png|32px]] [[File:Dark Oak Door JE4.png|32px]] [[File:Crimson Door JE3.png|32px]] [[File:Warped Door JE3.png|32px]] [[File:Iron Door JE5.png|32px]] Changed top and bottom models of door. Changed oak and iron doors textures.}}
{{History||1.19|snap=22w11a|[[File:Mangrove Door JE1.png|32px]][[File:Mangrove Door (item) JE1 BE1.png|32px]] Added mangrove door.}}
{{History|||snap=22w14a|Due to the addition of the [[mangrove tree]] and [[mangrove swamp]], mangrove doors are now obtainable and renewable.}}
{{History||October 15, 2022|link={{ytl|https://youtu.be/iM9KtHaDcUg?t=5659}}|[[File:Bamboo Door JE1.png|32px]] Bamboo doors were shown on [[Minecraft Live 2022]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|[[File:Bamboo Door JE1.png|32px]] [[File:Bamboo Door (item) JE1 BE1.png|32px]] Added bamboo doors behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Cherry Door JE1.png|32px]] [[File:Cherry Door (item) JE1.png|32px]] Added cherry doors behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=1.19.4-pre2|[[File:Cherry Door JE2.png|32px]] [[File:Cherry Door (item) JE2.png|32px]] Changed the texture of cherry doors.}}
{{History||1.20|snap=23w12a|Bamboo and cherry doors are now available without using the "Update 1.20" experimental datapack.}}

{{History|pocket alpha}}
{{History||v0.1.0|[[File:Oak Door JE3 BE1.png|32px]] [[File:Iron Door JE1 BE1.png|32px]] Added doors.
[[File:Oak Door (bottom texture) JE2 BE1.png|32px]] [[File:Iron Door (bottom texture) JE1 BE1.png|32px]] These are the textures defined for the door blocks in <samp>[[gui_blocks.png]]</samp>. The door items exist, but due to a bug in the code that renders items in the hotbar, they cannot be used.}}
{{History||v0.1.3|[[File:Oak Door BE2.png|32px]] [[File:Iron Door BE2.png|32px]] The models of doors have been changed to not display transparency on upper half.}}
{{History||v0.2.0|[[File:Oak Door (item) JE2 BE1.png|32px]] [[File:Iron Door (item) JE1 BE1.png|32px]] Added door inventory icons.
|[[File:Oak Door JE3 BE1.png|32px]] [[File:Iron Door JE1 BE1.png|32px]] The models of doors have been changed to display transparency on upper half.
|Wooden doors are now available in the inventory, including in [[Creative]].}}
{{History||v0.2.1 alpha2|link=Pocket Edition v0.2.1 alpha2|[[File:Iron Door BE3.png|32px]] The textures of iron doors have been changed.}}
{{History||v0.3.0|A crafting recipe for wooden doors has been added.
|Survival players no longer start out with an infinite stack of wooden doors in the inventory.}}
{{History||v0.3.2|Wooden doors now drop their item form when broken.}}
{{History||v0.5.0|[[File:Oak Door JE4 BE3.png|32px]] [[File:Iron Door BE4.png|32px]] The models of doors have been changed.
|Wooden doors can now be obtained after activating the [[nether reactor]].}}
{{History||v0.8.0|snap=build 2|[[File:Iron Door JE2 BE5.png|32px]] The textures of iron doors have been changed to before v0.2.1 alpha2.}}
{{History||v0.11.0|snap=build 1|''Door'' has been now renamed to ''Oak Door''.}}
{{History||v0.12.1|snap=build 1|Doors are now stackable to 64.
|The [[crafting]] recipes of doors now yield 3 doors instead of 1.
|[[Zombie]]s can now break down wooden doors.
|Oak doors can now be opened by [[villager]]s.
|Oak doors are no longer available from the [[nether reactor]].}}
{{History||v0.13.0|snap=build 1|[[File:Spruce Door JE1 BE1.png|32px]] [[File:Birch Door JE1 BE1.png|32px]] [[File:Jungle Door JE2 BE1.png|32px]] [[File:Acacia Door JE2 BE1.png|32px]] [[File:Dark Oak Door JE1 BE1.png|32px]] [[File:Spruce Door (item) JE3 BE1.png|32px]] [[File:Birch Door (item) JE3 BE1.png|32px]] [[File:Jungle Door (item) JE3 BE1.png|32px]] [[File:Acacia Door (item) JE3 BE1.png|32px]] [[File:Dark Oak Door (item) JE3 BE1.png|32px]] Added spruce, birch, jungle, acacia and dark oak doors.
|Iron doors are now available in the [[Creative]] [[inventory]].
|A [[crafting]] recipe for iron doors has been added.
|Redstone mechanics added, making iron doors able to function normally.}}
{{History|||snap=build 2|Spruce, birch, jungle, acacia, and dark oak doors can now be opened by [[villager]]s.}}
{{History|||snap=build 4|[[File:Oak Door (item) JE3 BE2.png|32px]] [[File:Iron Door (item) JE2 BE2.png|32px]] The [[item]] textures of oak and iron door has been changed.}}
{{History||v0.15.0|snap=build 1|Acacia doors now generate in [[savanna]] [[village]]s.
|Spruce doors now generate in [[taiga]] and [[snowy tundra]] villages.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Dark oak doors and iron doors now generate in [[woodland mansion]]s.
|Doors now have [[sound]]s when placed.<ref>{{bug|MCPE-10079}} – "Doors don't have a placement sound" resolved as "Fixed"</ref>}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Various wooden doors now generate in [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Oak Door BE4.png|32px]] [[File:Spruce Door BE2.png|32px]] [[File:Birch Door BE2.png|32px]] [[File:Jungle Door BE2.png|32px]] [[File:Acacia Door BE2.png|32px]] [[File:Dark Oak Door BE2.png|32px]] [[File:Iron Door BE6.png|32px]] The textures of all doors have been changed.
|Jungle doors now generate in the new [[desert]] [[village]]s.
|Added [[wandering trader]]s, which can open and close wooden doors.}}
{{History||1.11.0|snap=beta 1.11.0.7|[[Vindicator]]s can now break doors during [[raid]]s.}}
{{History||1.16.0|snap=beta 1.15.0.51|Zombies can no longer break iron doors.<ref>{{bug|MCPE-43725}}</ref>}}
{{History|||snap=beta 1.16.0.51|[[File:Crimson Door BE1.png|32px]] [[File:Warped Door BE1.png|32px]] [[File:Crimson Door (item) JE1 BE1.png|32px]] [[File:Warped Door (item) JE1 BE1.png|32px]] Added crimson and warped doors.
|Added [[piglin]]s, which can open and close doors.}}
{{History|||snap=beta 1.16.0.63|[[File:Crimson Door BE2.png|32px]] [[File:Warped Door BE2.png|32px]] [[File:Crimson Door (item) JE2 BE2.png|32px]] [[File:Warped Door (item) JE2 BE2.png|32px]] The textures of crimson and warped doors have been changed.}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Jungle Door (item) JE4 BE2.png|32px]] Changed the texture of the jungle door item.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Oak Door (item) JE4 BE3.png|32px]] [[File:Spruce Door (item) JE4 BE2.png|32px]] [[File:Birch Door (item) JE4 BE2.png|32px]] [[File:Jungle Door (item) JE5 BE3.png|32px]] [[File:Acacia Door (item) JE4 BE2.png|32px]] [[File:Dark Oak Door (item) JE4 BE2.png|32px]][[File:Iron Door (item) JE3 BE3.png|32px]] All [[item]] textures for all doors except crimson and warped have been changed.}}
{{History||1.19.0|snap=beta 1.19.0.20|[[File:Mangrove Door BE1.png|32px]] [[File:Mangrove Door (item) JE1 BE1.png|32px]] Added mangrove doors.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|[[File:Bamboo Door BE1.png|32px]] [[File:Bamboo Door (item) JE1 BE1.png|32px]] Added bamboo doors behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.
|The doors now use the same opening and closing [[sound]] effects as ''[[Java Edition]]''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|[[File:Cherry Door JE2.png|32px]] [[File:Cherry Door (item) JE2.png|32px]] Added cherry doors behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History||1.20.0|snap=beta 1.20.0.21|Bamboo and cherry doors are now available without using the "Next Major Update" experimental toggle.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Oak Door JE3 BE1.png|32px]] [[File:Iron Door JE1 BE1.png|32px]] [[File:Oak Door (item) JE2 BE1.png|32px]] [[File:Iron Door (item) JE1 BE1.png|32px]] Added doors.}}
{{History||xbox=TU5|Doors can be found in the Redstone & Transportation tab in the [[Creative inventory]].}}
{{History||xbox=TU14|ps=1.04|Doors being broken by [[zombie]]s now show [[damage]].
|Moved doors to the Building Blocks tab in the Creative inventory.}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|[[File:Spruce Door JE1 BE1.png|32px]] [[File:Birch Door JE1 BE1.png|32px]] [[File:Jungle Door JE2 BE1.png|32px]] [[File:Spruce Door (item) JE3 BE1.png|32px]] [[File:Birch Door (item) JE3 BE1.png|32px]] [[File:Jungle Door (item) JE3 BE1.png|32px]] Added spruce, birch, and jungle door variants.
|The [[crafting]] recipes of doors now yield 3 doors instead of 1.
|The original wooden door (''Door'') has been renamed to ''Oak Door''.}}
{{History||xbox=TU27|xbone=CU15|ps=1.18|[[File:Acacia Door JE2 BE1.png|32px]] [[File:Dark Oak Door JE1 BE1.png|32px]] [[File:Acacia Door (item) JE3 BE1.png|32px]] [[File:Dark Oak Door (item) JE3 BE1.png|32px]] Acacia and dark oak doors have been added to the [[Creative]] [[inventory]].}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Acacia doors and dark oak doors are now obtainable in [[survival]] mode.}}
{{History||?| [[File:Oak Door (item) JE3 BE2.png|32px]] [[File:Iron Door (item) JE2 BE2.png|32px]] Oak and iron door's inventory textures have been changed to match Java Edition}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Oak Door BE4.png|32px]] [[File:Spruce Door BE2.png|32px]] [[File:Birch Door BE2.png|32px]] [[File:Jungle Door BE2.png|32px]] [[File:Acacia Door BE2.png|32px]] [[File:Dark Oak Door BE2.png|32px]] [[File:Iron Door BE6.png|32px]] The textures of all doors have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Oak Door JE2.png|32px]] [[File:Spruce Door JE1 BE1.png|32px]] [[File:Birch Door JE1 BE1.png|32px]] [[File:Jungle Door JE2 BE1.png|32px]] [[File:Acacia Door JE2 BE1.png|32px]] [[File:Dark Oak Door JE1 BE1.png|32px]] [[File:Iron Door JE2 BE5.png|32px]] [[File:Oak Door (item) JE3 BE2.png|32px]] [[File:Spruce Door (item) JE3 BE1.png|32px]] [[File:Birch Door (item) JE3 BE1.png|32px]] [[File:Jungle Door (item) JE3 BE1.png|32px]] [[File:Acacia Door (item) JE3 BE1.png|32px]] [[File:Dark Oak Door (item) JE3 BE1.png|32px]] [[File:Iron Door (item) JE1 BE1.png|32px]] Added doors.}}
{{History|foot}}

<gallery>
Beta 1.7 punching oak door.png|From [[Java Edition Beta 1.7]] to Beta 1.7.2, doors produced [[placeholder texture]] particles when broken or punched on some sides.
</gallery>

Historical sounds:
{| class="wikitable"
! Sound
! From
! to
! Pitch
|-
| {{sound||Door closing old.ogg|Door opening old.ogg}}
| ?
| Sound Update
| ?
|-
| {{sound||Door open.ogg|Door close.ogg}}
| Sound Update
| 15w43a
| ?
|}

=== Door "items" ===
{{:Technical blocks/Doors}}

== Issues ==
{{Issue list}}

== Trivia ==

* Door models have an extra hinge on the opposite side of the actual functional hinge.<ref>{{bug|MC-106697|||WAI}}</ref>

== Gallery ==
<gallery>
Oak Door.png|Oak Door
Spruce Door.png|Spruce Door
Birch Door.png|Birch Door
Jungle Door.png|Jungle Door
Acacia Door.png|Acacia Door
Dark Oak Door.png|Dark Oak Door
Mangrove Door.png|Mangrove Door
Cherry Door.png|Cherry Door
Bamboo Door.png|Bamboo Door
Crimson Door.png|Crimson Door
Warped Door.png|Warped Door
Iron Door.png|Iron Door
Oak Door (item) JE4 BE3.png|Oak Door (item)
Spruce Door (item) JE4 BE2.png|Spruce Door (item)
Birch Door (item) JE4 BE2.png|Birch Door (item)
Jungle Door (item) JE5 BE3.png|Jungle Door (item)
Acacia Door (item) JE4 BE2.png|Acacia Door (item)
Dark Oak Door (item) JE4 BE2.png|Dark Oak Door (item)
Mangrove Door (item) JE1 BE1.png|Mangrove Door (item)
Cherry Door (item) JE2.png|Cherry Door (item)
Bamboo Door (item) JE1 BE1.png|Bamboo Door (item)
Crimson Door (item) JE2 BE2.png|Crimson Door (item)
Warped Door (item) JE2 BE2.png|Warped Door (item)
Iron Door (item) JE3 BE3.png|Iron Door (item)
</gallery>

=== Screenshots ===
<gallery>
Iron Door in Stronghold.png|Naturally occurring iron door in a [[stronghold]].
Wooden Doors 1.8.png|First picture of brand-new 1.8 variants of doors.
Door Creeper.png|A creeper behind some dark oak doors.
Doortypes.png|All types of doors with their respective trapdoors.
FloatingDoorArrows.jpg|Arrows shot into a door that was opened, causing a floating bug.
Jeb Crafting Doors.png|First image of three doors being crafted at once.
Jappa Closet.jpg|A closet made from oak doors.
</gallery>

=== Concept Art ===
<gallery>
Bamboo Wood and Door Concept Art.png|Bamboo door concept art.
Bamboo Door Prototype Textures.png|Bamboo door prototype textures.
</gallery>

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--door Taking Inventory: Door] – Minecraft.net on September 29, 2022

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

[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Utility blocks]]
[[Category:Mechanics]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]

[[cs:Dveře]]
[[de:Tür]]
[[el:Door]]
[[es:Puerta]]
[[fr:Porte]]
[[hu:Ajtók]]
[[it:Porta]]
[[ja:ドア]]
[[ko:문]]
[[nl:Deur]]
[[pl:Drzwi]]
[[pt:Porta]]
[[ru:Дверь]]
[[th:ประตู]]
[[uk:Двері]]
[[zh:门]]</li><li>[[Dragon's Breath|Dragon's Breath]]<br/>{{Item
| image = Dragon's Breath.png
| renewable = Yes
| stackable = Yes (64)
| rarity = Uncommon
}}

The '''dragon's breath''' is a [[brewing]] item that is used solely to make [[lingering potion]]s.

== Obtaining ==

The dragon's breath can be obtained by scooping  up the [[ender dragon]]'s breath attack or the purple [[area effect cloud|effect clouds]] caused by [[dragon fireball]]s in an empty [[glass bottle]].

== Usage ==

=== Brewing ingredient ===

Dragon's breath may be added to any splash potion to upgrade it to a lingering potion, which can be used to create a lasting [[Lingering Potion#Area Effect Cloud|area effect cloud]], or to craft [[Arrow#Tipped arrows|tipped arrows]].
{{brewing
  |name=[[Lingering Potion]]
  |showname=1
  |Dragon's Breath
  |Any Lingering Potion
  |base=Any Splash Potion}}

When put 2 or more dragon's breath in the brewing stand, after the brewing process, a glass bottle will drop as an [[Item (entity)|entity]]. However, if put only 1 dragon's breath in the brewing stand, after the brewing process, the glass bottle is consumed and cannot be retrieved.<ref>{{bug|MC-259583}}</ref>

== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Bottle fill dragon breath1.ogg
|sound2=Bottle fill dragon breath2.ogg
|subtitle=Bottle fills
|source=neutral
|description=Filling a glass bottle with dragon's breath
|id=item.bottle.fill_dragonbreath
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Bottle fill dragon breath1.ogg
|sound2=Bottle fill dragon breath2.ogg
|source=sound
|description=When a bottle is filled with dragon's breath
|id=bottle.dragonbreath
|volume=0.7<wbr>{{Until|BE 1.20.40}}<br>1.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0
|foot=1}}

== Achievements ==

{{Load achievements|You Need a Mint}}

== Advancements ==
{{load advancements|You Need a Mint}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Dragon's Breath
|spritetype=item
|nameid=dragon_breath
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Dragon's Breath
|spritetype=item
|nameid=dragon_breath
|id=560
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||1.9|snap=15w33a|[[File:Dragon's Breath JE1 BE1.png|32px]] Added dragon's breath.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 437.}}
{{History||1.14|snap=18w43a|[[File:Dragon's Breath JE2 BE2.png|32px]] The texture of dragon's breath has been changed.}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Dragon's Breath JE1 BE1.png|32px]] Added dragon's breath.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Dragon's Breath JE2 BE2.png|32px]] The texture of dragon's breath has been changed.}}

{{History|console}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|switch=1.0.1|[[File:Dragon's Breath JE1 BE1.png|32px]] Added dragon's breath.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Dragon's Breath JE2 BE2.png|32px]] The texture of dragon's breath has been changed.}}

{{History|3ds}}
{{History||1.7.10|[[File:Dragon's Breath JE1 BE1.png|32px]] Added dragon's breath.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* If the dragon's breath is used in a [[crafting]] recipe (using a [[mod]] or a [[data pack]]), it becomes an empty bottle instead of being entirely consumed.

== References ==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/dragon-s-breath Taking Inventory: Dragon's Breath] – Minecraft.net on June 9, 2023

{{Items}}

[[Category:Renewable resources]]

[[de:Drachenatem]]
[[fr:Souffle de dragon]]
[[it:Soffio di drago]]
[[ja:ドラゴンブレス]]
[[ko:드래곤의 숨결]]
[[nl:Drakenadem]]
[[pl:Oddech smoka]]
[[pt:Bafo do dragão]]
[[ru:Драконье дыхание]]
[[zh:龙息]]
[[Category:Brewing recipe]]</li></ul>
13w37aBlocks 149 (unpowered_comparator) and 150 (powered_comparator) were removed from the /give command.
1.8
{{Extension DPL}}<ul><li>[[Goat Horn|Goat Horn]]<br/>{{redirect|Horn}}
{{Item
| image = Goat Horn JE1 BE1.png
| renewable = Yes
| stackable = No
}}

A '''goat horn''' is an [[item]] dropped by [[goat]]s. It has eight variants, and each plays a unique sound when {{Control|used}} which can be heard by [[Player|players]] in a large radius.

== Obtaining ==
=== Mob loot ===
A horn is dropped when an adult [[goat]] rams a tree or any other hard block that occurs naturally where goats spawn. These include [[stone]], [[coal ore]], [[copper ore]], [[iron ore]], [[emerald ore]], [[log]], or [[packed ice]]. Goats do not ram other solid blocks. {{IN|java}}, these blocks are listed under the {{cd|snaps_goat_horn}} [[tag]], and can be modified by [[data pack]]s.

Up to two horns can be dropped from an adult goat. Regular goats may drop the Ponder, Sing, Seek, and Feel horns, while screaming goats drop the Admire, Call, Yearn, and Dream horns. A specific goat drops only one type of horn; that is, if a goat drops a Sing horn, its other horn is also a Sing horn.

=== Natural generation ===
{{LootChestItem|goat-horn}}
Only the four variants from regular goats can be found here.

== Usage ==
When {{control|used}}, they play a loud sound that can be heard from up to 256 blocks, but are also limited by the server view distance. Each horn variant plays a unique sound. There are eight variants, four of which are exclusive to [[Goat#Spawning|screaming goats]].

There is a cooldown of seven seconds between each use of the horn. All goat horns are affected by this cooldown.

== Sounds ==
=== Generic ===
{{edition|java}}:
{{Sound table
|sound=Goat horn break1.ogg
|sound2=Goat horn break2.ogg
|sound3=Goat horn break3.ogg
|sound4=Goat horn break4.ogg
|subtitle=Goat Horn breaks off
|source=neutral
|description=When a goat's horn breaks off
|id=entity.goat.horn_break
|translationkey=subtitles.entity.goat.horn_break
|volume=0.9
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Goat horn break1.ogg
|sound2=Goat horn break2.ogg
|sound3=Goat horn break3.ogg
|sound4=Goat horn break4.ogg
|description=When a goat's horn breaks off
|source=hostile
|id=mob.goat.horn_break
|volume=1.0
|pitch=1.0
|foot=1}}

=== Playing ===
{{edition|java}}:
{{Sound table
|sound=Goat Horn Call0.ogg
|description="Ponder"
|subtitle=Goat horn plays
|source=Jukebox/Note Blocks
|id=item.goat_horn.sound.0
|translationkey=subtitles.item.goat_horn.play
|volume=16.0
|pitch=1.0
|distance=256}}
{{Sound table
|sound=Goat Horn Call1.ogg
|description="Sing"
|subtitle=Goat horn plays
|source=Jukebox/Note Blocks
|id=item.goat_horn.sound.1
|translationkey=subtitles.item.goat_horn.play
|volume=16.0
|pitch=1.0
|distance=256}}
{{Sound table
|sound=Goat Horn Call2.ogg
|description="Seek"
|subtitle=Goat horn plays
|source=Jukebox/Note Blocks
|id=item.goat_horn.sound.2
|translationkey=subtitles.item.goat_horn.play
|volume=16.0
|pitch=1.0
|distance=256}}
{{Sound table
|sound=Goat Horn Call3.ogg
|description="Feel"
|subtitle=Goat horn plays
|source=Jukebox/Note Blocks
|id=item.goat_horn.sound.3
|translationkey=subtitles.item.goat_horn.play
|volume=16.0
|pitch=1.0
|distance=256}}
{{Sound table
|sound=Goat Horn Call4.ogg
|description="Admire"<ref group=note name=screaming>These are dropped by screaming goats.</ref>
|subtitle=Goat horn plays
|source=Jukebox/Note Blocks
|id=item.goat_horn.sound.4
|translationkey=subtitles.item.goat_horn.play
|volume=16.0
|pitch=1.0
|distance=256}}
{{Sound table
|sound=Goat Horn Call5.ogg
|description="Call"<ref group=note name=screaming/>
|subtitle=Goat horn plays
|source=Jukebox/Note Blocks
|id=item.goat_horn.sound.5
|translationkey=subtitles.item.goat_horn.play
|volume=16.0
|pitch=1.0
|distance=256}}
{{Sound table
|sound=Goat Horn Call6.ogg
|description="Yearn"<ref group=note name=screaming/>
|subtitle=Goat horn plays
|source=Jukebox/Note Blocks
|id=item.goat_horn.sound.6
|translationkey=subtitles.item.goat_horn.play
|volume=16.0
|pitch=1.0
|distance=256}}
{{Sound table
|sound=Goat Horn Call7.ogg
|description="Dream"<ref group=note name=screaming/>
|subtitle=Goat horn plays
|source=Jukebox/Note Blocks
|id=item.goat_horn.sound.7
|translationkey=subtitles.item.goat_horn.play
|volume=16.0
|pitch=1.0
|distance=256
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Goat Horn Call0.ogg
|source=Jukebox/Note Blocks<wbr>{{Until|BE 1.20.40}}<br>Hostile Creatures<wbr>{{Upcoming|BE 1.20.40}}|overridesource=1
|description="Ponder"
|id=horn.call.0
|volume=1.0<wbr><ref group=sound name=nodistance>{{Bug|MCPE-153254}}</ref><wbr>{{Until|BE 1.20.40}}<br>16.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0}}
{{Sound table
|sound=Goat Horn Call1.ogg
|source=Jukebox/Note Blocks<wbr>{{Until|BE 1.20.40}}<br>Hostile Creatures<wbr>{{Upcoming|BE 1.20.40}}|overridesource=1
|description="Sing"
|id=horn.call.1
|volume=1.0<wbr><ref group=sound name=nodistance/><wbr>{{Until|BE 1.20.40}}<br>16.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0}}
{{Sound table
|sound=Goat Horn Call2.ogg
|source=Jukebox/Note Blocks<wbr>{{Until|BE 1.20.40}}<br>Hostile Creatures<wbr>{{Upcoming|BE 1.20.40}}|overridesource=1
|description="Seek"
|id=horn.call.2
|volume=1.0<wbr><ref group=sound name=nodistance/><wbr>{{Until|BE 1.20.40}}<br>16.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0}}
{{Sound table
|sound=Goat Horn Call3.ogg
|source=Jukebox/Note Blocks<wbr>{{Until|BE 1.20.40}}<br>Hostile Creatures<wbr>{{Upcoming|BE 1.20.40}}|overridesource=1
|description="Feel"
|id=horn.call.3
|volume=1.0<wbr><ref group=sound name=nodistance/><wbr>{{Until|BE 1.20.40}}<br>16.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0}}
{{Sound table
|sound=Goat Horn Call4.ogg
|source=Jukebox/Note Blocks<wbr>{{Until|BE 1.20.40}}<br>Hostile Creatures<wbr>{{Upcoming|BE 1.20.40}}|overridesource=1
|description="Admire"<ref group=note name=screaming/>
|id=horn.call.4
|volume=1.0<wbr><ref group=sound name=nodistance/><wbr>{{Until|BE 1.20.40}}<br>16.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0}}
{{Sound table
|sound=Goat Horn Call5.ogg
|source=Jukebox/Note Blocks<wbr>{{Until|BE 1.20.40}}<br>Hostile Creatures<wbr>{{Upcoming|BE 1.20.40}}|overridesource=1
|description="Call"<ref group=note name=screaming/>
|id=horn.call.5
|volume=1.0<wbr><ref group=sound name=nodistance/><wbr>{{Until|BE 1.20.40}}<br>16.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0}}
{{Sound table
|sound=Goat Horn Call6.ogg
|source=Jukebox/Note Blocks<wbr>{{Until|BE 1.20.40}}<br>Hostile Creatures<wbr>{{Upcoming|BE 1.20.40}}|overridesource=1
|description="Yearn"<ref group=note name=screaming/>
|id=horn.call.6
|volume=1.0<wbr><ref group=sound name=nodistance/><wbr>{{Until|BE 1.20.40}}<br>16.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0}}
{{Sound table
|sound=Goat Horn Call7.ogg
|source=Jukebox/Note Blocks<wbr>{{Until|BE 1.20.40}}<br>Hostile Creatures<wbr>{{Upcoming|BE 1.20.40}}|overridesource=1
|description="Dream"<ref group=note name=screaming/>
|id=horn.call.7
|volume=1.0<wbr><ref group=sound name=nodistance/><wbr>{{Until|BE 1.20.40}}<br>16.0<wbr>{{Upcoming|BE 1.20.40}}
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{el|je}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Goat Horn
|spritetype=item
|nameid=goat_horn
|form=item
|foot=1}}

{{el|be}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Goat Horn
|spritetype=item
|nameid=goat_horn
|form=item
|id=624
|translationkey=item.goat_horn.name, item.minecraft.goat_horn.sound.0, item.minecraft.goat_horn.sound.1, item.minecraft.goat_horn.sound.2, item.minecraft.goat_horn.sound.3, item.minecraft.goat_horn.sound.4, item.minecraft.goat_horn.sound.5, item.minecraft.goat_horn.sound.6, item.minecraft.goat_horn.sound.7
|foot=1}}

=== Item data ===
==== ''Java Edition'' ====
<div class="treeview">
*{{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Goat Horn}}
</div>
Goat horns use the "instrument" tag to control which sound can be played when using a goat horn. The values of the tag (to be prefixed with <code>minecraft:</code>) are:
{| class="wikitable sortable" style="text-align: center;"
!Sound type !![[Resource location|Identifier]]
|-
|Ponder||<code>ponder_goat_horn</code>
|-
|Sing ||<code>sing_goat_horn</code>
|-
|Seek ||<code>seek_goat_horn</code>
|-
|Feel ||<code>feel_goat_horn</code>
|-
|Admire||<code>admire_goat_horn</code>
|-
|Call ||<code>call_goat_horn</code>
|-
|Yearn||<code>yearn_goat_horn</code>
|-
|Dream||<code>dream_goat_horn</code>
|}

== History ==
{{History||October 16, 2021|link=https://www.twitch.tv/videos/1178420217?t=02h46m05s|Ulraf, a game developer on ''Minecraft'', states that goat horns are not included in [[Java Edition 1.18]].}}
{{History||November 17, 2021|link=https://www.minecraft.net/en-us/article/caves---cliffs-update-part-ii-coming|Goat horns are initially announced to be added after "The Wild Update".}}
{{History|java}}
{{History||1.19|snap=22w17a|[[File:Goat Horn JE1 BE1.png|32px]]Added goat horns.}}
{{History||1.19|snap=Pre-release 2|Goat Horns now snap when a goat rams into [[copper ore]].<ref>{{bug|MC-250941|||Fixed }}</ref>}}
{{History|Bedrock}}
{{History||Caves & Cliffs<br>(experimental)|link=Caves & Cliffs|snap=beta 1.16.200.52|[[File:Goat Horn JE1 BE1.png|32px]]Added goat horns behind the "Caves and Cliffs" experimental toggle.}}
{{History|||snap=beta 1.16.210.51|Goats now drop 2 horns each.}}
{{History|||snap=beta 1.17.20.20|Baby goats no longer drop horns.}}
{{History||1.18.0|snap=beta 1.18.0.20|Goat horns are now available outside of experimental gameplay.}}
{{History|||snap=beta 1.18.0.22|Goat horns have been moved behind the "Vanilla Experiments" [[experimental gameplay|experiments]] toggle.}}
{{History||Vanilla Experiments (experimental)|link=Experimental Gameplay|snap=beta 1.18.20.23|Goat horns now have a cooldown after being used.}}
{{History|||snap=beta 1.18.20.25|Goat horns now have an animation when being used in first person.
|Goats now make a sound when they drop goat horns.}}
{{History|||snap=beta 1.18.30.26|Goat horns are now used to craft [[copper horn]]s.|Changed goat horn sounds.}}
{{History||Vanilla Experiments (experimental)|link=Experimental Gameplay|snap=beta 1.19.0.24|Goat horns are no longer used to craft copper horns, as copper horns have been removed.|Changed goat horn sounds.{{verify}}|Removed "Fly" and "Dream" goat horns.}}
{{History||1.19.0|snap=beta 1.19.0.28|Goat horns are now available without enabling experimental gameplay.}}
{{History||1.19.10|snap=beta 1.19.10.22|Renamed the "Resist" goat horn to the "Dream" goat horn to match ''Java Edition''.|The "Feel" goat horn now plays the same sound as ''Java Edition''.}}
{{History|upcoming bedrock}}
{{History||1.20.40|snap=beta 1.20.40.22|Goat horns now have a range of 256 blocks.<ref name=nodistance>{{Bug|MCPE-153254}}</ref>}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The "seek" horn sounds similar to the "ominous horn" that announces a [[raid]].

== Gallery ==
<gallery>
File:Screenshot (17).png|Steve using a goat horn.
File:Alex uses a goat horn.png|Alex using a goat horn.
File:Screenshot (18).png|The goat horn animation in first person.
File:Screenshot (19).png|The goat horn animation with "Left Hand" option enabled.
</gallery>

== Notes ==
<references group="note" />

== References ==
{{reflist}}

== External Links ==

* [https://www.minecraft.net/en-us/article/taking-inventory--goat-horn Taking Inventory: Goat Horn] - Minecraft.net on February 16, 2023
{{Items}}

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

[[de:Ziegenhorn]]
[[es:Cuerno de cabra]]
[[fr:Corne de chèvre]]
[[it:Corno di capra]]
[[ja:ヤギの角笛]]
[[pl:Kozi róg]]
[[pt:Chifre de cabra]]
[[ru:Козий рог]]
[[zh:山羊角]]</li><li>[[:Category:Invalid data value items|Category:Invalid data value items]]<br/>[[Category:Items]]</li></ul>
14w04aComparators now measure item frames.
14w28aComparators now measure cakes.
1.9
{{Extension DPL}}<ul><li>[[Longer String|Longer String]]<br/>{{stub}}
{{Joke feature}}
{{exclusive|java}}
{{item
| image = Longer String.png
| rarity=Common
| renewable=Yes
| stackable=Yes (64)
}}
'''Longer string''' is a joke item from [[Java Edition 23w13a_or_b]].

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

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

[[ja:Longer String]]
[[pt:Linha mais comprida]]</li><li>[[Raw Beef|Raw Beef]]<br/>{{Item
| title = Raw Beef
| image = Raw Beef.png
| heals = {{hunger|3}}
| renewable = Yes
| stackable = Yes (64)
}}

'''Raw beef''' is a [[food]] item that can be eaten by the [[player]] or cooked in a [[furnace]], [[smoker]], or [[campfire]] to make [[steak]].

== Obtaining ==

=== Mob loot ===

When adult [[cow]]s and [[mooshroom]]s are killed, they drop 1-3 raw beef. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III. If killed while on fire, they drop [[steak]] instead.

===  Chest loot ===

{{LootChestItem|raw-beef}}

== Usage ==

=== Food ===

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

=== Smelting ingredient ===

{{Smelting
|showname=1
|Raw Beef
|Steak
|0.35
}}

=== Wolves ===

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

=== Trading ===

Journeyman-level Butcher villagers have a 50% chance to buy 10 raw beef for an emerald.{{only|bedrock}}

Journeyman-level Butcher villagers always offer buy 10 raw beef for an emerald.{{only|java}}

==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=Raw Beef
|spritetype=item
|nameid=beef
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Beef
|spritetype=item
|nameid=beef
|id=273
|form=item
|foot=1}}

== History ==

{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Raw Beef JE1 BE1.png|32px]] Added raw beef.|Raw beef is one of the new [[food]] items, [[drops|dropped]] by [[cow]]s in addition to their [[leather]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Raw beef can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Raw beef can now be [[trading|sold]] to butcher [[villager]]s, at 14–17 raw beef for 1 [[emerald]].}}
{{History|||snap=1.3|[[File:Raw Beef JE2.png|32px]] The texture of raw beef has been changed.}}
{{History||1.4.2|snap=12w37a|[[File:Raw Beef JE3 BE2.png|32px]] The texture of raw beef has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|[[Villager]]s no longer [[trading|trade]] for raw beef.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 363.}}
{{History||1.14|snap=18w43a|[[File:Raw Beef JE4 BE3.png|32px]] The texture of raw beef has been changed.}}
{{History|||snap=18w49a|Raw beef can now be found in [[chest]]s in [[village]] butcher shops.}}
{{History|||snap=19w11a|Butcher [[villager]]s now [[trading|buy]] raw beef.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Raw Beef JE1 BE1.png|32px]] Added raw beef.}}
{{History||v0.5.0|Raw beef now restores {{hp|3}} instead of {{hp|1}}.}}
{{History||v0.8.0|snap=build 1|[[File:Raw Beef JE3 BE2.png|32px]] The texture of raw beef has been changed, so that it no longer has a dark outline.}}
{{History||v0.9.0|snap=build 1|Raw beef has been added to [[Creative]] mode.}}
{{History||v0.12.1|snap=build 1|Raw beef now restores [[hunger]] instead of [[health]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Beef JE4 BE3.png|32px]] The texture of raw beef has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Raw beef can now be found in [[village]] butcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Raw beef can now be [[trading|sold]] to butcher [[villager]]s.}}

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

{{History|New 3DS}}
{{History||0.1.0|[[File:Raw Beef JE3 BE2.png|32px]] Added raw beef.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==

<gallery>
File:Jeb steak.png|Raw Beef and [[Steak]] in a preview screenshot.
</gallery>


{{Items}}

[[de:Rohes Rindfleisch]]
[[es:Filete crudo]]
[[fr:Bœuf cru]]
[[hu:Nyers marhahús]]
[[ja:生の牛肉]]
[[ko:익히지 않은 소고기]]
[[nl:Rauwe biefstuk]]
[[pl:Surowa wołowina]]
[[pt:Bife cru]]
[[ru:Сырая говядина]]
[[uk:Сира яловичина]]
[[zh:生牛肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul>
15w42aWith the addition of the blaze powder fuel slot, brewing stands now have 5 slots instead of 4. Their original comparative power values are listed below:
15w47aComparators' side inputs now take power from redstone blocks.
Pocket Edition Alpha
0.14.0
{{Extension DPL}}<ul><li>[[Glowstone Dust|Glowstone Dust]]<br/>{{Item
| image = Glowstone Dust.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
'''Glowstone dust''' is an [[item]] obtained from mining [[glowstone]], and is mainly used to create [[potion]]s with increased strength and decreased duration.

== Obtaining ==
=== Mining ===
When broken using anything other than a [[Silk Touch]]-enchanted [[tool]], a [[glowstone]] block drops 2-4 glowstone dust. A [[Fortune]] enchantment increases the chances of higher drops, with Fortune III allowing an average yield of 3.5 glowstone dust per block.

=== Mob loot ===
[[Witch]]es have a chance of dropping 0–6 glowstone dust upon death. This is increased by 3 per level of [[Looting]], for a maximum of 0-15 glowstone dust. <!-- Do not add the blaze as it is in violation of MCW:UPTODATE due to the Legacy Console Edition being discontinued. Any edit that adds the blaze to this section will be immediately reverted. -->

=== Trading ===

{{IN|bedrock}}, journeyman-level cleric [[villager]]s sell one glowstone dust for 4 [[emerald]]s as part of their trades.

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

=== Brewing ingredient ===
{{brewing
|showname=1
|head=1
|Glowstone Dust
|Thick Potion
|base=Water Bottle
}}
{{brewing
  |name=Increased Potency
  |showbase=1
  |Glowstone Dust
  |base=[Potion of Healing II]Potion of Healing;[Potion of Regeneration II]Potion of Regeneration;[Potion of Strength II]Potion of Strength;[Potion of Swiftness II]Potion of Swiftness;[Potion of Harming II]Potion of Harming;[Potion of Poison II]Potion of Poison;[Potion of Leaping II]Potion of Leaping
  |foot=1
}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glowstone Dust
|spritetype=item
|nameid=glowstone_dust
|id=394
|form=item
|foot=1}}

== History ==
{{History|java alpha}}
{{History||v1.2.0|snap=preview|[[File:Glowstone Dust JE1 BE1.png|32px]] Added glowstone dust.
|Glowstone dust currently uses nine dust to [[crafting|craft]] 1 [[glowstone]] block.
|Also, each glowstone block drops only one glowstone dust.}}
{{History|java beta}}
{{History||1.6.6|The crafting recipe for glowstone blocks has been changed from 9 glowstone dust to 4.
|Each glowstone block now drops 2-4 glowstone dust when broken.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Glowstone dust can now be [[brewing|brewed]] in a [[water bottle]] to create a [[thick potion]].
|Glowstone dust now strengthens the [[potion]]s of [[Swiftness]], [[Healing]], [[Harming]], [[Poison]], [[Regeneration]] and [[Strength]].}}
{{History|||snap=Beta 1.9 Prerelease 4|Glowstone dust now strengthens the new potion of [[Regeneration]].}}
{{History||1.3.1|snap=12w21a|Glowstone dust has become a renewable resource, as priest [[villager]]s now sell glowstone blocks.}}
{{History||1.4.2|snap=12w38b|[[Witch]]es now have a chance of [[drops|dropping]] glowstone dust.}}
{{History||1.4.6|snap=12w49a|Glowstone dust can now be used to [[crafting|craft]] a [[firework star]] with a twinkle effect.}}
{{History||1.8|snap=14w27a|Glowstone dust now strengthens the new [[potion of Leaping]].}}
{{History||1.9|snap=15w31a|Glowstone dust is now used to craft [[spectral arrow]]s.
|Glowstone dust can no longer be added to extended [[potion]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 348.}}
{{History|||snap=18w07a|Glowstone dust now strengthens the new [[potion of the Turtle Master]].}}
{{History||1.14|snap=18w43a|[[File:Glowstone Dust JE2 BE2.png|32px]] The texture of glowstone dust has been changed.}}
{{History||1.16|snap=20w07a|Glowstone dust has a {{frac|2|109}} (~1.83%) chance of being offered by [[piglin]]s when [[bartering]], in a stack size of 2–4.}}
{{History|||snap=20w09a|Glowstone dust now has a {{frac|10|226}} (~4.42%) chance of being offered by piglins when bartering, in a stack size of 1–5.}}
{{History||1.16.2|snap=20w28a|Glowstone dust can no longer be obtained from bartering with piglins.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Glowstone Dust JE1 BE1.png|32px]] Added glowstone dust. It is currently unobtainable and serves no purpose.}}
{{History||v0.5.0|Glowstone dust is now obtainable through the [[nether reactor]].
|Glowstone dust can be used to craft [[glowstone]] blocks.}}
{{History||v0.12.1|snap=build 1|Glowstone dust can now be obtained through [[the Nether]] instead of the nether reactor.
|Glowstone dust is now available in the [[creative]] [[inventory]].|Glowstone dust can now be used to [[brewing|brew]] thick [[potion]]s and to strengthen potions.}}
{{History||v0.14.0|snap=build 1|Added [[witch]]es, which have a chance of [[drops|dropping]] glowstone dust upon [[death]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Glowstone dust can now be used to [[crafting|craft]] a [[firework star]] with a twinkle effect.}} 
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Glowstone Dust JE2 BE2.png|32px]] The texture of glowstone dust has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Glowstone dust can now be [[trading|bought]] from cleric [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|Glowstone dust can now be obtained from [[bartering]] with [[piglin]]s.}}
{{History||1.16.100|snap=beta 1.16.100.54|Glowstone dust can no longer be obtained from [[barter]]ing with [[piglin]]s.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Glowstone Dust JE1 BE1.png|32px]] Added glowstone dust.}}
{{History||xbox=TU8|0–2 glowstone dust is now [[drops|dropped]] when a [[blaze]] is killed.}}
{{History|Ps4}}
{{History||1.90|[[File:Glowstone Dust JE2 BE2.png|32px]] The texture of glowstone dust has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Glowstone Dust JE1 BE1.png|32px]] Added glowstone dust.}}
{{History|foot}}

== Issues ==
{{issue list}}

{{Items}}

[[Category:Renewable resources]]
[[Category:Brewing recipe]]

[[de:Glowstonestaub]]
[[es:Polvo de piedra luminosa]]
[[fr:Poudre lumineuse]]
[[hu:Izzókő-por]]
[[ja:グロウストーンダスト]]
[[ko:발광석 가루]]
[[nl:Gloeisteenstof]]
[[pl:Jasnopył]]
[[pt:Pó de pedra luminosa]]
[[ru:Светокаменная пыль]]
[[tr:Işık Taşı Tozu]]
[[uk:Пил світлокаменю]]
[[zh:荧石粉]]</li><li>[[Sword|Sword]]<br/>{{For|the item in ''Minecraft Dungeons''|MCD:Sword|MCD:Diamond Sword}}
{{Item
| image = <gallery>
Wooden Sword.png | Wooden
Stone Sword.png | Stone
Iron Sword.png | Iron
Golden Sword.png | Golden
Diamond Sword.png | Diamond
Netherite Sword.png | Netherite
</gallery>
| rarity = Common
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| durability = 
'''Java Edition'''<br>
Golden: 32<br>
Wood: 59<br>
Stone: 131<br>
Iron: 250<br>
Diamond: 1561<br>
Netherite: 2031<br>
'''Bedrock Edition'''<br>
Golden: 33<br>
Wood: 60<br> 
Stone: 132<br>
Iron: 251<br>
Diamond: 1562<br>
Netherite: 2032
| stackable = No
}}
The '''sword''' is a melee [[weapon]] that is mainly used to deal [[damage]] to [[entity|entities]] or for breaking certain blocks faster than by hand. A sword is made from one of six materials, in order of increasing quality and expense: wood, gold, stone, iron, diamond and netherite.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

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

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

== References ==
{{reflist}}

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

[[de:Schwert]]
[[es:Espada]]
[[fr:Épée]]
[[hu:Kard]]
[[ja:剣]]
[[ko:검]]
[[nl:Zwaard]]
[[pl:Miecz]]
[[pt:Espada]]
[[ru:Меч]]
[[tr:Kılıç]]
[[uk:Меч]]
[[zh:剑]]</li></ul>
build 1Added redstone comparators.
Legacy Console Edition
TU19CU7 1.12 Patch 1Added redstone comparators.
TU31CU19 1.22 Patch 3Can now measure item frames.

Issues

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

Trivia

  • Comparators have no bottom texture, which means they will appear see-through when viewed from below.


Advertisement