Minecraft Wiki
mNo edit summary
m (info)
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Infobox command
 
{{Infobox command
 
|name=spawnpoint
 
|name=spawnpoint
  +
|oplevel=2{{only|java|short=1}}<br>1{{only|bedrock|short=1}}
|oplevel=2
 
  +
|others=[[Options|Cheat]] only{{only|bedrock|short=1}}
 
}}
 
}}
Sets the spawn point for a player. You can set your spawnpoint in all dimensions.
+
Sets the spawn point for a player. It works in all dimensions.
   
 
== Syntax ==
 
== Syntax ==
Line 13: Line 14:
 
== Arguments ==
 
== Arguments ==
 
{{argument|targets|entity|player: target|CommandSelector<Player>}}
 
{{argument|targets|entity|player: target|CommandSelector<Player>}}
: {{arg desc|je=entity|amount=multiple|type=players|be=player}}
 
 
: Specifies the player whose spawn point should be set. If not specified, defaults to the command's executor.
 
: Specifies the player whose spawn point should be set. If not specified, defaults to the command's executor.
 
: {{arg desc|je=entity|amount=multiple|type=players|be=player}}
   
 
{{argument|pos|block_pos|spawnPos: x y z|CommandPositionFloat}}
 
{{argument|pos|block_pos|spawnPos: x y z|CommandPositionFloat}}
 
: Specifies the coordinates of the player's new spawn point. If not specified, defaults to the position of the specified player(s) {{in|bedrock}} or the command's execution {{in|java}}.
 
: {{IN|java}}, {{lcfirst:{{arg desc|je=block_pos}}}}
 
: {{IN|java}}, {{lcfirst:{{arg desc|je=block_pos}}}}
 
: {{IN|bedrock}}, {{lcfirst:{{arg desc|be=CommandPositionFloat}}}}
 
: {{IN|bedrock}}, {{lcfirst:{{arg desc|be=CommandPositionFloat}}}}
: Specifies the coordinates of the player's new spawn point. If not specified, defaults to the position of the specified player(s) {{in|bedrock}} or the command's execution {{in|java}}.
 
   
 
{{el|je|short=1}}: {{argument|angle|angle}}
 
{{el|je|short=1}}: {{argument|angle|angle}}
: {{arg desc|je=angle}}
 
 
: Specifies the yaw angle to spawn with. Defaults to the direction the executor is facing.
 
: Specifies the yaw angle to spawn with. Defaults to the direction the executor is facing.
 
: {{arg desc|je=angle}}
   
 
== Result ==
 
== Result ==
Line 29: Line 30:
 
{{Result table}}
 
{{Result table}}
 
{{Result table|the arguments are not specified correctly|unparseable|fail}}
 
