Minecraft Wiki
Register
Advertisement
This article is about the game mode. For information about Survival multiplayer, see Multiplayer. For the latter part of the Classic development phase that included Survival features, see Survival Test.
Survival1

Survival mode in Minecraft. The health and hunger bars, as well as the hotbar, are visible in this picture.

Survival is one of the game modes in Minecraft. Players must collect resources, build structures, battle mobs, eat, and explore the world in an effort to survive.

In Java Edition, advancements are available on any world type regardless of whether cheats are turned on or off.

In Bedrock Edition, players may receive achievements in a world not set to Flat while playing Survival mode with cheats off, add-ons off, and host privileges off. If a player creates a world in Creative mode and then loads it in Survival mode, the player cannot earn achievements in that world.


Gameplay[]

Crafting Table

A crafting table, required to craft most items.

In Survival, players have an inventory that consists of four rows of slots used to store items, nine of which are found on the hotbar. All blocks require a certain amount of time to break, unlike Creative mode where blocks can be instantly destroyed. These items can be used in recipes to create tools and other items. This process is known as crafting. The recipes can also be accessed by clicking the recipe book under the 2×2 crafting grid. Most crafting recipes require a crafting table. Some items cannot be obtained by crafting normally and require a furnace for processing (e.g. glass requires sand for smelting). Various other crafting stations exist for other uses, such as brewing, repairing, and enchanting.

2022Inventory

The basic Survival mode inventory in Java Edition.

In Survival mode, the player is able to receive damage from the environment (fall damage, suffocation, lava, and freezing) and from hostile mobs (unless playing on Peaceful, where hostile mobs are disabled). A player who receives enough damage dies and returns to the world spawn, or to a previously slept-in bed, or in the Nether to a respawn anchor if the player set one.

If cheats are enabled, a player can switch to Survival mode by using the command /gamemode survival but cannot earn achievements and advancements.

Goals[]

Big Cave Entrance

In caves like this, players can find many resources needed to advance in Survival mode.

In Survival, the main goal is to survive, build, explore, and have fun, but another optional goal in Survival is to defeat the ender dragon.

The player can "beat the game" in Survival mode by defeating the ender dragon in the End, but this does not terminate play; it provides a trophy item (a dragon egg), a large amount of experience, triggers the "End Poem" and unlocks a gateway to allow easier access to the outer end islands; another common goal is to fulfill all the predefined achievements[Bedrock Edition only]/advancements[Java Edition only]. Oceans also invite exploration, as they have corals, monuments, and adapted creatures like guardians, fish and drowned. The player can also optionally fight the wither boss in order to obtain a nether star so that they can craft a beacon, which also completes all of the in-game achievements. A player can search for an elytra and more after finding an end city in the End. After all, player cant entirely beat the game.

Survival single-player (SSP)[]

Survival single-player is the default game mode of Minecraft. Single-player may be played online or offline, as long as the player has played the game at least once in order to allow the game files to be downloaded to their device.

Midnight survival

A player building a house at night.

Survival multiplayer (SMP)[]

Main article: Multiplayer
BuildCollaboration

Two players working together to build a shelter in Survival multiplayer

Survival multiplayer allows players to connect to a central Minecraft server. This enables them to interact with each other and work together (or against each other) in order to achieve their goals. This is mostly used for friends to play on a private server together.

Video[]

History[]

Java Edition Classic
May 16, 2009Notch discussed Survival among the various game modes he envisioned for the game.
June 14, 2009Notch discussed his vision of how Survival mode would work.
August 4, 2009Survival mode testing starts. At this time, there was no health bar, and resource management was being tested.
August 18, 2009Hearts are shown, mobs take damage when hit.
0.24 SURVIVAL TEST
{{Extension DPL}}<ul><li>[[Minecart with Command Block|Minecart with Command Block]]<br/>{{ItemEntity
|renewable=No
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|image=Minecart with Command Block.gif
|image2=Minecart with Command Block BE.gif
|invimage1=Minecart with Command Block
|networkid=10
|drops={{drop|Item|Minecart|1}}
|health={{hp|6}}
|rarity=Epic
}}

A '''minecart with command block''' is an impulse{{only|java|short=y}} or repeating{{only|bedrock|education|short=y}} [[command block]] inside a [[minecart]].

== Obtaining ==

The minecart with command block is obtainable only using the [[command]] {{cmd|give @s command_block_minecart}}, as it does not appear in the creative inventory{{only|BE}} and has no [[crafting]] recipe. It can also be summoned using the command {{cmd|summon command_block_minecart}}. It can be broken like any other minecart, but only the minecart is retained, while the command block is lost.

== Usage ==
{{main|Command Block}}
The minecart with command block combines the functionalities of both minecarts and command blocks. Although the minecart visually contains an impulse command block, it functions more similarly to a repeating command block, and runs its command once every four game [[tick]]s when on an active [[activator rail]]. When it passes over a [[detector rail]] with a [[comparator]] connected next to it, it outputs the command block's result.

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritetype=item
|nameid=command_block_minecart
|id=563
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Command Block
|spritename=minecart-with-repeating-command-block
|spritetype=entity
|nameid=command_block_minecart
|id=100
|foot=1}}

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

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

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

== History ==
{{History|java}}
{{History||1.7.2|snap=13w39a|[[File:Minecart with Command Block JE1.png|32px]] [[File:Minecart with Command Block (item) JE1 BE2.png|32px]] Added minecart with command block.}}
{{History||1.9|snap=15w34a|[[File:Minecart with Command Block JE2.png|32px]] The texture of the [[command block]] in the [[minecart]] has been removed due to the new texture and types for the command block.}}
{{History|||snap=15w35a|[[File:Minecart with Command Block JE3.png|32px]] The texture of the command block has been changed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartCommandBlock</code> to <code>commandblock_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 422.}}
{{History|||snap=pre5|The entity ID has been changed to <code>command_block_minecart</code>.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Command Block JE4.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The textures of the minecart with command block has been changed.}}
{{History||1.17|snap=21w20a|Minecart with command block [[Rarity|rarity color]] was changed from common to epic.}}
{{History||1.19.3|snap=22w44a|Minecart with command block is now available in the creative inventory, but only if cheats are enabled.}}
{{History|||snap=22w45a|Moved the minecart with command block behind the Operator Utilities tab in the creative inventory. The tab is only available if cheats are enabled and the "Operator Items Tab" option in the controls menu is turned on.}}