{{Result table|the arguments are not specified correctly|unparseable|fail}}
{{Result table|if <code><targets></code> or <code>player: target</code> fails to resolve to one or more online players|fail}}
+
{{Result table|<code><targets></code> or <code>player: target</code> fails to resolve to one or more online players|fail}}
{{Result table|if <code><targets></code> or <code>player: target</code> is not specified and the command executor is not a player}}
+
{{Result table|<code><targets></code> or <code>player: target</code> is not specified, and the command's executor is not a player}}
 
{{Result table|succeed|Sets the spawn point of the targeted player(s) to the specified coordinate.}}
 
{{Result table|succeed|Sets the spawn point of the targeted player(s) to the specified coordinate.}}
 
{{Result table}}
 
{{Result table}}
Line 50: Line 51:
   
 
{{History|pocket alpha}}
 
{{History|pocket alpha}}
{{History||0.16.0|snap=build 1|Added {{cmd|spawnpoint|link=none}}.}}
+
{{History||v0.16.0|snap=build 1|Added {{cmd|spawnpoint|link=none}}.}}
 
{{History|foot}}
 
{{History|foot}}
   
Line 59: Line 60:
   
 
[[de:Befehl/spawnpoint]]
 
[[de:Befehl/spawnpoint]]
  +
[[ja:コマンド/spawnpoint]]
 
[[ru:Команды консоли/spawnpoint]]
 
[[ru:Команды консоли/spawnpoint]]
 
[[uk:Команди консолі/spawnpoint]]
 
[[uk:Команди консолі/spawnpoint]]

Revision as of 06:09, 8 February 2021

Sets the spawn point for a player. It works in all dimensions.

Syntax

  • Java Edition
spawnpoint [<targets>] [<pos>] [<angle>]
  • Bedrock Edition
spawnpoint [player: target] [spawnPos: x y z]

Arguments

JE<targets>: entity
BE: player: target: CommandSelector<Player>

Specifies the player whose spawn point should be set. If not specified, defaults to the command's executor.
Must be a player name, a target selector or a UUID[Java Edition only]. And the target selector must‌[JE only]/should‌[BE only] be of player type.

JE<pos>: block_pos
BE: spawnPos: x y z: CommandPositionFloat

Specifies the coordinates of the player's new spawn point. If not specified, defaults to the position of the specified player(s) in Bedrock Edition or the command's execution in Java Edition.
In Java Edition, must be a block position composed of <x>, <y> and <z>, each of which must be an integer or a tilde and caret notation.
In Bedrock Edition, must be a three-dimensional coordinates with floating-point number elements. Accepts tilde and caret notations.

JE: <angle>: angle

Specifies the yaw angle to spawn with. Defaults to the direction the executor is facing.
Must be a yaw angle, measured in degrees with float number. -180.0 for due north, -90.0 for due east, 0.0 for due south, 90.0 for due west, to 179.9 for just west of due north, before wrapping back around to -180.0. Tilde notation can be used to specify a rotation relative to the execution yaw angle.

Result

CommandTriggerJava EditionBedrock Edition
anythe arguments are not specified correctly Unparseable Failed
<targets> or player: target fails to resolve to one or more online players Failed
<targets> or player: target is not specified, and the command's executor is not a player
OtherwiseSets the spawn point of the targeted player(s) to the specified coordinate.

Output

CommandEditionSituationSuccess Count/execute store success .../execute store result ...
anyJava EditionOn fail000
On success11the number of players whose spawnpoints are set
Bedrock EditionOn fail0N/AN/A
On successthe number of players whose spawnpoints are setN/AN/A

History

Java Edition
1.4.2
{{Extension DPL}}<ul><li>[[Honey Bottle|Honey Bottle]]<br/>{{Item
| title = Honey Bottle
| image = Honey Bottle.png
| renewable = Yes
| heals = {{hunger|6}}
|effects=Clears {{EffectLink|Poison}}
| stackable = Yes (16)
}}

A '''honey bottle''' is a [[drinks|consumable drink]] [[item]] obtainable by using a [[glass bottle]] on a full [[beehive]].  Honey bottles remove [[poison]] when drunk and can be used to craft [[Honey Block|honey blocks]] and [[sugar]].

== Obtaining ==
{{See also|Tutorials/Honey farming}}

=== Harvesting ===
A honey bottle can be obtained by using a [[glass bottle]] on either a [[beehive]] or [[beehive|bee nest]] with a honey level of 5. Doing this angers any [[bee]]s inside, causing them to attack the player, unless there is a [[campfire]] or another [[block]] on [[fire]] beneath the bee nest or beehive.

A [[dispenser]] with glass bottles can be used to collect the honey without angering the bees. The honey bottle appears as an item in the dispenser's inventory. If the dispenser is full, the honey bottle is shot out.

=== Crafting ===
{{Crafting
|Glass Bottle
|Glass Bottle
|Honey Block
|Glass Bottle 
|Glass Bottle
|Output=Honey Bottle, 4
|type= Foodstuff
}}

== Usage ==
To drink a honey bottle, press and hold {{control|use}} while it is selected in the [[hotbar]]. Drinking one restores {{hunger|6}} [[hunger]] and 1.2 hunger [[Hunger#Mechanics|saturation]]. Consuming the item also has the benefit of removing any [[poison]] effect applied to the player. Unlike drinking [[Milk Bucket|milk]], other applied effects are not removed upon drinking a honey bottle.

Honey bottles can be drunk even with a full hunger bar. Drinking a honey bottle takes 25% longer than eating other [[food]] - 2 seconds - and has a unique sound.

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

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Drink honey1.ogg
|sound2=Drink honey2.ogg
|sound3=Drink honey3.ogg
|sound4=Drink honey3.ogg
|subtitle=Gulping
|source=player
|description=While a player is drinking a honey bottle
|id=item.honey_bottle.drink
|translationkey=subtitles.item.honey_bottle.drink
|volume=0.5
|pitch=''varies'' <ref group=sound>0.9-1.0 for <code>drink_honey1</code> and <code>drink_honey2</code>, 0.315-0.35 for <code>drink_honey3</code>, and 0.675-0.75 for the second copy of <code>drink_honey3</code></ref>
|distance=16}}
{{Sound table
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|subtitle=Bottle fills
|source=block
|description=When a bottle is filled with honey
|id=item.bottle.fill
|translationkey = subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Drink honey1.ogg
|sound2=Drink honey2.ogg
|sound3=Drink honey3.ogg
|sound4=Drink honey3.ogg<!--This is duplicated intentionally, see below-->
|source=player
|description=While a player is drinking a honey bottle
|id=random.drink_honey
|volume=''varies''<ref group="sound" name="bevarieshoney">0.5 for <code>drink_honey1</code> and <code>drink_honey2</code>, but <code>drink_honey3</code> is 0.175 or 0.375</ref>
|pitch=0.9-1.0}}
{{Sound table
|sound=Fill water bucket1.ogg
|sound2=Fill water bucket2.ogg
|sound3=Fill water bucket3.ogg
|source=block
|description=When a bottle is filled with honey<wbr><ref group=sound>{{Bug|MCPE-53881}}</ref>
|id=bucket.fill_water
|volume=1.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Honey Bottle
|spritetype=item
|nameid=honey_bottle
|id=592
|form=item
|foot=1}}

== Achievements ==

{{Load achievements|Bee Our Guest}}

== Advancements ==
{{Load advancements|Husbandry;A Balanced Diet;Bee Our Guest}}

== History ==
{{History|java}}
{{History||1.15|snap=19w34a|[[File:Honey Bottle JE1.png|32px]] Added honey bottles.}}
{{History|||snap=19w35a|Honey bottles now remove the [[Poison]] effect when consumed.
|Honey bottles are now included in the "A Balanced Diet" [[advancement]].}}
{{History|||snap=19w36a|Honey bottles are now less filling, restoring 1.2 [[Hunger#Mechanics|saturation]] instead of 9.6.}}
{{History||1.15|snap=19w41a|Honey bottles can now be used to craft [[honey block]]s.}}
{{History||1.15|snap=19w44a|Honey bottles can now be [[crafting|crafted]] with four [[glass bottle]]s and one [[honey block]].
|Honey bottles are now stackable (up to 16).}}
{{History|||snap=19w46a|Using [[glass bottle]]s to collect honey now unlocks the [[Bee Our Guest]] advancement.}}

{{History|bedrock}}
{{History||1.14.0|snap=beta 1.14.0.1|[[File:Honey Bottle BE1.png|32px]] Added honey bottles.}}
{{History|||snap=beta 1.14.0.4|[[File:Honey Bottle BE2.png|32px]] The texture of honey bottles has been changed to match {{el|je}}'s.
|Honey bottles can now be crafted with four [[glass bottle]]s and one [[honey block]].
|Honey bottles are now stackable to 16.}}
{{History|||snap=release|slink=Bedrock Edition 1.14.0|Using [[glass bottle]]s to collect honey now unlocks the [[Bee our guest]] achievement.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==

* Honey bottles are the only drinkable [[item]]s that can stack. They have a maximum stack size of 16.
* Honey bottles are the only drinkable items that can restore hunger.
* Honey bottles are 4 pixels more full than [[water bottles]].

{{Items}}

[[cs:Lahvička medu]]
[[de:Honigflasche]]
[[es:Frasco con miel]]
[[fr:Fiole de miel]]
[[ja:ハチミツ入りの瓶]]
[[ko:꿀이 든 병]]
[[lzh:蜜瓶]]
[[pl:Butelka miodu]]
[[pt:Frasco de mel]]
[[ru:Бутылочка мёда]]
[[th:ขวดน้ำผึ้ง]]
[[uk:Пляшечка меду]]
[[zh:蜂蜜瓶]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Compound|Compound]]<br/>{{About|a feature in the Education Edition|the NBT tag|NBT}}
{{education feature}}
{{exclusive|bedrock|education}}
{{Item
| image = Water (compound).png
| image2 = Garbage.png
| renewable = No
| stackable = Yes (64)
}}

'''Compounds''' are a type of [[item]] from [[Education Edition]] used in chemistry, which are created from combinations of various [[element]]s.

== Obtaining ==
Compounds cannot be obtained in the [[Creative inventory]]. They are only obtained from creating them in the [[compound creator]]. This is done by inserting a certain number of [[element]]s corresponding to the compound's chemical formula.

== List of compounds ==
{| class="wikitable" data-description="Compounds"
!Icon
!Compound Name
!Compound Recipe
!Description
!Uses
|-
|{{slot|Aluminum Oxide|link=none}}
|{{text anchor|Aluminium Oxide}}
|{{slot|Aluminum,2}}{{slot|Oxygen,3}}
|Is only brown when dug up from the Earth and contaminated; actually white when pure. Can be electrolyzed to make aluminum metal. Also the main chemical in rubies and sapphires.
|Used to craft [[hardened glass]]. 
|-
|{{slot|Ammonia|link=none}}
|{{text anchor|Ammonia}}
|{{slot|Nitrogen}}{{slot|Hydrogen,3}}
|
|Used to create [[super fertilizer]].
|-
|{{slot|Barium Sulfate|link=none}}
|{{text anchor|Barium Sulfate}}
|{{slot|Barium}}{{slot|Sulfur}}{{slot|Oxygen,4}}
|
|
|-
|{{slot|Benzene|link=none}}
|{{text anchor|Benzene}}
|{{slot|Carbon,6}}{{slot|Hydrogen,6}}
|
|
|-
|{{slot|Boron Trioxide|link=none}}
|{{text anchor|Boron Trioxide}}
|{{slot|Boron,2}}{{slot|Oxygen,3}}
|
|Used to craft [[hardened glass]].
|-
|{{slot|Calcium Bromide|link=none}}
|{{text anchor|Calcium Bromide}}
|{{slot|Calcium}}{{slot|Bromine,2}}
|
|
|-
|{{slot|Crude Oil|link=none}}
|{{text anchor|Crude Oil}}
|{{slot|Carbon,9}}{{slot|Hydrogen,20}}
|C<sub>9</sub>H<sub>20</sub> is the chemical formula for nonane.
|
|-
|{{slot|Glue|link=none}}
|{{text anchor|Glue}} (Cyanoacrylate)
|{{slot|Carbon,5}}{{slot|Hydrogen,5}}{{slot|Nitrogen}}{{slot|Oxygen,2}}
|C<sub>5</sub>H<sub>5</sub>NO<sub>2</sub> is the chemical formula for methyl cyanoacrylate, one of the cyanoacrylate glues ("superglue"); its condensed formula is CH<sub>2</sub>=C(CN)COOCH<sub>3</sub>.
|
|-
|{{slot|Hydrogen Peroxide|link=none}}
|{{text anchor|Hydrogen Peroxide}}
|{{slot|Hydrogen,2}}{{slot|Oxygen,2}}
|
|Used to craft [[glow stick]].
|-
|{{slot|Iron Sulfide|link=none}}
|{{text anchor|Iron Sulfide}}
|{{slot|Iron}}{{slot|Sulfur}}
|
|
|-
|{{slot|Latex|link=none}}
|{{text anchor|Latex}}
|{{slot|Carbon,5}}{{slot|Hydrogen,8}}
|C<sub>5</sub>H<sub>8</sub> is the chemical formula for isoprene, which polymers are the main components of natural rubber; its condensed formula is CH<sub>2</sub>=C(CH<sub>3</sub>)−CH=CH<sub>2</sub>.
|Used to craft [[balloon]]s.
|-
|{{slot|Lithium Hydride|link=none}}
|{{text anchor|Lithium Hydride}}
|{{slot|Lithium}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Luminol|link=none}}
|{{text anchor|Luminol}}
| class="nowrap" |{{slot|Carbon,8}}{{slot|Hydrogen,7}}{{slot|Nitrogen,3}}{{slot|Oxygen,2}}
|Luminol is a chemical that glows blue when oxidized. It can detect blood. 
|Used to craft [[glow stick]].
|-
|{{slot|Lye|link=none}}
|{{text anchor|Lye}}
|{{slot|Sodium}}{{slot|Oxygen}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Magnesium Nitrate|link=none}}
|{{text anchor|Magnesium Nitrate}}
|{{slot|Magnesium}}{{slot|Nitrogen,2}}{{slot|Oxygen,6}}
|Condensed formula: Mg(NO<sub>3</sub>)<sub>2</sub>
|
|-
|{{slot|Magnesium Oxide|link=none}}
|{{text anchor|Magnesium Oxide}}
|{{slot|Magnesium}}{{slot|Oxygen}}
|
|
|-
|{{slot|Polyethylene|link=none}}
|{{text anchor|Polyethylene}}
|{{slot|Carbon,10}}{{slot|Hydrogen,20}}
|Polyethlene (PE), (CH<sub>2</sub>)<sub>''n''</sub>, is ''the'' most commonly produced plastic.
|Used to craft [[glow stick]].
|-
|{{slot|Potassium Iodide|link=none}}
|{{text anchor|Potassium Iodide}}
|{{slot|Potassium}}{{slot|Iodine}}
|Used for making iodized salt and other things.
|
|-
|{{slot|Soap|link=none}}
|{{text anchor|Soap}}
|{{slot|Carbon,18}}{{slot|Hydrogen,35}}{{slot|Sodium}}{{slot|Oxygen,2}}
|C<sub>18</sub>H<sub>35</sub>NaO<sub>2</sub> is the chemical formula of sodium stearate, the most common soap.
|
|-
|{{slot|Sodium Acetate|link=none}}
|{{text anchor|Sodium Acetate}}
|{{slot|Carbon,2}}{{slot|Hydrogen,3}}{{slot|Sodium}}{{slot|Oxygen,2}}
|Used to make hand warmers because it heats up when it "freezes".
|Used to create [[Ice Bomb]].
|-
|{{slot|Sodium Fluoride|link=none}}
|{{text anchor|Sodium Fluoride}}
|{{slot|Sodium}}{{slot|Fluorine}}
|Commonly used in toothpaste to prevent cavity, among other uses.
|
|-
|{{slot|Sodium Hydride|link=none}}
|{{text anchor|Sodium Hydride}}
|{{slot|Sodium}}{{slot|Hydrogen}}
|
|
|-
|{{slot|Sodium Hypochlorite|link=none}}
|{{text anchor|Sodium Hypochlorite}}
|{{slot|Sodium}}{{slot|Chlorine}}{{slot|Oxygen}}
|Main ingredient of real-life bleach.
|Used to create [[Bleach]].
|-
|{{slot|Sodium Oxide|link=none}}
|{{text anchor|Sodium Oxide}}
|{{slot|Sodium,2}}{{slot|Oxygen}}
|
|
|-
|{{slot|Sulfate|link=none}}
|{{text anchor|Sulfate}}
|{{slot|Sulfur}}{{slot|Oxygen,4}}
|Cannot actually exist on its own, as it should have a <sup>2-</sup> charge.
|
|}

=== Chlorides ===
{| class="wikitable" data-description="Chlorides"
!Icon
!Compound
!Recipe
!Uses
|-
|{{slot|Salt|link=none}}
|{{text anchor|Salt}}
|{{slot|Sodium}}{{slot|Chlorine}}
|Used to create [[heat block]].
|-
|{{slot|Calcium Chloride|link=none}}
|{{text anchor|Calcium Chloride}}
|{{slot|Calcium}}{{slot|Chlorine,2}}
|Used to craft [[sparkler|orange sparkler]].
|-
|{{slot|Cerium Chloride|link=none}}
|{{text anchor|Cerium Chloride}}
|{{slot|Cerium}}{{slot|Chlorine,3}}
|Used to craft [[colored torch|blue torch]] and [[sparkler|blue sparkler]].
|-
|{{slot|Mercuric Chloride|link=none}}
|{{text anchor|Mercuric Chloride}}
|{{slot|Mercury}}{{slot|Chlorine,2}}
|Used to craft [[colored torch|red torch]] and [[sparkler|red sparkler]].
|-
|{{slot|Potassium Chloride|link=none}}
|{{text anchor|Potassium Chloride}}
|{{slot|Potassium}}{{slot|Chlorine}}
|Used to craft [[colored torch|purple torch]] and [[sparkler|purple sparkler]].
|-
|{{slot|Tungsten Chloride|link=none}}
|{{text anchor|Tungsten Chloride}}
|{{slot|Tungsten}}{{slot|Chlorine,6}}
|Used to craft [[colored torch|green torch]] and [[sparkler|green sparkler]].
|}

=== Natural compounds ===
Natural compounds are compounds which can be obtained naturally in ''Minecraft''.
{| class="wikitable" data-description="Chlorides"
!Icon
!Compound
! class="nowrap" |Chemical formula
!Natural source
!Method
!Notes
|-
|{{slot|Charcoal}}
|[[Charcoal]]
|{{slot|Carbon,7}}{{slot|Hydrogen,4}}{{slot|Oxygen}}
|[[Log]] or [[Wood]]
|[[Smelting]]
|The chemical formula C<sub>7</sub>H<sub>4</sub>O is sometimes used to describe the approximate composition of charcoal.
|-
|{{slot|Glow Ink Sac}} {{slot|Ink Sac}}
|[[Glow Ink Sac]], [[Ink Sac]]
|{{slot|Iron}}{{slot|Sulfur}}{{slot|Oxygen,4}}
|[[Glow Squid]], [[Squid]]
|Killing Glow Squid, Squid
|FeSO<sub>4</sub> is the chemical formula of iron(II) sulfate or ferrous sulfate, normally found complexed with water as a salt with the formula FeSO<sub>4</sub>·''x''H<sub>2</sub>O, and has been used in the manufacture of iron gall ink and other inks for centuries. In contrast, squid ink (and other cephalopod inks) is composed mainly of melanin and mucus, with an assortment of other compounds in a variety of concentrations dependent on the species.
|-
|{{slot|Sugar}}
|[[Sugar]]
|{{slot|Carbon,6}}{{slot|Hydrogen,12}}{{slot|Oxygen,6}}
|[[Sugar Cane]]s or [[Honey Bottle]]s
|Harvesting and [[crafting]]
|C<sub>6</sub>H<sub>12</sub>O<sub>6</sub> is the chemical formula of glucose and fructose, as well as a number of other simple sugars (common table sugar is instead sucrose, a complex sugar made of glucose and fructose with the chemical formula C<sub>12</sub>H<sub>22</sub>O<sub>11</sub>).
|-
|{{slot|Water (compound)|link=water}}
|{{text anchor|Water}}
|{{slot|Hydrogen,2}}{{slot|Oxygen}}
|[[Water]]
|Picking up in a [[bucket]] or [[glass bottle]] from a [[Cauldron]] or a water source block
|One of the easiest to obtain.
|}

=== Garbage ===
Garbage is considered a "compound", but the only way to produce it is to activate the [[Lab Table]] when its inputs are an invalid recipe. It has no uses.

== Usage ==
Certain compounds are used as ingredients in [[crafting]] or [[lab table]] experiments. Natural compounds have uses outside of chemistry, detailed in their respective articles.

=== Crafting ingredient ===
{{Crafting usage|description=0|Latex, Polyethylene, Hydrogen Peroxide, Luminol, Boron Trioxide, Aluminum Oxide}}

==== Chloride coloring ====
{{Crafting usage|Chloride,Cerium Chloride|match=end}}

=== Lab table ingredient ===
{| class="wikitable"
!Result
!Materials needed
|-
! rowspan="2" |{{slot|Bleach}}<br>[[Bleach]]
|{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}
|-
|<center>Water ×3, Sodium Hypochlorite ×3</center>
|-
! rowspan="2" |{{slot|Heat Block.gif}}<br>[[Heat Block]]
|{{slot}}{{slot|Iron|link=Element#Iron}}{{slot|Water (compound)|link=Compound}}{{slot|Charcoal}}{{slot|Salt|link=Compound}}{{slot}}
|-
|<center>[[Iron (element)|Iron]], Water, [[Charcoal]], Salt</center>
|-
! rowspan="2" |{{slot|Ice Bomb}}<br>[[Ice Bomb]]
|{{slot}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot|Sodium Acetate|link=Compound}}{{slot}}
|-
|<center>Sodium Acetate ×4</center>
|-
! rowspan="2" |{{slot|Super Fertilizer}}<br>[[Super Fertilizer]]
|{{slot}}{{slot}}{{slot|Ammonia|link=Compound}}{{slot|Phosphorus|link=Element#Phosphorus}}{{slot}}{{slot}}
|-
|<center>Ammonia, [[Phosphorus]]</center>
|}

== Sounds ==
Sounds are produced when a [[lab table]] creates garbage.
{{Sound table
|type=bedrock
|sound=Fizz.ogg
|source=block
|description=When a lab table creates garbage{{verify}}
|id=random.fizz
|volume=1.0
|pitch=0.5/0.7}}
{{Sound table
|sound=Ghast fireball4.ogg
|source=hostile
|description=When a lab table creates garbage{{verify}}
|id=mob.blaze.shoot
|volume=1.0
|pitch=0.8/1.0}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When a lab table creates garbage
|id=random.explode
|volume=1.0
|pitch=0.4/0.6}}
{{Sound table
|sound=Fire.ogg
|source=sound
|description=When a lab table creates garbage
|id=lt.reaction.fire
|volume=2.0
|pitch=0.4/0.6}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=weather
|description=When a lab table creates garbage
|id=ambient.weather.lightning.impact
|volume=1.0
|pitch=0.6/0.8
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Compound
|spritetype=item
|nameid=compound
|id=594
|form=item
|translationkey=item.compound.salt.name,item.compound.sodiumoxide.name,item.compound.sodiumhydroxide.name,item.compound.magnesiumnitrate.name,item.compound.ironsulfide.name,item.compound.lithiumhydride.name,item.compound.sodiumhydride.name,item.compound.calciumbromide.name,item.compound.magnesiumoxide.name,item.compound.sodiumacetate.name,item.compound.luminol.name,item.compound.charcoal.name,item.compound.sugar.name,item.compound.aluminumoxide.name,item.compound.borontrioxide.name,item.compound.soap.name,item.compound.polyethylene.name,item.compound.garbage.name,item.compound.magnesiumsalts.name,item.compound.sulfate.name,item.compound.bariumsulfate.name,item.compound.potassiumchloride.name,item.compound.mercuricchloride.name,item.compound.ceriumchloride.name,item.compound.tungstenchloride.name,item.compound.calciumchloride.name,item.compound.water.name,item.compound.glue.name,item.compound.hypochlorite.name,item.compound.crudeoil.name,item.compound.latex.name,item.compound.potassiumiodide.name,item.compound.sodiumfluoride.name,item.compound.benzene.name,item.compound.ink.name,item.compound.hydrogenperoxide.name,item.compound.ammonia.name,item.compound.sodiumhypochlorite.name
|foot=1}}

===Item data===
{{see also|Data values}}Compounds uses the following data values:{{/DV}}
== History ==

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Aluminum Oxide BE1.png|32px]] [[File:Ammonia BE1.png|32px]] [[File:Barium Sulfate BE1.png|32px]] [[File:Benzene BE1.png|32px]] [[File:Boron Trioxide BE1.png|32px]] [[File:Calcium Bromide BE1.png|32px]] [[File:Crude Oil BE1.png|32px]] [[File:Glue BE1.png|32px]] [[File:Hydrogen Peroxide BE1.png|32px]] [[File:Iron Sulfide BE1.png|32px]] [[File:Latex BE1.png|32px]] [[File:Lithium Hydride BE1.png|32px]] [[File:Luminol BE1.png|32px]] [[File:Lye BE1.png|32px]] [[File:Magnesium Nitrate BE1.png|32px]] [[File:Magnesium Oxide BE1.png|32px]] [[File:Polyethylene BE1.png|32px]] [[File:Potassium Iodide BE1.png|32px]] [[File:Salt BE1.png|32px]] [[File:Soap BE1.png|32px]] [[File:Sodium Acetate BE1.png|32px]] [[File:Sodium Fluoride.png|32px]] [[File:Sodium Hydride BE1.png|32px]] [[File:Sodium Hypochlorite BE1.png|32px]] [[File:Sodium Oxide BE1.png|32px]] [[File:Sulfate BE1.png|32px]] [[File:Calcium Chloride BE1.png|32px]] [[File:Cerium Chloride BE1.png|32px]] [[File:Mercuric Chloride BE1.png|32px]] [[File:Potassium Chloride BE1.png|32px]] [[File:Tungsten Chloride BE1.png|32px]] [[File:Charcoal JE3 BE3.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Sugar JE1 BE1.png|32px]] [[File:Water (compound) BE1.png|32px]] [[File:Garbage BE1.png|32px]] Added compounds.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Charcoal JE4 BE4.png|32px]][[File:Ink Sac JE2 BE2.png|32px]][[File:Sugar JE2 BE2.png|32px]] The textures of Charcoal, Ink Sacs and Sugar have been changed.}}
{{History||1.16|All compounds have been made unobtainable. It is unknown whether it is a glitch or intended. {{bug|MCPE-113776}}}}