{{History|pocket}}
{{History||1.0.5|snap=alpha 1.0.5.0|[[File:Minecart with Command Block BE1.png|32px]] [[File:Minecart with Command Block (item) BE1.png|32px]] Added minecart with command block. The [[minecart]] has a [[repeating command block]] in it, instead of an impulse command block.}}
{{History||1.1.0|snap=alpha 1.1.0.0|The entity ID has been changed from <code>minecartcommandblock</code> to <code>command_block_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Command Block BE2.png|32px]] [[File:Minecart with Command Block (item) JE2 BE3.png|32px]] The texture of the minecart with command block has been changed. Also the item texture has been changed to match {{el|je}}'s.<ref>{{bug|MCPE-42990}}</ref>}}
{{History|console}}
{{History||xbox=?|xbone=?|ps=?|wiiu=?|switch=?|Added minecart with command blocks. This only exists as an item, as placing it will result in a normal minecart being placed. The command block in the minecart cannot be modified via NBT editing and it has an unused tooltip stating "Used to execute commands on the move!".}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Minecart with command block 13w39b.png|A minecart with command block in [[1.16.4]].
File:A minecart command block testing the block in the red bucket with air.png|A minecart command block testing the block in the red area with [[air]].
</gallery>

==References==
{{Reflist}}

{{Items}}

{{Entities}}

[[de:Befehlsblocklore]]
[[fr:Wagonnet à bloc de commande]]
[[it:Carrello da miniera]]
[[ja:コマンドブロック付きのトロッコ]]
[[nl:Mijnkar met opdrachtblok]]
[[pl:Wagonik z blokiem poleceń]]
[[pt:Carrinho de mina com bloco de comando]]
[[ru:Вагонетка с командным блоком]]
[[uk:Вагонетка з командним блоком]]
[[zh:命令方块矿车]]</li><li>[[Item Frame|Item Frame]]<br/>{{redirect|Frame}}
{{ItemEntity
| group = Item Frame
| 1-1 = Item Frame.png
| 1-2 = Item Frame (item).png
| group2 = Glow Item Frame
| 2-1 = Glow Item Frame.png
| 2-2 = Glow Item Frame (item).png
| extratext = [[#Renders|View all renders]]
| renewable = Yes
| stackable = Yes (64)
| drops = {{ItemLink|Item Frame}} (1)<br> 
or
{{ItemLink|Glow Item Frame}} (1)<br>{{EnvSprite|items}} The item it contains.
}}

An '''item frame''' is an [[entity]]{{only|java|short=y}} or [[block entity]]{{only|bedrock|short=y}} that displays the item or block that is inside it.

A '''glow item frame''' keeps itself and the item inside it illuminated, even in the dark.

== Obtaining ==

=== Breaking ===

{{IN|je}}, an empty item frame can be broken simply by punching it. If the item frame contains an item, punching it drops the item, leaving the frame on the wall.

Because item frames are [[entities]] {{in|java}}, they can be broken in [[Adventure]] mode. They will also be targeted by commands using the @e selector.{{only|java}}

=== Natural generation ===

An item frame containing a pair of [[elytra]] generates in each [[end ship]].
[[File:BoatElytra.png|thumb|An item frame naturally generating in an end ship.]]

=== Crafting ===
{{Crafting
|head=1
|A1= Stick |B1= Stick   |C1= Stick
|A2= Stick |B2= Leather |C2= Stick
|A3= Stick |B3= Stick   |C3= Stick
|Output= Item Frame
|type= Decoration block
}}
{{Crafting
|foot=1
|Glow Ink Sac
|Item Frame
|Output= Glow Item Frame
|type= Decoration block
}}

=== Trading ===
Expert-level [[Trading#Cartographer|cartographer]] [[villager]]s have a chance to sell an item frame for 7 [[emerald]]s.

== Usage ==

=== Item display ===

[[File:Item Frame (map filled partial).png|thumb|150px|Item frame with partially filled map]]
Item frames can be placed on the sides of [[cactus]] blocks, [[pressure plate]]s, [[fence]]s, [[tree]]s, [[slab]]s, [[cobblestone wall]]s, [[chest]]s, [[door]]s, and all [[solid block]]s. They can also be placed on the top and bottom of these blocks. To place on chests and doors, the player needs to be [[sneaking]]. As item frames are an entity, multiple item frames can occupy the same block, although on different faces. It also allows non-solid blocks to occupy the same space.{{only|java}}

Players can place items in the frame by {{control|using}} the item. If a [[map]] is placed in an item frame, it enlarges to show the map in the size of a full block, with the item frame's location displayed as a green pointer on the map, pointing in the direction the item frame is facing. If this is done in the Nether, the green cursor spins around similar to the white cursor (players). If an item in an item frame has been renamed using an [[anvil]], it displays its custom name when the cursor is over the item frame. If the player places a block inside the frame, it is displayed in miniature half in, half out of the block. This can be most notably seen on stairs or slabs.

{{control|Pick block}} may be used on item frames by players in creative mode only, the control has no effect for players in Survival or Adventure mode. When the item frame is displaying an item, {{control|pick block}} picks the displayed item instead of the item frame.

Item frames can be placed on the lid of a [[shulker box]] that is positioned horizontally, but pop off when the lid is opened.{{only|java}}

=== Rotation ===
The displayed item can then be rotated by right-clicking the frame. Items displayed in the item frame can turn 45° diagonally, with a total of 8 possibilities (90° and 4 possibilities if it is a map), and the frame outputs a [[Mechanics/Redstone/Circuit#Power level|redstone signal]] depending on the rotation phase that can be interpreted by a [[redstone comparator]] (note that this rotation value is separate from the clock or compass rotation). As long as the frame remains placed, it remembers the orientation of the last item it held, and uses it for the next item it holds.{{only|java}}

=== Glow item frames ===
[[File:Item Frames Comparison.png|thumb|260px|Comparison between ordinary item frame and glow item frame in the dark.]]

When an item is placed inside a glow item frame, it appears to glow, even though it does not emit any [[light level]].

== Sounds ==
Item frames and glow item frames share the same sounds.
=== Generic ===
{{Edition|Bedrock}}:<!--Item frames are blocks in BE, so they get the generic section.-->
{{Sound table/Block/Item frame/BE}}
=== Unique ===
{{Edition|Java}}:
{{Sound table
|rowspan=2
|sound=Item Frame add item1.ogg
|sound2=Item Frame add item2.ogg
|soumd3=Item Frame add item3.ogg
|sound4=Item Frame add item4.ogg
|subtitle=Item Frame fills
|source=neutral
|description=When an item is placed in an item frame
|id=entity.item_frame.add_item
|translationkey=subtitles.entity.item_frame.add_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame fills
|source=neutral
|description=When an item is placed in a glow item frame
|id=entity.glow_item_frame.add_item
|translationkey=subtitles.entity.glow_item_frame.add_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame break1.ogg
|sound2=Item Frame break2.ogg
|sound3=Item Frame break3.ogg
|subtitle=Item Frame breaks<ref group=sound name=breaks>{{bug|MC-194948}}</ref>
|source=neutral
|description=When an item frame is broken or pops off
|id=entity.item_frame.break
|translationkey=subtitles.entity.item_frame.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame breaks<ref group=sound name=breaks/>
|source=neutral
|description=When a glow item frame is broken or pops off
|id=entity.glow_item_frame.break
|translationkey=subtitles.entity.glow_item_frame.break
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame place1.ogg
|sound2=Item Frame place2.ogg
|sound3=Item Frame place3.ogg
|sound4=Item Frame place4.ogg
|subtitle=Item Frame placed
|source=neutral
|description=When an item frame is placed
|id=entity.item_frame.place
|translationkey=subtitles.entity.item_frame.place
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame placed
|source=neutral
|description=When a glow item frame is placed
|id=entity.glow_item_frame.place
|translationkey=subtitles.entity.glow_item_frame.place
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame remove item1.ogg
|sound2=Item Frame remove item2.ogg
|sound3=Item Frame remove item3.ogg
|sound4=Item Frame remove item4.ogg
|subtitle=Item Frame empties
|source=neutral
|description=When an item is removed from an item frame
|id=entity.item_frame.remove_item
|translationkey=subtitles.entity.item_frame.remove_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame empties
|source=neutral
|description=When an item is removed from a glow item frame
|id=entity.glow_item_frame.remove_item
|translationkey=subtitles.entity.glow_item_frame.remove_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|rowspan=2
|sound=Item Frame rotate item1.ogg
|sound2=Item Frame rotate item2.ogg
|sound3=Item Frame rotate item3.ogg
|sound4=Item Frame rotate item4.ogg
|subtitle=Item Frame clicks
|source=neutral
|description=When an item is rotated in an item frame
|id=entity.item_frame.rotate_item
|translationkey=subtitles.entity.item_frame.rotate_item
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Glow Item Frame clicks
|source=neutral
|description=When an item is rotated in an item frame
|id=entity.glow_item_frame.rotate_item
|translationkey=subtitles.entity.glow_item_frame.rotate_item
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Item Frame add item1.ogg
|sound2=Item Frame add item2.ogg
|soumd3=Item Frame add item3.ogg
|sound4=Item Frame add item4.ogg
|source=block
|description=When an item is placed in an item frame
|id=block.itemframe.add_item
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Item Frame remove item1.ogg
|sound2=Item Frame remove item2.ogg
|sound3=Item Frame remove item3.ogg
|sound4=Item Frame remove item4.ogg
|source=block
|description=When an item is removed from an item frame
|id=block.itemframe.remove_item
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Item Frame rotate item1.ogg
|sound2=Item Frame rotate item2.ogg
|sound3=Item Frame rotate item3.ogg
|sound4=Item Frame rotate item4.ogg
|source=block
|description=When an item is rotated in an item frame
|id=block.itemframe.rotate_item
|volume=1.0
|pitch=1.0
|foot=1}}

== Achievements ==
{{load achievements|Map room}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Item Frame
|spritetype=item
|nameid=item_frame
|form=item}}
{{ID table
|displayname=Glow Item Frame
|spritetype=item
|nameid=glow_item_frame
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Item Frame
|spritetype=entity
|nameid=item_frame}}
{{ID table
|displayname=Glow Item Frame
|spritetype=entity
|nameid=glow_item_frame
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item Frame
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=item-frame
|spritetype=item
|nameid=frame
|id=513
|form=item}}
{{ID table
|displayname=Block
|spritename=item-frame
|spritetype=block
|nameid=frame
|id=199
|form=block
|translationkey=-
|itemform=item.frame}}
{{ID table
|displayname=Item
|spritename=glow-item-frame
|spritetype=item
|nameid=glow_frame
|id=623
|form=item}}
{{ID table
|displayname=Block
|spritename=glow-item-frame
|spritetype=block
|nameid=glow_frame
|form=block
|id=594
|itemform=item.glow_frame
|translationkey=-
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=item-frame
|spritetype=block
|nameid=ItemFrame}}
{{ID table
|displayname=Block entity
|spritename=glow-item-frame
|spritetype=block
|nameid=GlowItemFrame
|foot=1}}

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

{{/BS}}<br />
===Item data===
{{el|java}}:{{main|Player.dat format}}<div class="treeview">
*{{nbt|compound|tag}}'''<span data-ve-ignore="true" class="nowrap"> tag</span>''': The item's '''tag''' tag.
{{:Player.dat_format/Entity Spawners}}Unlike spawn eggs, cannot change the type of entity created using the <code>id</code> tag. Data that item frames do not normally use (see below) has no effect. 
</div>
===Entity data===
{{main|Entity format}}

{{IN|java}}, item frames have entity data that define various properties of the entity.

{{/ED}}

===Block data===

{{IN|bedrock}}, an item frame has a block entity associated with it that holds additional data about the block.

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

== Video==

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

==History==
{{History|java}}
{{History||August 15, 2012|link={{tweet|Dinnerbone|235724805196877824}}|[[File:Item Frame (pre-release).png|32px]] [[Dinnerbone]] showed the first image of item frames.}}
{{History||August 15, 2012|link={{tweet|Dinnerbone|235742974271700993}}|[[File:Item Frame (item) (pre-release).png|32px]] Dinnerbone showed item frame in item form.}}
{{History||August 15, 2012|link={{tweet|jeb_|235746335368814592}}|[[File:Item Frame (pre-release 2).png|32px]] [[Jeb]] showed the item frames with new model.}}
{{History||August 16, 2012|link={{tweet|Dinnerbone|236062188555624448}}|[[File:Item Frame (item) JE1 BE1.png|32px]] Dinnerbone showed the item frame in item form with new texture.}}
{{History||1.4.2|snap=12w34a|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames. 
|There is currently a bug where attempting to place an item frame in [[multiplayer]] causes an internal server error, as well as other bugs.}}
{{History|||snap=12w34b|The multiplayer item frame bug has been fixed.}}
{{History|||snap=12w38a|Item frames no longer despawn when the [[player]] moves 20 [[block]]s away.}}
{{History||1.7.2|snap=13w36a|Items renamed using an [[anvil]] now display their name when looked at up close.}}
{{History|||snap=13w38a|[[Map]]s placed in an item frame now cover the whole block face, allowing seamless tiling of adjacent maps. This makes undiscovered areas of maps invisible.}}
{{History|||snap=13w43a|[[File:Item Frame (map) JE1 BE1.png|32px]] Incomplete maps placed in item frames now display the item frame texture underneath.}}
{{History||1.8|snap=14w04a|[[Item]]s and [[block]]s displayed in the item frame now rotate 45 degrees when rotated instead of 90 degrees, and a [[comparator]] outputs a [[redstone]] signal depending on the rotation phase.}}
{{History|||snap=14w10a|Multiple item frames can no longer be placed on the same block face.}}
{{History||1.9|snap=15w41a|An item frame now generates in the treasure room of [[end ship]]s, above the [[shulker]] that guards the treasure. It holds [[elytra]].}}
{{History|||snap=15w49a|Item frames are no longer destroyed by [[lightning]] bolts.}}
{{History|||snap=15w50a|Added [[sound]]s to item frames: <code>entity.itemframe.add_item</code>, <code>entity.itemframe.break</code>, <code>entity.itemframe.place</code>, <code>entity.itemframe.remove_item</code>, and <code>entity.itemframe.rotate_item</code>.}}
{{History||1.11|snap=16w32a|The [[entity]] ID of item frames has been changed from <code>ItemFrame</code> to <code>item_frame</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 389.}}
{{History|||snap=17w50a|Item frames can now be put on floors and ceilings.}}
{{History||1.14|snap=18w43a|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}
{{History|||snap=19w11a|Item frames are now [[trading|sold]] by cartographer [[villager]]s.}}
{{History||1.15|snap=19w38a|[[File:Item Frame 19w38a.png|32px]] [[File:Item Frame Map 19w38a.png|32px]] Item frames now appear dark, same as suffocating [[mob]]s.<ref>{{bug|mc-161283|||Fixed}}</ref>}}
{{History|||snap=19w39a|Item frames are now colored correctly.}}
{{History||1.16|snap=20w10a|The NBT <code>Invisible</code> and <code>Fixed</code> have been added to item frames.}}
{{History||1.17|snap=21w03a|[[File:Glow Item Frame JE1 BE3.png|32px]] [[File:Glow Item Frame (map) JE1 BE3.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Added glow item frames.}}
{{History|||snap=21w10a|Added new [[subtitles]] for glow item frames.}}
{{History||1.18|snap=21w41a|[[File:Item Frame (item) JE3.png|32px]] [[File:Glow Item Frame (item) JE2.png|32px]] The textures of item frames and glow item frames as item have been changed.}}
{{History||1.19|snap=22w15a|Item frames now adjusts its hitbox to account for the larger size of a framed [[map]].}}
{{History|||snap=Pre-release 3|Reverted the change in 22w15a.}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (map) JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.
|Item frames are considered as a [[block entity]] instead of an [[entity]].<ref>{{tweet|_tomcc|690127591525728257|Let's create some drama: ItemFrames in MCPE will behave like signs and won't be placeable in blocks, and can't put many in the same block.|21 Jan 2016}}</ref>}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|An item frame containing [[elytra]] now generates in [[end city]] ships.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Item frames can now be [[trading|bought]] from cartographer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|Item frames can now be placed on the top and bottom of [[block]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, item frames are now offered by expert-level cartographer villager.}}
{{History||Caves & Cliffs (experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.59|[[File:Item Frame.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Added glow item frames.
|Has the default item frame block texture.}}
{{History|||snap=beta 1.16.210.60|Temporarily removed glow item frames due to a crash.}}
{{History|||snap=beta 1.16.220.50|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Glow Item Frame (item) JE1 BE1.png|32px]] Re-added glow item frames.}}
{{History|||snap=beta 1.16.220.52|[[File:Glow Item Frame BE2.png|32px]] [[File:Glow Item Frame (map) BE2.png|32px]] Glow Item Frame block texture uses update block texture due to a bug.}}
{{History||1.17.0|snap=beta 1.16.230.52|[[File:Item Frame.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] The glow item frame block textures have been reverted back to the previous one.}}
{{History|||snap=beta 1.17.0.50|[[File:Glow Item Frame JE1 BE3.png|32px]] [[File:Glow Item Frame (map) JE1 BE3.png|32px]] The textures of glow item frames have been changed to match Java Edition.
|Now produces [[redstone]] signals.}}
{{History|||snap=beta 1.17.0.52|Maps now glow in glow item frames.
|Glow Item Frames are no longer available only through [[Experimental Gameplay]].}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Item Frame (item) JE3.png|32px]] [[File:Glow Item Frame (item) JE2.png|32px]] The textures of item frames and glow item frames as item have been changed.}}

{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Item Frame LCE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.}}
{{History||xbox=TU11|The limit for item frames in a world has been increased. A message is now displayed when the maximum number of item frames are reached.}}
{{History||xbox=TU12|[[File:Item Frame JE1 BE1.png|32px]] The entity texture of item frames has been changed.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[Item]]s and [[block]]s displayed in the item frame now rotate 45 degrees when rotated instead of 90 degrees, and a [[redstone comparator|comparator]] now outputs a [[redstone]] signal depending on the rotation phase.}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|wiiu=Patch 13|Added [[sound]]s for item frames.}}
{{History||xbox=TU56|xbone=CU47|ps=1.55|wiiu=Patch 26|switch=1.0.6|If the [[item]] in the item frame has a name (from an [[anvil]]) it now shows as if there is a name tag on the item frame.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Item Frame JE2 BE2.png|32px]] [[File:Item Frame (map) JE2 BE2.png|32px]] [[File:Item Frame (item) JE2 BE2.png|32px]] The textures of item frames have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Item Frame JE1 BE1.png|32px]] [[File:Item Frame (map) JE1 BE1.png|32px]] [[File:Item Frame (item) JE1 BE1.png|32px]] Added item frames.}}
{{History|foot}}

== Issues==

{{issue list}}

== Trivia==

*The item frame is based upon a suggestion on [[wikipedia:Reddit|Reddit]], like the [[ender chest]] and [[flower pot]].<ref>{{Tweet|dinnerbone|235747041286975488}}</ref>
*The item frame is the only entity to reference a block [[model]].{{only|java|short=1}} Because of this, the texture of the frame border is the same as the birch planks texture.
*Item frame is the '''only''' placeable item that can interfere with other non-full block entities.
*Due to the way layer textures are displayed in Minecraft, maps float on item frames, similar to how icons float on the map itself.

== Gallery ==
=== Renders ===
<gallery>
Item Frame.png | Item Frame
Item Frame (map).png | Map Item Frame
Glow Item Frame.png | Glow Item Frame
Glow Item Frame (map).png | Map Glow Item Frame
Item Frame with Item.png | With item
Item Frame with rotated Item.png | With rotated item
Item Frame with Block.png | With block
Item Frame with rotated Block.png | With rotated block
</gallery>

=== Screenshots ===
<gallery>
Slab Frame.png|An item frame on the side of a slab.
ItemFrameBoxed.png|Four item frames in a one-block space.{{only|java}} 
Item Frames Woodbase.png|The frame itself uses the texture of birch planks.
Item Frame rotation.gif|The rotation of an item in an item frame.
Front-back-itemframe.png|The front and back of an item frame are the same.
Big skills right there.png|A glow item frame inside a glow item frame.
Frame fireplace.png|An image of a fireplace retweeted by Dinnerbone.
11 Framed.png|[[11]] in an item frame.
</gallery>

=== Development images ===
<gallery>
Suggestion for itemframes.png|Original Reddit image suggesting item frames and flower pots.
Item frame2.png|Dinnerbone's first screenshot showing armor and weapons.
Item frame3.png|Dinnerbone's second screenshot showing a map, a compass, and two diamond swords.
Item frame4.png|Dinnerbone's third screenshot showing a golden sword in all directions, the item frame item itself, and a working clock.
Item frame1.png|Jeb's screenshot of the item frame.
FlowerPot.png|Snapshot showing plant pots and item frames.
Item frame5.png|Snapshot image of an ender pearl in an item frame.
SOATPC.png|An image tweeted by Dinnerbone showing how hovering over an item frame containing a renamed item shows a name tag.
Pocket Edition Item Frames.jpg|First image of item frames in ''Bedrock Edition''.
</gallery>

== See also ==

*{{ItemLink|Painting}}

== References ==

{{Reflist}}

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

[[Category:Block entities]]
[[Category:Utility blocks]]
[[Category:Manufactured blocks]]
[[Category:Generated structure blocks]]
[[Category:Storage]]

[[cs:Rámeček]]
[[de:Rahmen]]
[[es:Marco]]
[[fr:Cadre]]
[[hu:Eszköz keret]]
[[it:Cornice]]
[[ja:額縁]]
[[ko:아이템 액자]]
[[nl:Voorwerplijst]]
[[pl:Ramka na przedmiot]]
[[pt:Moldura]]
[[ru:Рамка]]
[[th:กรอบโชว์สิ่งของ]]
[[zh:物品展示框]]</li></ul>
Added Survival mode in Survival Test. During this time, death was permanent, meaning players could not respawn and the level needed to be restarted unless a save file had been created.
A score system was implemented, where players gain more points the more mobs they kill. The player's score can only be seen when they die. Other mobs give more or less points than others: pigs give 10 points, zombies and skeletons give 100 points, and creepers give 250 points.
Until mid-Alpha, Survival single-player was the only available mode besides Classic Creative mode.
Java Edition Indev
0.31
{{Extension DPL}}<ul><li>[[Ink Sac|Ink Sac]]<br/>{{For|the variant dropped by Glow squids|Glow Ink Sac}}
{{Item
| image = Ink Sac.png
| renewable = Yes
| stackable = Yes (64)
}}

An '''ink sac''' is an [[item]] dropped by a [[squid]] upon death used to create [[black dye]], [[dark prismarine]]{{only|BE|short=1}}, and [[Book and Quill|books and quills]].

== Obtaining ==

=== Mob loot ===

==== Squid ====
{{see also|Tutorials/Squid farming|title1=Squid farming}}

A [[squid]] drops one to three ink sacs upon death. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1 to 6 with Looting III.

=== Fishing ===
Ink sacs can be obtained as a "junk" item from [[fishing]]. The [[Luck of the Sea]] [[enchantment]] decreases the chance.

=== Trading ===
[[Wandering trader]]s sometimes sell 3 ink sacs for an [[emerald]] {{in|bedrock}}. Apprentice level [[Trading#Librarian|librarians]] also buy 5 ink sacs for one [[emerald]].

=== Natural generation ===

{{LootChestItem|ink-sac}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

{{IN|bedrock}}, ink sacs can be also used in banner patterns:
{{banner crafting usage}}

=== Loom ingredient === 
{{Banner loom usage|Ink Sac}}

=== Dye ===
{{Dye usage}}
* Each type of [[Prismarine#Dark Prismarine|dark prismarine]] can be crafted using varying amounts of 8 [[Prismarine Shard#prismarine shards|prismarine shards]].

=== Trading ===
Journeyman-level librarian [[villager]]s have a {{frac|2|3}} chance to buy five ink sacs for an [[emerald]]. They always offer the trade {{in|bedrock|lc=}}.

=== Signs ===
Ink sacs can be applied to [[sign]]s or [[hanging sign]]s to revert glowing text back to default.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|subtitle=Ink Sac splotches
|source=block
|description=When an ink sac is used on a sign
|id=item.ink_sac.use
|translationkey=subtitles.item.ink_sac.use
|volume=1.0
|pitch=''varies'' <ref group=sound>Each sound can be 0.85, 0.88, or 0.9</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Ink sac1.ogg
|sound2=Ink sac2.ogg
|sound3=Ink sac3.ogg
|source=sound
|description=When an ink sac is used on a sign
|id=sign.ink_sac.use
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Ink Sac
|spritetype=item
|nameid=ink_sac
|aliasid=dye / 0
|id=413
|form=item
|translationkey=item.dye.black.name
|foot=1}}

== Video ==
{{video note|Ink sacs can no longer be used as a dye in Java Edition.}}
<div style="text-align:center">{{yt|ABYCZfawO60}}</div>

== History ==
{{History|java beta}}
{{History||1.2|[[File:Ink Sac JE1 BE1.png|32px]] Added ink sacks, together with all other dyes.}}
{{History||1.2_02|"Ink Sack" has been renamed to "Ink Sac".}}
{{History|java}}
{{History||1.3.1|snap=12w17a|Ink sacs are now used to craft [[book and quill]]s.}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Ink sacs can now be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be [[crafting|crafted]].}}
{{History||1.7.2|snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w25a|Ink sacs are now used to craft [[dark prismarine]].}}
{{History|||snap=14w30a|Added [[banner]]s, which can be [[dye]]d with ink sacs.}}
{{History||1.11|snap=16w39a|Ink sacs can now be used to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Ink sacs are now used to craft black [[concrete powder]].}}
{{History|||snap=17w15a|Ink sacs can now be used to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Ink sacs can now be used to craft [[black dye]].
|Ink sacs can no longer be used as a [[dye]].
|All of the dye-related functions and crafting recipes of ink sac (except books and quills and dark prismarine) have been transferred to black dye.
|[[File:Ink Sac JE2 BE2.png|32px]] The texture of ink sacs has been changed.}}
{{History|||snap=19w11a|Librarian [[villager]]s now [[trading|buy]] ink sacs.}}
{{History||1.15|snap=Pre-release 1|Ink sacs are no longer used to craft [[dark prismarine]].}}
{{History||1.17|snap=21w03a|Ink sacs can now be used to remove the text's glowing effect of a [[sign]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Ink sacs can now be used to remove the text's glowing effect of a [[hanging sign]].}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Ink Sac JE1 BE1.png|32px]] Added ink sacs. They are currently unobtainable and serve no purpose.}}
{{History||v0.8.0|snap=build 1|Ink sacs can now be used to craft [[cocoa beans]].}}
{{History|||snap=build 3|Ink sacs are now available in [[creative]].}}
{{History||v0.9.0|snap=build 1|Ink sacs now generate in [[village]] and [[stronghold]] [[chest]]s.}}
{{History||v0.11.0|snap=build 1|Ink sacs can now be obtained from [[squid]].
|Ink sacs can now be obtained as a junk [[item]] from [[fishing]].}}
{{History||v0.14.0|snap=build 1|Ink sacs now can now be used to dye water in [[cauldron]]s.}}
{{History||v0.16.0|snap=build 1|Ink sacs are no longer used to craft [[cocoa beans]].
|Ink sacs can now be used to craft [[dark prismarine]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Ink sacs can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Ink sacs are now used to re-dye [[bed]]s.
|Ink sacs can now be used to dye [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Ink sacs can now be used to craft [[book and quill]]s.
|Added [[banner]]s, which can be [[dye]]d with ink sacs.
|Ink sacs can now be crafted with [[gunpowder]] to create [[firework star]]s.
|Ink sacs can now be used to craft black [[concrete powder]].
|[[Stained glass]] can now be [[crafting|crafted]].}}
{{History||1.4.0|snap=beta 1.2.20.1|Ink sacs can now be crafted from iron, sulfur, and 4 oxygen in the [[compound creator]]s.
|Ink sacs can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.10|Ink sacs can now be used to craft [[black dye]].}}
{{History||1.10.0|snap=beta 1.10.0.3|Ink sacs can now be bought from [[wandering trader]]s.
|[[File:Ink Sac JE2 BE2.png|32px]] The texture of ink sacs has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Ink sacs can now be [[trading|sold]] to librarian [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of ink sacs has been changed from {{cd|dye/0}} to {{cd|ink_sac}}.}}
{{History||1.16.210|snap=beta 1.16.210.59|Ink sacs can now be used to revert glowing text on signs to normal.}}

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

{{History|New 3DS}}
{{History||0.1.0|[[File:Ink Sac JE1 BE1.png|32px]] Added ink sacs.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

{{Items}}

[[Category:Bedrock Edition specific information]]
[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]

[[cs:Váček inkoustu]]
[[de:Tintenbeutel]]
[[es:Saco de tinta]]
[[fr:Poche d'encre]]
[[hu:Tintazsák]]
[[ja:イカスミ]]
[[ko:먹물 주머니]]
[[nl:Inktzak]]
[[pl:Torbiel z atramentem]]
[[pt:Bolsa de tinta]]
[[ru:Чернильный мешок]]
[[uk:Чорнильний мішок]]
[[zh:墨囊]]</li><li>[[Lava|Lava]]<br/>{{About|the fluid|the [[bucket]]|Lava Bucket}}
{{Fluid
| image = Lava.gif
| image2 = Lava BE.gif
| invimage = Lava Bucket
| invimage2 = Lava
| renewable = Yes
| transparent = Yes
| light = Yes (15)
| tool = Bucket
| infinite = No
| flowrate = 30 [[tick]]s/block (Overworld, End)<br> 10 [[tick]]s/block (Nether)
| flowdistance = 4 blocks (Overworld, End)<br>8 blocks (Nether)
}}
'''Lava''' is a light-emitting [[fluid]] that causes fire [[damage]], mostly found in the [[altitude|lower reaches]] of the [[Overworld]] and [[the Nether]].

== Obtaining ==
Lava blocks do not exist as items (at least {{in|java}}), but can be retrieved with a [[Lava Bucket|bucket]]. {{IN|bedrock}}, they may be obtained as an item via glitches (in old versions), add-ons or inventory editing.

Lava may be obtained [[renewable resource|renewably]] from [[cauldron]]s, as [[pointed dripstone]] with a lava source above it can slowly fill a cauldron with lava.

=== Natural generation ===
During world generation, lava replaces [[air]] blocks generated in [[cave]]s and [[canyon]]s between Y=-55 and Y=-63. [[Aquifer]]s are sometimes filled with lava below Y=0. Lava does not replace air blocks inside [[mineshaft]]s, [[monster room]]s, [[amethyst geode]]s, or [[stronghold]]s.

Lava can also occur as lava flows from a single [[spring]] block, pouring down walls into pools. The spring block can be on the side of a cave, ravine, mineshaft, or stone cliff above ground.

Lava also generates as small [[lava lake]]s, which can be found above Y=0 within any [[biome]].

Two blocks of lava can also be found in plains, snowy plains, and desert [[village]] weaponsmith buildings, or one source in savanna village weaponsmith buildings.

Fifteen blocks of lava can be found in the [[end portal]] room of a [[stronghold]]: 3 along each side wall, and 9 below the portal frame.

Lava also generates in [[woodland mansion]]s: two blocks of lava generate in the "blacksmith room", and 25 blocks of lava generate in a secret "lava room".

In [[the Nether]], lava is more common than [[water]] in the [[Overworld]]. [[Terrain features#Lava sea|Seas of lava]] occur, with sea level at y-level 32, about a quarter of the total height of the Nether (as the usable space in the Nether is 128 blocks tall). They can extend down to about y-level 19-22. Lava also randomly appears [[Spring#Hidden lava|in single blocks]] inside [[netherrack]] formations. Lava is also generated as a single source in well rooms in [[nether fortress]]es. There are also large pockets of lava generated under y-19 and can reach all the way down to bedrock level. These pockets are generally over 12 blocks in height and often connect to a large lava lake on y-32; the size of these pockets in 1.18 can range from the size of a singular pre-1.18 ravine to multiple ravines combined.

Lava generates as [[delta]] shapes, which can be found commonly in the [[basalt deltas]] biome. Lava also generates in [[ruined portal]]s and [[bastion remnant]]s.

=== Post-generation ===
Unlike [[Water#Source blocks|water source blocks]], new lava source blocks cannot be created in a space by two or more adjacent source blocks. However {{in|Java}}, if the [[game rule]] {{cd|lavaSourceConversion}} is set to {{cd|true}}, new lava source blocks can form in a similar way to water source blocks.

== Usage ==
=== Fuel ===
When used in a [[furnace]], a bucket of lava lasts 1000 seconds (100 items).

=== Burning ===
[[File:Inside Lava.png|thumb|What it looks like inside lava.]]
[[File:Under lava fire resistance.png|thumb|What it looks like inside lava using Fire Resistance {{in|java}}.]]

Most [[entity|entities]] take {{hp|4}} damage every half-second while in contact with lava, and are set on [[fire]]. An entity/player in lava will also have its {{code|remainingFireTicks}} set to 300, setting it on fire for 15 seconds. This timer is reset to 300 every tick that the victim spends in lava, so it will only start counting down once the victim leaves the lava. Once the victim does exit the lava source, it will burn for just under 15 seconds, taking fire damage 14 times. This is due to the fact that for the first tick outside of lava, its {{code|remainingFireTicks}} decrease to 299, and entities take fire damage when {{code|remainingFireTicks}} is a multiple of 20 and greater than 0. If the victim touches water or [[rain]] falls on it, the fire is extinguished, but the lava continues to damage them directly.

In addition, a dense [[fog]] effect will be applied for players under lava to obscure vision. This can be slightly mitigated via the [[Fire Resistance]] effect.

An entity/player moving in lava has their horizontal movement speed reduced by 50% and their vertical movement speed reduced by 20%.

{{IN|bedrock}}, a player with the Fire Resistance effect or a total [[Fire Protection]] of 7 or higher does not catch fire. 

[[Vex]]es, [[zoglin]]s, Nether [[mob]]s (excluding [[piglin]]s and [[hoglin]]s), [[Wither|withers]], [[Warden|wardens]], and players or mobs affected by the [[Fire Resistance]] effect are not damaged when touching lava. 

The embers or fireballs that fly out of lava are purely decorative and do not cause fires or damage to entities. When rain falls on lava, the black ember particles appear more frequently.

A player in lava lasts a few seconds before dying:

==== ''Java Edition'' ====
* 2.5 seconds with no armor
* 3.5 seconds with full leather armor, no enchantments
* 4 seconds with full gold armor, no enchantments
* 4.5 seconds with full chain armor, no enchantments
* 5.5 seconds with full iron armor, no enchantments
* 10.5 seconds with full diamond armor, no enchantments
* 11 seconds with full netherite armor, no enchantments

==== Bedrock Edition====
* 2.5 seconds with no armor
* 3.5 seconds with full leather armor, no enchantments
* 4.5 seconds with full gold armor, no enchantments
* 5 seconds with full chain armor, no enchantments
* 6.5 seconds with full iron armor, no enchantments
* 12.5 seconds with full diamond armor, no enchantments
* 12.5 seconds with full netherite armor, no enchantments
If the player is wearing armor enchanted with [[Fire Protection]], they can last even longer. With the maximum bonus, the damage is small enough that the natural healing from a full hunger bar can outpace it {{only|JE|short=1}}, so a player could survive indefinitely as long as they have food and their armor holds up (non-netherite armor is damaged by lava). This maximum bonus can be obtained by wearing 2 pieces of armor with [[Fire Protection|Fire Protection IV]] and 1 with [[Protection|Protection IV]], or 1 piece of armor with [[Fire Protection|Fire Protection IV]] and 3 with [[Protection|Protection IV]].

==== Fire spread ====
Lava can cause fires by turning air blocks to fire blocks.

In order for air above lava to turn to fire, a block adjacent to the air has to be [[Fire#Burning blocks|flammable]], or one of the wood-constructed [[Fire#Non-flammable blocks|non-flammable]] blocks. Since catching fire depends on air blocks, even torches or lava itself can prevent a flammable block from catching fire.  Additionally, not all flammable or wood-constructed blocks can be ignited by lava.

The lava of any depth can start fires this way, whether or not it appears to have a current.

Additional conditions must be met, depending on the edition of Minecraft.

===== Java Edition =====
{{FakeImage|align=right|{{BlockGrid|scale=2|L=lava|w=Oak Planks|p=Orange Stained Glass|s=Light Gray Stained Glass|wwwwwwwww|wwsssssww|wspppppsw|wwspppsww|wwwsLswww|wwwwwwwww}}|Example for JE. The orange area represents areas<br>where air could catch flame if the<br>gray and orange areas contain<br>flammable blocks. The wood<br>is all at a safe distance.
}}

Air block must be in a 3×1×3 area right above the lava or in a 5×1×5 2 blocks above the lava.

Note that an air block in the 5x1x5 area will not catch on fire if the 3x1x3 area is completely filled, even if the latter is filled with flammable blocks.

===== Bedrock Edition =====
The block to be set on fire must be in a 3×3×3 cube centered on a lava block, above which there must be either air or an ignitable block.

=== Flow ===
{{See also|Fluid}}

Lava flows from "source blocks". Most streams or "lava-falls" come from a single source block, but lava lakes (including the "flood lava" in the bottom 10 layers) are composed entirely of source blocks. A source block can be captured only with a [[lava bucket|bucket]].

In the [[Overworld]] and [[the End]], lava travels 3 blocks in any horizontal direction from a source block. Lava flows far more slowly than water (1 block every 30 game ticks, or 1.5 seconds), and sourceless lava flows linger for a short time more. In [[the Nether]], lava travels 7 blocks horizontally and spreads 1 block every 10 game ticks, or 2 blocks per second, which is half the speed as water in the Overworld. In all dimensions, lava spreading uses the same mechanic as water: for every adjacent block it can flow into it tries to find a way down that is reachable in four or fewer blocks from the block it wants to flow to. When found, the flow weight for that direction is set to the shortest path distance to the way down. (This can result in lava flows turning toward dropoffs that they cannot reach in the Overworld and the End.)

Flowing lava destroys the following in its path: [[sapling]]s, [[cobweb]], [[tall grass]], [[dead bush]], [[wheat]], [[flower]]s, [[mushroom]]s, [[snow]] on ground (but snow blocks are immune), [[lily pad]]s, [[vines]], [[lever]]s, [[button]]s, all three types of [[torch]]es, [[redstone]], [[redstone repeater|repeaters]], [[end rod]]s, and [[rail]]s. [[Sugar cane]]s hold back lava, but disappear if the sugar cane's water source is destroyed by the lava. Lava also slows down entities, including those that are normally immune to lava damage.

Using redstone wire, a one-block lava flow can be redirected by supplying power to the source block, which causes it to reset the flow toward the now-nearest terrain depression. It cannot, however, be reversed. This re-calculation is made because of the redstone wire when toggled changes the block from redstone (on) to redstone (off). Whenever a block updates on any side of the lava, the lava re-calculates where to flow, but does not cut off its current direction of flow. In Bedrock Edition using the /setblock command can be used to create stationary lava without the use of barriers. 

Flowing lava can push entities.

==== Flow arrangement tables ====

===== Overworld and the End =====
{| class="wikitable"
|+
|
|
|
!4
|
|
|
|-
|
|
!4
!3
!4
|
|
|-
|
!4
!3
!2
!3
!4
|
|-
!4
!3
!2
!1
!2
!3
!4
|-
|
!4
!3
!2
!3
!4
|
|-
|
|
!4
!3
!4
|
|
|-
|
|
|
!4
|
|
|
|}
{| class="wikitable"
|+
! colspan="2" |Range
!Height in blocks
|-
!1
|block
|1
|-
!2
|blocks
|0.75-1
|-
!3
|blocks
|0.5-0.75
|-
!4
|blocks
|0.25-0.5
|}

===== The Nether =====
{| class="wikitable"
|+
|
|
|
|
|
|
!7
|
|
|
|
|
|
|-
|
|
|
|
|
!7
!6
!7
|
|
|
|
|
|-
|
|
|
|
!7
!6
!5
!6
!7
|
|
|
|
|-
|
|
|
!7
!6
!5
!4
!5
!6
!7
|
|
|
|-
|
|
!7
!6
!5
!4
!3
!4
!5
!6
!7
|
|
|-
|
!7
!6
!5
!4
!3
!2
!3
!4
!5
!6
!7
|
|-
!7
!6
!5
!4
!3
!2
!1
!2
!3
!4
!5
!6
!7
|-
|
!7
!6
!5
!4
!3
!2
!3
!4
!5
!6
!7
|
|-
|
|
!7
!6
!5
!4
!3
!4
!5
!6
!7
|
|
|-
|
|
|
!7
!6
!5
!4
!5
!6
!7
|
|
|
|-
|
|
|
|
!7
!6
!5
!6
!7
|
|
|
|
|-
|
|
|
|
|
!7
!6
!7
|
|
|
|
|
|-
|
|
|
|
|
|
!7
|
|
|
|
|
|
|}

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

=== Lava and water ===
{{Main|Fluid#Mixing}}

Water and lava can produce [[stone]], [[cobblestone]], or [[obsidian]] based on how they interact. Lava can also generate basalt when above soul soil and touching blue ice.

=== Light source ===

Lava blocks emit a [[light]] level of 15.

=== Other ===
[[File:LavaDropletsExample.png|thumb|If there is lava flowing above a [[block]], the lava seeps through.]]

Lava above a non-transparent block (does ''not'' include stairs, fences, and slabs) produces dripping particles on the underside of that block. These droplets do not do anything other than warn the player that a deluge of lava lies above that block. The particles function identically to their water counterparts, except that they drip slower.

Flowing lava can set off tripwires because it breaks placed string. Lava triggers a tripwire only once.

Any [[item (entity)|item]] dropped into lava is immediately destroyed, except for [[netherite]]-related items. [[Lodestone|Lodestones]], however, can be destroyed by lava despite containing netherite.<ref>{{bug|MC-176618|||WAI}}</ref>

Lava can be placed in an empty [[cauldron]].

If lava is above a non-transparent block supporting [[pointed dripstone]], dripping particles are created on the end. These can fill cauldrons with lava.

== Farming ==
{{main|Tutorials/Lava farming}}
Lava farms can be created by placing a lava source block on top of a solid block and a [[pointed dripstone]] and a [[cauldron]] underneath.

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Lava.ogg
|subtitle=Lava pops
|source=block
|description=Randomly
|id=block.lava.ambient
|translationkey=subtitles.block.lava.ambient
|volume=0.2-0.4
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Fizz.ogg
|subtitle=Lava hisses
|source=block
|description=When lava mixes with water, making a block
|id=block.lava.extinguish
|translationkey=subtitles.block.lava.extinguish
|volume=0.5
|pitch=1.8-3.4
|distance=16}}
{{Sound table
|sound=Lava pop.ogg
|subtitle=Lava pops
|source=block
|description=When a lava bubble particle spawns
|id=block.lava.pop
|translationkey=subtitles.block.lava.ambient
|volume=0.2-0.4
|pitch=0.9-1.05
|distance=16}}
{{Sound table
|sound=Empty lava bucket1.ogg
|sound2=Empty lava bucket2.ogg
|sound3=Empty lava bucket3.ogg
|subtitle=Bucket empties
|source=block
|description=When lava is placed with a bucket
|id=item.bucket.empty_lava
|translationkey=subtitles.item.bucket.empty
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Fill lava bucket1.ogg
|sound2=Fill lava bucket2.ogg
|sound3=Fill lava bucket3.ogg
|subtitle=Bucket fills
|source=player
|description=When lava is collected with a bucket
|id=item.bucket.fill_lava
|translationkey=subtitles.item.bucket.fill
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Fizz.ogg
|subtitle=Fire extinguishes
|description=When something [[freezing]] is dunked into lava
|source=block
|id=entity.generic.extinguish_fire
|translationkey=subtitles.entity.generic.extinguish_fire
|volume=0.7
|pitch=1.2-2.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Lava.ogg
|source=block
|description=Randomly
|id=liquid.lava
|volume=0.4-0.6
|pitch=0.9-1.05}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When lava mixes with water, making a block
|id=random.fizz
|volume=0.5
|pitch=1.8-2.4}}
{{Sound table
|sound=Lava pop.ogg
|source=block
|description=When a lava bubble particle spawns
|id=liquid.lavapop
|volume=0.4-0.6
|pitch=0.9-1.05}}
{{Sound table
|sound=Empty lava bucket1.ogg
|sound2=Empty lava bucket2.ogg
|sound3=Empty lava bucket3.ogg
|source=block
|description=When lava is placed with a bucket
|id=bucket.empty_lava
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fill lava bucket1.ogg
|sound2=Fill lava bucket2.ogg
|sound3=Fill lava bucket3.ogg
|source=block
|description=When lava is collected with a bucket
|id=bucket.fill_lava
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Fizz.ogg
|source=block
|description=When something freezing is dunked into lava
|id=random.fizz
|foot=1}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Lava
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=lava
|spritetype=block
|nameid=lava
|blocktags=strider_warm_blocks
|form=block
|foot=1}}
{{ID table
|firstcolumnname=Lava
|showfluidtags=y
|displayname=Fluid
|spritename=lava
|spritetype=block
|nameid=lava
|fluidtags=lava}}
{{ID table
|displayname=Flowing Fluid
|spritetype=block
|spritename=lava
|nameid=flowing_lava
|fluidtags=lava
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Lava
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Flowing
|spritename=lava
|spritetype=block
|nameid=flowing_lava
|id=10
|form=block}}
{{ID table
|displayname=Stationary
|spritename=lava
|spritetype=block
|nameid=lava
|id=11
|form=block
|foot=1}}

Lava spends most of its time as stationary, rather than 'flowing' – regardless of its level, or whether it contains a current downward or to the side.  When specifically triggered by a block update, lava changes to 'flowing', update its level, then change back to stationary.  Lava springs are generated as flowing, and lava lakes are generated as stationary.

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

=== Fluid states ===
{{see also|Block states}}
{{/FS}}

== Achievements ==
{{load achievements|Stayin' Frosty;Super Fuel;Feels Like Home}}

== Advancements ==
{{Load advancements|Hot Stuff;Feels Like Home}}

== History ==
{{main|/History}}
{{History|java classic}}
{{History||0.0.12a|snap=May 19, 2009|slink=Java Edition Classic 0.0.12a/Development#Lava test (May 19, 2009)|Lava is shown.}}
{{History|||snap=release|slink=Java Edition Classic 0.0.12a|[[File:Lava JE1.png|32px]] Added lava.
|The texture is transparent.
|Lava spreads by duplicating itself to open horizontal and downward squares.
|Lava is slower than [[water]] and can be easily outrun.
|Model has z-fighting with blocks below lava.}}
{{History||0.0.13a|[[File:Lava JE2.png|32px]] The texture has changed to be opaque.}}
{{History||0.0.13a_03|Lava lakes no longer generate.}}
{{History||0.0.15a|link=Java Edition Classic 0.0.15a (Multiplayer Test 1)|[[File:Lava JE3.png|32px]] The model is no longer shaded.}}
{{History||0.0.19a|[[File:Lava JE4.png|32px]] Added a [[Procedural animated texture generation|procedural animated texture]] to lava. Old texture is still retained for use as a [[animation placeholder texture|placeholder]].|Upscaled model 2% to fix z-fighting with blocks below lava. It's created lava or water models overlapping and z-fighting with each other.|Added lava layer to the bottom of the map.<!--as it traps the [[player]] and prevents the player from leaving unless [[water]] is let in and collides with it or if the player places a [[sand]] or [[gravel]] block, letting it [[drops|drop]] into the lava. If water is let into the area where the lava is, the lava becomes [[stone]], allowing the stone block to be removed to expose bedrock underneath.-->}}
{{History||0.0.20a_02|[[File:Lava JE5.png|32px]] Changed model scale back to normal with 1% offset on all coordinates.}}
{{History||0.0.22a|[[File:Lava JE6.png|32px]] Lava's generated texture has changed - it now appears brighter overall.}}
{{History||August 25, 2009|link=https://notch.tumblr.com/post/170887079/survival-mode-status-update-video-with-plenty-of|Lava has been shown to deal [[damage]].}}
{{History||0.24_SURVIVAL_TEST|Lava now deals damage.}}
{{History||0.26  SURVIVAL TEST|[[File:Lava JE7.png|32px]] UV mapping on side faces now has 11% v offset up.}}
{{History||0.28|[[File:Lava JE6.png|32px]] Fixed UV mapping.}}
{{History|java indev}}
{{History||0.31|snap=20091223-2|Lava is now luminous.}}
{{History|||snap=20100110|Lava now sets [[fire]] to flammable materials.}}
{{History|||snap=20100122|Added [[lava spawner]]s that spawn lava on sides and bottom.|It appears in the player's inventory in a stack of 5.
|Lava now flows, but more slowly than water.<ref>[[wordofnotch:347976621]]</ref>
|Dropped [[item]]s now burn in lava.
|Shot [[arrow]]s catch [[fire]] and not burn in lava.}}
{{History|||snap=20100124|Lava spawner can no longer be found in the player's inventory. Instead, a full stack (99) can be found inside the [[Indev house]] chests.}}
{{History|||snap=20100125-1|Lava now has [[particles|particle]] effects.}}
{{History|||snap=20100130|Re-added the infinite lava sea to the bottom of the map.}}
{{History||20100219|[[File:Lava JE8.png|32px]] The model is shaded again.}}
{{History|java infdev}}
{{History||20100227-1|Lava no longer flows due to changes in chunk handling for infinite worlds.}}
{{History||20100607|[[File:Lava JE9.png|32px]] UV mapping now has 1% uv offset on top and bottom faces and 1% u, 11% v offset on side faces.}}
{{History||20100608|[[File:Lava JE8.png|32px]] Fixed UV mapping, once again.}}
{{History||20100615|[[File:Lava JE10.png|32px]] The model has been changed.
|Added flowing lava.
|Lava now creates flowing lava for a total distance of 7 blocks "away" from the source block.
|Flowing lava flows in a single line toward the nearest terrain depression within four blocks.}}
{{History||20100616-1|[[File:Lava JE11.png|32px]] Added flowing lava texture for sides and vertex offset.
|Lava and flowing lava now have visual connection to blocks.|A large lava flow is now visible in the dark from a long distance.}}
{{History||20100617-2|[[File:Lava JE12.png|32px]] Removed vertex offset.
|Lava now flows 3 blocks horizontally instead of 7.
|Lava and flowing lava touching water, flowing water, water spawner, or lava spawner now replaces with [[obsidian]].
|Removed the infinite lava sea at the bottom of the map.}}
{{History|java alpha}}
{{History||v1.0.2_02|Flowing of lava has been tweaked.}}
{{History||v1.0.4|Added [[ice]] and [[snow]], which lava can melt.}}
{{History||v1.0.15|Lava now sets nearby [[block]]s on [[fire]].}}
{{History||v1.2.0|snap=preview|Added [[the Nether]], which contains lava.}}
{{History||v1.2.2|Lava now flows further in the Nether.}}
{{History||v1.2.6|Added [[lava lake]]s, which can generate at any [[altitude]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[File:Lava JE13.png|32px]] Changed [[lighting]].
|When lava is touched by [[rain]], it emits smoke [[particles]].
|Lava now generates in the blacksmiths of the newly added [[village]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Added lava dripping.
|Lava blocks now form [[stone]] when falling directly onto [[water]] source blocks.}}
{{History|||snap=Beta 1.9 Prerelease 3|Lava now generates in the newly added [[end portal]] rooms of [[stronghold]]s.}}
{{History|||snap=Beta 1.9 Prerelease 5|Only in this version, it is possible to create an infinite lava source using a plus-sign shaped arrangement of [[block]]s with four lava source blocks flowing into a central empty block.}}
{{History|||snap=RC1|[[File:Lava JE14.png|32px]] Faces on model now 0.1% moved to center to fix z-fighting on inner faces.}}
{{History||1.2.1|snap=12w05a|Lava (as well as the embers that pop out of it) now makes [[sound]]s. These sounds were in the game files for a long time, but they had not played in-game.}}
{{History||1.3.1|snap=12w21a|Lava can now be collected and dispensed by [[dispenser]]s containing buckets.}}
{{History||1.4.2|snap=12w38a|Flowing lava now has a constant [[sound]].}}
{{History||1.5|snap=13w02a|[[File:Lava JE15.png|32px]] The model of lava now uses animated texture files.
|There is now "hidden lava" in [[the Nether]].
|Lava now flows much more quickly in the Nether.}}
{{History||1.6.1|snap=13w18a|Lava no longer lingers after the source is removed.}}
{{History||1.7.2|snap=13w37a|Flowing lava, which previously could be destroyed by a few [[block]]s of [[TNT]], can no longer be destroyed by [[explosion]]s.}}
{{History||1.10|snap=16w21a|[[File:Lava JE16.png|32px]] [[File:Lava (bottom view) 16w21a.png|32px]] Lava is now [[color]]ed red ({{color|#ff0000}}) except for the bottom face.<ref>{{bug|MC-102511}}</ref>}}
{{History|||snap=16w21b|[[File:Lava JE15.png|32px]] Lava is no longer colored.
|Added 2 [[splash]]es referencing colored lava: "Rule #1: it's never my fault", "Replaced molten cheese with blood?".}}
{{History||1.11|snap=16w39a|Lava can now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=18w15a|[[File:Lava JE17.png|32px]] [[File:Swamp Lava 18w15a.png|32px]] [[File:Swamp Hills Lava 18w15a.png|32px]] [[File:Warm Ocean Lava 18w15a.png|32px]] [[File:Lukewarm Ocean Lava 18w15a.png|32px]] [[File:Cold Ocean Lava 18w15a.png|32px]] [[File:Frozen Ocean Lava 18w15a.png|32px]] Lava is now biome colored except for the bottom face. This is linked to new biome coloring for water.<ref>{{bug|MC-128233}}</ref>}}
{{History|||snap=18w16a|[[File:Lava JE15.png|32px]] Lava is no longer biome colored.}}
{{History||1.16|snap=20w09a|Lava now pushes [[Entity|entities]].}}
{{History|||snap=20w13a|Added [[strider]]s, which can be [[saddle]]d and ridden across lava.
|When lava flows over [[soul soil]] next to [[blue ice]], it now turns into [[basalt]].}}
{{History|||snap=20w16a|Lava now generates as part of [[bastion remnants]] and [[ruined portal]]s.}}
{{History|||snap=Pre-release 3|Visibility under lava is now slightly better when under the effect of [[Fire Resistance]].}}
{{History||1.17|snap=20w45a|[[Cauldron]]s can now be filled with lava.}}
{{History|||snap=20w48a|Added a [[renewable]] way of obtaining lava through cauldrons and [[pointed dripstone]].}}
{{History|||snap=21w06a|Lava no longer replaces air below Y{{=}}11.}}
{{History|||snap=21w08a|Lava now replaces air below Y{{=}}-53.
|Lava [[spring]]s are able to generate below Y{{=}}0.}}
{{History|||snap=21w11a|[[Spectator]] mode players can now see through lava.<ref>{{bug|MC-71530|||Fixed}}</ref>}}
{{History|||snap=21w13a|Lava is now fully renewable, as pointed dripstone can be obtained in Survival without custom generation.}}
{{History|||snap=21w15a|The changes to lava generation in 21w06a and 21w08a have been reverted.}}
{{History||1.18|snap=Experimental Snapshot 1|The changes to lava generation in the 1.17 snapshots have been reintroduced.
|[[Aquifer]]s below Y{{=}}0 sometimes generate with lava instead of water.}}
{{History||1.19.3|snap=22w44a|Added [[game rule]] {{cd|lavaSourceConversion}}, which allows the formation of new lava source blocks when set to {{cd|true}}.}}

{{History|pocket alpha}}
{{History||v0.1.0|[[File:Lava BE1.png|32px]] Added lava.}}
{{History||v0.3.3|Lava no longer creates [[fire]], due to a game breaking spreading bug.}}
{{History||v0.7.0|Lava now lights flammable [[block]]s around it on fire.
|[[File:Lava BE2.png|32px]] [[File:Lava BE2.gif|32px]] Lava now has a flowing animation.}}
{{History||v0.8.0|snap=build 5|Lava flowing directly into [[water]] now actually spreads out over it.}}
{{History||v0.9.0|snap=build 1|Underground ponds of lava can now be found, making lava much more easy to obtain.
|Lava dripping [[particles]] have been added.
|Lava now generates in [[village]] blacksmiths and [[stronghold]] end portal rooms.}}
{{History||v0.12.1|snap=build 1|[[Player]]s are now able to [[swimming|swim]] in lava.
|Lava now generates in [[the Nether]].}}
{{History|||snap=build 6|[[File:Lava BE3.png|32px]] [[File:Lava BE3.gif|32px]] Lava is now brighter shaded.}}
{{History|||snap=build 8|Lava now cancels all fall [[damage]].}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Lava now generates in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Lava BE4.png|32px]] The texture for lava has been changed to match ''Java Edition''.}}
{{History||1.16.0|snap=beta 1.16.0.51|Lava can now push entities.}}
{{History|||snap=beta 1.16.0.57|Lava now generates as a [[delta]] that can be found in [[basalt deltas]].
|Lava now generates as part of [[bastion remnants]] and [[ruined portal]]s.
|When lava flows over [[soul soil]] next to [[blue ice]], it now turns into [[basalt]].}}
{{History|||snap=beta 1.16.0.59|Lava can no longer push entities.}}
{{History||1.17.30|snap=beta 1.17.20.22|Lava can now push entities, once again.<ref>{{bug|MCPE-75124}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Lava JE12.png|32px]] Added lava.}}
{{History||xbox=TU12|[[File:Lava JE15.png|32px]] The texture for lava has been changed.
|Lava (as well as the embers that pop out of it) now makes [[sound]]s.}}
{{History||xbox=TU25|xbone=CU14|ps=1.17|Lava can be used in custom superflats. It appears as a 3D block in the block selection screen of the custom superflat interface.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Lava BE3.png|32px]] Added lava.}}
{{History|foot}}

=== Data history ===
{{History|java}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 10 and 11.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* A player with [[Fire Resistance]] can swim in lava without taking damage, although the swimming speed does not become faster.
* A player cannot sprint-swim in lava.
* An arrow catches fire when shot into flowing lava, but not still lava.
* [[Water]] flows into lava-occupied blocks as though it were empty space, and vice versa.
* Although lava is a fluid, it is not possible to drown in lava. This applies to all mobs. However, it is still possible to suffocate in lava. This applies to almost every mob.{{only|bedrock}}<ref>{{bug|MCPE-17073}}</ref>
* A player sleeping in a bed cannot be damaged by lava.
* If the lava is changed to be transparent via a [[resource pack]], it does not become transparent.
* {{IN|bedrock}}, lava does not deactivate [[elytra]] like [[water]] does.
* Despite flowing identically to water while in [[the Nether]], it was not possible to create an infinite spring of lava before [[Java Edition 1.19.3|1.19.3]].
** Before Lava source conversion was implemented, the ''Minecraft: Combat Handbook'' (2014) stated the possibility to create infinite sources of lava by simply creating a cross shape with 4 nether bricks and placing lava in the middle. As expected, this turned out to be false, as confirmed by [[Nathan Adams|Dinnerbone]].<ref>[[bugtracker:MC-71088|MC-71088]]</ref>
* Geologically, lava in the Overworld is consistent with [[wikipedia:Felsic lava|felsic lava]], and lava in the Nether is consistent with [[wikipedia:mafic lava|mafic lava]]. Felsic lava is slow, sticky, and does not run as far as mafic lava, which is relatively thin and runny.
* When lava source conversion was implemented, any text where lava was supposed to be said "lave" instead.
** A splash text now says "Made with 'lave'".

== Gallery ==
<gallery>
Lavameltpattern1.png|Lava's melting pattern for snow and ice.
Water and lava springs.png|A natural lava spring near a waterfall.
Cave Lava.png|The lava "ocean" layer of [[cave]]s.
Lavastreamwithores.png|A naturally-occurring stream of lava next to diamond and iron ore.
Spawn Point Lava Warning.png|The warning in [[Legacy Console Edition]] when trying to place lava near the spawn point.
Lave found close under the dessert.png|A running lava source (origin not seen) uncovered six blocks below the surface of desert terrain.
Lava with Night vision potion.png|The inside view of lava with the night vision effect.
Ladders Blocking Lava.png|Ladders can stop lava from flowing.
Lava flowing off cliff.png|A lava [[spring]].
Minecraft Surface LavaFall.png|Lava spreading into dirt.
Exposed Cavern Lava.png|Lava in a ravine.
Lava in Ravine.png|Lava found in a snowy [[ravine]].
BedrockLava.png|Lava generates on bedrock. 
BedrockPostLavaRemoval.png| Lava being extinguished near bedrock. 
LavaRiver.png| Lava pool and water pool meeting each other naturally. 
Lavafall.png| Two lava springs meeting water in a savannah plateau.
Lava spring.png| Lava spreading in the Overworld. 
Minecraft lavalake.png| A lava spring spreading into a lava lake. 
Lava cane.png|Sugar cane growing with lava flowing around it.
TallLavafall.png|Tall lavafall flowing into ravine.
RavineandStornghold.png|Ravine with multiple ores, water and lava falls, and stronghold bridge over it.
Underground Lava Lake.png|Another example of underground lava lake.
Lwava.png|Lava pouring from a cliff.
Extreme Hills Falls.png|Lava and water pouring from a cliff.
Lavalake.png|Lava and ores in a cave underground.
Cavern2.png|Lava texture in Classic [[0.0.21a_01]].
Lavaspring.png|Lava setting fire to [[grass]].
File:Mobbo Destroyed Village.jpeg|A [[village]] ravaged by lava.
File:Lava Moodlight.jpg|An officially licensed lava block moodlight.
</gallery>

== References ==
{{Reflist}}

== External links ==
*[https://www.minecraft.net/en-us/article/block-week-lava Block of the Week: Lava] – Minecraft.net on September 29, 2017
*[[wikipedia:Lava|Real-life lava on Wikipedia]]
*[[wikipedia:Magma|Real-life magma on Wikipedia]]

{{Blocks|natural}}
{{Items}}

[[Category:Fluids]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]
[[Category:Generated structure blocks]]
[[Category:Light sources]]

[[cs:Láva]]
[[de:Lava]]
[[es:Lava]]
[[fr:Lave]]
[[hu:Láva]]
[[it:Lava]]
[[ja:溶岩]]
[[ko:용암]]
[[nl:Lava]]
[[pl:Lawa]]
[[pt:Lava]]
[[ru:Лава]]
[[th:ลาวา]]
[[tr:Lav]]
[[uk:Лава]]
[[zh:熔岩]]</li></ul>
20100129Crafting is introduced.
Java Edition Infdev
20100327
{{Extension DPL}}<ul><li>[[Medicine|Medicine]]<br/>{{Redirect|Elixir", "Antidote", "Eye Drops", and "Tonic|s=1|the brewable items|Potion}}
{{Education feature}}
{{Item
| image = <gallery>
Antidote.png | Antidote
Elixir.png | Elixir
Eye Drops.png | Eye Drops
Tonic.png | Tonic
</gallery>
| renewable = Yes
| stackable = No
}}
A '''medicine''' is a type of [[potion]] that cures the specified [[effect]] instead of applying it.

== Obtaining ==

=== Brewing ===
Cures are brewed from awkward potions using different [[element]]s.{{only|bedrock|education}} These drinks remove the specified effect when drank, and cannot be modified into splash, lingering, extended or enhanced versions.

{| class="wikitable" style="text-align: center;" data-description="Remedies"
! Potion
! Reagent, base
! Effect
! Notes
|-
! {{Inventory slot|Antidote}}<br>Antidote
| {{Brewing Stand
 |Input= Silver
 |Output2= Awkward Potion
 }}
| Cures [[Poison]]
| Silver detects poison {{w|Silver#Symbolic role|in folklore}}, and possesses anti-microbial properties.
|-
! {{Inventory slot|Elixir}}<br>Elixir
| {{Brewing Stand
 |Input= Cobalt
 |Output2= Awkward Potion
 }}
| Cures [[Weakness]]
|
|-
! {{Inventory slot|Eye Drops}}<br>Eye Drops
| {{Brewing Stand
 |Input= Calcium
 |Output2= Awkward Potion
 }}
| Cures [[Blindness]]
|
|-
! {{Inventory slot|Tonic}}<br>Tonic
| {{Brewing Stand
 |Input= Bismuth
 |Output2= Awkward Potion
 }}
| Cures [[Nausea]]
| In real life, {{w|bismuth subsalicylate}} is used as a nausea treatment.
|}

== Usage ==

Each type of medicine has an associated effect that it can cure (see {{slink||Brewing}} for details). Players can drink the medicine only if they have the corresponding effect. Drinking the medicine eliminates the effect. Although medicine does not resemble [[potion]]s, the player still gets the [[glass bottle]] back.

== Sounds ==
{{Sound table
|type=bedrock
|sound=Drink.ogg
|source=player
|description=When a player drinks medicine
|id=random.drink
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Medicine
|spritetype=item
|nameid=medicine
|id=599
|form=item
|notshowbeitemforms=y
|translationkey=item.medicine.poison.name,item.medicine.weakness.name,item.medicine.blindness.name,item.medicine.nausea.name
|foot=1}}

== History ==

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Antidote BE1.png|32px]] [[File:Elixir BE1.png|32px]] [[File:Eye Drops BE1.png|32px]] [[File:Tonic BE1.png|32px]] Added medicines.}}

{{History|education}}
{{History||1.0.27|[[File:Antidote BE1.png|32px]] [[File:Elixir BE1.png|32px]] [[File:Eye Drops BE1.png|32px]] [[File:Tonic BE1.png|32px]] Added medicines.}}
{{History|foot}}

== Issues ==

{{issue list|Cures|Medicine}}

== See also ==

* [[Potion]]
* [[Splash Potion]]
* [[Lingering Potion]]

{{Items}}
{{Education Edition}}

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

[[de:Medizin]]
[[it:Medicinale]]
[[ja:治療薬]]
[[lzh:藥]]
[[pl:Leki]]
[[pt:Remédio]]
[[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>
Death is no longer permanent; the player is now able to respawn.
Java Edition Alpha
v1.0.15
{{Extension DPL}}<ul><li>[[Pink Dye|Pink Dye]]<br/>{{Item
| image = Pink Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Pink dye''' is a [[Dyeing#Quasi-Primary|quasi-primary color dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showname=0
  |showdescription=1
  |Peony;Pink Tulip;Pink Petals
  |Output=Pink Dye,2;Pink Dye;Pink Dye
  |type=Material
}}
{{Crafting
  |Red Dye
  |White Dye
  |Output=Pink Dye,2
  |type=Material
}}
{{Crafting
  |Red Dye
  |Bone Meal
  |Output=Pink Dye,2
  |type=Material
  |foot=1
  |description={{only|bedrock|education}}
}}

=== Trading ===

[[Wandering trader]]s sell 3 pink dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pink Dye
|spritetype=item
|nameid=pink_dye
|aliasid=dye / 9
|id=404
|form=item
|translationkey=item.dye.pink.name
|foot=1}}

== Video ==
{{yt|pPq-Hs9ZPx4}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Pink Dye JE1 BE1.png|32px]] Added pink dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Pink dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Pink dye is now crafted using [[white dye]], instead of [[bone meal]].
|[[File:Pink Dye JE2 BE2.png|32px]] The texture of pink dye has now been changed.}}
{{History|||snap=18w44a|Pink dye can now change the text color on [[sign]]s to pink.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells pink dye.}}
{{History|||snap=19w11a|Pink dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Pink dye can now be used to craft [[pink candle]]s.}}
{{History|||snap=21w19a|Pink dye can no longer be used to craft pink candles.}}
{{History|||snap=Pre-release 1|Pink dye can now once again be used to craft pink candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Pink dye can now change the text color on [[hanging sign]]s to pink.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[Pink petals]] can now be crafted into pink dye.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Pink Dye JE1 BE1.png|32px]] Added pink dye.}}
{{History||v0.4.0|Pink dye is now craftable with [[rose red]] and [[bone meal]].
|Pink dye can now be used to craft pink wool.}}
{{History||v0.6.0|Pink dye can now be used to dye [[sheep]].}}
{{History||v0.8.0|snap=build 1|Pink dye can now be used to craft [[magenta dye]].}}
{{History||v0.9.0|snap=build 11|Pink dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Pink dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Pink dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Pink dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Pink dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Pink dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Pink dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Pink dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Pink dye is now [[trading|sold]] by [[wandering trader]]s.
|Pink dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Pink Dye JE2 BE2.png|32px]] The texture of pink dye has now been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of pink dye has been changed from <code>dye/9</code> to <code>pink_dye</code>.}}

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

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