{{History| |1.17.0|All compounds are obtainable once again.}}{{History|education}}
{{History||1.0.27|[[File:Aluminum Oxide BE1.png|32px]] [[File:Ammonia BE1.png|32px]] [[File:Barium Sulfate BE1.png|32px]] [[File:Benzene BE1.png|32px]] [[File:Boron Trioxide BE1.png|32px]] [[File:Calcium Bromide BE1.png|32px]] [[File:Crude Oil BE1.png|32px]] [[File:Glue BE1.png|32px]] [[File:Hydrogen Peroxide BE1.png|32px]] [[File:Iron Sulfide BE1.png|32px]] [[File:Latex BE1.png|32px]] [[File:Lithium Hydride BE1.png|32px]] [[File:Luminol BE1.png|32px]] [[File:Lye BE1.png|32px]] [[File:Magnesium Nitrate BE1.png|32px]] [[File:Magnesium Oxide BE1.png|32px]] [[File:Polyethylene BE1.png|32px]] [[File:Potassium Iodide BE1.png|32px]] [[File:Salt BE1.png|32px]] [[File:Soap BE1.png|32px]] [[File:Sodium Acetate BE1.png|32px]] [[File:Sodium Fluoride BE1.png|32px]] [[File:Sodium Hydride BE1.png|32px]] [[File:Sodium Hypochlorite BE1.png|32px]] [[File:Sodium Oxide BE1.png|32px]] [[File:Sulfate BE1.png|32px]] [[File:Calcium Chloride BE1.png|32px]] [[File:Cerium Chloride BE1.png|32px]] [[File:Mercuric Chloride BE1.png|32px]] [[File:Potassium Chloride BE1.png|32px]] [[File:Tungsten Chloride BE1.png|32px]] [[File:Charcoal JE3 BE3.png|32px]] [[File:Ink Sac JE1 BE1.png|32px]] [[File:Sugar JE1 BE1.png|32px]] [[File:Water (compound) BE1.png|32px]] [[File:Garbage BE1.png|32px]] Added compounds.}}
{{History||1.12.0|[[File:Charcoal JE4 BE4.png|32px]][[File:Ink Sac JE2 BE2.png|32px]][[File:Sugar JE2 BE2.png|32px]] The textures of Charcoal, Ink Sacs and Sugar have been changed.}}