== Issues ==

{{issue list}}


{{Items}}

[[Category:Dyes]]




[[cs:Růžové barvivo]]
[[de:Rosa Farbstoff]]
[[es:Tinte rosa]]
[[fr:Teinture rose]]
[[hu:Rózsaszín festék]]
[[ja:桃色の染料]]
[[ko:분홍색 염료]]
[[nl:Roze kleurstof]]
[[pl:Różowy barwnik]]
[[pt:Corante rosa]]
[[ru:Розовый краситель]]
[[zh:粉红色染料]]
[[Category:Renewable resources]]</li><li>[[Leggings|Leggings]]<br/>{{Update|Include information about armor trims and updated netherite upgrade information.}}
{{Item
| image = <gallery>
Leather Pants.png | Leather
Chainmail Leggings.png | Chainmail
Iron Leggings.png | Iron
Diamond Leggings.png | Diamond
Golden Leggings.png | Golden
Netherite Leggings.png | Netherite
</gallery>
| durability = 
* Leather: 75
* Chainmail: 225
* Iron: 225
* Golden: 105
* Diamond: 495
* Netherite: 555
| renewable = 
* '''Netherite''': No
* '''All others''': Yes
| stackable = No
}}
'''Leggings''' are a type of [[armor]] that covers the lower body of the player. There are six types of leggings: '''leather pants'''<ref group=fn>Known as '''leather trousers''' in British English variant.{{only|java}}</ref>, '''chainmail leggings''', '''iron leggings''', '''diamond leggings''', '''gold leggings''', and '''netherite leggings'''.

== Obtaining ==

=== Crafting ===

{{crafting
  |head=1
  |showname=0
  |showdescription=1
  |name=Leggings
  |A1= Leather;Gold Ingot;Iron Ingot;Diamond
  |B1= Leather;Gold Ingot;Iron Ingot;Diamond
  |C1= Leather;Gold Ingot;Iron Ingot;Diamond
   |A2= Leather;Gold Ingot;Iron Ingot;Diamond
   |C2= Leather;Gold Ingot;Iron Ingot;Diamond
    |A3= Leather;Gold Ingot;Iron Ingot;Diamond
    |C3= Leather;Gold Ingot;Iron Ingot;Diamond
  |Output= Leather Pants;Golden Leggings;Iron Leggings;Diamond Leggings
  |type= Combat
}}
{{crafting
  |foot=1
  |ignoreusage=1
  |name=Leggings
  |ingredients=Damaged Matching Leggings
  |Damaged Leather Pants; Damaged Golden Leggings; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
  |Damaged Leather Pants; Damaged Golden Leggings; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
  |Output= Leather Pants; Golden Leggings; Chainmail Leggings; Iron Leggings; Diamond Leggings; Netherite Leggings
  |description= The durability of the two leggings is added together, plus an extra 5% durability. Removes any enchantments.
  |type= Combat
}}

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