{{History|foot}}

== Unused compound textures ==
In the chemistry resource pack folder, there are numerous [[History of textures/Unused textures#Unused compounds|compound textures which are not used]] in the game. Note: a <code>compound</code> item with a data value of <code>38</code> will have the <code>Blue Flask</code> texture and will be called <code>item.compound..name</code>. If you use an NBT Editor to get a compound item with no assigned data value (by deleting the data tag) and then transfer that item to another world / realm using structure blocks (by exporting to a <code>.mcstructure</code> file, then importing it on another world or realm) then it will be renamed to <code>Ivory Tusk</code>.  
<gallery widths="48" heights="48" perrow="30" class="center">
Flask EE1.png|Flask
Black Flask EE1.png|Black Flask
Blue Flask EE1.png|Blue Flask
Brown Beaker EE1.png|Brown Beaker
Brown Flask EE1.png|Brown Flask
Dark Gray Beaker EE1.png|Dark Gray Beaker
Dark Gray Flask EE1.png|Dark Gray  Flask
Dark Gray Jar EE1.png|Dark Gray Jar
Green Beaker EE1.png|Green Beaker
Green Flask EE1.png|Green Flask
Green Jar EE1.png|Green Jar
Indigo Beaker EE1.png|Indigo Beaker
Indigo Flask EE1.png|Indigo Flask
Indigo Jar EE1.png|Indigo Jar
Light Gray Beaker EE1.png|Light Gray Beaker
Light Gray Flask EE1.png|Light Gray Flask
Orange Beaker EE1.png|Orange Beaker
Orange Flask EE1.png|Orange Flask
Orange Jar EE1.png|Orange Jar
Purple Beaker EE1.png|Purple Beaker
Purple Flask EE1.png|Purple Flask
Purple Jar EE1.png|Purple Jar
Red Beaker EE1.png|Red Beaker
Red Flask EE1.png|Red Flask
Red Jar EE1.png|Red Jar
White Flask EE1.png|White Flask
Yellow Flask EE1.png|Yellow Flask
Bleach (compound).png|Bleach
</gallery>

== Gallery ==
<gallery>
Screen Shot 2021-08-19 at 12.22.50 PM.png|A compound creator in using 5 carbon and 8 hydrogen to create latex.
</gallery>

== See also ==

*[[Compound Creator]]
*[[Crafting]]
*[[Element Constructor]]
*[[Lab Table]]
*[[Brewing Stand]]
*[[Brewing]]
*[[Crafting Table]]

== References ==
{{reflist}}

{{Items}}
{{Education Edition}}

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

[[de:Verbindung]]
[[it:Composto]]
[[ja:化合物]]
[[pl:Związki chemiczne]]
[[pt:Composto]]
[[ru:Соединение]]
[[th:สารประกอบ]]
[[uk:Сполуки]]
[[zh:化合物]]</li></ul>
12w32aAdded /spawnpoint.
1.16
{{Extension DPL}}<ul><li>[[:Category:Armor|Category:Armor]]<br/>[[Category:Items]]</li><li>[[Compass|Compass]]<br/>{{About|the item used to point to the world spawn or to a lodestone|the item used to point to the location of the player's last death|Recovery Compass}}
{{Item
| image = Compass.gif
| image2 = Lodestone Compass.gif
| renewable = Yes
| stackable = '''Compass:''' Yes (64)<br>'''Lodestone Compass:''' No
}}
A '''compass''' is an item used to point to the world spawn or to a [[lodestone]].

== Obtaining ==

=== Crafting ===

{{Crafting
                |B1= Iron Ingot
|A2= Iron Ingot |B2= Redstone Dust   |C2= Iron Ingot
                |B3= Iron Ingot
|Output= Compass
|type= Tool
}}

=== Chest loot ===

{{LootChestItem|compass}}

=== Trading ===

{{IN|java}}, expert-level librarian [[villager]]s have a 50% chance to sell a single compass for 4 [[emerald]]s.

{{IN|bedrock}}, expert-level librarian villagers have a {{frac|1|3}} chance to sell a single compass for 4 emeralds.

== Usage ==

Normally, the compass' needle points toward the world [[Spawn#World spawn|spawn point]]. The compass points to spawn when viewed in any way, including as a dropped [[Item (entity)|item]], in a player's hand, in an inventory or the crafting table, or in an [[item frame]]. The direction the needle points to is relative to the player who is viewing it. When a compass in an item frame is rotated, the needle turns accordingly.

In [[the Nether]] or [[the End]], the compass' needle spins and points in random directions.

The compass can be used on a [[lodestone]], after which it is named lodestone compass by default and points to that lodestone as long as the compass is in the same dimension as the lodestone, but if the compass is taken to a different dimension, it spins randomly, as a normal compass would in the Nether or the End. If the lodestone is destroyed, it also spins randomly, even if the lodestone is replaced afterward.  However, if a lodestone compass is placed in storage, the lodestone can be broken and replaced without the compass losing the attunement, as long as the compass remains in storage while the lodestone is missing.

A lodestone compass appears [[enchanting|enchanted]], similar to the [[Enchanted Golden Apple|enchanted golden apple]].

Using {{cmd|setworldspawn}} to change the world spawn also changes where the compass points.

=== Crafting ingredient ===

{{crafting usage|Compass, Compass.gif}}

=== Anvil usage ===

{{:Map/BE|position}}

=== Trading ===

A single compass can be sold to a journeyman-level cartographer villager for 1 [[emerald]].{{only|java}}

A single compass can be sold to an expert-level cartographer villager for 1 emerald as their sixth trade.{{only|bedrock}}
 
A compass is also part of the cost of [[explorer map]]s:

* An ocean explorer map and{{only|java|short=1}}/or{{only|bedrock|short=1}} a woodland explorer map can be bought from a journeyman-level cartographer for 12 emeralds and one compass, as part of their fifth trade.{{only|bedrock}}

* {{IN|java}}, apprentice-level cartographer villagers offer to sell an ocean explorer map for 13 emeralds and a compass, and journeyman-level cartographer villagers offer to sell a woodland explorer map for 14 emeralds and one compass.

=== Enchantments ===

A compass can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|}

== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Lodestone lock1.ogg
|sound2=Lodestone lock2.ogg
|source=player
|subtitle=Lodestone Compass locks onto Lodestone
|description=When a compass is used on a lodestone
|id=item.lodestone_compass.lock
|translationkey=subtitles.item.lodestone_compass.lock
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 0.85 or 0.95 for each sound</ref>
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Lodestone lock1.ogg
|sound2=Lodestone lock2.ogg
|source=block
|description=When a compass is used on a lodestone
|id=lodestone_compass.link_compass_to_lodestone
|volume=1.0
|pitch=0.85-0.95
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Compass
|spritetype=item
|nameid=compass
|form=item
|translationkey=item.minecraft.compass,item.minecraft.lodestone_compass
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Compass
|spritetype=item
|nameid=compass
|id=391
|form=item}}
{{ID table
|displayname=Lodestone Compass
|spritename=lodestone-compass-be
|spritetype=item
|nameid=lodestone_compass
|aliasid=lodestonecompass
|id=602
|form=item
|translationkey=item.lodestonecompass.name
|foot=1}}

=== Item data ===

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

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

== Advancements ==
{{load advancements|Country Lode}}

== History ==
{{History|java alpha}}
{{History||v1.1.0|[[File:Compass JE1.gif|32px]] Added compasses.
|They have 102 visually distinct frames due to how the texture is generated - see the section below.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Compasses can now be found in library [[chest]]s in the new [[strongholds]].}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] 1 compass for 10–11 [[emerald]]s, making them [[renewable]].}}
{{History||1.4.2|snap=12w34a|Since the mapping system has been changed, a compass can now be used to [[crafting|craft]] an empty [[map]].}}
{{History||1.5|snap=13w02a|[[File:Compass JE2 BE2.gif|32px]] Compasses now, instead of splitting two textures, use the new animation feature included in texture packs. As a result, they are considerably less precise, having only 29 visually distinct frames. }}
{{History||1.8|snap=14w02a|Librarian villagers now sell 1 compass for 10–12 emeralds.}}
{{History||1.9|snap=15w31a|Compasses are now broken up into individual textures, instead of having every individual frame on one vertical strip like with animated textures.}}
{{History|||snap=15w43a|The average yield of compasses in [[stronghold]] library [[chest]]s has been increased.}}
{{History||1.11|snap=16w39a|Cartographer [[villager]]s have been added, who [[trading|buy]] compasses as their tier 2 trade.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 345.}}
{{History|||snap=18w11a|Compasses can now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w48a|Compasses can now generate in chests in [[village]] cartographer houses.}}
{{History||1.16|snap=20w13a|[[File:Lodestone Compass JE1.gif|32px]] Compasses can now be used on [[lodestone]]s to make them point to the stones.
|Compasses now point to the center of the spawn point block, instead of its north-west corner.}}
{{History|||snap=20w14a|Compasses now have the <code>LodestonePos</code>, <code>LodestoneDimension</code>, and <code>LodestoneTracked</code> data fields. If <code>LodestoneTracked</code> is zero, the game skips checking for a lodestone in the specified position.
|Compasses can now have the [[Curse of Vanishing]] [[enchantment]] on them.}}
{{History|||snap=20w19a|Compasses no longer work in the [[recipe book]].<ref>{{bug|MC-116293}}</ref>}}
{{History|||snap=20w22a|Compasses no longer work in the villager trading GUI.<ref>{{bug|MC-182888}}</ref>}}
{{History||1.17|snap=20w48a|[[File:Compass JE3.gif|32px]] [[File:Lodestone Compass JE2.gif|32px]] The textures of compass and lodestone compass have been changed.}}
{{History||1.19|snap=22w13a|Compasses may now be found in [[ancient city]] [[chest]]s.}}
{{History|||snap=22w14a|Compasses can now used to craft [[recovery compass]]es.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Compass BE1.png|32px]] Added compasses.
|Compasses currently have no function or legitimate method of obtaining them.}}
{{History||v0.8.0|snap=build 1|[[File:Compass JE2 BE2.gif|32px]] Added animated texture to compasses.
|Compasses are now functional and [[crafting|craftable]]. They have been added into the Creative Inventory.}}
{{History||v0.14.0|snap=build 1|Compasses must now be added to a [[map]] using an [[anvil]] to add the location marker.}}
{{History|pocket}}
{{History||1.0.0|snap=?|[[Windows 10 Edition]] can now use the [[anvil]], as well as the [[crafting table]], to apply position markers, with compasses just as [[Pocket Edition]] can in general.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] 1 compass for 10–12 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.3|Cartographer villagers have been added, who [[trading|buy]] compasses as part of their tier 2 trade.
|Compasses used with emeralds can be used to buy explorer maps as part of cartographer villagers' fourth tiers trade.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Compasses can now be found inside map room [[chest]]s in [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Compasses can now be found in [[village]] cartographer house chests.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, cartographer [[villager]]s now [[trading|buy]] compassess as part of their fourth tier trades.
|Compasses used with [[emerald]]s can now be used to buy explorer maps as part of cartographer and fletcher villagers' third tier trades.
|Librarian villagers now have a {{frac|1|3}} chance to [[trading|sell]] compasses for 4 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Lodestone Compass BE1.gif|32px]] Compasses can now be used on [[lodestone]]s to make them point to the stones.
|Compasses now have the <code>LodestonePos</code>, <code>LodestoneDimension</code>, and <code>LodestoneTracked</code> data fields. If <code>LodestoneTracked</code> is zero, the game skips checking for a lodestone in the specified position.
|Compasses can now have the [[Curse of Vanishing]] [[enchantment]] on them.}}
{{History||1.16.100|snap=beta 1.16.100.56|Changed the ID {{code|lodestonecompass}} to {{code|lodestone_compass}}.}}
{{History||1.17.0|snap=beta 1.17.0.54|[[File:Compass JE3.gif|32px]] The texture of compass has been changed.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Lodestone Compass JE2.gif|32px]] The texture of lodestone compass has been changed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Compass JE2 BE2.gif|32px]] Added compasses.}}

{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Compass JE2 BE2.gif|32px]] Added compasses.}}
{{History|foot}}
	
=== Texture generation prior to Java Edition 13w02a ===
{{:Procedural animated texture generation/Compasses}}

== Issues ==
{{issue list}}

== Gallery ==

<gallery>
12w21a CompassPurchase.png|Purchasing a compass from a librarian [[villager]].
</gallery>

== See also ==
*[[Clock]]
*[[Tutorials/Navigation|Navigation]]

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

{{Items}}

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

[[cs:Kompas]]
[[de:Kompass]]
[[es:Brújula]]
[[fr:Boussole]]
[[hu:Iránytű]]
[[it:Bussola]]
[[ja:コンパス]]
[[ko:나침반]]
[[nl:Kompas]]
[[pl:Kompas]]
[[pt:Bússola]]
[[ru:Компас]]
[[uk:Компас]]
[[zh:指南针]]</li></ul>
20w12aAdded support for being run in any dimension.
1.16.2
{{Extension DPL}}<ul><li>[[Fish|Fish]]<br/>{{About|the type of mob|the action|Fishing}}
'''Fish''' are aquatic creatures that are found in [[river]] and [[ocean]] biomes.

== Mobs ==
There are four categories of fish mobs in ''Minecraft'': 
*{{EntityLink|Cod}}
*{{EntityLink|Salmon}}
*{{EntityLink|Pufferfish}}
*{{EntityLink|Tropical Fish}} - many color and pattern varieties