=== Repairing ===
==== Grinding ====
{{Grinding
|showdescription=1
|ingredients=Damaged Matching Leggings
|Damaged Leather Pants; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Golden Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
|Damaged Leather Pants; Damaged Chainmail Leggings; Damaged Iron Leggings; Damaged Golden Leggings; Damaged Diamond Leggings; Damaged Netherite Leggings
|Leather Pants; Chainmail Leggings; Iron Leggings; Golden Leggings; Diamond Leggings; Netherite Leggings
|description=The durability of the two leggings are added together, plus an extra 5% durability.
}}

==== [[Anvil mechanics#Unit repair|Unit repair]] ====
Leggings may be repaired on an [[anvil]] by combining them with their corresponding crafting material (leather, gold ingots, iron ingots, diamonds, or netherite ingots), with each repair material restoring 25% of the leggings' maximum durability, rounded down. Any enchantments are retained. Chainmail leggings may be repaired in this way with iron ingots. Leggings may also be repaired by crafting them together with another pair of leggings of the same material, although enchantments are lost.

=== Mob loot ===

If a [[zombie]], [[piglin]], [[zombie pigman]] or [[skeleton]] is wearing armor, there is an 8.5% chance (9.5% with Looting I, 10.5% with Looting II and 11.5% with Looting III) for the mob to drop leggings upon death. The leggings are usually badly damaged and may be enchanted.

[[Vindicator]]s and [[pillager]]s spawn in [[raid]]s have a chance to drop iron leggings, which are usually badly damaged, and may be enchanted.

=== Chest loot ===
{{IN|BE}}, a sealed room in [[woodland mansion]]s can appear that has a chest sometimes containing an [[Efficiency]] I leather pants.<ref>{{bug|MCPE-109048}}</ref>
{{LootChestItem|leather-pants,random-enchanted-leather-pants,chainmail-leggings,iron-leggings,level-enchanted-iron-leggings,golden-leggings,random-enchanted-golden-leggings,diamond-leggings,damaged-diamond-leggings,level-enchanted-diamond-leggings,damaged-random-enchanted-diamond-leggings,damaged-random-enchanted-diamond-leggings-2}}

=== Trading ===
{{IN|java}}, novice-level armorer villagers have a 40% chance to sell iron leggings for 7 emeralds. Apprentice-level armorer villagers have a 50% chance to sell chainmail leggings for 3 emeralds. Expert-level armorer villagers always sell enchanted diamond leggings for 18-35 emeralds. Novice-level leatherworker villagers have a {{frac|2|3}} chance to sell randomly dyed<ref group="note">The leather armor has a random color created by two dyes (possibly the same dye twice).</ref> leather pants for 3 emeralds.

Armorer villagers may give the players with the [[Hero of the Village]] effect chainmail leggings. {{only|java}}

{{IN|bedrock}}, novice-level armorer villagers have a 25% chance of selling iron leggings for 7 emeralds. Apprentice-level armorers have a {{frac|1|3}} chance to sell chainmail leggings for 3 emeralds. Expert-level armorers have a 50% chance to sell enchanted diamond leggings for 14 emeralds. Novice-level leatherworker villagers have 50% chance to sell leather pants for 3 emeralds.

{{notelist|columns=1}}

== Usage ==

Leggings can be placed in the 3rd armor slot of a player's [[inventory]] for activation.

=== Defense points ===

Defense points are each signified by half of a shirt of mail in the armor bar above the health bar. Each defense point reduces any damage dealt to the player that is absorbed by armor by 4%, increasing additively with the number of defense points. Different materials and combinations of armor provide different levels of defense.

The following table shows the number of defense points added by leggings.

{| class="wikitable" data-description="Defense points"
|-
!scope="col" | Material
!scope="col" | Defense points
|-
!scope="row" | Leather
| {{armor|2}}
|-
!scope="row" | Golden
| {{armor|3}}
|-
!scope="row" | Chain
| {{armor|4}}
|-
!scope="row" | Iron
| {{armor|5}}
|-
!scope="row" | Diamond
| rowspan="2" | {{armor|6}}
|-
!scope="row" | Netherite
|}

=== Knockback resistance ===
Netherite leggings provide 10% knockback resistance.

=== Durability ===

The following table shows the amount of damage each piece of armor can absorb before being destroyed.

Any "hit" from a damage source that can be blocked by armor removes one point of durability from each piece of armor worn for every {{hp|4}} of incoming damage (rounded down, but never below 1). Damage taken but not protected by that armor (such as [[Damage#Fall damage|falling]] or [[Damage#Drowning|drowning]]) does not damage the armor, even if it is enchanted to protect against that type of damage. The following chart displays how many hits leggings can endure.

Netherite armor is not damaged by [[lava]] or [[fire]] when worn.

{| class="wikitable" data-description="Durability"
|-
! Material
!Durability
|-
!scope="row" | Leather
| 75
|-
!scope="row" | Golden
| 105
|-
!scope="row" | Chain/Iron
| 225
|-
!scope="row" | Diamond
| 495
|-
!scope="row" | Netherite
| 555
|}

=== Enchantments ===

Leggings can receive the following [[enchantment]]s:
{| class="wikitable"
|-
! Enchantment !! Max Level  !! Notes
|-
| [[Fire Protection]] || IV || <ref group=note name=exclusive>Fire Protection, Blast Protection, Projectile Protection and Protection are mutually exclusive</ref>
|-
| [[Projectile Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Blast Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Protection]] || IV || <ref group=note name="exclusive"/>
|-
| [[Unbreaking]] || III ||
|-
|  [[Thorns]] || III || <ref group="note" name="anvil">Only from using an [[anvil]] and [[enchanted book]]s.</ref>
|-
| [[Mending]] || I || <ref group=note name="anvil2">Only from chest loot, fishing, or an anvil and enchanted books.</ref>
|-
| [[Curse of Binding]] || I || <ref group="note" name="anvil2"/>
|-
| [[Curse of Vanishing]] || I || <ref group="note" name="anvil2"/>
|-
| [[Swift Sneak]] || III || <ref group=note name="anvil"/>
|}
{{notelist}}

=== Smelting usage ===

{{Smelting|showname=1|Iron Leggings;Chainmail Leggings;Golden Leggings|Iron Nugget;Iron Nugget;Gold Nugget|0,1}}
=== Piglins ===
{{EntityLink|Piglin|Piglins}} are attracted to ''golden'' leggings and pick them up, examining them for 6 to 8 seconds. Piglins can wear other leggings but are not attracted to them. They prefer stronger leggings over weaker leggings, with one exception: They always prefer golden leggings over all other leggings, throwing out stronger leggings in favor of gold leggings. Enchanted leggings are preferred over unenchanted leggings.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|subtitle=Leather armor rustles
|source=player
|description=When leather leggings are equipped
|id=item.armor.equip_leather
|translationkey=subtitles.item.armor.equip_leather
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|subtitle=Chain armor jingles
|source=player
|description=When chainmail leggings are equipped
|id=item.armor.equip_chain
|translationkey=subtitles.item.armor.equip_chain
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|subtitle=Iron armor clanks
|source=player
|description=When iron leggings are equipped
|id=item.armor.equip_iron
|translationkey=subtitles.item.armor.equip_iron
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|subtitle=Gold armor clinks
|source=player
|description=When gold leggings are equipped
|id=item.armor.equip_gold
|translationkey=subtitles.item.armor.equip_gold
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|subtitle=Diamond armor clangs
|source=player
|description=When diamond leggings are equipped
|id=item.armor.equip_diamond
|translationkey=subtitles.item.armor.equip_diamond
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|subtitle=Netherite armor clanks
|source=player
|description=When netherite leggings are equipped
|id=item.armor.equip_netherite
|translationkey=subtitles.item.armor.equip_netherite
|volume=0.8
|pitch=1.0/0.9
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a pair of leggings' durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Equip leather1.ogg
|sound2=Equip leather2.ogg
|sound3=Equip leather3.ogg
|sound4=Equip leather4.ogg
|sound5=Equip leather5.ogg
|sound6=Equip leather6.ogg
|source=player
|description=When leather leggings are equipped
|id=armor.equip_leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip chain1.ogg
|sound2=Equip chain2.ogg
|sound3=Equip chain3.ogg
|sound4=Equip chain4.ogg
|sound5=Equip chain5.ogg
|sound6=Equip chain6.ogg
|source=player
|description=When chain leggings are equipped
|id=armor.equip_chain
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip iron1.ogg
|sound2=Equip iron2.ogg
|sound3=Equip iron3.ogg
|sound4=Equip iron4.ogg
|sound5=Equip iron5.ogg
|sound6=Equip iron6.ogg
|source=player
|description=When iron leggings are equipped
|id=armor.equip_iron
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip gold1.ogg
|sound2=Equip gold2.ogg
|sound3=Equip gold3.ogg
|sound4=Equip gold4.ogg
|sound5=Equip gold5.ogg
|sound6=Equip gold6.ogg
|source=player
|description=When gold leggings are equipped
|id=armor.equip_gold
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip diamond1.ogg
|sound2=Equip diamond2.ogg
|sound3=Equip diamond3.ogg
|sound4=Equip diamond4.ogg
|sound5=Equip diamond5.ogg
|sound6=Equip diamond6.ogg
|source=player
|description=When diamond leggings are equipped
|id=armor.equip_diamond
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Equip netherite1.ogg
|sound2=Equip netherite2.ogg
|sound3=Equip netherite3.ogg
|sound4=Equip netherite4.ogg
|source=player
|description=When netherite leggings are equipped.
|id=armor.equip_netherite
|volume=1.0
|pitch=1.0}}
{{Sound table
|rowspan=2
|sound=Water Splash Old.ogg
|source=block
|description=When leather leggings are dyed using a cauldron
|id=cauldron.dyearmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When leather leggings' dye is removed using a cauldron
|id=cauldron.cleanarmor
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a pair of leggings' durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Leather Pants
|spritetype=item
|nameid=leather_leggings
|itemtags=freeze_immune_wearables
|form=item}}
{{ID table
|displayname=Chainmail Leggings
|spritetype=item
|nameid=chainmail_leggings
|form=item}}
{{ID table
|displayname=Iron Leggings
|spritetype=item
|nameid=iron_leggings
|form=item}}
{{ID table
|displayname=Diamond Leggings
|spritetype=item
|nameid=diamond_leggings
|form=item}}
{{ID table
|displayname=Golden Leggings
|spritetype=item
|nameid=golden_leggings
|form=item}}
{{ID table
|displayname=Netherite Leggings
|spritetype=item
|nameid=netherite_leggings
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Leather Pants
|spritetype=item
|nameid=leather_leggings
|id=337
|form=item}}
{{ID table
|displayname=Chainmail Leggings
|spritetype=item
|nameid=chainmail_leggings
|id=341
|form=item}}
{{ID table
|displayname=Iron Leggings
|spritetype=item
|nameid=iron_leggings
|id=345
|form=item}}
{{ID table
|displayname=Diamond Leggings
|spritetype=item
|nameid=diamond_leggings
|id=349
|form=item}}
{{ID table
|displayname=Golden Leggings
|spritetype=item
|nameid=golden_leggings
|id=353
|form=item}}
{{ID table
|displayname=Netherite Leggings
|spritetype=item
|nameid=netherite_leggings
|id=611
|form=item
|foot=1}}

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

== Achievements ==
{{load achievements|Iron Man;Tie Dye Outfit;Cover me in debris;Oooh, shiny!}}

== Advancements ==
{{load advancements|Suit Up;Cover me With Diamonds;Oh Shiny;Cover Me in Debris}}

== History ==
{{Cleanup|Split history into just leggings history}}
{{Needs render|type=old|Add of armor models from February 12, 2010 ("Added armor models" / "Armor models are displayed on the player in the inventory").}}
{{History|java indev}}
{{History||0.31|snap=20091231-2|[[File:Studded Leggings (item) JE1.png|32px]] [[History of textures/Unused textures#Studded armor|Studded leggings]] are now able to be seen in the [[inventory]]. This was taken directly from one of [[Notch|Notch's]] game's ''[[Legend of the Chambered 2]]''.}}
{{History||February 9, 2010|link=wordofnotch:380486636|[[File:Notch revealed armor.png|32px]] [[Notch]] revealed new models for armor, which included leggings.}}
{{History||20100212-1|Added leggings models.{{more info|No armor sets were added until later, what does this mean?}}
|[[File:Indev 20100212 armor.png|50px]] Leggings models are now displayed on the [[player]] in the [[inventory]].{{more info|No armor sets were added until later, what does this mean?}}}}
{{History||20100218|[[File:Leather Pants JE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added cloth leggings, which have been given the textures from one of [[Notch]]'s previous games, ''[[Legend of the Chambered]]''.
|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added chain leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added gold leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added diamond leggings.
|Leggings can be [[crafting|crafted]] and worn.
|Leggings now function, giving {{Armor|6}}. Leggings have limited [[item durability|durability]], with lower tier leggings less durable than higher tier leggings.}}
{{History|java alpha}}
{{History||v1.0.8|"Wool leggings" have been renamed to "leather leggings".{{verify|Were they "pants" or "leggings" at the time? If not, when did the name change?}}
|Leather pants are now [[crafting|crafted]] with [[leather]] instead of [[wool]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|The armor protection behavior has been changed. Previous to this update, the total armor protection is based in this equation: (((''total equipped armor damage reduction'' − 1) × (''all equipped armor max damage'' − ''total equipped armor damage'')) ÷ (''total equipped armor max damage'' + 1)).}}
{{History|||snap=October 3, 2011|slink={{tweet|notch|120859830339637249}}|The first images of a [[player]] wearing enchanted armor, including leggings, are revealed.}}
{{History|||snap=Beta 1.9 Prerelease 3|Iron leggings can be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Leggings can be [[enchanting|enchanted]].}}
{{History||1.1|snap=12w01a|Iron leggings can be found in the new blacksmith [[chest]]s in [[village]]s.}}
{{History||1.3.1|snap=12w15a|{{key|Shift}}+clicking can be used to equip leggings.}}
{{History|||snap=12w21a|Chain leggings can be obtained legitimately in [[survival]] mode through [[trading]].
|Blacksmith [[villager]]s now [[trading|sell]] chain leggings for 9–10 emeralds.
|Blacksmith villagers now sell diamond leggings for 11–13 emeralds.
|Blacksmith villagers now sell iron leggings for 8–9 emeralds.
|Butchers now sell leather pants for 2–3 emeralds.}}
{{History||1.4.2|snap=12w32a|[[Mob]] armor has been reintroduced. A partial or full set of any armor is now sometimes worn by [[zombie]]s, [[skeleton]]s and [[zombie pigman|zombie pigmen]], with the likelihood increasing with difficulty.}}
{{History|||snap=August 17, 2012|slink={{tweet|Dinnerbone|236445090929844225}}|[[Jeb]] and [[Dinnerbone]] tweeted pictures of [[dye]]able leather armor, including leggings.}}
{{History|||snap=12w34a|Leather pants can be dyed by [[crafting]] leather pants with [[dye]]s. Dyes can be removed by {{control|use|text=using}} dyed leather pants on a [[cauldron]] with [[water]].
|[[File:Leather Pants JE2.png|32px]] [[File:Leather Pants (item) JE2.png|32px]] Default leather pants are now slightly darker.}}
{{History|||snap=12w36a|[[Dye]]d leather pants are now more saturated and have a slight tint of tan in respect to the default armor color.
|[[Wither skeleton]]s can now spawn wearing leggings.}}
{{History|||snap=12w37a|[[File:Leather Pants (item) JE3 BE2.png|32px]]{{info needed|needs updating.}}[[Category:Needs updating]] Leather leggings now have non-dyed parts. This has been implemented so that [[player]]s can distinguish between other types of armor and similar-colored leather armor.
|Leather pants now have knee pads, which has changed the texture from [[File:Leather Pants JE2.png|32px]] to [[File:Leather Pants JE3 BE1.png|32px]].}}
{{History||1.5|snap=13w04a|Leggings in the [[player]]'s hand can be equipped by right-clicking.
|[[Dispenser]]s can now equip nearby players with leggings.}}
{{History||1.8|snap=14w02a|Armorer [[villager]]s now [[trading|sell]] chain leggings for 9–11 emeralds.
|Armorer villagers no longer sell diamond leggings.
|Armorer villagers no longer sell iron leggings.
|Leatherworkers now sell leather pants for 2–4 emeralds.}}
{{History|||snap=14w05a|Leggings no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History|||snap=14w06a|Leggings are now visible on [[giant]]s.}}
{{History|||snap=14w25a|Chain leggings [[Java Edition removed features#Chain armor|can no longer be crafted anymore]] due to the [[item]] form of [[fire]] being [[Java Edition removed features#Obtainable until 1.8|removed]].}}
{{History||1.9|snap=15w31a|Enchanted iron and diamond leggings can be found in [[end city]] ship [[chest]]s.
|[[Mob]]s now wear armor from the bottom to the top, rather than from the top to the bottom. This means that a mob with three armor pieces, for example, spawn with all armor except a helmet.}}
{{History|||snap=15w34b|Leggings' [[item durability|durability]] now affects armor value.}}
{{History|||snap=15w36a|Armor value and armor [[enchanting|enchantment]] calculations have been changed. For the original values, see [[Armor/Before 1.9|here]].}}
{{History|||snap=15w36d|Leggings' durability affecting value has been removed.
|Leggings now have an attribute controlling the defense points.}}
{{History|||snap=15w50a|Added {{cd|equip}} [[sound]]s for leggings.}}
{{History|||snap=16w02a|Armor value and armor enchantment calculations have been changed again.}}
{{History|||snap=16w05a|Armor value calculations have been changed, once again.}}
{{History||1.11.1|snap=16w50a|Golden, chain, and iron leggings can be [[smelting|smelted]] down into one of their respective [[nugget]]s. Chain leggings smelt into iron nuggets.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 300 (Leather), 304 (Chainmail), 308 (Iron), 312 (Diamond), and 316 (Golden).}}
{{History|||snap=18w11a|Enchanted leather pants can now generate in the chests of [[shipwreck]]s.}}
{{History|||snap=18w20a|Chain leggings have been renamed to "chainmail leggings".}}
{{History||1.14|snap=18w43a|[[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] The textures of leather leggings have been changed.
|[[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] The textures of chainmail leggings have been changed.
|[[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] The textures of iron leggings have been changed.
|[[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Leggings (item) JE2 BE2.png|32px]] The textures of gold leggings have been changed.
|[[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] The textures of diamond leggings have been changed.}}
{{History|||snap=18w48a|Leather pants can be found in [[chest]]s in [[village]] tanneries.}}
{{History|||snap=19w08a|[[File:Golden Leggings (item) JE3 BE3.png|32px]] The texture of gold leggings [[item]]s have been changed.}}
{{History|||snap=19w11a|Armorer villagers now sell iron and enchanted diamond leggings, making diamond leggings effectively [[renewable resource|renewable]] again.
|Leather pants sold by leatherworker villagers are now randomly [[dye]]d.}}
{{History|||snap=19w13a|Armorer villagers now give chainmail leggings to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|[[File:Netherite Leggings JE1.png|32px]] [[File:Netherite Leggings (item) JE1.png|32px]] Added netherite leggings.
|Netherite leggings can be [[crafting|crafted]] using one diamond leggings and one [[netherite ingot]].}}
{{History|||snap=20w09a|[[File:Diamond Leggings (item) JE3 BE3.png|32px]] The textures of diamond leggings [[item]]s have been changed.}}
{{History|||snap=20w10a|[[File:Netherite Leggings JE2.png|32px]] [[File:Netherite Leggings (item) JE2 BE1.png|32px]] The texture of netherite leggings have been changed.
|Netherite leggings can no longer be [[crafting|crafted]].
|Netherite leggings are now obtained by combining one diamond leggings and one [[netherite ingot]] in a [[smithing table]].}}
{{History|||snap=20w16a|Netherite leggings now generate randomly enchanted in [[bastion remnant]] chests.
|Golden leggings now generate randomly enchanted in [[ruined portal]] chests.}}
{{History|||snap=20w17a|Diamonds leggings now generate in place of netherite leggings in bastion remnant [[chest]]s.}}
{{History||1.16.4|snap=Pre-release 1|[[File:Netherite Leggings JE3 BE2.png|32px]] The texture of netherite leggings has been changed.}}
{{History||1.18.2|snap=22w03a|Netherite leggings knockback resistance is no longer random.}}
{{History||1.19|snap=22w12a|Added the [[Swift Sneak]] enchantment, which can be applied only to leggings.}}
{{History|||snap=22w13a|Enchanted iron and diamond leggings may be found in [[ancient city]] [[chest]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Non-leather leggings can now be trimmed using a [[smithing table]].
|There are 10 types of material that determine the color of the trim:
*Iron
*Copper
*Gold
*Lapis
*Emerald
*Diamond
*Netherite
*Redstone
*Amethyst
*Quartz
|Upgrading diamond leggings to netherite leggings now requires the netherite upgrade [[smithing template]].}}
{{History|||snap=23w05a|Leather pants can now be trimmed using a smithing table.|Leggings can now have trims of the same material it is made out of.}}
{{History|||snap=23w06a|Swapped {{cd|iron}} and {{cd|iron_darker}} palette, then made {{cd|iron_darker}} darker overall.}}
{{History||1.19.4|snap=23w05a|Leggings can now be swapped by {{ctrl|using}} them in the hotbar.<ref>{{bug|MC-216270|||Fixed}}</ref>}}
{{History||?|Leggings can now be swapped in [[armor stand]]s by {{ctrl|using}} them in the armor stand's slot.}}
{{History||1.20|snap=23w12a|The pattern textures of dune and sentry armor trims are changed.|
Those previous patterns were left with different names: dune was renamed sentry and sentry was renamed shaper.}}

{{History|pocket alpha}}
{{History||v0.6.0|[[File:Leather Pants JE1 BE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added the leather pants.
|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added the chain leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added the iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added the golden leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added the diamond leggings.}}
{{History||v0.8.0|snap=build 2|[[File:Leather Pants (item) JE3 BE2.png|32px]] The leather pants sprites have been changed to that of the [[Java Edition|PC]] version, but its armor [[model]] remains that of older versions.}}
{{History||v0.9.0|snap=build 1|Iron leggings now naturally generates in [[village]] [[chest]]s and a [[stronghold]] altar chest.}}
{{History||v0.11.0|snap=build 11|Armor now protects against [[damage]] from [[mob]]s only.}}
{{History||v0.12.1|snap=build 1|Leggings can be worn by mobs.
|Chainmail leggings can be obtained in [[survival]] mode from a mob wearing it.}}
{{History||?|Leggings no longer turn red when [[mob]]s and [[player]]s are hurt.}}
{{History||v0.14.0|snap=build 1|[[File:Leather Pants JE3 BE2.png|32px]] Leather armor can be dyed and the model has been updated.}}
{{History||v0.15.0|snap=build 1|Leggings can be obtained from [[stray]]s and [[husk]]s that naturally spawn with armor.}}
{{History||v0.15.10|[[Cape]]s no longer clip through armor.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[Enchanting|Enchanted]] iron leggings and enchanted diamond leggings can be found inside [[chest]]s within [[end city]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Chainmail leggings are now [[trading|sold]] by armorer smith [[villager]]s via [[trading]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Golden, chain, and iron leggings can be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Chainmail leggings now generate in [[buried treasure]] chests.
|Enchanted leather leggings can be found inside [[shipwreck]] supply room [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Iron leggings now can be found in plains [[village]] weaponsmith [[chest]]s.
|Leather pants can be found inside plains village tannery chests.
|[[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] The textures of leather pants have been changed.
|[[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] The textures of chainmail leggings have been changed.
|[[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] The textures of iron leggings have been changed.
|[[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Leggings (item) JE2 BE2.png|32px]] The textures of golden leggings have been changed.
|[[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] The textures of diamond leggings have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Iron leggings now can be found in [[savanna]], [[taiga]], [[desert]], [[snowy taiga]], and [[snowy tundra]] [[village]] weaponsmith [[chest]]s.
|Leather leggings can be found inside savanna, taiga, desert, snowy taiga, and snowy tundra village tannery chests.}}
{{History|||snap=beta 1.11.0.4|[[Pillager]]s and [[vindicator]]s that spawn in [[raid]]s can now drop iron leggings.
|Leather pants are now [[trading|sold]] by leather worker [[villager]]s.
|Iron leggings and diamond leggings are now sold by armorer villagers.}}
{{History||1.11.0|snap=beta 1.11.0.5|[[File:Golden Leggings (item) JE3 BE3.png|32px]] The textures of golden leggings [[item]]s have been changed.}}
{{History||1.12.0|snap=beta 1.12.0.2|[[File:Armor Stand with Leather Armor MCPE-44669.png|32px]] Leather armor no longer show as being [[dye]]d properly when worn by [[armor stand]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Leather armor now appears dyed properly when worn by armor stands.}}
{{History||1.16.0|snap=beta 1.16.0.51|[[File:Netherite Leggings BE1.png|32px]] [[File:Netherite Leggings (item) JE2 BE1.png|32px]] Added netherite leggings.
|Netherite leggings can be [[crafting|crafted]] using one diamond leggings and one [[netherite ingot]].
|[[File:Diamond Leggings (item) JE3 BE3.png|32px]] The texture of diamond leggings has been changed.
|Golden leggings can be obtained from [[piglin]]s wearing [[armor]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Netherite leggings can no longer be [[crafting|crafted]].
|Netherite leggings are now obtained by combining one diamond leggings and one [[netherite ingot]] in a [[smithing table]].
|Golden leggings can be found in [[ruined portal]] chests.
|Golden and netherite leggings can be found in [[bastion remnant]] chests.}}
{{History|||snap=beta 1.16.0.63|Diamonds leggings now generate in place of netherite leggings in bastion remnant chests.}}
{{History||1.16.200|snap=beta 1.16.200.52|[[File:Netherite Leggings JE3 BE2.png|32px]] The texture of netherite leggings has been changed.}}
{{History||1.19.0|snap=beta 1.19.0.24|Added the [[Swift Sneak]] enchantment, which is applicable only to leggings.}}
{{History|||snap=beta 1.19.0.26|Enchanted iron and diamond leggings may be found in [[ancient city]] [[chest]]s.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Leather Pants JE3 BE1.png|32px]] [[File:Leather Pants (item) JE1 BE1.png|32px]] Added the leather leggings.
|[[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] Added the iron leggings.
|[[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] Added the golden leggings.
|[[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] Added the diamond set.}}
{{History||xbox=TU5|[[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] Added the chain leggings.
|Added a quick equip for armor to the [[inventory]] interface.}}
{{History||xbox=TU12|ps=1.03|[[File:Leather Pants (item) JE3 BE2.png|32px]] The textures for leather armor [[item]]s have been changed.}}
{{History||xbox=TU14|ps=1.05|Leather armor can be [[dye]]d.
|[[Item repair]] can now repair armor.}}
{{History||xbox=TU25|xbone=CU13|ps=1.16|Armor now have the quick equip functionality.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Golden, chain, and iron armor can be [[smelting|smelted]] down into one of their respective [[nugget]]s.}}
{{History|PS4}}
{{History||1.90|[[File:Leather Cap JE4 BE2.png|32px]] [[File:Leather Tunic JE4 BE2.png|32px]] [[File:Leather Pants JE4 BE2.png|32px]] [[File:Leather Boots JE3 BE2.png|32px]]<br>[[File:Leather Cap (item) JE4 BE3.png|32px]] [[File:Leather Tunic (item) JE4 BE3.png|32px]] [[File:Leather Pants (item) JE4 BE3.png|32px]] [[File:Leather Boots (item) JE4 BE3.png|32px]] The textures of leather armor have been changed.
|[[File:Chainmail Helmet JE3 BE2.png|32px]] [[File:Chainmail Chestplate JE3 BE2.png|32px]] [[File:Chainmail Leggings JE2 BE2.png|32px]] [[File:Chainmail Boots JE2 BE2.png|32px]]<br>[[File:Chainmail Helmet (item) JE2 BE2.png|32px]] [[File:Chainmail Chestplate (item) JE2 BE2.png|32px]] [[File:Chainmail Leggings (item) JE2 BE2.png|32px]] [[File:Chainmail Boots (item) JE2 BE2.png|32px]] The textures of chainmail armor have been changed.
|[[File:Iron Helmet JE2 BE2.png|32px]] [[File:Iron Chestplate JE2 BE2.png|32px]] [[File:Iron Leggings JE2 BE2.png|32px]] [[File:Iron Boots JE2 BE2.png|32px]]<br>[[File:Iron Helmet (item) JE2 BE2.png|32px]] [[File:Iron Chestplate (item) JE2 BE2.png|32px]] [[File:Iron Leggings (item) JE2 BE2.png|32px]] [[File:Iron Boots (item) JE2 BE2.png|32px]] The textures of iron armor have been changed.
|[[File:Golden Helmet JE2 BE2.png|32px]] [[File:Golden Chestplate JE2 BE2.png|32px]] [[File:Golden Leggings JE2 BE2.png|32px]] [[File:Golden Boots JE2 BE2.png|32px]]<br>[[File:Golden Helmet (item) JE3 BE3.png|32px]] [[File:Golden Chestplate (item) JE3 BE3.png|32px]] [[File:Golden Leggings (item) JE3 BE3.png|32px]] [[File:Golden Boots (item) JE3 BE3.png|32px]] The textures of gold armor have been changed.
|[[File:Diamond Helmet JE2 BE2.png|32px]] [[File:Diamond Chestplate JE3 BE2.png|32px]] [[File:Diamond Leggings JE2 BE2.png|32px]] [[File:Diamond Boots JE2 BE2.png|32px]]<br>[[File:Diamond Helmet (item) JE2 BE2.png|32px]] [[File:Diamond Chestplate (item) JE2 BE2.png|32px]] [[File:Diamond Leggings (item) JE2 BE2.png|32px]] [[File:Diamond Boots (item) JE2 BE2.png|32px]] The textures of diamond armor have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Leather Cap JE3 BE1.png|32px]] [[File:Leather Tunic JE3 BE1.png|32px]] [[File:Leather Pants JE3 BE1.png|32px]] [[File:Leather Boots JE2 BE1.png|32px]]<br>[[File:Leather Cap (item) JE3 BE2.png|32px]] [[File:Leather Tunic (item) JE3 BE2.png|32px]] [[File:Leather Pants (item) JE3 BE2.png|32px]] [[File:Leather Boots (item) JE3 BE2.png|32px]] Added the leather set.
|[[File:Chainmail Helmet JE2 BE1.png|32px]] [[File:Chainmail Chestplate JE2 BE1.png|32px]] [[File:Chainmail Leggings JE1 BE1.png|32px]] [[File:Chainmail Boots JE1 BE1.png|32px]]<br>[[File:Chainmail Helmet (item) JE1 BE1.png|32px]] [[File:Chainmail Chestplate (item) JE1 BE1.png|32px]] [[File:Chainmail Leggings (item) JE1 BE1.png|32px]] [[File:Chainmail Boots (item) JE1 BE1.png|32px]] Added the chain set.
|[[File:Iron Helmet JE1 BE1.png|32px]] [[File:Iron Chestplate JE1 BE1.png|32px]] [[File:Iron Leggings JE1 BE1.png|32px]] [[File:Iron Boots JE1 BE1.png|32px]]<br>[[File:Iron Helmet (item) JE1 BE1.png|32px]] [[File:Iron Chestplate (item) JE1 BE1.png|32px]] [[File:Iron Leggings (item) JE1 BE1.png|32px]] [[File:Iron Boots (item) JE1 BE1.png|32px]] Added the iron set.
|[[File:Golden Helmet JE1 BE1.png|32px]] [[File:Golden Chestplate JE1 BE1.png|32px]] [[File:Golden Leggings JE1 BE1.png|32px]] [[File:Golden Boots JE1 BE1.png|32px]]<br>[[File:Golden Helmet (item) JE1 BE1.png|32px]] [[File:Golden Chestplate (item) JE1 BE1.png|32px]] [[File:Golden Leggings (item) JE1 BE1.png|32px]] [[File:Golden Boots (item) JE1 BE1.png|32px]] Added the golden set.
|[[File:Diamond Helmet JE1 BE1.png|32px]] [[File:Diamond Chestplate JE1 BE1.png|32px]] [[File:Diamond Leggings JE1 BE1.png|32px]] [[File:Diamond Boots JE1 BE1.png|32px]]<br>[[File:Diamond Helmet (item) JE1 BE1.png|32px]] [[File:Diamond Chestplate (item) JE1 BE1.png|32px]] [[File:Diamond Leggings (item) JE1 BE1.png|32px]] [[File:Diamond Boots (item) JE1 BE1.png|32px]] Added the diamond set.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
=== Enchanted Leggings ===
<gallery>
File:Enchanted Leather Pants (item).gif
File:Enchanted Chainmail Leggings (item).gif
File:Enchanted Iron Leggings (item).gif
File:Enchanted Golden Leggings (item).gif
File:Enchanted Diamond Leggings (item).gif
File:Enchanted Netherite Leggings (item).gif
</gallery>
<gallery>
File:Enchanted Leather Leggings.gif
File:Enchanted Chainmail Leggings.gif
File:Enchanted Iron Leggings.gif
File:Enchanted Golden Leggings.gif
File:Enchanted Diamond Leggings.gif
File:Enchanted Netherite Leggings.gif
</gallery>

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory-leggings Taking Inventory:Leggings] – Minecraft.net on February 15, 2019

{{Items}}

[[Category:Armor]]

[[fr:Armure#Jambières]]
[[ja:レギンス]]
[[ko:각반]]
[[pl:Nogawice]]
[[pt:Calças]]
[[zh:护腿]]</li></ul>
Added multiplayer. Originally, Notch allowed only a limited number of people from the Minecraft IRC channel to participate in the first tests of multiplayer. These invitees could invite other people to test out this mode; however, the password was leaked and the server was quickly filled up. Notch released the first version of the multiplayer server software on August 4, 2010. The client was updated so that players could enter the IP of a server to join it.
Java Edition
1.3.1
{{Extension DPL}}<ul><li>[[3D|3D]]<br/>{{about|the edible item|the April Fools' snapshot itself|Java Edition 3D Shareware v1.34}}

{{Joke feature}}
{{Item
| image = 3D (item).png
| renewable = Yes
| stackable = Yes (64)
}}

'''3D''' was a joke item from [[Java Edition 3D Shareware v1.34]]. Eating it shows a picture of the developer cast.

== Obtaining ==
=== Mob drops ===
3D was dropped by a creeper summoned by the cheat code "'''NEEEERD'''".

== Usage ==
Eating the 3D item when the hunger bar was not full shows a picture of the developer cast of Minecraft.
== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=3D
|spritetype=item
|nameid=3d
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||3D Shareware v1.34|[[File:3D (item).png|32px]] Added the 3D item.}}
{{History|foot}}

== Gallery ==

<gallery>
File:3D Shareware Mojang Team.png|The developer cast of Minecraft.
File:Tasty 3D Item.gif|The "'''Tasty!'''" 3D Item lore.
</gallery>

{{Items}}
{{Jokes}}

[[Category:Non-renewable resources]]
[[Category:Joke items]]</li><li>[[Raw Salmon|Raw Salmon]]<br/>{{about|the item|the mob|Salmon}}
{{Item
| title = Raw Salmon
| image = Raw Salmon.png
| renewable = Yes
| heals = {{hunger|2}}
| stackable = Yes (64)
}}
'''Raw salmon''' is a food item that can be eaten by the [[player]] or cooked to make [[cooked salmon]].

== Obtaining ==

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

Catching salmon awards 1-6 experience.

=== Chest loot ===

{{LootChestItem|raw-salmon}}

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

== Usage ==

=== Smelting ingredient ===

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

=== Food ===

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

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

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

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

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

=== Trading ===

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

== References ==
{{reflist}}

{{items}}

[[de:Roher Lachs]]
[[es:Salmón crudo]]
[[ja:生鮭]]
[[ko:생연어]]
[[pt:Salmão cru]]
[[ru:Сырой лосось]]
[[tr:Çiğ Somon]]
[[zh:生鲑鱼]]
[[Category:Renewable resources]]
[[Category:Food]]</li></ul>
Singleplayer was abolished in a technical sense. Instead, the player hosts a server that they can either close or open to others at any time. This change was intended to reduce the labor required to fix bugs for two different parts of Minecraft, at a slight performance cost.
Pocket Edition Alpha
v0.2.0
{{Extension DPL}}<ul><li>[[Name Tag|Name Tag]]<br/>{{about|the item that gives names to mobs|the nameplate above a player's head|Player#Username}}
{{Item
| image = Name Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''name tag''' is an [[item]] used to name [[mob]]s in the world and prevent them from despawning naturally.

== Obtaining ==

=== Chest loot ===

{{LootChestItem|name-tag}}

=== Fishing ===

Name tags can be caught from [[fishing]] as part of the treasure category with a {{frac|1|6}} chance after the 5% chance of being a treasure catch. The chance of catching treasure increases with the [[Luck of the Sea]] enchantment.

=== Trading ===

Master-level librarian [[villagers]] offer to sell a name tag for 20 [[emerald]]s as one of their available trades.

== Usage ==

To use a name tag, it must first be renamed with an [[anvil]], costing 1 [[experience]] level. 

If it is not renamed, it has no effect when used on a mob. After the name tag is renamed, the player can {{control|use}} it on a mob to give it the name given to the name tag from the anvil. Mobs and name tags can be renamed any number of times. Name tags with the same name are stackable. 

Once a mob is named, it keeps its name, and the name tag is consumed.

When a mob is named, it is excluded from the mob cap count.

Effects on various mobs:
* A named [[silverfish]] that goes into a block appears to lose its name because it is replaced by a newly generated unnamed silverfish when the block is broken.
* A baby (animal or villager) keeps its name when becoming an adult.
** A named [[villager]] keeps its name when transformed into a [[Zombie Villager|zombie villager]].
** A named zombie villager keeps its name when cured.
* [[Wandering Trader|Wandering trader]]s still despawn even if they are named, or in a [[minecart]] or [[boat]].
* A named [[wither]]'s boss bar displays its name instead of "Wither".
* Naming an [[ender dragon]] with commands also displays the name in the boss bar.

=== Limitations ===

Any mob can be named except for the [[ender dragon]] and [[player]]s.

A name tag can rename an [[armor stand]], though it does not show the nameplate above its head until <code>CustomNameVisible:1b</code> is set as an extra step.

{{control|Using|use}} a name tag on a villager renames the villager instead of opening the trading interface. A saddled pig is renamed instead of being ridden. Using a name tag on any other mob that can be interacted with performs the {{control|use}} action instead of being named. These mobs can be renamed if the player uses the name tag while crouching or standing in a [[nether portal]] because the portal suppresses the {{control|use}} action.

Once a name tag is used on a mob, it is impossible to remove the name of that mob without the use of commands or external modifications.

=== Behavior ===

Renamed mobs have their name displayed over their head in the same fashion as a mob named through a renamed [[spawn egg]]. Their names can be seen only if they are aimed at from four or fewer blocks away.

Mobs that are named using the name tag never despawn in the world, similar to tamed mobs.<ref>{{tweet|dinnerbone|327485109940916226}}</ref> The exceptions are [[wandering trader]]s or if the mob is hostile and the difficulty is switched to "[[Peaceful]]", causing any hostile mobs or any named hostile mobs to despawn immediately. 

If a renamed mob kills a player, the custom name is used in the death message in place of the mob type name. For instance, if a vindicator named "Johnny" kills a player, the death message is "Player was slain by Johnny". 

A renamed [[wither]] also has a renamed health bar, and the boss bar doesn't regenerate{{verify}}.

=== Easter eggs ===

* Any mob that receives the name "[[Easter eggs#Upside-down mobs|Dinnerbone]]" or "[[Easter eggs#Upside-down mobs|Grumm]]" is rendered upside down. This even includes the player in early versions of Bedrock Edition if the username is set to either of these and you are not signed into Xbox Live.
* Naming a [[sheep]] "[[Easter eggs#Jeb sheep|jeb_]]" causes its wool to fade between the dye colors, producing a rainbow effect. The [[wool]] that drops when the sheep is [[shear]]ed or killed is the original color of the sheep before the sheep was named.
* Naming a [[rabbit]] "[[Rabbit#Toast|Toast]]" causes it to have a special memorial skin of user xyzen420's girlfriend's [http://www.reddit.com/r/minecraftsuggestions/comments/27hjog/to_themogminer_my_bunny_is_missing_please_help_me/ missing rabbit].
* Naming a [[vindicator]] "Johnny" causes it to be aggressive and attack all [[mob]]s including the wither (except [[ghast]]s and other [[illager]]s). The hostility even extends to [[Ravager|ravagers]] in [[Java Edition|''Java Edition'']], as the "Johnny" vindicator can also attack the ravager while it's riding it.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|id=548
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.6.1|snap=13w16b|[[File:Name Tag JE1 BE1.png|32px]] Added name tags. They can now be found in [[dungeon]] [[chest]]s.}}
{{History|||snap=13w25a|A [[mob]] named "Dinnerbone" or "Grumm" now renders upside down.}}
{{History||1.7.2|snap=13w36a|Name tags can now rarely be acquired by [[fishing]], making them [[renewable resource|renewable]].}}
{{History||1.7.4|snap=13w48b|A sheep named "jeb_" now fades between the [[dye]] colors.}}
{{History||1.8|snap=14w02a|Name tags can now be [[trading|bought]] from librarian [[villager]]s, at 20–22 [[emerald]]s for 1 name tag.}}
{{History|||snap=14w27a|[[Rabbit]]s have been added and naming one "Toast" gives it a special memorial skin.}}
{{History||1.9|snap=15w44a|Added name tags to [[mineshaft]] [[chest]]s.
|The average yield of name tags in [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Name tags can now be found in the new [[woodland mansion]] chests.
|Added [[vindicator]]s, which attack almost all mobs if named "Johnny".}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 421.}}
{{History||1.14|snap=18w43a|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Name tags now generate in [[ancient city]] chests.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Name Tag JE1 BE1.png|32px]]  Added name tags, and a new "Name" Interact button.
|A [[mob]] named "Dinnerbone" or "Grumm" renders upside down.
|A [[sheep]] named "jeb_" fades between the [[dye]] colors.
|Naming a [[rabbit]] "Toast" gives it a special memorial skin.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Name tags can now be [[trading|bought]] from librarian [[villager]]s for 20-22 [[emerald]]s as their last tier trade.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Naming a [[vindicator]] "Johnny" now makes it hostile to any [[mob]], except other [[illager]]s.
|Name tags can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Name tags can now be found in buried treasure [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Name tags [[trading|sold]] by librarian [[villager]]s now cost 20 [[emerald]]s.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|PS4}}
{{History||1.90|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Name tags were added at the request of [https://www.youtube.com/user/paulsoaresjr/ Paulsoaresjr].<ref>{{tweet|paulsoaresjr|326865482839883777}}</ref><ref>{{tweet|Dinnerbone|326812168630722561}}</ref>
* A stack of up to 64 name tags can be renamed at once. The cost is 1 [[experience]] level per stack, regardless of how many name tags were stacked.
* To name a [[mob]] “Name Tag” the player must give the name tag a random name, then rename it back to “Name Tag”.
* A [[villager]] with a name tag turned into a [[zombie villager]] by a [[zombie]] with a name tag does not despawn, but a villager with a name tag turned into a zombie by a zombie without a name tag does despawn.
* It is impossible to have a rainbow [[sheep]] upside-down, because it is impossible for it to be named “Jeb_” and “Dinnerbone” at the same time.

== Gallery ==
<gallery>
NameTag2.png|To use a name tag, the [[player]] must first rename it using an [[anvil]].
NameTag1.png|A [[wolf]] that has been renamed using a name tag.
RenamedCreeper.png|A [[creeper]] renamed using the name tag.
RenamedWither.png|A [[Wither Boss|wither]] renamed using a name tag. The custom name takes place of "Wither" over the [[health bar]] as well.
YoYo.png|How to use "Grumm" and "Dinnerbone" name tag [[easter egg]] and [[lead]] to make another animal Yo-yo.
Grumm Horse.png|A [[horse]] using the "Grumm" or "Dinnerbone" easter egg to be rendered upside-down.
MineshaftNameTag.png|Name Tag found in a mineshaft chest.
Pocket Edition Name Tag.jpg|First image of a name tag in bedrock edition.
</gallery>

== See also ==
* [[Spawn Egg]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--name-tag Taking Inventory: Name Tag] – Minecraft.net on March 15, 2019

{{items}}

[[de:Namensschild]]
[[es:Etiqueta]]
[[fr:Étiquette]]
[[it:Targhetta]]
[[ja:名札]]
[[ko:이름표]]
[[nl:Naamkaartje]]
[[pl:Znacznik]]
[[pt:Etiqueta]]
[[ru:Бирка]]
[[zh:命名牌]]
[[Category:Renewable resources]]</li><li>[[:Category:Education Edition items|Category:Education Edition items]]<br/>[[Category:Education Edition]]
[[Category:Items]]</li></ul>
Added Survival mode.
v0.3.0
{{Extension DPL}}<ul><li>[[Cooked Cod|Cooked Cod]]<br/>{{redirect|Cooked Fish|cooked salmon|Cooked Salmon}}
{{Item
| title = Cooked Cod
| image = Cooked Cod.png
| renewable = Yes
| heals = {{hunger|5}}
| stackable = Yes (64)
}}
'''Cooked cod''' is a food item obtained by cooking [[raw cod]].

== Obtaining ==

=== Mob loot ===
====Cod====
[[Cod]] always drops 1 [[Raw Cod|raw cod]] when killed, unaffected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref> If it is killed while on [[fire]], it drops 1 cooked cod instead.
====Dolphins ====
When killed, [[Dolphin|dolphins]] drop 0–1 raw cod. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 0-4 with Looting III. If killed while on fire, they drop cooked cod instead.
====Guardians and elder guardians====
[[Guardian]]s and [[elder guardian]]s have a 40% and 50% chance, respectively, to drop raw cod when killed. {{IN|java}}, cooked cod is dropped if a guardian is on fire when killed.

Guardians and elder guardians also drop a 2.5% chance to drop a random fish, with 60% of them being raw cod, which drops as cooked if the guardian was on fire. The chance of getting the fish drop is increased by 1% per level with [[Looting]] (for a maximum of 5.5% with Looting III), but the type of fish is not affected.
====Polar bears====
[[Polar bear]]s have a 75% chance of dropping 0–2 raw cod when killed. The maximum amount can be increased by 1 per level of Looting, for a maximum of 0-5 with Looting III. If killed while on fire, they drop cooked cod instead.
===Chest loot===
{{LootChestItem|cooked-cod}}

===Cooking===

Cooked cod can be obtained by cooking [[raw cod]] in a [[furnace]], [[smoker]], or [[campfire]]. 

{{smelting|Raw Cod|Cooked Cod|0,35}}

===Trading===

Novice-level Fisherman [[Villager|villagers]] have a 50% chance to sell 6 cooked cod for 6 raw cod and 1 [[emerald]].

== Usage ==

=== Food ===

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

=== Wolves ===

{{IN|Bedrock}}, cooked cod can be used to feed a wolf not at full health, healing by {{hp|5|mob=1}}. However, unlike other wolf food, cooked cod cannot be used to speed up the growth of baby wolves nor used to breed them.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|showaliasids=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Cod
|spritetype=item
|nameid=cooked_cod
|aliasid=cooked_fish
|id=268
|form=item
|translationkey=item.cooked_fish.name
|foot=1}}

== Achievements ==

{{load achievements|Delicious Fish}}

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

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

== History ==

{{History|java alpha}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|[[File:Cooked Cod JE1 BE1.png|32px]] Added cooked fish, which restores {{hp|5}}.}}
{{History|java beta}}
{{History||1.5|Cooking fish now gives the '''Delicious Fish''' [[achievement]].}}
{{History||1.8|snap=Pre-release|Cooked fish is now stackable to 64.
|Cooked fish now fills {{hunger|5}} instead of {{hp|5}}.}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Farmer [[villager]]s now [[trading|buy]] 9–12 cooked fish for 1 [[emerald]].}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: fisherman [[villager]]s now [[trading|sell]] 6 cooked fish for 1 [[emerald]] plus 6 [[raw cod|raw fish]].
|Farmer villagers no longer buy cooked fish.}}
{{History|||snap=14w04a|The name of cooked fish has been corrected from <code>cooked_fished</code> to <code>cooked_fish</code>.}}
{{History|||snap=14w25a|Cooked fish are now obtainable rare [[drops]] from [[guardian]]s and [[elder guardians]].}}
{{History||1.13|snap=17w47a|The different data values for the <code>cooked_fish</code> IDs have been split up into their own IDs.
|"Cooked Fish" have been renamed to "Cooked Cod".
|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral ID were 349 and 350.}}
{{History|||snap=18w08b|[[Cod]], and other [[fish]], have been added as [[mob]]s, which [[drops|drop]] their cooked [[item]] form when killed with [[fire]].
|[[File:Cooked Cod JE2 BE2.png|32px]] The texture of cooked cod has been changed.}}
{{History|||snap=18w10a|Cooked cod now generates in [[buried treasure]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Cooked Cod JE3.png|32px]] The texture of cooked cod has been changed.}}
{{History|||snap=18w47b|[[File:Cooked Cod JE4 BE3.png|32px]] The texture of cooked cod has been changed, once again to match {{el|be}}.}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Cooked Cod JE1 BE1.png|32px]] Added cooked fish.}}
{{History||v0.12.1|snap=build 1|Cooked fish now restores [[hunger]] instead of [[health]].}}
{{History||v0.16.0|snap=build 1|Cooked fish is now [[drops|dropped]] by [[guardian]]s and [[elder guardian]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Fisherman [[villager]]s now [[trading|sell]] 6 cooked fish for 1 [[emerald]] plus 6 [[raw cod|raw fish]].}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[Cod]] and other [[fish]] have been added as [[mob]]s, which [[drops|drop]] their cooked [[item]] form when killed with [[fire]].
|[[File:Cooked Cod JE2 BE2.png|32px]] The texture of cooked fish has been changed.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Cooked Cod JE4 BE3.png|32px]] The texture of cooked fish has been changed.}}
{{History||1.7.0|snap=beta 1.7.0.2|"Cooked Fish" has been renamed to "Cooked Cod".}}
{{History||1.11.0|snap=beta 1.11.0.4|Fisherman [[villager]]s now have a 50% chance to [[trading|sell]] 6 cooked cod for 6 [[raw cod]] and 1 [[emerald]].}}
{{History||1.16.100|snap=beta 1.16.100.52|Cod now drop their cooked cod when killed with fire.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Cooked Cod JE1 BE1.png|32px]] Added cooked fish.}}
{{History||xbox=TU5|Cooked fish is now stackable to 64.
|Cooked fish now fills [[hunger]] instead of [[health]].}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|"Cooked Fish" has been renamed to "Cooked Cod".
|[[File:Cooked Cod JE2 BE2.png|32px]] The texture of cooked cod has been changed.}}

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

== Issues ==

{{Issue list}}

{{Items}}

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

[[de:Gebratener Kabeljau]]
[[es:Bacalao cocinado]]
[[ko:익힌 대구]]
[[pt:Bacalhau assado]]
[[ru:Жареная треска]]
[[th:Cod (ไอเทม)]]
[[zh:熟鳕鱼]]</li><li>[[Wheat Seeds|Wheat Seeds]]<br/>{{Block
| group = Age 0
| 1-1 = Wheat Age 0.png
| 1-2 = Wheat Age 0 BE.png
| group2 = Age 7
| 2-1 = Wheat Age 7.png
| 2-2 = Wheat Age 7 BE.png
| image = Wheat Seeds.png
| extratext = [[#Renders|View all renders]]
| invimage = Wheat Seeds
| transparent = Yes
| light = No
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Wheat seeds''' ({{in|java}}) or '''seeds''' ({{in|bedrock}}) are [[item]]s obtained by breaking [[grass]], or more abundantly harvested from wheat crops, and are used to plant them.

'''Wheat crops''' are planted in [[farmland]] and used to grow [[wheat]] and wheat seeds. 

== Obtaining ==

=== Breaking ===
Harvesting fully-grown [[wheat]] [[crops]] yields from 1 to 4 seeds per crop harvested (about {{frac|2|5|7}} seeds/crop harvested on average).

In '''Bedrock edition''' yields are 0-3.[https://bugs.mojang.com/browse/MCPE-169402]<sup>https://bugs.mojang.com/browse/MCPE-169402</sup>

Wheat seeds can be obtained from breaking all variants of [[grass]], which yields 0 to 1 seed. If harvested with a [[Fortune]] enchanted tool the drop rate from grass is increased.

The looting is calculated by a binomial distribution: a drop is attempted three times with a success rate of around 57% to yield the 0–3 drops. Each level of Fortune enchantment increases the number of attempts by one.

{| class="wikitable"
! rowspan="3" |[[Resource location]]
! rowspan="3" | Source
! colspan="5" | Drops
|- style="text-align:center"
! rowspan="2" |{{ItemLink|Wheat}}
! colspan="4" |{{ItemText|Wheat Seeds}}
|- style="text-align:center"
! Default tool
! With [[Fortune]] I
! With Fortune II
! With Fortune III
|- style="text-align:center"
| rowspan="2" |<code>blocks/wheat</code>
|{{BlockLink|Wheat}} (age 0–6)
| 0 {{ItemSprite|Wheat}}
| 1 {{ItemSprite|Wheat Seeds}}|| 1 {{ItemSprite|Wheat Seeds}}|| 1 {{ItemSprite|Wheat Seeds}}|| 1 {{ItemSprite|Wheat Seeds}}
|- style="text-align:center"
|{{BlockLink|Wheat}} (age 7)
| 1 {{ItemSprite|Wheat}}
| 1 {{ItemSprite|Wheat Seeds}} (~7.87%) ''or''<br>2 {{ItemSprite|Wheat Seeds}} (~31.49%) ''or''<br>3 {{ItemSprite|Wheat Seeds}} (~41.98%) ''or''<br>4 {{ItemSprite|Wheat Seeds}} (~18.66%)
| 1 {{ItemSprite|Wheat Seeds}} (~3.37%) ''or''<br>2 {{ItemSprite|Wheat Seeds}} (~17.99%) ''or''<br>3 {{ItemSprite|Wheat Seeds}} (~35.98%) ''or''<br>4 {{ItemSprite|Wheat Seeds}} (~31.99%) ''or''<br>5 {{ItemSprite|Wheat Seeds}} (~10.66%)
| 1 {{ItemSprite|Wheat Seeds}} (~1.44%) ''or''<br>2 {{ItemSprite|Wheat Seeds}} (~9.64%) ''or''<br>3 {{ItemSprite|Wheat Seeds}} (~25.70%) ''or''<br>4 {{ItemSprite|Wheat Seeds}} (~34.27%) ''or''<br>5 {{ItemSprite|Wheat Seeds}} (~22.85%) ''or''<br>6 {{ItemSprite|Wheat Seeds}} (~6.09%)
| 1 {{ItemSprite|Wheat Seeds}} (~0.62%) ''or''<br>2 {{ItemSprite|Wheat Seeds}} (~4.96%) ''or''<br>3 {{ItemSprite|Wheat Seeds}} (~16.52%) ''or''<br>4 {{ItemSprite|Wheat Seeds}} (~29.38%) ''or''<br>5 {{ItemSprite|Wheat Seeds}} (~29.38%) ''or''<br>6 {{ItemSprite|Wheat Seeds}} (~15.67%) ''or''<br>7 {{ItemSprite|Wheat Seeds}} (~3.48%)
|}

=== Natural generation ===
[[Village]] farm plots have a chance of being wheat crops. The exact chance depends on the style of the village:

{| class="wikitable"
! Village style !! Chance
|-
| {{EnvSprite|savanna-village}} Savanna || 80%
|-
| {{EnvSprite|desert-village}} Desert || 70%
|-
| {{EnvSprite|taiga-village}} Taiga || 60%
|-
| {{EnvSprite|plains-village}} Plains || 50%
|-
| {{EnvSprite|snowy-village}} Snowy || 20%
|}

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

=== Trading ===
[[Wandering trader]]s sell wheat seeds for an [[emerald]].

=== Villager gifts ===
{{exclusive|java|section=1}}
Nitwit and unemployed [[villager]]s throw wheat seeds at players under the [[Hero of the Village]] effect.

== Usage ==

=== Crop ===
{{main|Tutorials/Crop farming|title1=Crop Farming}}

[[File:Crop states.png|thumb|Different stages of crop growth.]]

Wheat seeds can be placed on [[farmland]] by right-clicking, where they grow through eight stages. When left alone, wheat seeds planted on farmland grow to become wheat crops, which can be harvested by the player. Planted seeds require a light level of 9 or greater to continue growing. If the light level is 7 or below, the crops instantly un-plant themselves ("pop off"). It is not possible to plant seeds if the light level is too low.

Crops grow faster if the farmland they are planted in is [[Farmland#Hydration|hydrated]]. Using [[bone meal]] on crops also increases the speed of growth by randomly increasing their growth stage by 2 to 5.

Breaking the final stage produces 1 to 4 wheat seeds (or more with Fortune) and 1 [[wheat]]. If they are harvested early, they drop 1 seed without any wheat. Crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops. 

=== Breeding ===
Like other seeds, wheat seeds can be used to breed [[chicken]]s and reduce the remaining growth duration of baby chickens by 10%. Chickens also follow a player holding wheat seeds.

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

=== Composting ===
Placing wheat seeds into a [[composter]] has a 30% chance of raising the compost level by 1. A stack of wheat seeds yields an average of 2.74 [[bonemeal]].

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Wheat Crops
|spritetype=block
|nameid=wheat
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Wheat Seeds
|spritetype=item
|nameid=wheat_seeds
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Wheat
|spritetype=block
|nameid=wheat
|id=59
|form=block
|itemform=item.wheat}}
{{ID table
|displayname=Seeds
|spritetype=item
|nameid=wheat_seeds
|id=291
|form=item
|foot=1}}

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

{{/BS}}

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

== History ==
''For a more in-depth breakdown of changes to wheat textures and models, including a set of renders for each state, see [[/Asset history]]''
{{History|java classic}}
{{History||May 21, 2009|link=wordofnotch:110762705|[[Notch]] shows interest in adding [[crops]] on [[farmland]].}}
{{History|java indev}}
{{History||Minecraft Indev|snap=20100206|link=Minecraft Indev|slink=Java Edition Indev 20100206|[[File:Wheat Seeds JE1 BE1.png|32px]] Added seeds.
|[[File:Wheat Age 0 JE1.png|32px]] [[File:Wheat Age 1 JE1.png|32px]] [[File:Wheat Age 2 JE1.png|32px]] [[File:Wheat Age 3 JE1.png|32px]] [[File:Wheat Age 4 JE1.png|32px]] [[File:Wheat Age 5 JE1.png|32px]] [[File:Wheat Age 6 JE1.png|32px]] [[File:Wheat Age 7 JE1.png|32px]] Added crops.
|Seeds can be planted on farmland.
|Seeds have a chance of [[drop]]ping while using a [[hoe]] on a [[grass block]].}}
{{History|java beta}}
{{History||1.5|Crops destroyed by [[water]] now drop both seeds and wheat. Prior to this update, they dropped only wheat when destroyed by water.}}
{{History||1.6|snap=Test Build 3|Seeds can no longer be tilled from a grass block.
|Seeds are now found by destroying [[tall grass]] or by harvesting fully-grown crops.}}
{{History||1.8|snap=Pre-release|Crops can now be found in [[village]] farms.}}
{{History|java}}
{{History||1.4.2|snap=12w36a|[[Chicken]]s now use seeds instead of wheat to [[breeding|breed]].}}
{{History||1.8|snap=14w02a|[[Villager]]s can now harvest and plant seeds to grow crops.}}
{{History|||snap=14w06a|[[File:Wheat Age 0 JE2.png|32px]] [[File:Wheat Age 1 JE2.png|32px]] [[File:Wheat Age 2 JE2.png|32px]] [[File:Wheat Age 3 JE2.png|32px]] [[File:Wheat Age 4 JE2.png|32px]] [[File:Wheat Age 5 JE2.png|32px]] [[File:Wheat Age 6 JE2.png|32px]] [[File:Wheat Age 7 JE2.png|32px]] Crops are now a pixel higher - previously they were offset one pixel down as to match farmland. This is likely an accidental result of model conversion.}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] Crops of all stages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Wheat Age 0 JE4.png|32px]] [[File:Wheat Age 1 JE4.png|32px]] [[File:Wheat Age 2 JE4.png|32px]] [[File:Wheat Age 3 JE4.png|32px]] [[File:Wheat Age 4 JE4.png|32px]] [[File:Wheat Age 5 JE4.png|32px]] [[File:Wheat Age 6 JE4.png|32px]] [[File:Wheat Age 7 JE4.png|32px]] Crops now have models again.<ref>{{bug|MC-50232|||Fixed}}</ref> In addition, they are now offset downwards by one pixel once more.<ref>{{bug|MC-50155|||Fixed}}</ref>}}
{{History|||snap=14w25a|[[File:Wheat Age 0 JE5.png|32px]] [[File:Wheat Age 1 JE5.png|32px]] [[File:Wheat Age 2 JE5.png|32px]] [[File:Wheat Age 3 JE5.png|32px]] [[File:Wheat Age 4 JE5.png|32px]] [[File:Wheat Age 5 JE5.png|32px]] [[File:Wheat Age 6 JE5.png|32px]] [[File:Wheat Age 7 JE5.png|32px]] Crops model are now shaded.}}
{{History|||snap=14w27a|[[File:Wheat Age 0 JE6.png|32px]] [[File:Wheat Age 1 JE6.png|32px]] [[File:Wheat Age 2 JE6.png|32px]] [[File:Wheat Age 3 JE6.png|32px]] [[File:Wheat Age 4 JE6.png|32px]] [[File:Wheat Age 5 JE6.png|32px]] [[File:Wheat Age 6 JE6.png|32px]] [[File:Wheat Age 7 JE6.png|32px]] Crops are no longer shaded.}}
{{History||1.9|snap=15w38a|The drop chances of crops has been slightly improved from an average of {{frac|1|3|5}} per [[crop]] harvested to {{frac|1|5|7}}.}}
{{History||1.11|snap=16w39a|Crops now generate inside [[woodland mansion]]s.}}
{{History||1.12|snap=17w18b|Placing a wheat seeds in farmland now gives the player the "A Seedy Place" [[advancement]].}}
{{History|||snap=pre3|Seeds are now used to tame [[parrot]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 59, and the item's was 295.}}
{{History|||snap=18w14a|Seeds no longer become destroyed when an [[entity]] jumps on them if they have the [[Slow Falling]] status effect.}}
{{History|||snap=18w20a|"Seeds" have been renamed to "Wheat Seeds".
|"Crops" have been renamed to "Wheat Crops".}}
{{History||1.14|snap=18w43a|[[File:Wheat Age 0 JE7.png|32px]] [[File:Wheat Age 1 JE7.png|32px]] [[File:Wheat Age 2 JE7.png|32px]] [[File:Wheat Age 3 JE7.png|32px]] [[File:Wheat Age 4 JE7.png|32px]] [[File:Wheat Age 5 JE7.png|32px]] [[File:Wheat Age 6 JE7.png|32px]] [[File:Wheat Age 7 JE7.png|32px]] The textures of wheat crops have been changed.
|The drop rate of fully grown wheat seeds has been changed from 0-3 to 1-4.}}
{{History|||snap=18w44a|[[File:Wheat Age 6 JE8.png|32px]] [[File:Wheat Age 7 JE8.png|32px]] The textures of wheat crops of age 6 and 7 have been changed again.}}
{{History|||snap=18w47a|[[File:Wheat Age 0 JE8.png|32px]] [[File:Wheat Age 1 JE8.png|32px]] [[File:Wheat Age 2 JE8.png|32px]] [[File:Wheat Age 3 JE8.png|32px]] [[File:Wheat Age 4 JE8.png|32px]] [[File:Wheat Age 5 JE8.png|32px]] [[File:Wheat Age 6 JE9.png|32px]] [[File:Wheat Age 7 JE9.png|32px]] The textures of wheat crops have been changed, once again.}}
{{History|||snap=18w48a|Wheat seeds can now be found in [[chest]]s in [[village]] fisher cottages.}}
{{History|||snap=18w49a|Wheat seeds can now be found in chests in [[savanna]] village houses.}}
{{History|||snap=19w03a|Placement and breaking [[sound]]s have been added to wheat crops.
|Placing wheat seeds into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Wheat seeds now have a 30% chance of increasing the compost level in a composter by 1.
|Added [[Wandering Trader|wandering trader]]s, which sell wheat seeds.}}
{{History|||snap=19w13a|Nitwit and unemployed villagers now give wheat seeds to players under the [[Hero of the Village]] effect.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate wheat crops.}}
{{History||1.17|snap=21w13a|[[File:Wheat Age 0.png|32px]] [[File:Wheat Age 1.png|32px]] [[File:Wheat Age 2.png|32px]] [[File:Wheat Age 3.png|32px]] [[File:Wheat Age 4.png|32px]] [[File:Wheat Age 5.png|32px]] [[File:Wheat Age 6.png|32px]] [[File:Wheat Age 7.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes.<ref>{{bug|MC-199242|||Fixed}}</ref>}}
{{History||1.20|snap=23w12a|Wheat seeds can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Wheat seeds no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], wheat seeds are now common loot.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Wheat Seeds JE1 BE1.png|32px]] Added seeds.
|[[File:Wheat Age 0 JE6 BE1.png|32px]] [[File:Wheat Age 1 JE6 BE1.png|32px]] [[File:Wheat Age 2 JE6 BE1.png|32px]] [[File:Wheat Age 3 JE6 BE1.png|32px]] [[File:Wheat Age 4 JE6 BE1.png|32px]] [[File:Wheat Age 5 JE6 BE1.png|32px]] [[File:Wheat Age 6 JE6 BE1.png|32px]] [[File:Wheat Age 7 JE6 BE1.png|32px]] Added crops.
|Seeds can be obtained by tilling [[grass block]]s.}}
{{History||v0.9.0|snap=build 1|[[File:Wheat Age 0 BE2.png|32px]] [[File:Wheat Age 1 BE2.png|32px]] [[File:Wheat Age 2 BE2.png|32px]] [[File:Wheat Age 3 BE2.png|32px]] [[File:Wheat Age 4 BE2.png|32px]] [[File:Wheat Age 5 BE2.png|32px]] [[File:Wheat Age 6 BE2.png|32px]] [[File:Wheat Age 7 BE2.png|32px]] Faces now renders from both sides, resulting in z-fighting.
|Seeds can now be used to [[breeding|breed]] [[chicken]].
|Crops can now be found in [[village]] farms.}}
{{History|||snap=build 2|[[File:Wheat Age 0 BE3.png|32px]] [[File:Wheat Age 1 BE3.png|32px]] [[File:Wheat Age 2 BE3.png|32px]] [[File:Wheat Age 3 BE3.png|32px]] [[File:Wheat Age 4 BE3.png|32px]] [[File:Wheat Age 5 BE3.png|32px]] [[File:Wheat Age 6 BE3.png|32px]] [[File:Wheat Age 7 BE3.png|32px]] Removed some faces to fix z-fighting.}}
{{History||v0.12.1|snap=build 1|Farmer [[villager]]s can now pick up, harvest and plant seeds to grow [[wheat]].}}
{{History|||snap=build 2|Crops now always drop seeds when mined, regardless of growth stage.}}
{{History|||snap=build 8|Seeds can no longer be obtained by tilling [[grass block]]s.}}
{{History||v0.16.2|Seeds can now be found in [[chest]]s inside the large house of [[snowy tundra]] and [[snowy taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|Crops now generate inside [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Seeds are now used to tame [[parrot]]s.}}
{{History||1.6.0|snap=beta 1.6.0.1|Seeds no longer become destroyed when an [[entity]] jumps on them if they have the [[Slow Falling]] status effect.}}
{{History||1.10.0|snap=beta 1.10.0.3|Seeds can now be bought from [[wandering trader]]s.
|Placement and breaking [[sound]]s have been added to crops.
|[[File:Wheat Age 0 BE.png|32px]] [[File:Wheat Age 1 BE.png|32px]] [[File:Wheat Age 2 BE.png|32px]] [[File:Wheat Age 3 BE.png|32px]] [[File:Wheat Age 4 BE.png|32px]] [[File:Wheat Age 5 BE.png|32px]] [[File:Wheat Age 6 BE.png|32px]] [[File:Wheat Age 7 BE.png|32px]] The textures of crops have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Seeds can now be found in [[savanna]] [[village]] house [[chest]]s.
|Seeds can now be used to fill up [[composter]]s.}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate crops.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Wheat Seeds JE1 BE1.png|32px]] Added seeds.
|[[File:Wheat Age 0 JE6 BE1.png|32px]] [[File:Wheat Age 1 JE6 BE1.png|32px]] [[File:Wheat Age 2 JE6 BE1.png|32px]] [[File:Wheat Age 3 JE6 BE1.png|32px]] [[File:Wheat Age 4 JE6 BE1.png|32px]] [[File:Wheat Age 5 JE6 BE1.png|32px]] [[File:Wheat Age 6 JE6 BE1.png|32px]] [[File:Wheat Age 7 JE6 BE1.png|32px]] Added crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Wheat Age 0 JE8.png|32px]] [[File:Wheat Age 1 JE8.png|32px]] [[File:Wheat Age 2 JE8.png|32px]] [[File:Wheat Age 3 JE8.png|32px]] [[File:Wheat Age 4 JE8.png|32px]] [[File:Wheat Age 5 JE8.png|32px]] [[File:Wheat Age 6 JE9.png|32px]] [[File:Wheat Age 7 JE9.png|32px]] The textures of crops have been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Wheat Seeds JE1 BE1.png|32px]] Added seeds.
|[[File:Wheat Age 0 JE6 BE1.png|32px]] [[File:Wheat Age 1 JE6 BE1.png|32px]] [[File:Wheat Age 2 JE6 BE1.png|32px]] [[File:Wheat Age 3 JE6 BE1.png|32px]] [[File:Wheat Age 4 JE6 BE1.png|32px]] [[File:Wheat Age 5 JE6 BE1.png|32px]] [[File:Wheat Age 6 JE6 BE1.png|32px]] [[File:Wheat Age 7 JE6 BE1.png|32px]] Added crops.}}
{{History|foot}}

=== Wheat "item" ===
{{:Technical blocks/Crops}}

== Issues ==
{{issue list}}

== Gallery ==
===Renders===
;Java Edition
<gallery>
Wheat Age 0.png|
Wheat Age 1.png|
Wheat Age 2.png|
Wheat Age 3.png|
Wheat Age 4.png|
Wheat Age 5.png|
Wheat Age 6.png|
Wheat Age 7.png|
</gallery>

;Bedrock Edition
<gallery>
Wheat Age 0 BE.png|
Wheat Age 1 BE.png|
Wheat Age 2 BE.png|
Wheat Age 3 BE.png|
Wheat Age 4 BE.png|
Wheat Age 5 BE.png|
Wheat Age 6 BE.png|
Wheat Age 7 BE.png|
</gallery>

===Screenshots===
<gallery>
AllSeeds.png|All the seeds that exist.
Wheat.jpg|Wheat crops in Pocket Edition.
Village Wheat Beetroot Farm.png| Wheat generated in a village.
</gallery>

== References ==
{{reflist}}

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

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

[[de:Weizensamen]]
[[es:Semillas de trigo]]
[[fr:Graines de blé]]
[[hu:Búzamagok]]
[[it:Semi di grano]]
[[ja:小麦の種]]
[[ko:밀 씨앗]]
[[nl:Zaden]]
[[pl:Nasiona zboża]]
[[pt:Sementes de trigo]]
[[ru:Семена пшеницы]]
[[zh:小麦种子]]</li></ul></nowiki>
Crafting was introduced.
Legacy Console Edition
TU1CU1 1.0 Patch 11.0.1Added Survival mode.
New Nintendo 3DS Edition
0.1.0
{{Extension DPL}}<ul><li>[[Spider Eye|Spider Eye]]<br/>{{Item
| title = Spider Eye
| image = Spider Eye.png
| renewable = Yes
| heals = {{Hunger|2}}
|effects={{EffectLink|Poison}} (0:05)
| stackable = Yes (64)
}}
A '''spider eye''' is a poisonous [[food]] and [[brewing]] item.

== Obtaining ==

=== Mob loot ===

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

==== Witches ====

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

=== Chest loot ===

{{LootChestItem|spider-eye}}

== Usage ==

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

=== Crafting ingredient ===

{{crafting usage}}

=== Brewing ingredient ===

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

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

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

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

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

== Video ==

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

== References ==

{{reflist}} 


{{items}}



[[cs:Pavoučí oko]]
[[de:Spinnenauge]]
[[es:Ojo de araña]]
[[fr:Œil d'araignée]]
[[hu:Pókszem]]
[[it:Occhio di ragno]]
[[ja:クモの目]]
[[ko:거미 눈]]
[[nl:Spinnenoog]]
[[pl:Oko pająka]]
[[pt:Olho de aranha]]
[[ru:Паучий глаз]]
[[zh:蜘蛛眼]]
[[Category:Food]]
[[Category:Renewable resources]]
[[Category:Brewing recipe]]</li><li>[[Melon Seeds|Melon Seeds]]<br/>{{Block
|image = <gallery>
Melon Stem Age 0.png | Age 0
Melon Stem Age 1.png | Age 1
Melon Stem Age 2.png | Age 2
Melon Stem Age 3.png | Age 3
Melon Stem Age 4.png | Age 4
Melon Stem Age 5.png | Age 5
Melon Stem Age 6.png | Age 6
Melon Stem Age 7.png | Age 7
</gallery>
| image2 = <gallery>
Attached Melon Stem (N).png | North 
Attached Melon Stem (E).png | East
Attached Melon Stem (S).png | South
Attached Melon Stem (W).png | West
</gallery>
| transparent = Yes
| light = No
| tool = none
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}'''Melon seeds''' are items obtained from [[Melon Slice|melon slices]] that can be used to grow melon stems.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

{{/BS}}

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

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

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

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

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

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

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

== Issues ==

{{issue list}}

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

== See also ==

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

==References==
{{Reflist}}

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

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

[[cs:Semínka melounu]]
[[de:Melone]]
[[es:Semillas de sandía]]
[[fr:Graines de pastèque]]
[[hu:Dinnyemagok]]
[[it:Anguria]]
[[ja:スイカの種]]
[[ko:수박씨]]
[[nl:Meloenzaden]]
[[pl:Nasiona arbuza]]
[[pt:Sementes de melancia]]
[[ru:Семена арбуза]]
[[th:เมล็ดแตงโม]]
[[zh:西瓜种子]]</li></ul>
Added Survival mode.

Issues[]

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

See also[]


Advertisement