In addition, there are other fish-like mobs that have different characteristics from fish: {{EntityLink|Axolotl}}, {{EntityLink|Guardian}}, and {{EntityLink|Elder Guardian}}.

==Obtaining and transporting==
A live fish can be captured by using a [[water bucket]] on a fish, to obtain a [[bucket of fish]], which is the only way to obtain the live mob in item form. Using the bucket of fish on a water source block transfers the fish from the bucket to the body of water. A water bucket may also be used on [[axolotl]]s in this manner.

==Items==
Fish exist in several different item forms. Upon death, fish drop their item form equivalent (cooked if on fire), with a chance to drop a [[bone]]{{only|bedrock}} or [[bone meal]].{{only|java}}

;Non-living
*{{ItemLink|Raw Cod}}
*{{ItemLink|Cooked Cod}}
*{{ItemLink|Raw Salmon}}
*{{ItemLink|Cooked Salmon}}
*{{ItemLink|Pufferfish|link=Pufferfish (item)}}
*{{ItemLink|Tropical Fish|link=Tropical Fish (item)}}
;Living
*{{ItemLink|Bucket of Cod}}
*{{ItemLink|Bucket of Salmon}}
*{{ItemLink|Bucket of Pufferfish}}
*{{ItemLink|Bucket of Tropical Fish}}

== Spawning ==
Various fish can be found in different [[ocean]] [[biomes]], but only [[salmon]] appear in rivers. Fish can also spawn in player-created bodies of water, as long as they are within a river or ocean biome.

{| class="wikitable sortable" style="text-align:left" data-description="Fish biomes"
!'''Fish'''
! style="text-align:left" |{{BiomeLink|Warm Ocean}}
! style="text-align:left" |{{BiomeLink|Lukewarm Ocean}}<br>{{BiomeLink|Deep Lukewarm Ocean}}
! style="text-align:left" |{{BiomeLink|Ocean}}<br>{{BiomeLink|Deep Ocean}}
! style="text-align:left" |{{BiomeLink|Cold Ocean}}<br>{{BiomeLink|Deep Cold Ocean}}
! style="text-align:left" |{{BiomeLink|Frozen Ocean}}<br>{{BiomeLink|Deep Frozen Ocean}}
! style="text-align:left" |{{BiomeLink|River}}<br>{{BiomeLink|Frozen River}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Cod}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Salmon}}
| rowspan=2 {{tc|no}}
| {{tc|no|No{{only|je|short=1}}}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
| {{tc|yes|Yes{{only|be|short=1}}}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Pufferfish}}
| rowspan=2 {{tc|yes}}
| {{tc|yes|Yes{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
|-
| {{tc|no|No{{only|be|short=1}}}}
|-
! style="text-align:left" |{{EntityLink|Tropical Fish}}<ref group="note">Also spawns in {{BiomeLink|Lush Caves}} at any Y-level.</ref>
| {{tc|yes}}
| {{tc|yes}}
| {{tc|no}}
| {{tc|no}}
| {{tc|no}}
| {{tc|no}}
|-
! style="text-align:left" |{{EntityLink|Squid}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
| {{tc|yes}}
|-
! rowspan=2 style="text-align:left" |{{EntityLink|Dolphin}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| rowspan=2 {{tc|yes}}
| {{tc|no|No{{only|je|short=1}}}}
| rowspan=2 {{tc|no}}
| rowspan=2 {{tc|no}}
|-
| {{tc|yes|Yes{{only|be|short=1}}}}
|}
{{notelist}}

In ''Java Edition'', fish can spawn inside a water block at Y-level 50 to 63 (from 13 blocks below sea level up to inside the block one above it), that also has water above and below it. The spawn block and the block below can be any kind of water, such as a source block, falling water, bubble column, kelp, or even a waterlogged block (as long as the fish can be placed at the bottom center of the spawn block without colliding with anything solid). The block above must be pure water, such as a source block, falling water, or flowing water of any depth. Particularly, the block above cannot also be a bubble column, so fish no longer spawn inside bubble elevators.<ref>{{cite bug|MC|244683|Tropical fish spawn in bubble columns (fixed in 22w07a)}}</ref> 

''Bedrock Edition'' does permit fish to spawn in bubble columns.<ref>{{cite bug|MCPE|73967|Squids, Dolphins, and fish not spawning in bubble columns (fixed in 1.16.20)}}</ref>

Fish can spawn between 24 and 64 block spherical range away from the player.{{only|java}} 

=== Despawning ===
As of [[1.16]], fish can despawn at range of 40 blocks or more from the player, and will instantly despawn more than 64 blocks away, except when spawned using a [[bucket of fish]].

{{Items}}
{{Entities}}

[[cs:Ryba]]
[[de:Fisch (Begriffsklärung)]]
[[es:Pez]]
[[fr:Poisson]]
[[it:Pesce]]
[[ja:魚]]
[[ko:물고기]]
[[nl:Vis]]
[[pl:Ryba (ujednoznacznienie)]]
[[pt:Peixe]]
[[ru:Рыба]]
[[th:ปลา (แก้ความกำกวม)]]
[[uk:Риба]]
[[zh:鱼]]</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>
20w29aAdded angle parameter for setting the default facing angle of a respawning player.
Pocket Edition Alpha
v0.16.0
{{Extension DPL}}<ul><li>[[Minecart with Furnace|Minecart with Furnace]]<br/>{{ItemEntity
|image=Minecart with Furnace.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid=10
|drops= 1 {{ItemLink|Minecart with Furnace}}
|health={{Hp|6}}
}}

A '''minecart with furnace''' is a [[furnace]] inside a [[minecart]]. It can be powered with [[coal]] or [[charcoal]] to propel it across a [[rail]] line for a limited time, which can be used to move other minecarts.

==Obtaining==
Minecarts with furnace can be retrieved by attacking them, and by doing so it drops as an [[item]].

===Crafting===
{{Crafting
|Output= Minecart with Furnace
|type= Transportation
|Furnace|Minecart}}

==Usage==
Minecarts with furnaces are placed in the same way as other minecarts. It does not have a graphical user interface, unlike a [[furnace]].

Minecarts with furnaces can be powered, done by feeding fuel ([[coal]] or [[charcoal]]) into the furnace minecart with the {{Control|use}} button. The fuel is consumed immediately and it starts to move in the same direction the player clicked toward. Pressing {{Control|use}} always turns it to that direction, even when not holding coal.

Any piece of fuel, added at any time, increases the total range by an additional 3600 ticks (equal to 180 seconds or 3 minutes).  The upper limit is 32767 ticks, approximately 27 minutes.

When powered, minecarts with furnaces cover 240m per minute (about 4 m/s, slightly slower than walking speed) or 720m per piece of coal. They do not accelerate beyond this speed when going downhill or on active [[powered rail]]s, and as long as they remain powered, they do not slow down when going uphill, on inactive powered rails, or when pushing or pulling other minecarts.

If a powered furnace minecart is derailed and then pushed back onto a rail, it starts moving again in the direction it came from, so they are not easily turned around in this state unless a player is nearby to redirect it with {{Control|use}}.

Minecarts with furnaces can climb up steep inclines while pushing other minecarts as long as they have fuel. If a minecart with furnace reaches a slope while pulling another minecart, the pulled minecart is switched to the forward position so that it can be pushed along the slope instead of pulled.

When a minecart with furnace bumps into another minecart or multiple minecarts, the other minecarts are pushed forward with great speed. The furnace minecart continues on with its own speed. Because of this speed difference, some of the minecarts may end up inside unloaded chunks on straight tracks.

===Train mechanics===
{{Schematic
|caption=weakly-shunted 1-cart train, one cart was used only to push the train together and is left behind
|AB|mc-$ew|mc-$ew|mc/Fu-$ew|-
|AB|ra-$wu|ra-$ew|ra-$ew|ra-$ew|ellipsis-ew
}}
{{Schematic
|caption=Creating a strongly-shunted 1-cart train.  The sloped rail must be replaced with a horizontal rail before powering.
|AB|mc-$ew||mc/Fu-$ew|-
|AB|ra-$ew|ra-$ew|ra-$eu|ra-$ew|ra-$ew|ellipsis-ew
}}

[[File:FurnaceMinecartTrain.png|thumb|right|A Minecart train powered by furnace [[Minecart|minecarts.]]|alt=]]
A furnace minecart can be made to pull up to four other minecarts. All minecarts in this train move at the constant speed of the furnace minecart.  Trains are formed when a minecart is pushed into the back of a powered furnace minecart or a short-enough train.  These shunts are fragile at best and easily come undone, but some methods are stronger than others.  For example, pushing a minecart into a furnace minecart and then powering the furnace gives a weaker shunt than pushing the furnace minecart into the other minecart against a wall, and then powering the furnace in the other direction.

A high-speed minecart running into the back of a furnace minecart going in the same direction automatically creates a weak shunt with it, pulling it along.

Pulling a minecart with TNT causes it to explode.

{| class="wikitable"
|+Pulled minecart/Shunt behavior
!Condition
!Result
|-
|Furnace loses power/speed||Shunt comes undone
|-
|Entity bumping besides those part of the train||Jettisoned forward
|-
|Upward sloped track||Jettisoned forward
|-
|Downward sloped track||Jettisoned forward (strong shunt) or shunt comes undone (weak shunt)
|-
|90° turn in track||Jettisoned backward
|-
|Turn toward north/south or east/west that is not the direction the train was shunted in||Train derails
|}

When a train comes to a turn, the shunt comes undone with the pulled minecart jettisoned backward. The correct way to make such a turn is having the shunt undone before a turn, and then make the two rejoin on a straight rail later by having the pulled cart catch up with the minecart with furnace.<ref name=mango/>

Since the train runs slower on a fully powered track than a normal minecart (~5 m/s compared to 8m/s), a train pulled by an unpowered furnace minecart is ideal for AFK farms involving breaking or placing blocks like [[nether wart]].<ref name=mango>{{YouTubeLink|1=pRLiAQfhTG8|2=Why The Furnace Minecart Isn't As Useless As You Think|3=ilmango}}</ref>

==Properties==
The coal is not stored as an item in the entity, but in the object data in the fuel property as a time in ticks. ''Fuel'' is a short value, i.e. a maximum of 32767 ticks, which is about 27 minutes. However, {{cmd|/summon furnace_minecart ~ ~ ~ {Fuel:32000} }} alone doesn't make it go since it doesn't have a direction. It can be right-clicked on a track to give it a direction, or it can be summoned with the properties ''PushX'' and ''PushZ'' set, which are responsible for the direction. The <code>Motion</code> property of every entity allows for movement of the minecart, but it does not direct the minecart to move on its own.

==Sounds==
{{Edition|Java}}:<br>
Minecarts with furnaces 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 furnace 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 furnace is moving
|id=minecart.base
|foot=1}}

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

===Entity data===
Minecarts with furnace 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 alpha}}
{{History||v1.0.14|[[File:Minecart with Furnace JE1.png|32px]] [[File:Minecart with Furnace (item) JE1.png|32px]] Minecarts with furnace were added.
|Since no in-game name was indicated, they were referred to by names such as "powered minecart" or "furnace minecart".
|No matter how much fuel was added to the minecart, it would never move for more than 3 minutes after the last fuel.}}
{{History|java beta}}
{{History||1.0|When tooltips were added to items in inventory, this was named "Minecart with Furnace".}}
{{History||1.2|[[File:Minecart with Furnace JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History|java}}
{{History||1.0.0|snap=?|Each piece of [[coal]] now powers a [[minecart]] with furnace for {{convert|3|minutes|ticks}}, so that adding another piece of coal at any time increases the total range by another 3 minutes.  A full stack of 64 coal now powers it for {{convert|192|minutes|ticks}}.
|Minecarts with furnace on a level track cover 204 meters per minute.}}
{{History||1.8|snap=14w11a|Minecarts with furnace now give a much greater boost to other minecarts.
|When powered, minecarts with furnace now move on non-powered rails without decelerating.}}
{{History|||snap=14w17a|Minecarts with furnace's behavior has been reverted, so that no change was released in [[Java Edition 1.8]].}}
{{History||1.11|snap=16w32a|The entity ID of the minecart with furnace has been changed from <code>MinecartFurnace</code> to <code>furnace_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 343.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Furnace JE3.png|32px]] [[File:Minecart with Furnace (item) JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History||1.15|snap=19w38a|[[File:Minecart with Furnace 19w38a.png|32px]] The furnace now appears dark, like suffocating mobs.}}
{{History|||snap=19w39a|The furnace texture is now colored correctly.}}
{{History||1.15.2|snap=Pre-Release 1|Furnace minecarts can now navigate around any corner.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with furnace is now shapeless.
|Breaking a minecart with furnace will now drop the item instead of the minecart and furnace separately.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Furnace JE2.png|32px]] [[File:Minecart with Furnace (item) JE1.png|32px]] Added minecart with furnace.}}
{{History|Ps4}}
{{History||1.90|[[File:Minecart with Furnace JE3.png|32px]] [[File:Minecart with Furnace (item) JE2.png|32px]] The texture of the minecart with furnace has been changed.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*The minecart with furnace is excluded from {{els|be|3ds}} on purpose. In a tweet, [[Jeb]] considered removing it from {{el|je}}.<ref>{{tweet|jeb|699241247391772672|I think we will phase out the furnace minecraft ''(sic)''|15 Feb 2016}}</ref>
**When converting a [[Legacy Console Edition]] world to a [[Bedrock Edition]] world, any present minecarts with furnaces are converted into a normal minecart.
**Despite the above-described poor standing of the minecart, it was most recently briefly featured in an animation in the [[Minecraft Live 2022]], where one was depicted as moving a train of about 20 minecarts at a higher than normal speed.

==Gallery==
<gallery>
Running Powered Minecart.png|A powered minecart in action.
</gallery>

==References==
{{reflist}}

{{Items}}
{{Entities}}

[[Category:Mechanics]]

[[cs:Parní vozík]]
[[de:Antriebslore]]
[[es:Vagoneta con horno]]
[[fr:Wagonnet motorisé]]
[[hu:Gőzmeghajtású csille]]
[[ja:かまど付きのトロッコ]]
[[ko:화로가 실린 광산 수레]]
[[nl:Mijnkar met oven]]
[[pl:Wagonik z piecem]]
[[ru:Вагонетка с печью]]
[[uk:Вагонетка з піччю]]
[[zh:动力矿车]]</li><li>[[Minecart with Chest|Minecart with Chest]]<br/>{{ItemEntity
|image=Minecart with Chest.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops=1 {{ItemLink|Minecart with Chest}}<br> plus contents
|health={{hp|6}}
}}

A '''minecart with chest''' is a single [[chest]] inside a [[minecart]], and functions as such.

== Natural generation ==
Minecarts with chests containing loot naturally generate in [[mineshaft]]s, each on top of a piece of [[rail]].

== Obtaining ==
=== Crafting ===
{{Crafting|Chest|Minecart|Output=Minecart with Chest|type=Transportation}}

Minecarts with chests can be retrieved by attacking them. By doing so it drops as an [[item]] and any other contents of the chest are dropped as well.

==Usage==
[[File:Minecart with Chest GUI.png|thumb|176px|The GUI of a minecart with chest.]]
Minecarts with chests can be placed by {{control|use item|text=using its item}} on any type of [[rail]].

Chest minecarts' contents can be accessed by pressing {{control|use item}} button on them. The interaction makes no sounds and the chest does not show the opening or closing animation, unlike regular chests.

The boost that minecarts with chests gain from [[powered rail]]s is dependent on their load. For example, from a 1 powered rail starter track, an empty minecart with chest travels 64 blocks, but a full minecart with chest travels only 16 blocks (opposed to 80 blocks for an occupied normal minecart and 8 blocks for an empty normal minecart).

Another physical property of chest minecarts is their ability to be stacked. While three chests can fit in an area three blocks tall, up to four chest minecarts can fit in the same area. Like other minecarts, an unlimited number of minecarts with chests can exist in the same block space.

Minecarts with chests are also able to interact with [[hopper]]s. Hoppers can take items out from the minecart chest if they are below the track as the minecart rolls over it or put them in if the minecart rolls under a downward facing hopper. Hoppers can also input items if they are facing into the side of the minecart.

Opening or destroying a minecart with chest angers [[piglin]]s.

{{See also|Tutorials/Storage minecarts}}

When on top of [[detector rail]]s, nearby [[redstone comparators]] will give out redstone signals based on how full the minecarts with chests are.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts with chests 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 chest 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 chest 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 Chest
|spritetype=item
|nameid=chest_minecart
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=entity
|nameid=chest_minecart
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=item
|nameid=chest_minecart
|id=389
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with Chest
|spritetype=entity
|nameid=chest_minecart
|id=98
|foot=1}}

===Entity data===
Minecarts with chests 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]].

==Achievements==
{{load achievements|Freight Station}}

== Video==

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

==History ==
[[File:Minecart with Chest BE3.png|thumb|The Minecart models in the Bedrock Edition were north or south on the sides. In the latest version, the front and rear sides are north or south. But the absolute orientation of the chest was not changed.]]
{{info needed section|In bedrock edition 1.16.100 it seems that chests in minecarts face sideways instead of forward - when was this changed?}}
{{History|java alpha}}
{{History||v1.0.14|[[File:Minecart with Chest JE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Minecarts with chests have been added.
|At this point, they are either called "chest minecarts" or "storage minecarts" because no in-game name was indicated.}}
{{History|java beta}}
{{History||1.0|"Minecart with Chest" has been first indicated as its name, via the new item tooltips.}}
{{History||1.8|snap=Pre-release|[[File:Minecart with Chest JE2.png|32px]] The [[model]] of the minecart with chest has been changed to match the new [[chest]] model. However, the [[chest]] is incorrectly offset.<ref>[[mcw:Issues/Beta 1.8pre2#Graphical]]</ref>}}
{{History|||snap=release|[[File:Minecart with Chest JE3 BE1.png|32px]] The model of minecarts with chests has been fixed.}}
{{History|java}}
{{History||1.5|snap=13w02a|Minecarts with chests now generate in [[mineshaft]]s in place of normal chests.}}
{{History||1.9|snap=15w43a|[[Loot table]]s have been added; minecarts with chests now use loot tables, and those in generated in [[mineshaft]]s now use loot tables.}}
{{History||1.9.1|snap=pre2|The title of the [[inventory]] has been changed from 'Chest minecart' to 'Minecart with Chest'.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartChest</code> to <code>chest_minecart</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 342.}}
{{History||1.14|snap=18w43a|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}
{{History||1.16.2|snap=Pre-release 1|[[Piglin]]s now become angry with players who open or destroy a chest minecart.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with chest is now shapeless.
|Breaking a minecart with chest will now drop the item instead of the minecart and chest separately, though the contents of the chest are still dropped.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Minecart with Chest JE3 BE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Added minecarts with chests.}}
{{History|||snap=build 3|Minecarts with chests now drop [[item]]s when destroyed in [[Creative]] mode.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|The [[entity]] ID has been changed from <code>minecartchest</code> to <code>chest_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}
{{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with chest will now drop the item instead of the minecart and chest separately, though the contents of the chest are still dropped.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with Chest JE3 BE1.png|32px]] [[File:Minecart with Chest (item) JE1 BE1.png|32px]] Added minecarts with chests.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with Chest JE4 BE2.png|32px]] [[File:Minecart with Chest (item) JE2 BE2.png|32px]] The textures of minecarts with chests have been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Minecart_with_Chest_JE3_BE1.png|32px]] [[File:Minecart_with_Chest_(item)_JE1_BE1.png|32px]] Added minecarts with chests.
|Minecarts with chests emit smoke [[particles]] when destroyed.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery ==
<gallery>
Compact Minecart Storage.png|A compact storage using chest minecarts (left) compared to chest storage in the same volume. Notice how chests cannot be placed next to each other, which is no longer the case after Java Edition 1.13.
GlitchedMinecartChest.png|This minecart with chest is trapped inside a block, due to a [[stronghold]] and a [[mineshaft]] that generated partially overlapping.
Minecartportal.png|A minecart with chest generated on top of an [[end portal frame]], because there is a mineshaft behind the wall.
Chest Minecart Stack.png|A large stack of chest minecarts.
</gallery>

==References==
{{Reflist}}

{{items}}
{{entities}}

[[Category:Mechanics]]
[[Category:Storage]]

[[cs:Nákladní vozík]]
[[de:Güterlore]]
[[es:Vagoneta con cofre]]
[[fr:Wagonnet de stockage]]
[[hu:Tárolócsille]]
[[it:Carrello da miniera]]
[[ja:チェスト付きのトロッコ]]
[[ko:상자가 실린 광산 수레]]
[[nl:Mijnkar met kist]]
[[pl:Wagonik ze skrzynią]]
[[pt:Carrinho de mina com baú]]
[[ru:Вагонетка с сундуком]]
[[uk:Вагонетка зі скринею]]
[[zh:运输矿车]]</li></ul>
build 1Added /spawnpoint.

See also