Minecraft Wiki
Advertisement
For the mob in Minecraft Dungeons, see MCD:Piglin. For the zombified variant, see Zombified Piglin. For the hostile variant found in bastion remnants, see Piglin Brute. For other uses, see Piglin (disambiguation).

A piglin is a neutral mob found in the Nether. It is hostile to players unless they wear at least one piece of golden armor. It can be given gold ingots to barter for various items. It wields either a golden sword or a crossbow, and uses either melee or ranged attacks, respectively.

Baby piglins do not grow up, never hold weapons or attack, and take gold without giving anything in return.

Spawning[]

Piglins spawn in groups of 2-4 in nether wastes and crimson forest biomes, and within bastion remnants upon generation, at a light level of 11 or less in Java Edition, or 7 or less in Bedrock Edition on most blocks other than nether wart blocks or magma blocks. In Bedrock Edition, they can naturally spawn even in Peaceful difficulty. Each piglin has a 20%‌[Java Edition only] or 5%‌[Bedrock Edition only] chance of spawning as a baby.

Piglins have a 50% chance of spawning with either a sword or a crossbow. They also have a 10% chance per armor slot of spawning with golden armor, meaning they have a 34.39% chance of spawning with any armor and a 0.01% chance of spawning with a full set.

Piglins spawn in Peaceful difficulty, but are passive to players.

Drops[]

Adults have an 8.5% chance of dropping the held item (a golden sword or crossbow with random durability). Each Looting level increases this chance by 1%. Babies spawn without equipment.

In Java Edition, a picked-up item always drops with the same durability as when picked up. In Bedrock Edition, armor picked up by piglins can lose durability and even break depending on how much damage the piglin takes. Piglins do not drop gold ingots, raw porkchops, or cooked porkchops that they have picked up. In both versions, a piglin also drops a piglin head when killed in the vicinity of the explosion of a charged creeper.

If a piglin is killed in one hit while admiring a gold ingot, the gold ingot is dropped upon the piglin's death.

Armor[]

Adults sometimes spawn with 1-4 pieces of armor, which can be:

These have a chance of being enchanted.

These are dropped with an 8.5% chance and random durability. In addition to their drops, piglins can also pick up other types of armor, including wearable items from the player.

Experience[]

Adults drop 5 and an additional 1–3 per armor piece if killed by a player or tamed wolf. Baby piglins only drop 1.

Behavior[]

Piglins snort enviously while watching players holding a gold-related item or anything else. Like villagers, piglins can open and close wooden doors but cannot open fence gates, all trapdoors, and iron doors. Piglins cannot swim and can drown if submerged.[1] They are not naturally immune to fire or lava.[2]

Idle piglins retreat from zombified piglins, zoglins, soul fire, soul torches, soul lanterns, and lit soul campfires. Piglins ignore soul fire items when pursuing the player, but still run from zombified piglins and zoglins. Baby piglins additionally retreat from wither skeletons and withers. Crossbow piglins do not reload their crossbows when spawned, unlike pillagers. They reload only when provoked.

Baby piglins are passive and play with baby hoglins, running around and riding upon them. Up to 3 baby piglins may stack on top of each other while riding a baby hoglin. They can be given gold, but they do not give anything in return and run away. They can also pick up and wear armor as well as hold gold tools or weapons. However, they are unable to pick up leather. In addition, baby piglins never grow up.[3]

Aggravation[]

Adult piglins are neutral if the player is wearing at least one piece of golden armor. Piglins are provoked by any player who:

Aggravation range[]

Line of sight for piglins

Illustration of short range aggravation of piglins. Note the spherical range, and that piglins behind walls are not aggravated due to the line of sight being blocked.

  • Short range: When a piglin has been aggravated by a player not wearing gold armor, or opening a container, piglins from up to around 15 blocks centered around the player become aggravated by the player if there is a straight line of sight to the player.
  • Medium range: When a piglin has been aggravated by a player breaking a golden block or a container, piglins from up to 16 blocks from the player’s feet become aggravated. No line of sight is required.
  • Long range: When a piglin has been aggravated by a player damaging a piglin or piglin brute, piglins from up to 16 blocks from the damaged piglin (rather than the player) become aggravated. No line of sight is required.

Light aggravation[]

  • Light aggravation occurs when a piglin has been aggravated by a player not wearing gold armor.
  • The piglin can de-aggravate when the player puts on gold armor, distracts the piglin with gold, or the piglin loses a line of sight with the player.

Medium aggravation[]

  • Medium aggravation occurs when a piglin has been aggravated by a player opening/breaking a container or breaking a golden block, or when a piglin witnesses a piglin brute or another piglin getting damaged by a player.
  • Piglins under medium aggravation can be distracted with gold.
  • A piglin already under light aggravation does not re-aggravate to medium aggravation. This means that if a piglin knows a player broke a golden block near them after already going after them due to them not wearing gold armor, the player can de-aggravate that piglin by putting on gold armor or losing the line of sight despite the fact that the player broke the golden block.

Heavy aggravation[]

  • Heavy aggravation occurs if a piglin is damaged.
  • The damaged piglin cannot be distracted by gold and is unable to barter while under heavy aggravation.

Other[]

  • If the player is under the influence of the Invisibility effect, they can open containers in front of piglins without aggravating them (short range), although breaking containers or golden blocks still angers them (mid/long range).

Piglins do not react to the opening or breaking of furnaces, blast furnaces, smokers, droppers, dispensers, or brewing stands. Opening or breaking a hopper does not provoke the piglins.[6] Breaking a bell does not provoke them either, despite piglins admiring them as gold.[7]

Attacking[]

When a piglin is attacking, it holds its dominant arm and sword in front of it, similarly to a vindicator. Adult piglins are hostile toward wither skeletons and withers. They congregate within 16 blocks and attack in hordes.

When attacking with a crossbow, piglins shoot arrows every 2 seconds. In Java Edition, they walk backward (stopping if at the edge of a drop) as soon as the target is close. In Java Edition, their crossbows can break if it runs out of durability,[8] making the piglins use their fists, while in Bedrock Edition their crossbows never break.[9] Unlike mobs armed with bows, they do not strafe from left to right while shooting. Piglins with swords and other items rush at the target.

If a group of piglins successfully defeat their target, they gather at the site of their target's demise and emit "celebration sounds". However, piglins do not have a chance of dancing unless their target was a hoglin.

When a mob attacks a piglin or piglin brute with no AI, other piglins nearby do not attack the mob that attacked the piglin or piglin brute with no AI.

Iron golems attack both adult and baby piglins; however, piglins do not attack iron golems without provocation.

The detection range of piglins is reduced to half of their normal range (17.5 blocks) when the player is wearing a piglin head.

Hunting[]

Piglin celebrate hunt Revision 2

Piglin celebrating dance.

Piglins sometimes attack hoglins, causing other piglins and piglin brutes‌[Bedrock Edition only] in that area to attack the targeted hoglin as well.

Adults do not immediately attack adult hoglins on sight, but a piglin has a random chance to make the decision to hunt a hoglin (this decision is almost never made if the piglin recently hunted, but other piglins can still start a hunt).[verify] Once that piglin attacks the hoglin, all other piglins and piglin brutes‌[Bedrock Edition only] in that area become hostile to the hoglin. If outnumbered by hoglins, the piglins flee, making "retreat" sounds. After defeating a hoglin, piglins have a 10% chance to do a "victory dance" by bobbing their heads and sticking out their arms like a T-pose.

The more piglins there are, the bigger chance of a hunt might happen (because more piglins that detect the hoglin will each have a 10% chance of starting a hunt).

After a hunt, any nearby piglins pick up the porkchops or cooked porkchops the hoglin dropped, but not the leather. Piglin brutes never pick up any porkchops or leather.

Piglins that spawned as part of a bastion remnant during world generation do not hunt.

Piglin brutes also join in hunts started by piglins, but do not start a hunt themselves.‌[Bedrock Edition only]

Being distracted[]

Piglins briefly stop attacking when given gold items. If the player offers a gold ingot, bartering then takes place as it normally would. They resume attacking once the barter is complete. If the player distracts them with a gold item and equips a piece of gold armor while the piglin is examining the item, then the piglin ceases hostility. They may also cease hostility if distracted enough times. If the player breaks any gold-related block or hurts/kills a piglin, and then distracts the piglin up to 5 times with a piece of gold armor equipped, the piglin ceases hostility entirely.

Bartering[]

Main article: Bartering

Adult piglins can trade gold ingots for certain items, when a gold ingot is dropped near them or the player uses it while looking at them. The piglin proceeds to "examine" the ingot for six‌[JE only] or eight‌[BE only][10] seconds, then drops a random item from the chart. However, baby piglins examine the ingot but instead run away without dropping an item. Piglins can also pick up items dropped by a dispenser or dropper. The pool for what piglins can barter may be modified in a data pack[JE only]. However, piglins can still barter while riding another mob.

Picking up items[]

Piglins can pick up and equip any items they come across, preferring gold-related items, which they actively seek out. A piglin inspects any gold-related item before equipping, holding or putting that item in its inventory for six seconds after picking it up. However, items not related to gold are held or equipped (if the piglin does not have any gold equipment) instantly. Piglins do not pick up any items if the /gamerule mobGriefing is set to false.

Piglins pick up raw porkchops and cooked porkchops that are within 1 block from them, unless they have done so within the last 10 seconds.

Piglins have eight hidden inventory slots in which they can stack items. Piglins with full inventories do not attempt to pick up gold-related items, except gold ingots. Baby piglins attempt to pick up any item and do not give the player any items in exchange for gold ingots. Adult piglins can pick up gold nuggets (which do not help to obtain better items from bartering but are immediately placed in their inventory), porkchops, and cooked porkchops (they do not actively seek out and contemplate porkchops). Piglins drop any of these items upon death aside from gold ingots, raw porkchops, and cooked porkchops.

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

Piglins with crossbows can pick up other crossbows and equip them.

Like other mobs capable of picking up items, piglins pick up armor and weapons. Piglins pick up armor that is better than the armor they are already wearing, although they prefer gold over stronger armor. For example, a piglin does not pick up leather boots if it is already wearing diamond boots, but may discard a netherite chestplate to pick up a golden chestplate. However, they cannot unequip and discard armor with Curse of Binding.

Piglins that spawned in a bastion remnant during world generation, or that have picked up items or equipment, do not despawn naturally.

Items picked up by a piglin do not drop when the piglin is killed.

Items that piglins want are listed under the piglin_loved tag with the exception of gold nuggets, which piglins pick up instantly to trigger the advancement/achievement "O(oo)h Shiny!" Piglins do not want any other items, even if they are related to gold in some way.

Zombification[]

Piglin being zombified

A piglin turning into a zombified piglin.

When in the Overworld and the End, piglins transform into zombified piglins after 15 seconds, retaining their armor, held items and their name. However, they cannot shoot a crossbow, using it as a melee weapon instead. Upon transformation, the spawned zombified piglin has the Nausea effect for 10 seconds; this is just a cosmetic effect. When a piglin transforms into a zombified piglin, it drops anything except equipped weapons and armor in its inventory; other items in its inventory disappear. In Bedrock Edition, if the game is set to Peaceful difficulty, the piglin despawns instead of transforming because hostile mobs do not exist in Peaceful difficulty. A piglin that returns to the Nether before 15 seconds remains unchanged, although the 15-second portal cooldown usually prevents them from returning during that time.

A piglin does not zombify outside the Nether if its IsImmuneToZombification tag is set to true. Piglins with their NoAI tag set to true also do not zombify.

In Java Edition, if a piglin is inspecting/admiring a gold ingot or a gold-related item and then gets zombified while inspecting, it drops the gold ingot or the gold-related item.

Sounds[]

Java Edition:
Piglins use the Hostile Creatures sound category for entity-dependent sound events.

SoundSubtitlesSourceDescriptionResource locationTranslation keyVolumePitchAttenuation
distance
Piglin snortsHostile CreaturesRandomlyentity.piglin.ambientsubtitles.entity.piglin.ambient0.660.8-1.2
(Baby: 1.3-1.7)
16
Piglin snorts angrilyHostile CreaturesRandomly while angryentity.piglin.angrysubtitles.entity.piglin.angry0.70.8-1.2
(Baby: 1.3-1.7)
16
Piglin retreats [sound 1]Hostile CreaturesWhen a piglin runs away from something feared or while in the Overworldentity.piglin.retreat[sound 1]subtitles.entity.piglin.retreat[sound 1]0.650.8-1.2
(Baby: 1.3-1.7)
16
Piglin hurtsHostile CreaturesWhen a piglin is damagedentity.piglin.hurtsubtitles.entity.piglin.hurt0.70.8-1.2
(Baby: 1.3-1.7)
16
Piglin diesHostile CreaturesWhen a piglin diesentity.piglin.deathsubtitles.entity.piglin.deathvaries [sound 2]0.8-1.2
(Baby: 1.3-1.7)
16
FootstepsHostile CreaturesWhile a piglin is walkingentity.piglin.stepsubtitles.block.generic.footsteps0.11251.016
Piglin celebratesHostile CreaturesWhen a piglin defeats a hoglinentity.piglin.celebratesubtitles.entity.piglin.celebrate0.8 [sound 3]0.8-1.2
(Baby: 1.3-1.7)
16
Piglin snorts enviouslyHostile CreaturesRandomly when a piglin is unable to pick up item from the ground because another piglin picked it up [verify], or while a player is holding a gold itementity.piglin.jealoussubtitles.entity.piglin.jealous0.80.8-1.2
(Baby: 1.3-1.7)
16
Piglin admires itemHostile CreaturesWhen a piglin sees a gold itementity.piglin.admiring_itemsubtitles.entity.piglin.admiring_item0.8 [sound 4]0.8-1.2
(Baby: 1.3-1.7)
16
Piglin converts to Zombified PiglinHostile CreaturesWhen a piglin converts to a zombified piglinentity.piglin.converted_to_zombifiedsubtitles.entity.piglin.converted_to_zombified1.00.8-1.2
(Baby: 1.3-1.7)
16
  1. a b c MC-98316 — Wrong subtitles caused by missing distinction
  2. idle1 and idle2 are 0.7; idle3 and idle4 are 0.8
  3. Except celebrate3, which is 0.75
  4. Except celebrate4, which is 0.85

Bedrock Edition:

SoundSourceDescriptionResource locationVolumePitch
Hostile CreaturesRandomlymob.piglin.ambient0.8 [sound 1]0.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesRandomly while angrymob.piglin.angry0.70.8-1.2 (Baby: 1.3-1.7)
NoneNoneUndefined sound eventmob.piglin.attack1.00.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a piglin runs away from something fearedmob.piglin.retreat0.80.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a piglin is damagedmob.piglin.hurt0.70.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a piglin diesmob.piglin.deathvaries [sound 2]0.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhile a piglin is walkingmob.piglin.step0.26250.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a piglin defeats a hoglinmob.piglin.celebrate0.8 [sound 3]0.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesRandomly when a piglin is unable to pick up item from the ground because another piglin picked it up, or while a player is holding a gold itemmob.piglin.jealous0.80.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a piglin sees a gold itemmob.piglin.admiring_item0.8 [sound 4]0.8-1.2 (Baby: 1.3-1.7)
Hostile CreaturesWhen a piglin converts to a zombified piglinmob.piglin.converted_to_zombified1.00.9-1.1
  1. Except idle2, which is 0.75
  2. 0.7 for death1 and death2, and 0.8 for death3 and death4
  3. Except celebrate3, which is 0.75
  4. Except celebrate4 (the fourth sound), which is 0.85

Data values[]

ID[]

Java Edition:

NameIdentifierTranslation key
Piglinpiglinentity.minecraft.piglin

Bedrock Edition:

NameIdentifierNumeric ID Translation key
Piglinpiglin123entity.piglin.name

Entity data[]

Piglins have entity data associated with them that contains various properties.

Java Edition:

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

Bedrock Edition:

See Bedrock Edition level format/Entity format.

Achievements[]

Icon Achievement In-game description Actual requirements (if different) Gamerscore earned Trophy type (PS4)
PS4 Other
Oooh, shiny!Distract a Piglin using goldGive a piglin a gold item while it is aggressive toward the player.30GSilver

Advancements[]

Icon Advancement In-game description Parent Actual requirements (if different) Resource location
Advancement-plain-rawStone Age
Mine Stone with your new Pickaxe MinecraftHave one of these 3 stones in the #stone_tool_materials item tag: in your inventory.story/mine_stone
Advancement-plain-rawSuit Up
Protect yourself with a piece of iron armor Acquire HardwareHave any type of iron armor in your inventory.story/obtain_armor
Advancement-plain-rawNot Today, Thank You
Deflect a projectile with a Shield Suit UpBlock any projectile with a shield.story/deflect_arrow
Advancement-plain-rawIce Bucket Challenge
Obtain a block of Obsidian Hot StuffHave a block of obsidian in your inventory.story/form_obsidian
Advancement-plain-rawWho is Cutting Onions?
Obtain Crying Obsidian NetherHave a block of crying obsidian in your inventory.nether/obtain_crying_obsidian
Advancement-plain-rawOh Shiny
Distract Piglins with gold NetherWhile aggravated, give a piglin one of these 25 gold-related items in the #piglin_loved item tag: Other gold-related items do not distract the piglin and do not trigger this advancement.nether/distract_piglin
Advancement-plain-rawAdventure
Adventure, exploration and combat Kill any entity, or be killed by any entity.adventure/root
Advancement-plain-rawMonster Hunter
Kill any hostile monster AdventureKill one of these 34 mobs: Only the riders of the chicken jockeys and skeleton horsemen are counted in this advancement. Other mobs may be killed, but are ignored for this advancement.adventure/kill_a_mob
Advancement-fancy-rawIt Spreads
Kill a mob near a Sculk Catalyst Monster HunterKill one of these 70 mobs near a sculk catalyst: Mobs that drop no experience are ignored for this advancement.adventure/kill_mob_near_sculk_catalyst
Advancement-fancy-rawMonsters Hunted
Kill one of every hostile monster Monster HunterKill each of these 34 mobs: Other mobs may be killed, but are ignored for this advancement. Only the riders of the chicken jockeys and skeleton horsemen are counted in this advancement.adventure/kill_all_mobs

History[]

Missing Model JE3
This section would benefit from the addition of more images. 
Please remove this notice once you've added suitable images to the article.
The specific instructions are:
  • Bedrock 1.16.0.63 - "Gold ingots now render properly in piglin's hands at all times." (Before and After)
October 26, 2010Pigman Miclee suggests the concept of pigmen, the predecessor to piglins, resulting in him receiving the Bacon Cape as a reward.
Java Edition Alpha
v1.2.0
{{Extension DPL}}<ul><li>[[Tag (item)|Tag (item)]]<br/>{{About|the April Fools item|the standard item used to rename mobs|Name Tag}}
{{wip}}
{{joke feature}}
{{exclusive|java}}
{{Item
| title = Tag
| image = Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
Tags and Bits are items exclusive to the [[Java Edition 23w13a or b|23w13a_or_b]] [[Easter eggs#April Fools|April Fools' joke]] snapshot from 2023. They are used to craft in-game representations of [[NBT format|NBT tags]].

==Obtaining==
A [[stonecutter]] can be used to cut a [[Name Tag|name tag]] into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.

{{Stonecutting
|head=1
|showdescription=1
|Name Tag
|Name, 16; Tag, 16
|description=The resulting "Name" items must be named in an [[anvil]].
}}
{{Stonecutting
|showdescription=
|Name; Tag
|Bit, 16
|foot=1
}}

To be able to proceed from here the <code>nbt_crafting</code> vote must be approved. Bits can be used in a crafting table to craft Left Curly, Right Curly, Left Square, and Right Square. In appears like these are the only tag items that can be crafted from Bits.

A [[Crafting Table|crafting table]] can be used to convert a "Tag" item into a "Byte Tag." The amount of [[stick]]s added to the crafting recipe specifies the value of the Byte, as a [[wikipedia:Signed number representations#Two's complement|signed 8-bit value]]. For example, a "Tag" and a full stack of sticks make a Byte with the value <code>64b</code>, while 255 sticks result in <code>-1b</code>. Only one of the sticks is consumed. Two Bytes can be crafted into a "Short Tag" (equivalent to 16 bit), two Shorts into an "Int Tag" (equivalent to 32 bit), and two Ints into a "Long Tag" (equivalent to 64 bit). Many other combinations that form either 16, 32, or 64 bit are possible. For example, two Shorts and an Int make a Long. When combining values, their digits are stuck together in the given order, e.g. <code>1b</code> and <code>0b</code> make <code>256s</code> (equivalent to 0100<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]). Undoing any of these crafting actions in e.g. a stonecutter is not possible.

"Float" and "Double Tags" can be crafted by adding one or two [[boat]]s to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of [[string]].

{{Crafting
|head=1
|showdescription=1
|A1= Bit;    ; Bit; Bit |B1=    ; Bit; Bit; Bit
|A2=    ; Bit; Bit;     |B2= Bit;    ;    ; Bit
|A3= Bit;    ; Bit; Bit |B3=    ; Bit; Bit; Bit
|Output= Right Curly; Left Curly; Left Square; Right Square
|ignoreusage=1
}}
{{Crafting
|Tag
|String
|Output= String Tag
|description=String tags must be named in an [[anvil]] to set their value.
|ignoreusage=1
}}
{{Crafting
|Tag; Tag;   Tag
|;    Stick; Stick, 64
|;    ;      Stick, 63
|Output= Byte Tag; Byte Tag; Byte Tag
|description=Only 1 stick is consumed. 128 and more sticks make [[wikipedia:Signed number representations#Two's complement|two's complements]]:
128 sticks = <code>-128b</code><br>
129 sticks = <code>-127b</code><br>
⋮<br>
254 sticks = <code>-2b</code><br>
255 sticks = <code>-1b</code>
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Byte Tag; Byte Tag
|Byte Tag; Byte Tag; Byte Tag
|        ; Byte Tag; Byte Tag
|        ; Byte Tag; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|Output= Short Tag; Int Tag; Long Tag
|description=Shorts and Ints can be combined the same way, even mixed.

Digits are appended, e.g. two <code>1b</code> tags make <code>257b</code> (0101<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]).
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Float Tag; Float Tag; Float Tag; Float Tag
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Double Tag; Double Tag; Double Tag; Double Tag
|ignoreusage=1
}}
{{Crafting
|Left Curly;  Left Curly
|Name;        Name
|Byte Tag;    Byte Tag
|Right Curly; Name |; Byte Tag | |; Name |; Byte Tag |; Right Curly
|Output= Compound Tag; Compound Tag
|description=Instead of Bytes any other tag can be used, including other compound tags.
|ignoreusage=1
}}
{{Crafting
|Left Square;  Left Square
|Byte Tag;     Byte Tag
|Right Square; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Right Square
|Output= List Tag; List Tag
|description=Instead of Bytes any other tag can be used, including other list tags.
|ignoreusage=1
}}
{{Crafting
|Compound Tag; List Tag
|Compound Tag; List Tag
|Output= Compound Tag; List Tag
|description=Up to 9 can be combined.

When compound tags contain identical names, only the latest of the corresponding values is used.
|ignoreusage=1
|foot=1
}}

"Name" and "String Tags" must be named in an [[anvil]] before they can be used. Unnamed Names and Strings always produce a "Sssyntax Error". None of the other tag items can be named.

All these items can be combined in a crafting table to form a short sequence of JSON code, as long as the resulting syntax is valid. For example: 
*A pair of Curlies that enclose a named "Name" item and some value, e.g. a Byte, create a "Compound Tag" with the content <code>{Example:0b}</code>.
**Because of the limited size of the crafting table only 3 name-value pairs can be put between Curlies at a time. Compound Tags of any length can be created by concatenating two or more Compound Tags.
**An empty pair of Curlies produces an empty Compound Tag with the content <code>{}</code>.
*A pair of Square brackets that enclose any number of values, e.g. 7 Bytes, create a "List Tag" with the content <code>[0b,0b,0b,0b,0b,0b,0b]</code>.
**Because of the limited size of the crafting table only 7 values can be put between Square brackets at a time. List Tags of any length can be created by concatenating two or more List Tags.
**An empty pair of Square brackets produces an empty List with the content <code>[]</code>.
**"Name" items cannot be used in a List.

The resulting Compound and List Tags can be used as values in other Compound and List Tags, as deeply nested as you want.

==Usage==
Tags appear to have no further functionality. They cannot be eaten or placed in the world, except in an item frame, as each other item can. However, Compound Tags with values like <code>{Enchantments:[{id:"minecraft:sharpness",lvl:127b}]}</code> will show the [[Enchanting|enchantment]] glint and actually act accordingly when used.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref> This appears to work with many weapon and tool [[Enchanting#Summary of enchantments by item|enchantments]].

In theory, an extremely lucky <code>replace_recipe_output</code> vote can change the crafting recipe for compound tags to output something else. When cheats are enabled you can test this with a command like <code>/vote rule minecraft:replace_recipe_output approve {key:"minecraft:compound_tag",value:"minecraft:netherite_sword"}</code>. However, as long as this vote is approved no other compound tag can be crafted. Use <code>/vote rule minecraft:replace_recipe_output repeal *</code> to undo all recipe replacements.

In combination with the <code>midas_touch</code> vote tag items can be converted into [[Gold Ingot|gold ingots]]. These retain their NBT data. When the world is loaded in another version of the game tag items disappear, but gold ingots persist.

==Trivia==
*This implies that a [[Name Tag|name tag]] is 128 bit.
*Compound and list tags are special in so far that the value they show in their [[tooltip]] is not merely a property of the item, but their ''actual'' [[NBT format|NBT data]]. This is also the reason why naming them is disabled as that would mess up the NBT data.
*The snapshot also contains an [[History of textures/Unused textures|unused texture]] for an {{ItemLink|End Tag}}.

==History==
{{History|java}}
{{History||23w13a_or_b|[[File:Tag.png|32px]] Added tags.}}
{{History|foot}}

==Gallery==
<gallery>
Tag.png|Tag
Bit.png|Bit
Byte Tag.png|Byte Tag
Double Tag.png|Double Tag
End Tag.png|End Tag
Float Tag.png|Float Tag
Int Tag.png|Int Tag
Left Curly.png|Left Curly
Left Square.png|Left Sqaure
List Tag.png|List Tag
Long Tag.png|Long Tag
Name (23w13a or b).png|Name
Right Curly.png|Right Curly
Right Square.png|Right Square
Short Tag.png|Short Tag
Sssyntax Error.png|Sssyntax Error
String Tag.png|String Tag
</gallery>

== References ==
{{reflist}}

{{items}}
{{jokes}}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Calculating signal strength from items

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

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

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

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

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

;Calculating items from signal strength

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

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

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

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

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

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

;{{BlockLink|Cake}}

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

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

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

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

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

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

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

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

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

;{{BlockLink|End Portal Frame}}

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

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

;{{EntityLink|Item Frame}}

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

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

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

;{{BlockLink|Jukebox}}

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

;{{BlockLink|Lectern}}

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

;{{BlockLink|Respawn Anchor}}

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

;{{BlockLink|Sculk Sensor}}

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

;{{BlockLink|Chiseled Bookshelf}}

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

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

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

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
previewPigman (texture) JE1 The texture of pigmen has been added: mobs/pigman.png.[12]
Java Edition Beta
April 25, 2011It is suggested that pigmen may be the inhabitants of the then-to-be-implemented villages.
Aug 13, 2012Coding of a mob with no clothes is hinted at. This is later revealed to be a pigman which you could hire as a bodyguard.[13] The Player would have been able to give it armor and weapons[14]
Aug 14, 2012Further development of the pigman bodyguard.
Sep 14, 2012The pigman bodyguard is shelved.
Java Edition
1.6.1
{{Extension DPL}}<ul><li>[[Yellow Dye|Yellow Dye]]<br/>{{Item
| title = Yellow Dye
| renewable = Yes
| stackable = Yes (64)
}}
'''Yellow dye''' is a [[Dye#Primary|primary dye]] created by placing a [[dandelion]] or [[sunflower]] into a [[crafting]] grid.

== Obtaining ==

=== Crafting ===
{{Crafting
  |Dandelion;Sunflower
  |Output=Yellow Dye;Yellow Dye,2
  |type=Material
}}

=== Chest loot ===
{{LootChestItem|yellow-dye}}

=== Trading ===

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

== Usage ==
{{dye usage}}

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

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

=== Trading ===
Expert-level shepherd villagers have a {{frac|1|6}} chance to buy 12 yellow dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Yellow Dye
|spritetype=item
|nameid=yellow_dye
|aliasid=dye / 11
|id=406
|form=item
|translationkey=item.dye.yellow.name
|foot=1}}

== Video ==
{{yt|nOQUDjEHGRg}}

== History ==
{{History|java beta}}
{{History||1.2|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History||1.6.6|Dandelions can now be generated using [[Bone Meal|bone meal]], making dandelion yellow [[renewable resource|renewable]].}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Dandelion yellow can be crafted with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{History||1.7.2|snap=13w36a|Can now be crafted using sunflower.}}
{{History|||snap=13w37a|Each dandelion now yields only 1 dandelion yellow, instead of 2.}}
{{History|||snap=13w41a|[[Stained glass]] can now be [[crafting|crafted]].}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be [[dye]]d.}}
{{History||1.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w06a|Yellow dye can now be used to craft yellow [[concrete powder]].}}
{{History|||snap=17w15a|Added the ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|"Dandelion Yellow" has now been renamed to "Yellow Dye".
|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}
{{History|||snap=18w44a|Yellow dye can now change the text color on [[sign]]s to yellow.}}
{{History|||snap=18w49a|Yellow dye can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells yellow dye.}}
{{History|||snap=19w11a|Yellow dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Yellow dye can now be used to craft [[yellow candle]]s.}}
{{History|||snap=21w19a|Yellow dye can no longer be used to craft yellow candles.}}
{{History|||snap=Pre-release 1|Yellow dye can once again used to craft yellow candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Yellow dye can now change the text color on [[hanging sign]]s to yellow.}}
{{History||1.20|snap=23w12a|Yellow dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Yellow dye no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], yellow dye is now common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History||v0.8.0|snap=build 1|Dandelion yellow is now used to craft [[cocoa beans]].}}
{{History||v0.14.0|snap=build 1|Yellow dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History||v0.16.0|snap=build 1|Dandelion yellow is no longer used to [[crafting|craft]] cocoa beans.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Yellow dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Yellow dye can now be used to dye [[shulker box]]es, [[bed]]s, and craft [[concrete powder]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Yellow dye can now be used to craft patterns on [[banner]]s, [[firework star]]s, and [[stained glass]].}}
{{History||1.4.0|snap=beta 1.2.20.1|Yellow dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Dandelion yellow can now be used to dye [[cat]] collars.}}
{{History|||snap=beta 1.8.0.10|"Dandelion Yellow" has now been renamed to "Yellow Dye".}}
{{History||1.10.0|snap=beta 1.10.0.3|Yellow dye is now [[trading|sold]] by [[wandering trader]]s.
|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Yellow dye can now be found in [[village]] mason [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Yellow dye can now be sold to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of yellow dye has been changed from <code>dye/11</code> to <code>yellow_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History|ps4}}
{{History||1.83|"Dandelion Yellow" has now been renamed to "Yellow Dye".}}
{{History||1.90|[[File:Yellow Dye JE2 BE2.png|32px]] The texture of yellow dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Yellow Dye JE1 BE1.png|32px]] Added dandelion yellow.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==

{{reflist}}

{{Items}}

[[cs:Pampelišková žluť]]
[[de:Gelber Farbstoff]]
[[es:Tinte amarillo]]
[[fr:Teinture jaune]]
[[hu:Pitypangsárga]]
[[ja:黄色の染料]]
[[ko:노란색 염료]]
[[nl:Paardenbloemgeel]]
[[pl:Żółty barwnik]]
[[pt:Corante amarelo]]
[[ru:Жёлтый краситель]]
[[zh:黄色染料]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><li>[[Lava|Lava]]<br/>{{About|the fluid|the [[bucket]]|Lava Bucket}}
{{Fluid
| image = Lava.gif
| image2 = Lava BE.gif
| invimage = Lava Bucket
| invimage2 = Lava
| renewable = Yes
| transparent = Yes
| light = Yes (15)
| tool = Bucket
| infinite = No
| flowrate = 30 [[tick]]s/block (Overworld, End)<br> 10 [[tick]]s/block (Nether)
| flowdistance = 4 blocks (Overworld, End)<br>8 blocks (Nether)
}}
'''Lava''' is a light-emitting [[fluid]] that causes fire [[damage]], mostly found in the [[altitude|lower reaches]] of the [[Overworld]] and [[the Nether]].

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

A player in lava lasts a few seconds before dying:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Flowing lava can push entities.

==== Flow arrangement tables ====

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

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

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

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

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

=== Light source ===

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

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

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

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

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

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

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

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

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

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

== Data values ==

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{Issue list}}

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

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

== References ==
{{Reflist}}

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

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

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

[[cs:Láva]]
[[de:Lava]]
[[es:Lava]]
[[fr:Lave]]
[[hu:Láva]]
[[it:Lava]]
[[ja:溶岩]]
[[ko:용암]]
[[nl:Lava]]
[[pl:Lawa]]
[[pt:Lava]]
[[ru:Лава]]
[[th:ลาวา]]
[[tr:Lav]]
[[uk:Лава]]
[[zh:熔岩]]</li></ul>
13w24aThe pigman texture has been removed.
September 28, 2019Piglins are announced at MINECON Live 2019.
Piglin targeting BE1 Footage shown at MINECON Live shows that angered piglins raise their arms in a manner similar to zombies, a behavior not reflected in the final version.
December 5, 2019Piglin with Crossbow A video shows a piglin with crossbow with a baby hoglin.
December 14, 2019An image of a hoglin and piglins is released.
January 14, 2020A video shows piglins picking up gold thrown by the player and throwing back a placeholder diamond.
March 4, 2020An official post on Crowdin[15] explains that the piglin was named such because it is a gender-neutral form of the word pigman.
1.16
{{Extension DPL}}<ul><li>[[:Category:Combat|Category:Combat]]<br/>[[Category:Items]]

[[fr:Catégorie:Combat]]
[[zh:Category:武器]]</li><li>[[Recovery Compass|Recovery Compass]]<br/>{{About|the item used to point to the location of the player's last death|the item used to point to the world spawn or to a lodestone|Compass}}
{{Item
| image = Recovery Compass.gif
| renewable = No
| stackable = Yes (64)
}}

A '''recovery compass''' is an item used to point to the location of the [[Player|player's]] last death.

== Obtaining ==

=== Crafting ===
{{Crafting
|A1= Echo Shard |B1= Echo Shard   |C1= Echo Shard
|A2= Echo Shard |B2= Compass      |C2= Echo Shard
|A3= Echo Shard |B3= Echo Shard   |C3= Echo Shard
|Output= Recovery Compass
|type= Tool
}}

== Usage ==
When held by a player, the recovery compass will point towards the spot where they previously died.

The recovery compass will only work when it is held by a player who has previously died and is in the same dimension as their last death. Otherwise, it will spin around randomly.

Like other items, the recovery compass itself will still drop when a player dies and the <code>keepInventory</code> [[game rule]] is not enabled.

This item is useless on Hardcore mode, as once the player dies, the player cannot respawn.

=== Enchantments ===

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

== Data values ==
{{Missing information|section|data values for Bedrock Edition|type=data}}

=== ID ===
[[Java Edition|''Java Edition'']]:
{{ID table|edition=java|displayname=Recovery Compass|nameid=recovery_compass|translationkey=item.minecraft.recovery_compass|generatetranslationkeys=y|showforms=y|spritetype=item|form=item|foot=1}}

==History==
{{History|java}}
{{History||1.19|snap=22w14a|[[File:Recovery Compass JE1 BE1.gif|32px]] Added recovery compasses.}}
{{History|||snap=22w15a|Recovery compasses can no longer be used on [[lodestone]]s and can no longer be enchanted with [[Curse of Vanishing]].}}
{{History|bedrock}}
{{History||1.19.0|snap=beta 1.19.0.24|[[File:Recovery Compass JE1 BE1.gif|32px]] Added recovery compasses.}}
{{History|foot}}

==Issues==
{{issue list}}

==Gallery==
<gallery>
File:Recovery Compass In An Item Frame.jpg|Recovery Compass.<ref>{{tweet|kingbdogz|1511751971673419782|Tell us what you think of the new Recovery Compass! We're hoping it improves how rewarding it feels to obtain Ancient City loot. Despite that, how do you feel about it? Will you use it? If so, how? What situations would you use it instead of just trying to remember?|April 6, 2022}}</ref>
</gallery>

==References==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--recovery-compass Taking Inventory:Recovery Compass] – Minecraft.net on January 19, 2023

{{Items}}

[[Category:Tools]]
[[Category:Non-renewable resources]]

[[de:Bergungskompass]]
[[es:Brújula de recuperación]]
[[fr:Boussole de récupération]]
[[ja:リカバリーコンパス]]
[[pl:Kompas powrotny]]
[[pt:Bússola de retomada]]
[[ru:Компас восстановления]]
[[th:เข็มทิศกู้คืน]]
[[uk:Компас відновлення]]
[[zh:追溯指针]]</li></ul>
20w07aPiglin Baby Piglin Added piglins and baby piglins.
Piglin with Crossbow Piglin left handed with Crossbow Piglins can hold crossbows.
Piglins can be converted into zombie pigmen in the Overworld.
Piglin Admiring Item The player can barter with Piglins.
Baby Piglin holding gold Baby Piglins don't barter
Piglins attack wither skeletons, but only when in groups of two or more.[16]
Piglins and hoglins don't look at their target.[17]
Baby Piglin with Golden Sword Baby Piglin with Crossbow Baby piglins can pick up items.
Piglin holding Crossbow to fire with no arrow JE Piglin left handed holding Crossbow to fire with no arrow JE Piglins can hold up crossbows to fire with no arrows loaded if interrupted while loading them.[18]
Piglin using one hand to hold a loaded crossbow JE1 Piglins use one hand to hold a loaded crossbow.[19]
20w09aPiglins now have an IsImmuneToZombification data value that, when set, prevents them from zombifying in the Overworld.
The loot table of items that can be bartered from piglins has been modified.
Baby Piglin Riding a Baby Hoglin Baby piglins can now ride on the back of baby hoglins.
20w10aThe loot table of items that can be bartered from piglins has been modified again.
Piglins do not need to be in a group to attack a wither skeleton anymore and wither skeletons now attack piglins unprovoked.
Players are unable to set "LeftHanded" to "1b" for piglins.[20]
20w11aEnchanted books and iron boots with Soul Speed have been added to the items that can be bartered from piglins.
Players are able to set "LeftHanded" to "1b" for piglins.
Piglins and hoglins look at their target.
20w12aThree Baby Piglins climbing a Baby Hoglin Baby piglins can now ride on top of each other on a baby hoglin, up to three baby piglins can climb on at once.
20w14aPiglins now avoid zoglins, the same way they avoid zombified piglins.
Baby piglins no longer have a weapon when they turn into a zombie.
The texture size has changed from 128x64 to 64x64, and the layout of the parts of the ears of piglins has been changed.
20w16aPiglins now spawn in bastion remnants.
20w19aPiglins now become zombified piglins when in the End.
20w21aPiglins no longer walk around when admiring gold.
If a piglin is hurt while admiring an gold ingot, the ingot now disappears.
20w22aPiglin celebrate hunt Revision 1 Piglins now occasionally dance after defeating a hoglin.
Piglin Attacking with melee weapon Piglins now have the vindicator attacking animation when melee attacking.
pre3The position of the head of piglins when they are dancing has been changed from Piglin celebrate hunt Revision 1 to Piglin celebrate hunt Revision 2.
The helmet model now uses the player helmet model on the piglins instead of a unique one that appears wider than the player's. Piglin Helmet Comparison
Piglins get angry when players attack Piglin brutes.
pre6Adult piglins now may spawn with enchanted gear.
1.16.2
{{Extension DPL}}<ul><li>[[Orange Dye|Orange Dye]]<br/>{{Item
|image = Orange_Dye_JE2_BE2.png
|renewable = Yes
|stackable = Yes (64)
}}
'''Orange dye''' is a [[Dye#Quasi-Primary|quasi-primary dye]] crafted from [[Flower|orange tulips]], or by combining one [[red dye]] with one [[yellow dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head = 1
  |showname = 0
  |Orange Tulip; Torchflower
  |Output=Orange Dye
  |type=Material
}}
{{Crafting
  |Red Dye
  |Yellow Dye
  |Output = Orange Dye,2
  |type = Material
  |foot = 1
}}

=== Loot chest ===
{{#invoke:LootChest|base3|orange-dye}}

=== Trading ===
[[Wandering trader|Wandering traders]] sell 3 orange dye for an [[emerald]].

== Usage ==
{{dye usage}}

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

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

=== Trading ===

Apprentice-level shepherd [[villager]]s have a 20% chance to buy 12 orange dye for an [[emerald]] as part of their trades.{{only|bedrock}}

Journeyman-level shepherd [[villager]]s have a {{frac|1|3}} chance to buy 12 orange dye for an [[emerald]].{{only|java}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Orange Dye
|spritetype=item
|nameid=orange_dye
|aliasid=dye / 14
|id=409
|form=item
|translationkey=item.dye.orange.name
|foot=1}}

== Video ==

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

== History == 

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

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Orange Dye JE1 BE1.png|32px]] Added orange dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Orange dye is now [[craft]]able with rose red and dandelion yellow.
|Orange dye can now be used to craft orange [[wool]].}}
{{History||v0.8.0|snap=build 1|Orange dye is now used to craft [[cocoa bean]]s (version exclusive).}}
{{History||v0.14.0|snap=build 1|Orange dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History||unknown|The above recipe for orange dye has now been removed.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Orange dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Orange dye can now be used to craft [[concrete powder]] and colored [[bed]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Orange dye can now be used to craft [[firework star]]s, [[stained glass]], and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Orange dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Orange dye can now be used to dye [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Orange dye is now [[trading|sold]] by [[wandering trader]]s.
|Orange dye can now be used to dye white [[carpet]]s.
|[[File:Orange_Dye_JE2_BE2.png|32px]] The texture of orange dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Orange dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of orange dye has been changed from <code>dye/14</code> to <code>orange_dye</code>.}}

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

{{History|new 3ds}}
{{History||0.1.0|[[File:Orange_Dye_JE2_BE2.png|32px]] Added orange dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

== References ==
{{Reflist}}

{{Items}}

[[cs:Oranžové barvivo]]
[[de:Oranger Farbstoff]]
[[es:Tinte naranja]]
[[fr:Teinture orange]]
[[hu:Narancssárga festék]]
[[ja:橙色の染料]]
[[ko:주황색 염료]]
[[nl:Oranje kleurstof]]
[[pl:Pomarańczowy barwnik]]
[[pt:Corante laranja]]
[[ru:Оранжевый краситель]]
[[zh:橙色染料]]

[[Category:Items]]
[[Category:Dyes]]
[[Category:Renewable resources]]</li><li>[[Bookshelf|Bookshelf]]<br/>{{About|the bookshelf used with an enchanting table|the bookshelf that can hold books|Chiseled Bookshelf}}
{{Block
|image=Bookshelf.png
|transparent=No
|light=No
|tool=Axe
|renewable=Yes
|stackable=Yes (64)
|flammable=Yes (30)
|lavasusceptible=Yes
}}
'''Bookshelves''' are [[blocks]] that improve [[enchanting|enchantments]] applied with an [[enchanting table]] when placed around one, up to a maximum of fifteen bookshelves, at the expense of [[Enchanting/Levels|level]] requirement.

== Obtaining ==
=== Natural generation ===
Bookshelves can generate in village libraries and sometimes village houses.

[[Stronghold]]s may contain up to two libraries, each of which may be single-level or have an upper balcony. These feature some bookshelves arranged in pillars, and more bookshelves arranged in pillars in the walls. Single-level libraries contain 161 bookshelves, while libraries with balconies contain 233.

Bookshelves also naturally generate in certain [[woodland mansion]] rooms.

=== Breaking ===
Bookshelves can be broken fairly easily by hand, but can be broken faster by using an [[axe]]. In either case, they drop 3 books when broken, allowing the reconstruction of the bookshelf with the addition of six wood planks. When broken by an item that is [[enchanted]] with [[Silk Touch]], a bookshelf drops itself.
{{breaking row|horizontal=1|Bookshelf|Axe}}

=== Crafting ===
{{Crafting
|A1=Any Planks
|B1=Any Planks
|C1=Any Planks
|A2=Book
|B2=Book
|C2=Book
|A3=Any Planks
|B3=Any Planks
|C3=Any Planks
|Output=Bookshelf
|type=Building block
}}

=== Trading ===
Novice-level librarian [[Villager|villagers]] have a 50% chance to sell 1 bookshelf for 9 [[Emerald|emeralds]] as part of their trades.{{only|bedrock}}

Novice-level librarian villagers have a {{frac|2|3}} chance to sell 1 bookshelf for 9 emeralds.{{only|java}}

== Usage ==
=== Enchanting ===
{{main|Enchantment mechanics#Bookshelf placement}}

If an [[enchanting table]] is placed near a bookshelf, glyph [[particles]] fly from the bookshelf toward the enchanting table. Having bookshelves in the proper position near the table allows the table to apply higher-level enchantments.

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

=== Fuel ===
Bookshelves can be used as a [[fuel]] in [[furnace]]s, smelting 1.5 items per block.

=== Villager ===
Librarian [[villager]]s can interact with bookshelves.

=== Note Blocks ===
Bookshelf can be placed under [[note block]]s to produce "bass" sounds.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Bookshelf
|spritetype=block
|nameid=bookshelf
|showblocktags=y|blocktags=mineable/axe
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Bookshelf
|spritetype=block
|nameid=bookshelf
|id=47
|foot=1}}

== Achievements ==
{{load achievements|Librarian}}

== History ==
{{History|java classic}}
{{History||October 24, 2009|link=https://notch.tumblr.com/post/221308991/the-new-block-types-and-new-graphics-for-the-gold|Bookshelves were teased by [[Notch]].}}
{{History||0.26 SURVIVAL TEST|[[File:Bookshelf JE1.png|32px]] Added bookshelves.
|Bookshelves are currently impossible to obtain without loading a pre-edited map.
|Bookshelves are currently destroyed in [[explosion]]s.
|When bookshelves are broken, they currently do not drop anything.}}
{{History||0.28|Bookshelves can now be freely placed.}}
{{History|java alpha}}
{{History||v1.0.11|Bookshelves can now be [[crafting|crafted]] from 3 [[book]]s and 6 [[planks]].}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Bookshelves can now be found generated in libraries in [[village]]s, and libraries in [[stronghold]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Bookshelves now drop 3 [[book]]s when broken by a non-[[Silk Touch]] [[item]].
|They are now necessary to [[enchanting|enchant]] with higher levels for better enchanted items.
|The number of bookshelves required to reach the maximum enchantment level is 30.}}
{{History|||snap=Beta 1.9 Prerelease 5|[[File:Bookshelf JE2 BE1.png|32px]] The top texture of bookshelves have now been updated as a result of the [[planks]] texture update.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft bookshelves.}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] 1 bookshelf for 3 [[emerald]]s.}}
{{History|||snap=12w22a|The number of bookshelves required to reach the maximum enchantment level has been now decreased to 15.}}
{{History||1.7.2|snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft bookshelves.}}
{{History||1.8|snap=14w02a|Librarian villagers now sell 1 bookshelf for 3–4 [[emerald]]s.}}
{{History||1.11|snap=16w39a|Bookshelves now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 47.}}
{{History||1.14|snap=18w43a|[[File:Bookshelf JE3.png|32px]] The texture of bookshelves has now been changed.}}
{{History|||snap=18w47a|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has now been changed, once again.}}
{{History|||snap=19w02a|Bookshelves can now be used to craft [[lectern]]s.}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft bookshelves.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft bookshelves.}}

{{History|pocket alpha}}
{{History||v0.2.1|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves.|Bookshelves are currently obtainable only in [[Creative]] mode.}}
{{History||v0.3.0|Bookshelves are now obtainable in [[Survival]] mode.}}
{{History||v0.9.0|snap=build 1|Bookshelves now naturally spawn in [[stronghold]]s and [[village]]s.}}
{{History||v0.12.1|snap=build 1|Bookshelves can now be used to increase [[enchantment table]] levels.|Bookshelves can now be obtained by using a [[tool]] with the [[Silk Touch]] enchantment.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] 1 bookshelf for 3-4 [[emerald]]s as their second tier trade.}} 
{{History||1.1.0|snap=alpha 1.1.0.0|Bookshelves now generate in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|Bookshelves can now be used to craft [[lectern]]s.|Bookshelves now get inspected by librarian [[villager]]s.|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, librarian villagers now have a 50% chance to sell a bookshelf for 6 [[emerald]]s as part of their first trade.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves. Whether they actually used this texture is unknown.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Bookshelf JE4 BE2.png|32px]] The texture of bookshelves has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Bookshelf JE2 BE1.png|32px]] Added bookshelves.}}
{{History|foot}}

== Issues ==
{{Issue list}}

== Trivia ==
* Bookshelves' top and bottom textures by default use the same texture as [[oak planks]].
* It takes 90 planks, 45 [[leather]] and 135 [[paper]] to make 15 bookshelves in order to get a level 30 [[enchantment]].
* A bookshelf is the icon for [[Education Edition]].

== Gallery ==
<gallery>
File:Library in Village.png|Naturally occurring bookshelves in a [[village]]. (Before Village & Pillage).
File:Large Stronghold Library.png|Naturally occurring bookshelves in a [[stronghold]].
File:Achievement get! Trading emeralds for bookshelves.png|Bookshelves obtained by [[trading]] with a [[villager]].
File:Enchanting-Table.png|Bookshelves powering an [[enchanting table]].
</gallery>

== References ==
{{Reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/block-week-bookshelf Block of the Week: Bookshelf] – Minecraft.net on December 16, 2016

{{Blocks|Building}}

[[Category:Manufactured blocks]]
[[Category:Natural blocks]]
[[Category:Generated structure blocks]]
[[Category:Utility blocks]]
[[Category:Bedrock Edition]]
[[Category:Java Edition]]
[[Category:Items]]
[[Category:Flammable blocks]]

[[cs:Knihovna]]
[[de:Bücherregal]]
[[es:Librería]]
[[fr:Bibliothèque]]
[[hu:Könyvespolc]]
[[it:Libreria]]
[[ja:本棚]]
[[ko:책장]]
[[nl:Boekenkast]]
[[pl:Biblioteczka]]
[[pt:Estante de livros]]
[[ru:Книжные полки]]
[[th:ชั้นหนังสือ]]
[[uk:Книжкова полиця]]
[[zh:书架]]</li></ul>
Pre-release 1Piglins now become angry with players who open or destroy a minecart with chest or a minecart with hopper.
1.16.3
{{Extension DPL}}<ul><li>[[Raw Porkchop|Raw Porkchop]]<br/>{{Item
| title = Raw Porkchop
| image = Raw Porkchop.png
| renewable = Yes
| heals = {{hunger|3}}
| stackable = Yes (64)
}}
A '''raw porkchop''' is a [[food]] item that can be eaten by the [[player]] or cooked to make a [[cooked porkchop]].

== Obtaining ==

=== Mob loot ===

==== Pigs ====

Adult [[pig]]s drop 1–3 raw porkchop when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1-6 with Looting III. If killed while on fire, they drop [[cooked porkchop]] instead.

==== Hoglins ====

Adult [[hoglin]]s drop 2–4 raw porkchop when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 7 with Looting III. If killed while on fire, they drop [[cooked porkchop]] instead.

=== Chest loot ===

{{LootChestItem|raw-porkchop}}

== Usage ==

=== Food ===

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

=== Smelting ingredient ===

{{Smelting
|showname=1
|Raw Porkchop
|Cooked Porkchop
|0.35
}}

=== Trading ===

{{IN|bedrock}}, novice-level butcher [[villager]]s have a {{frac|1|3}} chance to [[trading|buy]] 7 raw porkchop for an [[emerald]] as part of their [[trading|trades]].

{{IN|java}}, novice-level butcher villagers have a 40% chance to buy 7 raw porkchop for an emerald.

=== Wolves ===

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

=== Piglins ===
[[Piglin|Piglins]] instantly pick up raw or [[Cooked Porkchop|cooked porkchops]] that are within 1 block of them, unless they have already picked up one within the last 10 seconds. Porkchops picked up are not dropped upon the piglin's death.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Porkchop
|spritetype=item
|nameid=porkchop
|id=262
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Pork Chop}}

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

== History ==

{{History|java indev}}
{{History||20100219|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops. 
|Raw porkchops restore {{hp|3}} and do not stack in the [[inventory]].
|Raw porkchops are [[drops|dropped]] by [[pig]]s.}}
{{History|java beta}}
{{History||1.4|Raw porkchops can now be given to [[wolf|wolves]].}}
{{History||1.8|snap=Pre-release|Raw porkchops can now be stacked to 64.<ref>{{Tweet|jeb|103408168356421632|Some Minecraft food changes...}}</ref> 
|Raw porkchops now restore {{hunger|3}} to the [[Hunger|food bar]].}}
{{History|java}}
{{History||1.2.1|snap=12w03a|Raw porkchops can now be used to breed wolves.}}
{{History||1.3.1|snap=12w21a|Raw porkchops can now be [[trading|sold]] to butcher [[villager]]s, at 14–17 pork chops for 1 [[emerald]].}}
{{History|||snap=12w25a|[[Pig]]s now [[drops|drop]] 1–3 porkchops instead of 0–2.}}
{{History||1.4.2|snap=12w37a|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has a dark outline.}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed; butcher villagers now [[trading|buy]] 14–18 porkchops for 1 emerald.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 319.}}
{{History||1.14|snap=18w43a|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}
{{History|||snap=18w49a|Raw porkchops can now be found in [[chest]]s in [[village]] butcher shops.}}
{{History||1.16|snap=20w07a|Raw porkchops are dropped by the new [[hoglin]]s.
|Raw porkchops have a {{frac|5|109}} (~4.59%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 2–5.}}
{{History|||snap=20w09a|Raw porkchops can no longer be obtained by bartering with piglins.}}
{{History|||snap=20w16a|Raw porkchops now generate in [[bastion remnants]] chests.}}

{{History|pocket alpha}}
{{History||v0.4.0|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops.}}
{{History||v0.5.0|Raw porkchops now restore {{hp|3}} instead of {{hp|1}}.}}
{{History||v0.8.0|snap=build 1|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has that dark outline.}}
{{History||v0.12.1|snap=build 1|Raw porkchops now restore [[hunger]] instead of [[health]].}}
{{History||v0.16.2|[[Pig]]s now [[drops|drop]] 1–3 raw porkchops rather than 0–2.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|14–18 raw porkchops can now be [[trading|sold]] to butcher [[villager]]s for an [[emerald]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|Raw porkchops can now be found in [[village]] butcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Butcher [[villager]]s now have {{frac|1|3}} chance to [[trading|buy]] 7 raw porkchops.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Raw Porkchop JE1 BE1.png|32px]] Added raw porkchops.}}
{{History||xbox=TU5|Raw porkchops are now stackable to 64 and fills [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|[[File:Raw Porkchop JE2 BE2.png|32px]] The texture of raw porkchops has been changed, so that it no longer has a dark outline.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Raw Porkchop.png|32px]] The texture of raw porkchops has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Raw Porkchop JE2 BE2.png|32px]] Added raw porkchops.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
I Porkchop Minecraft JINX.jpg|Official T-shirt artwork "I Porkchop Minecraft" sold by [https://www.jinx.com JINX].
I Brake for Porkchop Bumper Sticker JINX.jpg|An official bumper sticker featuring a raw porkchop sold by JINX.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--porkchop Taking Inventory: Porkchop] – Minecraft.net on February 13, 2020

{{Items}}

[[Category:Food]]

[[cs:Syrová kotleta]]
[[de:Rohes Schweinefleisch]]
[[es:Chuleta de cerdo cruda]]
[[fr:Côtelette de porc crue]]
[[hu:Nyers disznóhús]]
[[ja:生の豚肉]]
[[nl:Rauw varkensvlees]]
[[pl:Surowy schab]]
[[pt:Costeleta de porco crua]]
[[ru:Сырая свинина]]
[[uk:Сира свинина]]
[[zh:生猪排]]
[[Category:Renewable resources]]</li><li>[[Snowball|Snowball]]<br/>{{about|the throwable item|the enchantment in ''Minecraft Dungeons''|MCD:Snowball}}
{{ItemEntity
|image=Snowball.png
|renewable=Yes
|stackable=Yes (16)<br>
Yes (64){{upcoming|java Combat Tests}}
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}

'''Snowballs''' are throwable combat items that hit but do not damage most [[Mob|mobs]] on impact.

== Obtaining ==
{{see also|Tutorials/Snow farming}}

=== Mining ===
A [[shovel]] without the [[Silk Touch]] enchantment can get 4 snowballs by breaking a [[snow block]], and 1–8 snowballs by breaking or blasting [[snow layer]]s – one per layer. The [[Fortune]] enchantment does not affect these amounts.

{{IN|bedrock}}, snowballs are dropped from snow layers even when mined with a Silk Touch shovel.<ref>{{bug|MCPE-59729||Snow layers don't drop themselves when mined with a silk touch enchanted shovel}}</ref>

==== Explosions ====
Creeper and TNT [[explosion]]s leave snowballs in the resulting debris field if near snow.

==== Ravagers ====
{{IN|BE}}, Ravagers destroy snow layers, dropping snowballs.

==== Pistons ====
{{IN|BE}}, a block or piston head pushed into the position of snow layers destroys the snow layers, dropping snowballs. 1-3 layers drops 1 snowball, 4-5 layers drops 2 snowballs, 6-7 layers drops 3 snowballs and 8 layers drops 4 snowballs.

=== Mob loot ===
[[Snow golem]]s drop 0–15 snowballs upon death, unaffected by [[Looting]].

=== Chest loot ===
{{LootChestItem|snowball}}

== Usage ==

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

=== Combat ===
[[File:Throwing a snowball on a pig.gif|300px|thumbnail|right|Throwing a snowball on a pig animation.]]
Snowballs can be thrown by {{control|using}} them. There is no charging time or cooldown for firing them,{{Until|java Combat Tests}} meaning they can be thrown as fast as the player can click.

Like other projectiles, snowballs are affected by gravity: their range is the same as those of [[egg]]s and [[ender pearl]]s, less than that of [[arrow]]s fired from [[bow]]s, and more than that of [[splash potion]]s. In [[Bedrock Edition]], players will receive damage and will be knockbacked.

Snowballs deal {{hp|3}} each to [[blaze]]s but they deal no damage to other mobs. Mobs still receive knockback and act the same as if they were being damaged (for example, [[zombified piglin]]s who are hit by snowballs become aggressive). Players {{in|BE}} receive knockback, while players {{in|JE}} are unaffected.<ref>{{bug|MC-3179|||WAI}}</ref>{{Until|java Combat Tests}}

When fighting the [[ender dragon]], [[end crystal]]s are able to be destroyed by snowballs being thrown at them.

Snowball, like other projectiles, can be used to distract the [[warden]]. A warden walks towards the location where the snowball lands to inspect it, giving the player time to escape. However, if snowballs are fired too frequently (at least twice in 5 seconds), the warden walks straight to the player instead.
In the new versions they can hit players but just only in bedrock
=== Dispenser ===
Snowballs can be fired from [[dispenser]]s.

== Sounds ==
{{Edition|Java}}:<br>
Thrown snowballs use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|rowspan=3
|sound=Bow shoot.ogg
|subtitle=Snowball flies
|source=neutral
|description=When a player throws a snowball
|id=entity.snowball.throw
|translationkey=subtitles.entity.snowball.throw
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16}}
{{Sound table
|subtitle=Snowball flies
|source=neutral
|description=When a snow golem shoots a snowball
|id=entity.snow_golem.shoot
|translationkey=subtitles.entity.snowball.throw
|volume=1.0
|pitch={{frac|1|3}}-0.5
|distance=16}}
{{Sound table
|subtitle=Dispensed item
|source=block
|description=When a dispenser shoots a snowball
|id=block.dispenser.launch
|translationkey=subtitles.block.dispenser.dispense
|volume=1.0
|pitch=1.2
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|rowspan=3
|sound=Bow shoot.ogg
|source=player
|description=When a player throws a snowball
|id=random.bow
|volume=0.5
|pitch=0.33-0.5}}
{{Sound table
|source=neutral
|description=When a snow golem shoots a snowball
|id=mob.snowgolem.shoot
|volume=1.0
|pitch=0.8-1.2}}
{{Sound table
|source=player
|description=When a dispenser shoots a snowball
|id=random.bow
|volume=1.0
|pitch=0.83-1.25
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Item
|showforms=y
|generatetranslationkeys=y
|displayname=Snowball
|spritetype=item
|nameid=snowball
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Entity
|showentitytags=y
|generatetranslationkeys=y
|displayname=Snowball
|spritetype=entity
|nameid=snowball
|entitytags=impact_projectiles
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Snowball
|spritetype=item
|nameid=snowball
|id=374
|form=item
|foot=1}} 
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Snowball
|spritetype=entity
|nameid=snowball
|id=81
|foot=1}}

=== Entity Data ===
Snowballs have entity data that define various properties of the entity.

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

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

== Advancements ==
{{Load advancements|Bullseye}}

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

==History==
{{History|java alpha}}
{{History||v1.0.5|[[File:Snowball JE1 BE1.png|32px]] Added snowballs.
|Snowballs are used to craft [[snow block]]s.
|Snowballs could stack up to 64.}}
{{History||v1.0.5_01|Snowballs now stack to 8.
|Added a new snowball [[sound]] effect.
|Harvesting snowballs now requires a [[shovel]].}}
{{History||v1.0.6|Snowballs now stack up to 16.
|Thrown snowballs no longer disappear.}}
{{History||v1.1.1|It is no longer possible to obtain more than four snowballs from a solid [[snow block]] (the [[player]] was previously able to obtain 4-6 snowballs per snow block allowing an infinite number of snowballs to be made).}}
{{History||v1.2.0|snap=preview|[[Fireball]]s use the same texture as the snowball.}}
{{History|java beta}}
{{History||1.2|Snowballs can now be fired by [[dispenser]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[Fireball]]s no longer use the snowball texture.}}
{{History|||snap=RC1|Snowball throwing sound was changed.}}
{{History||1.9|snap=15w32a|Snowballs no longer damage the [[ender dragon]].}}
{{History|||snap=15w36b|Snowballs now produce particles when thrown at an entity.}}
{{History|||snap=15w49a|Snowballs, as well as all projectiles, now take the thrower's motion into account when fired.}}
{{History||1.11|snap=16w32a|The entity ID has been changed from <code>Snowball</code> to <code>snowball</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 332.}}
{{History||1.14|snap=18w43a|[[File:Snowball JE2 BE2.png|32px]] The texture of snowballs has been changed.}}
{{History|||snap=18w49a|Snowballs can now be found in [[chest]]s in [[snowy tundra]] [[village]] houses.}}
{{History|||snap=19w08a|[[File:Snowball JE3 BE3.png|32px]] The texture of snowballs has been changed, once again.}}
{{History||1.16.2|snap=Pre-Release 1|Snowballs are now affected by [[bubble column]]s.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Snowballs now generate in [[ancient city]] chests.}}
{{History|upcoming java}}
{{History||Combat Tests|snap=Combat Test 4|Snowballs now stack to 64, once again.
|Snowballs now have 4-tick cooldown and are not rendered for the first 2 ticks to prevent screen flickering.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Snowball JE1 BE1.png|32px]] Added snowballs. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.0|Snowballs now drop as an item when mining [[snow block]]s and [[snow layer]]s.
|Snowballs can be used to craft [[snow block]]s.}}
{{History||v0.4.0|Snowballs can now be thrown.}}
{{History||v0.11.0|snap=build 14|Snowballs are now available in the [[creative]] inventory.}}
{{History||v0.12.0|Snowballs now deal [[damage]] to [[blaze]]s.}}
{{History||v0.12.1|snap=build 1|Added [[snow golem]]s, which [[drops|drop]] snowballs.}}
{{History|bedrock}}
{{History||1.2.0|Snowballs now deal knockback to [[player]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Snowball JE2 BE2.png|32px]] The texture of snowballs has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Snowballs can now be found in some [[snowy tundra]] [[village]] house [[chest]]s.}}
{{History|||snap=beta 1.11.0.5|[[File:Snowball JE3 BE3.png|32px]] The texture of snowballs has been changed, once again.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|switch=1.0.1|wiiu=Patch 1|[[File:Snowball JE1 BE1.png|32px]] Added snowballs.}}
{{History||xbox=none|xbone=none|ps=1.90|switch=none|wiiu=none|[[File:Snowball JE3 BE3.png|32px]] The texture of snowballs has been changed.}}

{{History|3DS}}
{{History||0.1.0|[[File:Snowball JE1 BE1.png|32px]] Added snowballs.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* A thrown snowball faces the player in the first-person view, while it appears horizontally rotated in third-person view. This is the case for all throwable items ([[ender pearl]]s, [[egg]]s, snowballs, and all throwable [[potion]]s).

== References ==
{{reflist}}

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

{{Items}}
{{entities}}

[[Category:Combat]]

[[cs:Sněhová koule]]
[[de:Schneeball]]
[[es:Bola de nieve]]
[[fr:Boule de neige]]
[[hu:Hógolyó]]
[[ja:雪玉]]
[[ko:눈덩이]]
[[nl:Sneeuwbal]]
[[pl:Śnieżka]]
[[pt:Bola de neve]]
[[ru:Снежок]]
[[th:บอลหิมะ]]
[[uk:Сніжок]]
[[zh:雪球]]</li></ul>
Release Candidate 1Piglins no longer have pathfinding problems.[21]
1.17
{{Extension DPL}}<ul><li>[[Glowstone Dust|Glowstone Dust]]<br/>{{Item
| image = Glowstone Dust.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
'''Glowstone dust''' is an [[item]] obtained from mining [[glowstone]], and is mainly used to create [[potion]]s with increased strength and decreased duration.

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

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

=== Trading ===

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

{{Items}}

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

[[de:Glowstonestaub]]
[[es:Polvo de piedra luminosa]]
[[fr:Poudre lumineuse]]
[[hu:Izzókő-por]]
[[ja:グロウストーンダスト]]
[[ko:발광석 가루]]
[[nl:Gloeisteenstof]]
[[pl:Jasnopył]]
[[pt:Pó de pedra luminosa]]
[[ru:Светокаменная пыль]]
[[tr:Işık Taşı Tozu]]
[[uk:Пил світлокаменю]]
[[zh:荧石粉]]</li><li>[[Wheat Seeds|Wheat Seeds]]<br/>{{Block
| group = Age 0
| 1-1 = Wheat Age 0.png
| 1-2 = Wheat Age 0 BE.png
| group2 = Age 7
| 2-1 = Wheat Age 7.png
| 2-2 = Wheat Age 7 BE.png
| image = Wheat Seeds.png
| extratext = [[#Renders|View all renders]]
| invimage = Wheat Seeds
| transparent = Yes
| light = No
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Wheat seeds''' ({{in|java}}) or '''seeds''' ({{in|bedrock}}) are [[item]]s obtained by breaking [[grass]], or more abundantly harvested from wheat crops, and are used to plant them.

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

== Obtaining ==

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

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

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

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

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

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

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

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

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

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

== Usage ==

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

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

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

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

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

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

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

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

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

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

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

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

{{/BS}}

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

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

== References ==
{{reflist}}

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

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

[[de:Weizensamen]]
[[es:Semillas de trigo]]
[[fr:Graines de blé]]
[[hu:Búzamagok]]
[[it:Semi di grano]]
[[ja:小麦の種]]
[[ko:밀 씨앗]]
[[nl:Zaden]]
[[pl:Nasiona zboża]]
[[pt:Sementes de trigo]]
[[ru:Семена пшеницы]]
[[zh:小麦种子]]</li></ul></nowiki>
20w45aBaby piglins can no longer pick up leather.[22]
21w08aPiglins now become angry with players who destroy deepslate gold ore.
21w14aAdded raw gold, which piglins attempt to pick up.
21w18aPiglins now become angry with players who destroy blocks of raw gold.
Piglins can also now pick up blocks of raw gold.
1.19
{{Extension DPL}}<ul><li>[[Cooked Rabbit|Cooked Rabbit]]<br/>{{Item
| title = Cooked Rabbit
| image = Cooked Rabbit.png
| heals = {{hunger|5}}
| renewable = Yes
| stackable = Yes (64)
}}

'''Cooked rabbit''' is a [[food]] item that can be eaten by the [[player]].

== Obtaining ==

=== Mob loot ===

{{IN|Bedrock}}, adult [[rabbit]]s drop 0–1 cooked rabbit if killed while on fire. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 0–4 with Looting III.

{{IN|Java}}, adult [[rabbit]]s drop 1 cooked rabbit if killed while on fire. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–4 with Looting III.

=== Cooking ===

Cooked rabbit can be obtained by cooking [[raw rabbit]] in a [[furnace]], [[smoker]], or [[campfire]].
{{Smelting
  |showname=1
  |Raw Rabbit
  |Cooked Rabbit
  |0,35
}}

=== Villagers ===
{{IN|java}}, butcher villagers may give players with the [[Hero of the Village]] effect cooked rabbit.

{{IN|bedrock}}, apprentice-level butcher villagers have 25% chance to sell 5 cooked rabbit for an emerald.

== Usage ==

=== Food ===

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

=== Crafting ingredient ===
Cooked rabbit can be used to craft rabbit stew.

{{crafting usage}}

=== Wolves ===

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

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Cooked Rabbit
|spritetype=item
|nameid=cooked_rabbit
|id=289
|form=item
|foot=1}}

== Achievements ==

{{load achievements|Rabbit Season}}

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

== History ==

{{History|java}}
{{History||1.8|snap=June 30, 2014|slink=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweeted images of cooked rabbits and some other new [[item]]s.}}
{{History|||snap=14w27a|[[File:Cooked Rabbit JE1.png|32px]] Added cooked rabbit. It is used to craft [[rabbit stew]].}}
{{History|||snap=14w33b|[[File:Cooked Rabbit JE2 BE1.png|32px]] The texture of cooked rabbit has been changed. The new texture was created by [[wikipedia:Reddit|Reddit]] user [http://www.reddit.com/u/zeldahuman zeldahuman].<ref>{{reddit|2bjzes/a_reminder_of_the_blocks_and_items_added_in_18_so|cj69zie|context=3}}</ref><ref>{{reddit|2c5f35/minecraft_snapshot_14w31a_has_been_released|cjct7gb}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 412.}}
{{History||1.14|snap=18w43a|[[File:Cooked Rabbit JE3 BE2.png|32px]] The texture of cooked rabbit has been changed.}}
{{History|||snap=19w13a|Butcher [[villager]]s now give cooked rabbit to players under the [[Hero of the Village]] effect.}}
{{History||1.19.3|snap=22w42a|Rabbits now always drop at least 1 coooked rabbit when killed while on fire.}}

{{History|pocket alpha}}
{{History||v0.13.0|snap=build 1|[[File:Cooked Rabbit JE2 BE1.png|32px]] Added cooked rabbit.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Cooked Rabbit JE3 BE2.png|32px]] The texture of cooked rabbit has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Cooked rabbit can now be [[trading|bought]] from butcher [[villager]]s.}}
{{History||1.12.0|snap=beta 1.12.0.3|The [[trading]] price of cooked rabbit has been lowered to one [[emerald]].}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Cooked Rabbit JE2 BE1.png|32px]] Added cooked rabbit.}}
{{History|PS4}}
{{History||1.90|[[File:Cooked Rabbit JE3 BE2.png|32px]] The texture of cooked rabbit has been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Cooked Rabbit JE2 BE1.png|32px]] Added cooked rabbit.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Gallery ==
<gallery>
File:Rabbit Items 2 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
</gallery>

== References ==
{{reflist}}

{{items}}

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

[[de:Gebratenes Kaninchen]]
[[es:Conejo asado]]
[[it:Coniglio cotto]]
[[fr:Lapin cuit]]
[[ja:焼き兎肉]]
[[ko:익힌 토끼고기]]
[[nl:Gebraden konijnenvlees]]
[[pl:Pieczony królik]]
[[pt:Coelho assado]]
[[ru:Жареная крольчатина]]
[[zh:熟兔肉]]</li><li>[[Key|Key]]<br/>{{About|the joke item|the golem|Key Golem|in-game control keys|Controls}}
{{Exclusive|Java}}
{{Joke feature}}
{{Item
| image = <gallery>
Red Key.gif | Red
Yellow Key.gif | Yellow
Blue Key.gif | Blue
</gallery>
| renewable = 
* Blue: No
* Red, Yellow: Yes
| stackable = No
}}

'''Keys''' were a joke item from [[Java Edition 3D Shareware v1.34]].
There are three different keys: '''red''', '''yellow''', and '''blue'''.

== Obtaining ==

=== Mobs ===
The red key was dropped by the [[wither]], the yellow key was dropped by [[ravager]]s, and the blue key was dropped by the [[elder guardian]].

=== Cheat codes ===
These keys were also obtainable by using the cheat code "IDKFA" when typing in chat.

=== Natural generation ===
{{LootChestItem|red-key,yellow-key,blue-key}}

== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=Red Key
|spritetype=item
|nameid=red_key
|form=item}}
{{ID table
|displayname=Yellow Key
|spritetype=item
|nameid=yellow_key
|form=item}}
{{ID table
|displayname=Blue Key
|spritetype=item
|nameid=blue_key
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||3D Shareware v1.34|[[File:Red Key.gif|32px]] [[File:Yellow Key.gif|32px]] [[File:Blue Key.gif|32px]] Added red, yellow, and blue keys.}}
{{History|foot}}

== Trivia ==
*[[File:Green Key.png|32px]] A key with a similar appearance is present in ''The Europa Arcology Incident'', a game made by [[Notch]] in 2009.

{{Items}}
{{Jokes}}

[[Category:Joke items]]

[[pt:Chave]]</li></ul>
22w12aPiglins now become angry with players who open or destroy a boat with chest.
1.20
(Experimental)
22w46aPiglins now drops piglin heads when killed by a charged creeper.
Piglin's detection range is now reduced when the player wears a piglin head.
1.19.4
{{Extension DPL}}<ul><li>[[:Category:Minecraft Legends resources|Category:Minecraft Legends resources]]<br/>[[Category:Minecraft Legends]]
[[Category:Items]]
[[pt:Categoria:Recursos do Minecraft Legends]]</li><li>[[Minecart|Minecart]]<br/>{{about|the rideable minecart in Minecraft|other uses|Minecart (disambiguation)|}}
{{distinguish|Minecraft}}
{{ItemEntity
|image=Minecart.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]''': 10
|drops={{ItemLink|Minecart}} (1)
|health={{hp|6}}
}}
A '''minecart''' is a train-like vehicle [[entity]] that runs on [[Rail (disambiguation)|rail]]s.

== Obtaining ==

Minecarts can be retrieved by {{control|attack|text=attacking}} them for some time. Minecarts can also be retrieved with one attack from a [[pickaxe]] provided the player's attack cooldown is reset. A minecart is also destroyed if it makes contact with a [[cactus]], or if shot with a [[bow]] and arrow.

=== Crafting ===

{{Crafting
|A2= Iron Ingot
|C2= Iron Ingot
|A3= Iron Ingot
|B3= Iron Ingot
|C3= Iron Ingot
|Output= Minecart
|type= Transportation
}}

=== Entity loot ===
[[Minecart with command block]]s can be given to the player with the {{cmd|/give}} command or through the creative inventory under certain conditions{{only|java}}; [[minecart with spawner]]s{{only|java}} are available only via the {{cmd|/summon}} command. Each drop 1 minecart when broken.

== Usage ==
[[File:RideableMinecart.png|thumb|right|A rideable minecart on rails surrounded by wood slabs]]

A minecart can be placed in the same manner as most blocks but can be placed only on top of a [[rail]]. Once placed, it may be derailed by pushing it off the end of the track. After this, it can be railed again by placing a rail directly below it or pushing it onto a track.

=== Crafting ingredient ===

{{crafting usage}}

=== Transportation ===
[[File:Steve Riding a Minecart.png|thumb|right|upright|[[Steve]] riding a minecart]]
{{see also|Transportation|Riding}}

Minecarts can be ridden by {{control|use|text=pressing the "use" control}} on them. Once inside, an external impulse may be needed to make the minecart start moving. The player can slowly move the minecart forward while riding it, by pressing {{control|forward}}. If a mob walks in front of an empty minecart, it is pulled into the cart.

After rolling off of the end of a track, a minecart can be pushed around on open blocks. If a minecart is pushed onto or falls onto tracks, it "snaps" to those tracks. When riding a minecart, if the minecart lands on a rail, the player does not take any fall damage. <!--Minecarts and arrows don't interact anymore.-->

Unlike with [[bed]]s, there is no message above the hotbar for attempting to enter a fully occupied minecart.<ref>{{Cite bug|MC|161251|Attempting to enter an occupied bed displays a message over the hotbar, but attempting to enter an occupied vehicle does not|date=September 18, 19|resolution=Works as Intended}}</ref>

=== Dismounting ===
Players can exit the minecart by pressing {{control|sneak}}. When a player or mob dismounts a minecart, either by choice, by breaking the minecart, or by passing over an [[activator rail]], the minecart tries to find a safe ejection destination one block away. First it checks the eight horizontally adjacent blocks in the following order of priority relative to direction of travel: right, left, rear right, rear left, front right, front left, rear, front. A valid destination has a block underneath with a solid (not necessarily full) top surface and a space with enough headroom and width for the passenger to fit in when standing at the center. The space can even contain liquid or have open trapdoors if the mob is slim enough, and presence of other mobs doesn't matter. If no valid destination exists on same horizontal level, the minecart then checks the blocks one above, then one below. For a player, the minecart also checks for crawlable destinations. If still none, the minecart chooses its own location. Once the minecart picks a destination, it actually ejects the passenger one block up in the air and the passenger settles down on its own. Under a low ceiling this may cause one tick of suffocation damage. The air drop exists to allow passengers to land on carpet or bottom slabs.

== Behavior ==

=== Speed ===

Minecarts have a predefined speed limit of exactly 8 blocks per second. However, this speed limit does not change the minecart's speed value but instead limits how far a minecart can travel each tick to 0.4 blocks. Therefore, a minecart moving from powered rail to normal rail will move at constant speed for some time until decelerating because its internal speed value is over its speed limit of 8.

[[Powered rail]]s powered by redstone give minecarts a boost of speed. Speed is gradually decreased (due to drag) if there are no powered rails to assist its movement, and an unpowered powered rail slows down a minecart rapidly. The speed decreases at a faster rate when going uphill, compared to when moving horizontally. A minecart does not need powered rails to assist its movement down a hill.
<!-- Is this comparison to real-life physics necessary? - One unit of kinetic energy could be defined as the energy gained by a cart going down a one-block slope and lost by a cart when it goes up a one-block slope. If a 45-degree downward slope is connected directly into an upward slope, an initial height of 60 blocks results in a final height of 40 blocks, a loss of 20 units of potential energy. But if 20 sections of flat track are inserted between the slopes, the final height is 35. This implies that one unit of energy is lost for every 4 sections of horizontal track traveled with an initial stored energy of between 60 and 40. At much lower speeds, much less energy is lost, implying that the energy lost is a percentage of the cart's current energy. The above gives about 0.5% energy loss per section of track. One implication of this is that more energy lost when the cart has more energy, so a gradual slope should allow you to travel much farther distances than a steep slope followed by a long flat section. (This is different from real-life physics, where friction does not increase with velocity. However, it may be an attempt to mirror air resistance, which ''does'' increase with velocity.) -->

Anything in the way of the minecart brings it to a stop. Once a minecart has left the track, it rapidly decelerates within one or two blocks. When mobs touch a minecart, they affect it in the same way a player would, i.e. mobs that move up against a still cart set it in motion.

If a minecart is moving fast enough, it can skip across one block without a track and reattach to track on the other side, at significantly reduced energy and speed. A minecart's hitbox can skip turns if the minecart is boosted using enough powered rails.<ref>{{Cite bug|MC|179971|Minecart skips turns if too fast|date=April 22, 2020}}</ref>

The speed and momentum of a minecart can differ depending on whether or not it is empty, and in the case where a minecart has a container, the speed can differ depending on the quantity and type of items inside.

=== Merged minecarts ===

{{IN|java}}, two or more minecarts can be merged by pushing them into each other so that they overlap. Merged minecarts move as a collective, like a train, and can be useful for long-distance transport because while moving in a straight line, they ''do not need powered rails to keep their speed''.

To summarize:
* Minecarts can also be merged by ''dropping'' a minecart on another minecart.
* Merged minecarts do not lose speed while traveling on straight rails
* ''Corners'' in the rails might cause merged minecarts to unmerge.
* Minecarts with ''chest'' (even fully filled) can also be merged and also do ''not'' require powered rails.

=== Distance traveled by empty carts starting on a downward slope ===

This table shows the distance traveled by an unoccupied minecart on a downward slope, with a boost (or no boost). The most efficient way is to use only 1 boost at the bottom of the incline on the flat surface. Using 2 increases distance by about 20% or 1.5 blocks. All distance trends based on the height seem to be logarithmic.
The carts started from rest, on a slope Height blocks up.

{| class="wikitable" data-description="Distance traveled"
|-
! Height !! No Boost !! Bottom !! Bottom and Top !! All boosts on incline and bottom
|-
| 1 || 2.77m || 8.77 || 10.8 || 10.8
|-
| 2 || 4.59m || 9.59 || 10.83 || 13.37
|-
| 3 || 5.81m || 9.81 || 11.66 || 15.12
|-
| 4 || 7.04m || 10.04 || 12.46 || 16.95
|-
| 5 || 7.87m || 10.87 || 12.29<!--(Yes, it did actually travel less)--> || 17.95
|-
| 10 || 11.65m || 13.38 || 15.12 || 21.68
|-
| 100 || 15.87m || 17.05 || 17.54 || 25.34
|}

=== Collision ===

Minecarts are about the same size as a block (1×1). Because of this, a ladder, door, or trapdoor prevents it from falling down a 1×1 hole. Carts on [[rail]]s also ignore collision in certain situations. A cart traveling uphill, downhill, or on a curve with a block placed in front of it, goes through the block.<ref>{{Cite bug|MC|8004|Minecarts glitch through the stop block of a track that ends with a turn or a downward slope|date=January 20, 2013}}</ref>

A minecart that reaches the end of a rail up against an opaque solid block bounces back, but if the block is transparent then it stops. The minecart can even bounce against an opaque block from a standstill if the rail underneath is powered. A player or mob riding in a minecart does not collide with or suffocate in any transparent blocks but suffocates inside opaque blocks.

Minecarts are completely unaffected by [[ice]], [[packed ice]], and [[blue ice]]<ref>{{Cite bug|MC|8265|Minecarts don't slide on any sort of ice|date=January 25, 2013}}</ref>; they can also be destroyed by coming in contact with [[lava]] or [[fire]].

=== Mobs ===
{{missing information|section|some other mobs that cannot be picked up by minecarts}}
[[File:Minecart shake.gif|thumb|right|Minecart shaking due to being on top of an activator rail.]]
Mobs can ride minecarts, but cannot control them. Mobs cannot exit the minecart unless the minecart is destroyed or moves onto an active [[activator rail]].<ref>{{bug|MC-3866||Endermen, Tamed Wolves and Ocelots cannot teleport when in a Minecart|WAI}}</ref> However, {{in|bedrock}}, [[endermen]] are able to teleport out of minecarts.<ref>{{bug|MCPE-31761||Endermen can still teleport out of the boats and minecarts}}</ref>

A mob can ride a minecart when pushing by a moving minecart on rails {{in|java}} or when colliding with a minecart {{in|bedrock}}. It is easier to pick up a mob when a minecart is turning. {{IN|bedrock}}, [[armor stand]]s can also be picked up.

Most mobs can be picked up by minecarts, except [[ender dragon]]s, [[warden]]s, and [[wither]]s. {{IN|java}}, [[iron golem]]s cannot be picked up either.

A [[jockey]] riding a minecart automatically accelerates the minecart.<ref>{{bug|MC-71998||Minecarts that have passengers within them riding mobs can move automatically when not on rails}}</ref> Mobs in minecarts don't despawn, and don't count towards the mob cap.{{only|java}}<ref>{{bug|MC-182897||Some passenger mobs don't count to the mob cap|WAI}}</ref>

=== Boats ===
{{exclusive|java|section=yes}}
{{UsesBug|section=yes}}
Due to the bug {{bug|MC-113871}}, [[boat]]s can be captured by minecarts. When a boat is placed in a minecart, the minecart travels faster on rails, approximately as fast as on powered rails. The movement in the boat minecart is glitchy and moving forward with the W key moves the cart backward relative to the player, and vice versa for moving backward with the S key. The minecart also moves on the rail-less ground at a crawling speed, but it does not float in the water despite being in a boat. 

Using this glitch can be far more resource-efficient since the boat minecart can move at the speed of a powered rail track on flat ground and on slopes. Another physics glitch with the boat minecart is the extreme reduction in friction when the minecart is on rails, which is similar to the lack of friction when a boat is riding on ice. This glitch can be done in Survival without cheats simply by pushing a minecart into a boat on the track. This bug is now patched.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts use the Friendly Creatures sound category for entity-dependent sound events.<ref group="sound" name="oddcats" />
{{Sound table
|sound=Minecart inside.ogg
|subtitle=MC-177078
|source=Friendly Creatures <ref group="sound" name="oddcats">{{Cite bug|MC|42132|The sounds of minecarts aren't controlled by the correct sound slider|date=December 13, 2013}}</ref>
|overridesource=1
|description=While the player is inside of a moving minecart 
|id=entity.minecart.inside
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume>Based on horizontal speed; it is clamped between 0.0 and 0.75 and will not play if speed is less than 0.01</ref>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart inside underwater1.ogg
|sound2=Minecart inside underwater2.ogg
|sound3=Minecart inside underwater3.ogg
|subtitle=MC-204124
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While inside of a moving minecart when the player's eye level is underwater 
|id=entity.minecart.inside.underwater
|translationkey=-
|volume=0.0-0.75 <ref group=sound name=insidevolume/>
|pitch=1.0
|distance=16 (technical) / rider only (effective)}}
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls <ref group="sound">Shows far less often than it should - see {{bug|MC-181831}}</ref>
|source=Friendly Creatures <ref group="sound" name="oddcats"/>
|overridesource=1
|description=While a minecart 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 inside.ogg
|source=neutral
|description=While the player is inside of a moving minecart
|id=minecart.inside}}
{{Sound table
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart is moving
|id=minecart.base
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=item
|nameid=minecart
|id=370
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart
|spritetype=entity
|nameid=minecart
|id=84
|foot=1}}

=== Entity data ===
Minecarts 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|On A Rail}}

== History ==
{{History|java infdev}}
{{History||20100618|[[File:Minecart JE1.png|32px]] [[File:Minecart (item) JE1.png|32px]] Added minecarts. 
|Minecarts are not rideable but instead are used to store things in.
|Right-clicking minecarts opens them like a [[chest]] (with the container called "Minecart". Filling them up makes the [[dirt]] layer inside them rise.}}
{{History||20100624|[[File:Minecart JE2.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] The entity model and item texture of minecarts have been changed.
|The minecart mechanics have been changed to being rideable, removing their ability to store items.
| Minecarts now render a chest inside for unknown reasons.}}
{{History|java alpha}}
{{History||v1.0.4|[[File:Minecart JE3 BE1.png|32px]] Removed the phantom chest from minecarts.
|A [[sitting]] animation for riding minecarts has been added.}}
{{History||v1.0.14|Minecarts are now used to craft [[minecart with furnace]] and [[minecart with chest]].}}
{{History||v1.2.2|Minecarts now appear to other players and can be ridden in multiplayer.
|Minecarts are no longer fully solid - they no longer block movement, and can no longer be stood on top of.}}
{{History|java beta}}
{{History||1.5|Minecarts now break faster with hands.
|[[Powered rail]]s have been introduced, which enables minecarts to move automatically, although previous methods of boosting no longer works, or does not work as effectively.
|The [[detector rail]]s have been introduced for use in detecting minecarts. Prior to this update, carts were detected by using [[pressure plate]]s in line with cart tracks. This had the often undesirable effect of dramatically slowing or even stopping the minecart, which limited the use of this design mostly to boosters.}}
{{History||1.6|snap=Test Build 3|A minecart now transfers any [[Damage#Fall damage|fall damage]] it suffers onto its rider and is not destroyed upon impact.}}
{{History||1.8|snap=Pre-release|If the [[player]] punches a minecart when descending from a jump, it shows the [[Damage#Critical hit|critical hit]] animation. This also happens if the player punches the cart while still in it.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[Daniel Rosenfeld|C418]] posted a [[sound]] showing the sound that minecarts make.}}
{{History|||snap=Beta 1.9 Prerelease 6|The texture of minecarts has changed slightly.}}
{{History||1.3.1|snap=12w15a|Minecarts can now be shot out from [[dispenser]]s.}}
{{History|||snap=12w21b|The [[player]] no longer spawns on top/inside of the minecart after getting out. Instead, the player gets out a few [[block]]s away. Also, the player can nudge a stationary minecart while inside it to move onto a [[Powered Rail|powered rail]], etc.}}
{{History||1.4.2|snap=12w38b|[[Sound]]s for minecarts have been added.}}
{{History||1.5|snap=13w02a|Minecarts can now be edited with a third-party program to show any [[block]] inside of it (it does not take on the characteristics of this block), as well as make it take on the characteristics of any cart.
|Minecart types no longer all share the same [[entity]] ID – <code>Minecart</code> – and are no longer distinguished by a <code>Type</code> field. They have been given separate entity IDs.
|Minecarts are now used to craft [[TNT minecart]]s.}}
{{History|||snap=13w03a|Minecarts are now used to craft [[hopper minecart]]s.}}
{{History|||snap=13w06a|Added [[minecart with spawner]].}}
{{History||1.6.2|snap=release|A [[player]] in a moving minecart no longer turns with the minecart.}}
{{History||1.7.2|snap=13w39a|Added [[minecart with command block]].}}
{{History||1.8|snap=14w11a|Minecart physics have been changed - they now go faster and further, can derail at corners if going too fast and refuse to go uphill and they can also (if going fast enough) go over 1 [[block]].
|The collision and position handling of minecarts have been improved.}}
{{History|||snap=14w17a|All changes to old minecart physics used before 14w11a have been reverted.}}
{{History||1.9.1|snap=pre2|Extreme typos in minecarts with hoppers and chests, reading "''container.minecart'''' have been fixed.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>MinecartRideable</code> to <code>minecart</code>.
|The player's [[hunger]] bar is now visible when riding in a minecart.}}
{{History||1.13|snap=17w47a|Prior to [[Java Edition 1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 328.}}
{{History||1.14|snap=18w43a|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}
{{History|||snap=19w13a|Minecarts now move much slower when pushed along standard [[rail]]s using the W key, even slower on unpowered golden rails, and cannot be pushed off of unpowered golden rails without the [[player]] looking at a certain angle.}}
{{History||1.16|snap=20w09a|Minecart now checks dismount position height against entity height.}}
{{History|||snap=20w16a<!--cannot confirm due to how assets are handled - assuming this due to MC-91163 fix version-->|Minecarts no longer have subtitles for movement.}}
{{History|||snap=20w18a|Mobs in minecarts no longer [[Spawn#Despawning|despawn]].}}
{{History||1.17|snap=20w45a|Minecarts can now move in [[water]].}}
{{History||1.19|snap=22w13a|Minecarts no longer drop when breaking a [[Minecart with Chest|minecart with chest]], [[Minecart with Hopper|hopper]], [[Minecart with Furnace|furnace]], or [[Minecart with TNT|TNT]].<ref>{{bug|MC-249493|||Fixed}}</ref>}}
{{History||1.20|snap=23w16a|Sniffers can now enter [[minecart]]s.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 2|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History|||snap=build 3|Minecarts now ride smoother.}}
{{History||v0.13.0|snap=build 1|[[Sound]]s for minecarts have been added.}}
{{History|||snap=build 2|Minecarts now stack on top of each other.}}
{{History||v0.14.0|snap=build 1|Minecarts can now be used to craft [[Minecart with Chest|storage]], [[Minecart with TNT|TNT]], and [[Minecart with Hopper|hopper minecart]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The textures of minecarts have been changed.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart (item) JE2 BE1.png|32px]] Added minecarts.}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|Minecarts are now twice the speed than in other editions.}}
{{History||xbox=TU12|Minecarts are now slower.}}
{{History||xbox=TU13|ps=1.0|Minecarts are now faster again.}}
{{History||xbox=TU21|xbone=CU9|ps=1.14|The minecart limit has been increased.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Minecart [[sound]]s have been updated.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart JE4 BE2.png|32px]] [[File:Minecart (item) JE3 BE2.png|32px]] The texture of minecarts has been changed.}}

{{History|new 3DS}}
{{History||0.1.0|[[File:Minecart JE3 BE1.png|32px]] [[File:Minecart_(item)_JE2_BE1.png|32px]] Added minecarts.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Minecarts appear to float above the track, as their model has no wheels.
* If the player views their inventory while riding in a minecart, they appear sitting down in mid-air.
* The player can teleport to another minecart while sitting in a minecart by right-clicking a minecart in their range. This can be used as an elevator to quickly rise up when minecarts are placed on top of each other.
* If the sound is muted in the options while riding a minecart, and then turned back up, the minecart no longer makes noise in the client until the player exits the minecart.
* If a saddled pig is riding a minecart, the player can ride the pig. Doing so causes the minecart to be able to ride freely at the player's walking speed. It is unknown whether this is a glitch.
* It seems that hunger does not deplete while inactive in a minecart (at least in normal difficulty).
* A minecart (alongside rails and powered rails) are used as Steve's Side-Special in the crossover fighting game Super Smash Bros. Ultimate.

== Gallery ==
<gallery>
Minecart fire pig.png|A pig inside a burning minecart
MinecartInfdev1.png|A Minecart opened in Minecraft Infdev
MinecartInfdev2.png|A Minecart filled in Minecraft Infdev
2ed Spawner Minecart Image and 1st Dispenser cart image.jpg|An image of two [[Minecart with Spawner]]s and unimplemented Minecart with Dispensers.
Minecart with chest and head thing.png|The first image [[Jens Bergensten|Jeb]] released.<ref>{{Tweet|jeb|289000646210904064}}</ref>
Pocket Edition v0.8.0 alpha Development minecarts.png|The first image of minecarts in {{edition|PE}}.
Minecart Booster.png|Minecart booster.
MinecartStack.png|Minecarts being stacked on each other.
Villager minecart.png|Villager in a minecart.
Minecartride.jpg|Player in minecart.
Blocks in Invisible Minecarts.png|Minecarts can be edited to show any block inside, and can also be edited to be invisible.
File:Minecart (Trails and Tales Summer Event) Render.png|A wooden minecart, featured in the [[Trails & Tales Event]].
File:Minecoins 5.png|Two minecarts, as depicted on [[Minecraft Marketplace|Minecoin]] gift cards.
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--minecart Taking Inventory: Minecart] – Minecraft.net on September 6, 2019

{{Items}}
{{entities}}

[[Category:Mechanics]]

[[cs:Vozík]]
[[de:Lore]]
[[es:Vagoneta]]
[[fr:Wagonnet]]
[[hu:Csille]]
[[it:Carrello da miniera]]
[[ja:トロッコ]]
[[ko:광산 수레]]
[[nl:Mijnkar]]
[[pl:Wagonik]]
[[pt:Carrinho de mina]]
[[ru:Вагонетка]]
[[th:รถราง]]
[[uk:Вагонетка]]
[[zh:矿车]]</li></ul>
23w06aMinecart with hopper now no longer aggravates piglins when opened.[23]
Bedrock Edition
1.16.0
{{Extension DPL}}<ul><li>[[Bottle of Entity|Bottle of Entity]]<br/>{{joke feature}}
{{exclusive|java}}
{{WIP}}
{{see also|Potion|Splash Potion}}
{{Item
|image=Bottle of Entity.png
|image2=Splash Bottle of Entity.png
|image3=Bottle of Void.png
|stackable= No
}}

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

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

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

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

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

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

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

{{items}}
{{Jokes}}

[[ja:Bottle of Entity]]
[[pt:Frasco de entidade]]
[[Category:Joke items]]</li><li>[[Elytra|Elytra]]<br/>{{Item
| image = Elytra.png
| rarity = Uncommon
| renewable = No
| durability = 432
| stackable = No
}}
'''Elytra''' ({{Audio|ElytraPronunciation.mp3|/ˈɛl ɪ trə/|link2=''ᴇʟ-i-trə''}}<ref>“Elytron.” ''Merriam-Webster.com Dictionary'', Merriam-Webster, https://www.merriam-webster.com/dictionary/elytron. Accessed 22 May. 2022.</ref>)<!--"Elytra" is the plural of "elytron," a single half of a beetle's protective wing covers. Verbs should agree accordingly (e.g. "Elytra allow flight"). https://www.merriam-webster.com/dictionary/elytron--> are rare wings found in [[end ship]]s that are a source of flight in [[Survival]] mode.

== Obtaining ==
=== Natural generation ===
Elytra are found only in [[end city|end cities]] in [[item frame|item frames]] in the treasure room of the [[end ship]]. A [[shulker]] guards the elytra and the ship's two loot chests.

=== Repairing ===

Elytra can be enchanted with [[Mending]] so that they get [[Item repair|repaired]] as the player collects [[experience]] orbs while wearing/holding them.

Elytra can also be repaired in the player crafting grid, by combining two damaged pairs of elytra together. 

{{crafting
|showname=0
|showdescription=1
|ignoreusage=1
|Damaged Elytra
|Damaged Elytra
|Output= Elytra
|description= The durability of the two pairs is added together, plus an extra 5% durability, but removes any enchantments.
|type= Transportation
}}

Similarly, two damaged elytra pairs can be combined on a [[grindstone]].

{{Grinding
|showdescription=1
|ingredients=2x Damaged [[Elytra]]
|Damaged Elytra
|Damaged Elytra
|Elytra
|description=The durability of the two pairs is added together, plus an extra 5% durability, but removes any enchantments.
}}

Elytra can also be repaired at an anvil using [[phantom membrane]]s, which has the advantage that it preserves [[enchantments]] on elytra. Each phantom membrane restores 108 durability points, exactly 25% of the elytra's total durability. 

{| class="wikitable" data-description="Repairing elytra"
! scope="col" style="width:64px;" | Name
! Ingredients
! [[Anvil]] usage
|-
! scope="row" style="text-align: center;" | '''Elytra'''
| [[Elytra]] +<br>[[Phantom Membrane]]
| style="width: 260px; padding: 1px;" | {{Anvil| title = Elytra|Input1=Damaged Elytra|Input2=Phantom Membrane, 2|Output=Elytra}}
|-
|}
Each repair on the anvil, however, also increases the [[Anvil mechanics|prior work]] penalty for the Elytra, making every subsequent repair increasingly expensive and eventually reaching an upper limit where repairs are no longer allowed because they are "too expensive" (even if the player has many xp levels to spare). However, the prior work penalty can be reset to 0 for an enchanted elytra pair when it is disenchanted on a grindstone. Unenchanted elytra cannot be used on the grindstone alone.

== Usage ==
[[File:Steve in elytra.png|75px]] [[File:Alex in elytra.png|75px]]

Elytra are equipped in the [[chestplate]] slot, either by placing the item directly in the slot, by pressing {{ctrl|use item}} while [[hotbar|held in hand]], or by firing a point-blank [[dispenser]] at a target. They are gray in color by default, but they adopt the design of any [[cape]] the player is wearing. They maintain their in-world texture design even when they're [[#Repair|broken]] or [[enchanted]].

=== Flying ===
To fly, the player must press the {{ctrl|jump}} key while falling, and the elytra spread apart like a beetle's elytra. The player can aim their view around to turn or adjust their pitch. Losing altitude increases speed, and gaining altitude decreases speed. [[Firework rocket]]s can be used to increase speed. Additionally, speed is quickly lost from sharp changes in direction.

Directly hitting any surface while gliding too fast causes damage to the player and their armor proportional to flight speed (although this may be calculated from another factor). When a player dies in this way, they receive the [[death messages|death message]] "'''<player> experienced kinetic energy'''". The player does not take [[fall damage]] from colliding at a shallow angle or a low enough speed. The critical, damaging angle is about 50° with the collision surface, and the calculation for damage seems to be as if the player had fallen from their maximum potential glide height to the height of the struck surface. 

A safe and simple cruise with the highest travel distance can be achieved by aiming directly at the horizon while at the glide's altitude limit. The player's speed is slow enough to allow them time to do other things during a long flight, like sort out their inventory.

In [[Creative]] mode or when the "mayfly" [[ability]] has been given, the player can alternatively hold the {{ctrl|jump}} key to fly up,{{only|bedrock}} or double press the jump key to move around freely. 

Flight can be stopped by pressing the [[jump]] key.{{only|bedrock}} 

==== Speed and altitude ====
Elytra have a minimum speed of about 7.2 m/s (obtained by gliding at the altitude cap with a strong upward pitch of 30°). If the diver drops to 0 speed, they quickly get accelerated back up to at least this minimum. The diver can increase speed by choosing to descend faster, but afterward, they do not regain nearly as much altitude. In the real world, drag increases with speed, and drag, in turn, slows the aircraft; Minecraft mimics this. To glide from cliff to cliff, a player's best bet is to aim slightly above the horizon.

Sharp turns are a fast way to lose speed. Quicker turns cause greater losses, while gentle movements have small effects. Making a hairpin turn can actually be used for making high-speed landings safe as well as for precise landings on small targets like rooftops. The player aims to glide just above the target, then as they're right over it they immediately reverse directions, then they make readjustments as necessary.

The lowest rate of altitude loss is about 1.5 m/sec, obtained by gliding at the altitude cap with a slight upward pitch (12° or 15°).

To get the best possible glide ratio (and thus the furthest distance out of their altitude), the diver pilot should aim directly at the horizon. This ratio is about 9.47 to 1.

[[Slow Falling]] potions greatly decrease the player's vertical (fall) speed, which also greatly decreases their ''horizontal'' speed (clearly, it depends on the vertical fall rate, as one might expect from flight modeling). The net result is that the player flies extremely slowly - but their Elytra still takes durability damage at the usual rate (1 durability per second without Unbreaking, etc.). Due to this combination, Elytra plus Slow Falling is largely a novelty that most players won't use. The [[Feather Falling]] enchantment does not affect Elytra speed and does not reduce fall damage from hitting things with elytra.

It is possible to calculate the glide range by dividing the altitude by tan of the glide angle (altitude/tan(glide angle)). For example, if the player glides from an altitude of 64 blocks above ground with a glide angle of 15 degrees, they can glide for 237 blocks (assume that they are on superflat), since floor(64 / tan(15)) is 237.

==== Stalling ====
Trying for too high a pitch reduces the player's lift. At a pitch of 30° above the horizon, the player has the lowest possible airspeed of 7.2 m/sec. Above that, the player might be considered to be in a stall. Increasing the pitch gets closer to a free-fall, and stalled flight at 60° is enough to cause fall damage. Stalling at 90° is a true free-fall.

Recovering from a stall is done by readjusting to any safe pitch as quickly as the player likes. This can be just changing to look at the horizon.

==== Powered flight ====
{{fakeImage|{{invSprite|Firework Rocket}}|Firework rockets are used for speed boosts while gliding.}}

[[Firework rocket]]s can be used for propulsion during flight by placing it in either hand and {{ctrl|using}}. Using a firework rocket while gliding quickly maximizes the player's speed for a time similar to the rocket's flight duration.

If the rocket is equipped with [[firework star]]s, it explodes at the end of its flight, inflicting damage based on the number of stars.

It is possible to gain altitude during powered flight. This makes it possible to glide for extreme distances and had been used extensively by [[far lands]]/[[World Border]] challenges.

=== Durability and Repair ===
{{fakeImage|{{invSprite|Broken Elytra}}|A broken pair of elytra.}}

[[Durability]] decreases by one point each second when gliding. A pair of elytra has 432 durability, allowing 7 minutes and 12 seconds of gliding time without enchantments, providing more than 10,000 blocks of transport distance. It is possible to apply the [[Unbreaking]] enchantment using an [[anvil]] and an [[enchanted book]], which affects the elytra, in the same way it does to [[tool]]s. Unbreaking III increases elytra's flight time to about four seconds per durability point, a total of 28 minutes and 44 seconds.

When the durability reaches 1, elytra stop working until they are repaired, adopting a tattered texture in the inventory. The damage ends at durability 1, so they can never fully break. A pair may be repaired by either using the [[Mending]] enchantment, combining two pairs in a [[grindstone]], or combining it in an anvil with [[phantom membrane]]s. In an anvil, each piece of membrane repairs elytra by 108 durability points, requiring 4 pieces to fully repair them.

Each repair on the anvil will also increase the [[Anvil mechanics|prior work]] penalty for the Elytra, making every subsequent repair increasingly expensive, with an upper limit where repairs are no longer allowed because they are "too expensive". However, the prior work penalty can be reset to 0 for an enchanted elytra pair when it is disenchanted on a grindstone (by adding nothing to it). Unenchanted elytra cannot be used on the grindstone alone.

=== Enchantments ===
Elytra can receive the following [[enchantments]] by combining in an anvil:
{| class="wikitable sortable"
|-
! Enchantment 
! Max Level
![[Enchanting|Method]]
|-
| [[Unbreaking]]
| III
|{{Inventory slot|Anvil}}
|-
| [[Mending]]
| I
|{{Inventory slot|Anvil}}
|-
| [[Curse of Vanishing]] 
| I
|{{Inventory slot|Anvil}}
|-
| [[Curse of Binding]] 
| I
|{{Inventory slot|Anvil}}
|}
{{notelist|columns=1}}

== Sounds ==
{{edition|java}}:
{{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=Elytra rustles
|source=player
|description=When a pair of elytra is equipped
|id=item.armor.equip_elytra
|translationkey=subtitles.item.armor.equip_elytra
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Elytra loop.ogg
|subtitle=MC-177084
|source=player
|description=While flying with a pair of elytra
|id=item.elytra.flying
|translationkey=-
|volume=0.0-1.0 <ref group=sound>Is a quarter of the player's velocity. If flying for less than 1 second, it is 0.0; otherwise, if flying for less than 2 seconds, it is between 0.0 and a quarter of the player's velocity (scaling up with time until 2 seconds)</ref>
|pitch=1.0 <ref group=sound>If the volume is greater than 0.8, 0.8-volume is added to the pitch</ref>
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=dependent
|description=When a pair of elytra's durability is exhausted
|id=entity.item.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=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 a pair of elytra is equipped
|id=armor.equip_leather
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Elytra loop.ogg
|source=player
|description=While flying with a pair of elytra
|id=elytra.loop
|volume=''Depends'' {{checkthecode}}
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a pair of elytra's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Elytra
|spritetype=item
|nameid=elytra
|id=564
|form=item
|foot=1}}

== Achievements ==
{{Load achievements|Super Sonic}}

== Advancements ==
{{load advancements|Sky's the Limit}}

== History ==
{{History|java}}
{{History||1.9|snap=October 5, 2015|slink=https://twitter.com/_tomcc/status/651042141397979136|[[Tommaso Checchi]] tweets that [[Jeb]] is working on a secret feature for Minecraft Java Edition, saying "it's like [[W:c:Mario:Super Mario 64|Mario 64]]."}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651416814791081984|[[Jeb]] tweets a [https://web.archive.org/web/20230820173231/https://gfycat.com/serpentinehighlevelamurminnow-minecraftsuggestions-ethoslab animated GIF] revealing a [[player]] gliding around an [[end city]]. Elytra have a dragon-wing texture.}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651419480187346944|Jeb tweets an [https://web.archive.org/web/20230219045525/https://i.imgur.com/LBgZCyW.png image] of folded wings, which replace the cape the player is wearing.}}
{{History|||snap=October 6, 2015|slink=https://twitter.com/jeb_/status/651423700777074688|Jeb tweets another [https://web.archive.org/web/20230820083025/https://gfycat.com/leadingindolentgangesdolphin animated GIF] of his character with Mojang-themed elytra, gliding along a [[river]] through a [[taiga]] forest.}}
{{History|||snap=15w41a|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.
|Elytra are currently repaired with [[leather]] when using [[anvil]].}}
{{History|||snap=15w42a|Elytra now spread slightly when the [[player]] crouches.
|The player can now take [[damage]] from gliding into walls, and crashing into a wall now has its own [[Health#Death messages|death message]].
|When flying with elytra, players are only 0.6 blocks tall. They, therefore, can now fit through 1-block gaps while gliding.
|The [[player]] can no longer go higher than the starting point of the glide.}}
{{History|||snap=15w43a|The player's point of view now shifts while gliding.}}
{{History|||snap=16w06a|Elytra now recognize the [[player]]'s [[cape]] and adopt a different elytron design for every official cape (see [[#Gallery|Gallery]]). In addition, Jeb is working on a feature to allow players to change the elytron design like regular player skins.}}
{{History|||snap=16w07a|Elytra are now activated by jumping mid-air. The player no longer glides automatically when falling.
|The cape option in the [[options|options menu]] now also disables custom elytra textures.
|Added the [[game rule]] {{cd|disableElytraMovementCheck}}.}}
{{History||1.9.1|snap=pre1|[[Sound]]s while gliding with elytra have been added.}}
{{History||1.11|snap=16w32a|Elytra can now be placed on [[armor stand]]s, just like any other [[chestplate]].}}
{{History|||snap=16w38a|Elytra are now visible on [[zombie]]s, [[skeleton]]s, and armor stands.}}
{{History|||snap=16w41a|Elytra now have their own [[sound]] when equipped.}}
{{History||1.11.1|snap=16w50a|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 443.}}
{{History|||snap=18w14a|Elytra now require [[phantom membrane]] to be repaired, instead of [[leather]].}}
{{History||1.14|snap=18w43a|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of the elytra have been changed.}}
{{History||1.15|snap=19w39a|The deployment animation of elytra causes [[player]] blinks when the deployment events has overlapped.}}
{{History|||snap=19w42a|The deployment and folding animations of elytra have been improved and become smoother.
|Elytra can now start to glide immediately after a jump, not only during falls.}}
{{History||1.18|snap=experimental snapshot 7|Elytra no longer use up durability when gliding regularly. Durability is now only consumed when a [[firework rocket]] is used.
|Speed boosts from firework rockets are slightly weaker.
|Now break when the item reaches 0 durability.}}
{{History|||snap=21w37a|The elytra changes in experimental snapshot 7 have been reverted.}}
{{History||1.19|snap=Pre-release 1|Equipping elytra through the inventory now plays a sound.<ref>{{bug|MC-94060||Equipping armor/elytra through inventory or dispenser doesn't play sounds|Fixed}}</ref>}}
{{History||1.19.4|snap=23w05a|Equipping elytra while held with an item already in the chestplate slot now swaps the two items.}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra. In-game, they are known as ''elytra wings''.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||1.2.3|snap=beta 1.2.3.3|''Elytra Wings'' have been renamed to ''Elytra''.}}
{{History||1.6.0|snap=beta 1.6.0.5|Elytra can now be repaired in an [[anvil]] using [[phantom membrane]], instead of [[leather]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of elytra have been changed.}}

{{History|console}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|switch=1.0.1|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Elytra can now be propelled through the [[air]] by using [[firework rocket]]s.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Elytra are now repaired on the [[anvil]] using [[phantom membrane]] instead of [[leather]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Elytra JE2 BE2.png|32px]] <br>[[File:Elytra (item) JE2 BE2.png|32px]] [[File:Broken Elytra (item) JE2 BE2.png|32px]] The textures of elytra have been changed.}}

{{History|new 3ds}}
{{History||1.7.10|[[File:Elytra JE1 BE1.png|32px]] <br>[[File:Elytra (item) JE1 BE1.png|32px]] [[File:Broken Elytra (item) JE1 BE1.png|32px]] Added elytra.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The singular form of elytra is an {{w|elytron}}.
* In reality, elytra are not used for flight. They are the tough forewings of beetles and earwigs that cover the wings they actually use for flight. However, like ''Minecraft'' elytra, beetles can use them for gliding.
* A flying player has a shorter hitbox than usual: A 0.6 block cube centered on the player's feet.
* It is possible to glide while on a [[ladder]], by pressing {{key|shift}} followed by {{key|space}}, causing the player to fall with a speed determined by the player's visual angle. This means that the player can descend fast on a ladder, but if the speed is too fast when hitting the ground, they can take fatal fall damage. Using a [[firework rocket]] can also speed up the player's descent. 
* {{IN|java}} if the player glides into deep [[water]] with elytra equipped, the animation does not stop, giving it the appearance of a [[swimming]] animation.<ref name="MC-97190">{{bug|MC-97190||While gliding into water or lava, player continues gliding|WAI}}</ref> The animation stops once the player touches the ground. Additionally, [[firework rocket]]s can be used with elytra underwater with a short boost duration.
* Elytra do not deactivate when the player flies into [[lava]].<ref name="MC-97190"/>
* Elytra can be equipped onto some [[mob]]s using [[command]]s. This has no effect unless the mob has the {{cd|FallFlying}} tag set to {{cd|1b}}. Mobs glide forward, unable to control the movement before landing, at which time they regain their AI. 
** Exceptions to this are [[squid]]s as the squid's AI causes it to attempt swimming in midair, making it fall straight down because it conflicts with the elytra mechanics.
**Because [[chicken]]s fall slowly, they can move more distance.
** [[Enderman|Endermen]], tamed [[wolf|wolves]] and tamed [[cat]]s that are not sitting cannot teleport until they hit the ground.
** Because mobs do not regain control until they hit the ground, [[vex]]es fall until they die or despawn as they cannot touch the ground. 
** Mobs capable of flying, such as [[parrot]]s or vexes can steer in air, though they cannot travel up or down. Dolphins also have this ability.
* [[4J Studios]] created an elytron-centered tutorial map for console edition when elytra were first introduced to this platform, this map is themed as "ruins of an ancient civilization of ''[[Minecraft]]'' worshipers" and showcases the new amplified terrain generation. This map can be seen behind the scenes.<ref>{{Mcnet|learning-fly|Learning To Fly}}</ref> On 28 March 2017, 4J Studios added an elytron-themed [[Mini Games]] for console edition called "Glide;" it consists of Time Attack and Score Attack mode.<ref>{{Mcnet|glide-mini-game-consoles-tomorrow|Glide Mini Game on Consoles Tomorrow|March 23, 2017}}</ref><ref>{{Mcnet|mini-game-masters-glide-console|Mini Game Masters Glide onto Console|March 28, 2017}}</ref>
* A player who jumps with both elytra and the [[Slow Falling]] effect travels slightly upward, which is a cheap but time-consuming alternative to [[fireworks]] and [[Riptide]]-enchanted [[trident]]s.
* On May 5, 2019, [[Mojang]] tweeted '[[The End]] never yields enough adequate resources, sadly,' along with a sad emoji.<ref>{{tweet|Minecraft|1125053038757068802|The End never yields enough adequate resources, sadly. 😔}}</ref> The first letter of each word spells 'T E n y e a r s' (Ten Years). Attached was a picture of [[player|Steve and Alex]] wearing both a [[chestplate]] and elytra. The next day, they tweeted, "Have you noticed something ''suspic10us'' here lately?"<ref>{{tweet|Minecraft|1125415169495064576|Have you noticed something suspic10us here lately?}}</ref>
* Mojang has considered the suggestion of combining elytra with a chestplate, but eventually decided against it, stating that elytra taking up armor is an intentional decision of game balancing.<ref>
{{cite
|url=https://feedback.minecraft.net/hc/en-us/articles/360005029872-Previously-Considered-Suggestions
| title = Part of the tradeoff of having an Elytra is it takes up half your armor.
|website=Minecraft Feedback
|date=July 12, 2018}}
</ref>

== Gallery ==
<gallery>
ElytraFlight.gif|The first image of elytra, tweeted by [[Jeb]]. Click to play.
FoldedWings.png|Folded elytra, which resembles the [[cape]] the user is wearing.
Minecon2015Alternative.png|The minecon 2015 cape elytra.
Dinnerbone Elytra.png|[[Dinnerbone]] flying upside down.
ElytraEnd.png|Elytra in an [[end ship]].
PlayerElytraBack.png|A [[player]] wearing elytra.
PlayerElytraFront.png|A player using elytra.
Broken Elytra.png|Elytra with only 1 [[item durability|durability]].
UpcomingElytras.jpg|Elytra designs fitting to the official capes, posted by Jeb on {{w|Reddit}}.
FlyBlock.png|A player gliding while blocking with a [[shield]].
Suspic10us.jpg|An image of players using elytra.
Steve Gliding with Elytra.png|Steve gliding with elytra.
Alex Gliding with Elytra.png|Alex gliding with elytra.
Enchanted Elytra (item).gif|A pair of  enchanted elytra.
</gallery>

=== Console exclusive ===
<gallery>
Glide Score Cavern 2.png|Screenshot of Glide mini-games.
Glide Time Cavern 2.png|Another screenshot of Glide mini-games.
GLIDE Official.jpg|''Glide'' launch poster.
Elytra Tutorial Map.jpg|Official elytra themed tutorial map.
</gallery>(These maps can be found for a price on the Microsoft Store)

=== Designs when wearing capes ===
<blockquote>Designs that are not listed here have default elytron texture or don't have any.</blockquote><gallery>
File:Mojang employees Elytra.png|Old [[Mojang]] cape
File:Mojang employees 2015 Elytra.png|New Mojang cape
File:Mojang Studios employees 2021 Elytra.png|Mojang Studios cape
File:Crowdin Translator Elytra.png|[[Crowdin]] Translator cape
File:DannyBstyle's Elytra.png|dannyBstyle's cape
File:JulianClark's Elyrtra.png|JulianClark's cape
File:Millionth Customer Elytra.png|Millionth Customer cape
File:MINECON 2011 Attendees Elytra.png|[[MINECON 2011]] Attendees cape
File:MINECON 2012 Attendees Elytra.png|[[MINECON 2012]] Attendees cape
File:MINECON 2013 Attendees Elytra.png|[[MINECON 2013]] Attendees cape
File:MINECON 2015 Attendees Elytra.png|[[MINECON 2015]] Attendees cape
File:MINECON 2016 Attendees Elytra.png|[[MINECON 2016]] Attendees cape
File:MINECON LIVE 2019 Founder's Elytra.png|[[MINECON Live 2019]] Founder's cape
File:Mojira Moderator Elytra.png|[[bug tracker|Mojira]] Moderator cape
File:MrMessiah's Elytra.png|MrMessiah's cape
File:Prismarine Elytra.png|[[Prismarine]] cape
File:Realms Mapmaker Elytra.png|[[Realms]] mapmaker's cape
File:Cobalt Elytra.png|[[Cobalt (game)|Cobalt]] cape
File:Scrolls Elytra.png|[[Scrolls]] cape
File:Turtle Elytra.png|[[Turtle]] cape
File:PancapeElyR.png|Pancape cape
File:MSCapeElyR.png|Migrator cape
File:Gr8 Escape's elytra.png|Gr8_Escape's cape
File:Valentine Elytra.png|Valentine cape
File:Vanilla Cape Elytra JE.png|Vanilla cape{{only|java}}
File:Vanilla cape elytra BE.png|Vanilla cape{{only|bedrock}}
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--elytra Taking Inventory: Elytra] – Minecraft.net on December 14, 2019

{{Items}}

[[de:Elytren]]
[[es:Élitros]]
[[fr:Élytres]]
[[ja:エリトラ]]
[[ko:겉날개]]
[[nl:Dekschild]]
[[pl:Elytry]]
[[pt:Élitros]]
[[ru:Элитры]]
[[tr:Elitra]]
[[zh:鞘翅]]
[[Category:Non-renewable resources]]</li></ul>
beta 1.16.0.51Piglin BE Baby Piglin Added piglins and baby piglins.
Piglin with Crossbow BE Piglins can hold crossbows.
Hoglin Rider BE1 Baby piglins can ride on the back of baby hoglins.
Piglin targeting BE1 Piglins raise their arms in a manner similar to zombies when attacking.
Currently, piglins can drop only flint and steel and obsidian while bartering as a placeholder.
Piglins currently drop 0-2 arrows, even if the piglin is not armed with a crossbow.
Piglins currently use the player's hurt sound.
Piglins follow a player who holds a gold ingot.
Piglin celebrate hunt Revision 1 Piglins dance after they finish hoglin hunting.
beta 1.16.0.57Piglins now have their own sounds.
Piglin bartering has been properly added.
Piglins can no longer drop arrows when killed.
The health of piglins has been reduced from 24 to 16.
Piglins now spawn in bastion remnants.
Baby piglins can now ride on top of each other on a baby hoglin, up to three baby piglins can climb on at once.
beta 1.16.0.59Piglins now avoid zoglins, the same way they avoid zombified piglins.
Piglins now spawn in the nether wastes.
Piglins now properly sit in boats and minecarts.
Piglins no longer despawn in Peaceful mode.
beta 1.16.0.63Piglins now avoid soul campfires.
Gold ingots now render properly in the hands of piglins at all times.
1.16.20
{{Extension DPL}}<ul><li>[[Baked Potato|Baked Potato]]<br/>{{Item
| title = Baked Potato
| renewable = Yes
| heals = {{hunger|5}}
| stackable = Yes (64)}}

A '''baked potato''' is a [[food]] [[item]] that can be eaten by the [[player]].

== Obtaining ==

Baked potatoes can be obtained by cooking [[potato]]es in a [[furnace]], [[smoker]], or [[campfire]].
{{Smelting
|Potato
|Baked Potato
|0,35
}}

{{IN|JE}}, baked potatoes can also be obtained by killing a zombie or one of its variants while it is on fire. The drop chance is still affected by [[Looting]].

=== Chest loot ===
{{LootChestItem|baked-potato}}

== Usage ==

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

=== Crafting ingredient ===

{{crafting usage}}

=== Composting ===
Placing a baked potato into a [[composter]] has an 85% chance of raising the compost level by 1. This is more efficient than composting with raw potatoes.

== Sounds ==

{{Sound table/Entity/Food}}

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Baked Potato
|spritetype=item
|nameid=baked_potato
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Baked Potato
|spritetype=item
|nameid=baked_potato
|id=281
|form=item
|foot=1}}

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

== History ==

{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Baked Potato JE1.png|32px]] Added baked potatoes.}}
{{History|||snap=12w37a|[[File:Baked Potato JE2 BE1.png|32px]] The texture of baked potatoes has been slightly changed.}}
{{History||1.8|snap=14w02a|Baked potatoes now restore {{Hunger|5}} hunger points instead of 6.}}
{{History|||snap=14w27a|Baked potatoes are now used to craft [[rabbit stew]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 393.}}
{{History||1.14|snap=18w43a|[[File:Baked Potato JE3.png|32px]] The texture of baked potatoes has been changed.}}
{{History|||snap=18w50a|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed, once again.}}
{{History|||snap=19w03a|Placing a baked potato into the new [[composter]] has an 80% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Baked potatoes now have an 85% chance of increasing the compost level in a composter by 1.}}
{{History||1.17|snap=21w13a|Baked potatoes can now be dropped by flaming [[zombie]]s.<ref>{{bug|MC-199065}}</ref>}}
{{History||1.19|snap=22w13a|Baked potatoes can now be found in [[ancient city]] ice box [[chest]]s.}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|[[Wandering trader]]s now have a chance to [[trading|buy]] baked potatoes from the player.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History||v0.12.1|snap=build 1|Baked potatoes now restore [[hunger]] instead of [[health]].}}
{{History||v0.13.0|snap=build 1|Baked potatoes are now used to craft [[rabbit stew]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Baked potatoes can now be used to fill up [[composter]]s.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History||ps=1.00|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes to the [[PlayStation 4 Edition|PS4]] and [[PlayStation Vita Edition|PSVita]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Baked Potato JE4 BE2.png|32px]] The texture of baked potatoes has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Baked Potato JE2 BE1.png|32px]] Added baked potatoes.}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* {{ItemLink|Poisonous Potato}}

{{Items}}

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

[[cs:Pečená brambora]]
[[de:Ofenkartoffel]]
[[es:Patata cocida]]
[[fr:Pomme de terre cuite]]
[[hu:Sült burgonya]]
[[it:Patata al forno]]
[[ja:ベイクドポテト]]
[[ko:구운 감자]]
[[nl:Gebakken aardappel]]
[[pl:Pieczony ziemniak]]
[[pt:Batata assada]]
[[ru:Печёный картофель]]
[[th:มันฝรั่งอบ]]
[[zh:烤马铃薯]]</li><li>[[Kelp|Kelp]]<br/>{{About|the plant|the dried variant|Dried Kelp}}
{{For}}
{{Block
|image=Kelp.gif
|invimage=Kelp
|transparent=Yes
|tool=Any
|renewable=Yes
|stackable=Yes (64)
|flammable=No
|lavasusceptible=No
|light=No
|hardness=0}}

'''Kelp''' is an underwater plant that generates in most [[ocean]]s.

== Obtaining ==

=== Natural generation ===

Kelp naturally generates in any [[ocean]] [[biome]]s (except in [[Frozen Ocean|frozen]], [[Deep Frozen Ocean|deep frozen]] and [[Warm Ocean|warm]]), near and around [[seagrass]]. Each chunk has {{frac|1|18}} chance to generate a [[vegetation]] of kelp.

=== Breaking ===

Kelp can be mined instantly with any [[tool]] or with the player's fist. Removing water from the kelp block destroys the kelp. Breaking one part of a kelp stalk destroys all kelp [[block]]s above it. Each block drops a kelp [[item (entity)|item]].

=== Trading ===

Kelp can be bought from [[wandering trader]]s for 3 emeralds.

== Usage ==

Kelp can be placed underwater by hand, or anywhere by the use of [[commands]] such as {{cmd|setblock}}. Placing it by hand gives it a random {{code|age}} value between 0 and 24. Kelp can be placed only in [[water]] source blocks or downward-flowing water, not horizontally flowing water.

When placed in downward-flowing water, the flowing water transforms into a water source block,<ref>{{bug|MC-134229}}</ref> which is useful for faster [[bubble column]] elevator creation.

Any building block can be placed on top of a kelp plant, which is useful for building structures over a deep ocean without needing to build from the ocean floor (see also [[lily pad]]).

=== Cooking ingredient ===

{{smelting
| showname = 1
| Kelp
| Dried Kelp
| 0.1
}}

=== Composting ===

Placing kelp into a [[composter]] has a 30% chance of raising the compost level by 1.

=== Growth mechanics ===

Kelp can be planted on a broad variety of blocks. It grows underwater if it has either a source block of water or, {{in|Java}}, flowing water above it.<ref>{{bug|MC-133354}}</ref> Neither [[player]]s nor [[dispenser]]s can remove the water source block that kelp grows in without breaking the kelp first.

Kelp does not require any [[light]] level to grow. Kelp also grows without having [[sky]] access. [[Bone meal]] can be used to grow kelp by 1 block on each use.

Kelp, when planted, is generated with a randomly chosen age value, which can be checked when pressing [[Debug screen|<kbd>F3</kbd>]]{{only|java}}. The age value of a newly planted kelp plant varies randomly from 0 to 24. Each time the kelp grows in height by one block, the newly generated top of the kelp plant increases its age by 1. When the top block of the kelp plant reaches an age of 25, it stops growing. This means that kelp can naturally grow to a height between 2 (if the first kelp plant had an age of 24) and 26 blocks (if the first kelp plant had an age of 0). 

When a kelp plant block is broken, the age of the kelp plant block underneath is randomized to a value from 0 to 24 and the kelp continues growing until it reaches age 25. It is possible to use this mechanic to cultivate a kelp plant to increase its growth height beyond its natural maximum height of 26 blocks. This can be done by breaking the top-most block of the kelp plant each time it reaches age 25. A kelp plant cultivated by a player in this way repeatedly grows until it reaches the water surface.

Each time it receives a [[random tick]], kelp has a 14% chance of growing.

If [[shears]] are used on the topmost block of kelp, that block automatically sets its {{cd|age}} value to {{cd|25}} and stop growing.{{only|JE}}

=== Farming ===
{{Main|Tutorials/Kelp farming}}
Kelp farming is similar to farming [[sugar cane]], although kelp must be placed underwater. Automation of harvest is easier because items float up in water.

== Sounds ==
=== Generic ===
{{Sound table/Block/Wet grass}}
=== Unique ===
{{edition|java}}:
{{Sound table
|sound=Shear.ogg
|subtitle=Plant cropped
|source=block
|description=When the tip of kelp is cropped with [[Shears#Cropping growing plants|shears]]
|id=block.growing_plant.crop
|translationkey=subtitles.block.growing_plant.crop
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}

{{edition|bedrock}}: ''None''

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Kelp
|spritetype=block
|nameid=kelp}}
{{ID table
|displayname=Kelp Plant
|spritetype=block
|nameid=kelp_plant
|form=block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Kelp
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Item
|spritename=kelp
|spritetype=item
|nameid=kelp
|id=382
|form=item}}
{{ID table
|displayname=Block
|spritename=kelp
|spritetype=block
|nameid=kelp
|id=393
|form=block
|itemform=item.kelp
|translationkey=-
|foot=1}}

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

{{/BS}}

== History ==
{{History|java classic}}
{{History||May 21, 2009|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/110762705/my-list-on-tile-types-so-far|[[Notch]] shows interest in adding a "[[seaweed]]" [[block]].}}
{{History|java}}
{{History||November 18, 2017|link={{YouTubeLink|mAapz_nIC_Y}}|Kelp plants were shown in a clip of [[MineCon Earth]].}}
{{History||1.13|snap=18w07a|[[File:Kelp JE1 BE1.gif|32px]] [[File:Kelp (item) JE1 BE2.png|32px]] Added kelp.}}
{{History|||snap=18w07b|Kelp now behaves more like [[water]], meaning [[mob]]s can no longer spawn within the plant under water nor can they replenish their breath by [[swimming]] through it.}}
{{History|||snap=18w10a|[[File:Kelp JE2.gif|32px]] The texture for kelp has been overhauled.}}
{{History|||snap=18w14a|[[File:Kelp.gif|32px]] Top of the kelp textures have been shifted slightly downward.
|The generation rules for kelp have been changed, it now mainly generates in [[cold ocean]] [[biome]]s and can no longer generate in [[warm ocean]]s.}}
{{History|||snap=18w20a|The {{cd|kelp_top}} has been changed ID to {{cd|kelp}} and {{cd|kelp}} has been changed to {{cd|kelp_plant}}, for both the [[block]] and [[item]] forms.}}
{{History|||snap=pre2|Kelp is now destroyed by [[sponge]]s.<ref>{{bug|MC-127111}}</ref>}}
{{History|||snap=pre6|Added 5 new [[sound]] events that apply to kelp: <code>block.wet_grass.break</code>, <code>block.wet_grass.fall</code>, <code>block.wet_grass.hit</code>, <code>block.wet_grass.place</code>, and <code>block.wet_grass.step</code>.}}
{{History||1.14|snap=19w03a|Placing kelp into the new [[composter]] has a 10% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Kelp now has a 30% chance of increasing the compost level in a composter by 1.
|Added [[Wandering Trader|wandering trader]]s, which sell kelp.}}
{{History||1.16|snap=20w11a|Kelp can now be grown with [[bone meal]].}}
{{History|||snap=20w13a|Kelp has been moved from the Miscellaneous tab to the Decoration Blocks tab in the [[Creative inventory]].<ref name="misc decoration">https://bugs.mojang.com/browse/MC-174434</ref>}}
{{History||1.17|snap=20w46a|Kelp no longer generates on magma blocks.<ref>{{Bug|MC-185605|resolution=Fixed}}</ref>}}
{{History||1.18|snap=21w37a|Kelp now stops growing if [[shears]] are used on the tip.}}

{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[File:Kelp JE1 BE1.gif|32px]] [[File:Kelp (item) BE1.png|32px]] Added kelp.}}
{{History|||snap=beta 1.2.20.1|[[File:Kelp (item) JE1 BE2.png|32px]] The kelp [[item]] texture has been updated to the {{el|je}}'s.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Kelp.gif|32px]] The texture of the kelp plant has been updated.}}
{{History||1.10.0|snap=beta 1.10.0.3|Kelp can now be bought from [[wandering trader]]s for 3 [[emerald]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Kelp can now be used to fill [[composter]]s.}}

{{History|console}}
{{History||xbox=TU69|ps=1.76|wiiu=Patch 38|[[File:Kelp.gif|32px]] [[File:Kelp (item) JE1 BE2.png|32px]] Added kelp.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==
* In real life, [[wikipedia:kelp|kelp]] is not considered a [[wikipedia:plant|plant]]. It is classified by scientists as a [[wikipedia:Brown algae|brown algae]].
** Kelp in real life absorbs nutrients directly from the water, instead of through its root-like structure, [[wikipedia:Holdfast (biology)|holdfast]], which merely attaches it to the seabed. This is in accordance with kelp being able to grow on almost any solid block in ''Minecraft''.

== Gallery ==
<gallery heights="60">
SeaPlantsMineConEarth2017.jpg|Kelp shown in a clip from MINECON Earth 2017. 
Kelp in ocean with Jappa textures.jpg|Naturally generated kelp in an [[ocean]] biome.
Kelp on shoreline.png|Naturally generated kelp near the shore.
Ocean life.png|An ocean with kelp visible in the far distance.
Kelp on Land.png|Kelp placed outside of [[water]] using the {{cmd|setblock}} command before 18w07b.
Waterless kelp.png|What kelp looks like without water (water removed using a [[resource pack]]).
Coral reef at night.png|Kelp within a [[coral reef]].
Floating Kelp.png|Kelp that generated in mid-air due to an [[ocean monument]]'s water cutting through it.
Kelp in ocean.jpg|Multiple kelps.
Kelp 255 blocks tall.png|Without obstacles, kelp can grow all the way to building limit.
ArgoMajor Kelp.jpg|First image of kelp in ''Bedrock Edition''.
</gallery>

== References ==
{{reflist}}

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

[[Category:Plants]]
[[Category:Natural blocks]]
[[Category:Non-solid blocks]]

[[de:Seetang]]
[[es:Alga]]
[[fr:Algue]]
[[ja:コンブ]]
[[ko:켈프]]
[[pl:Wodorosty]]
[[pt:Alga]]
[[ru:Ламинария]]
[[th:สาหร่ายทะเล]]
[[zh:海带]]</li></ul>
beta 1.16.20.50Adult piglins drop gold ingots if killed with one hit while contemplating them and no longer spawn with enchanted weapons or armor.
The texture size has changed from 128x128 to 64x64, and the layout of the parts of the ears of piglins has been changed to match Java Edition 20w14a's.
Piglins now have the vindicator attacking animation when melee attacking, similar to Java Edition's from Piglin targeting BE1 to Piglin targeting BE2
Piglins get angry when players attack Piglin brutes.
beta 1.16.20.53Piglins can now spawn with enchanted weapons again.
beta 1.16.20.54The attack animation of unarmed piglins has been changed.
1.16.100
{{Extension DPL}}<ul><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Calculating signal strength from items

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

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

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

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

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

;Calculating items from signal strength

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

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

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

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

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

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

;{{BlockLink|Cake}}

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

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

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

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

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

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

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

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

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

;{{BlockLink|End Portal Frame}}

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

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

;{{EntityLink|Item Frame}}

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

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

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

;{{BlockLink|Jukebox}}

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

;{{BlockLink|Lectern}}

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

;{{BlockLink|Respawn Anchor}}

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

;{{BlockLink|Sculk Sensor}}

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

;{{BlockLink|Chiseled Bookshelf}}

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

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

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

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li><li>[[Splash Potion|Splash Potion]]<br/>{{about|the throwable potions|the drinkable potions|Potion|the throwable potions that leave a lingering area of effect|Lingering Potion}}
{{Item
| image = <gallery>
Splash Water Bottle.png | Water Bottle
Uncraftable Splash Potion.png | Uncraftable
</gallery>
| extratext = View [[#Gallery|all renders]]
| renewable = '''Uncraftable, Luck{{only|je|short=1}}, Decay{{only|be|short=1}}''': No<br>
'''All others''': Yes
| stackable = No
}}

'''Splash potions''' are a variant of [[potion]]s that can be thrown.

== Obtaining ==

=== Brewing ===
{{main|Brewing}}
{{brewing
  |Gunpowder
  |Any Splash Potion
  |base= Any Potion
}}

Splash potions are brewed by adding gunpowder to a normal potion, including uncraftable potions of luck{{only|java|short=1}} and decay{{only|be|short=1}}.

=== Natural generation ===
One splash potion of weakness can be found in a [[brewing stand]] inside an [[igloo]] basement.

=== Filling bottles ===
Using a glass bottle on a [[cauldron]] that contains splash potion turns it into a bottle of that splash potion, this also removes {{frac|1|3}} of the cauldron's content.{{only|bedrock}}

=== Bartering ===
[[Piglin]]s have a 1.74% chance of [[barter]]ing a splash potion of Fire Resistance when given a [[gold ingot]].

{{anchor|Area of effect}} <!-- compatibility anchor -->

== Usage ==

===Brewing===
{{Brewing
|Dragon's Breath
|Any Lingering Potion
|ingredients=[[Dragon's Breath|Dragon's breath]] + <br>any splash potion
}}

[[Lingering potions]] are brewed by adding dragon's breath to a splash potion.

===Using===

Splash potions are thrown by {{control|using}} them. On impact they explode, applying [[status effect]]s to nearby entities. When thrown by the player, they have a range of 8 blocks if thrown at the best angle. The bottle is lost, unlike drinkable [[potion]]s. Entities within an 8.25×8.25×4.25 cuboid centered on the thrown potion at impact and within 4 blocks euclidean distance of the thrown potion<ref group="n">Specifically its lower-north-west corner; the potion entity like most thrown entities is 0.25×0.25×0.25 blocks.</ref> at impact are affected.

{{IN|Bedrock}}, splash potions' effects have only three-fourths of the duration of the drinkable form. {{IN|Java}}, splash and drinkable forms have the same duration.

If the potion directly collides with an entity, the entity gets the full duration and potency of the effect. Otherwise, the farther away the entity is from the center of the impact, the lesser the imbued effect. For instant effects (i.e. Healing or Harming), the potency of the effect reduces linearly from 100% on a direct hit to 0% at 4 blocks' distance. For other effects, the potency is unchanged, but the duration decreases linearly on the same scale (rounded to the nearest {{frac|1|20}} second), with no effect being applied if the duration would be 1 second or less.

=== Splash water bottles ===

Splash water bottles have no effect on almost all entities, but they extinguish fire in the block hit and the four blocks horizontally surrounding it.

A splash water bottle deals {{hp|1}} damage to [[endermen]], [[strider]]s, [[snow golem]]s, and [[blaze]]s; however, endermen have a chance of teleporting away if hit with one.

Splash water bottles can extinguish a burning entity.

==== Mud ====

Splash water bottles can be {{control|used}} on [[dirt]], [[coarse dirt]], or [[rooted dirt]] to turn it into [[mud]].

=== Filling cauldrons ===

{{IN|bedrock}}, using a splash potion on a cauldron adds one level of that potion to the cauldron. Attempting to add a splash potion to a cauldron with water, dyed water or a non-matching potion empties the cauldron and creates an explosion sound (but no actual explosion).

=== Uncraftable splash potion ===

{{IN|java}}, the uncraftable potion is a splash potion with no effect that is unobtainable in regular gameplay. It is also available in potion and lingering potion forms, as well as for tipped arrows.

It can be obtained in two distinct (though functionally identical) variants, using the following commands: {{cmd|give @s minecraft:splash_potion{Potion:"minecraft:empty"} }} or {{cmd|give @s minecraft:splash_potion }}. It is also obtained any time a potion has invalid or missing potion effect tags, and thus serves as a placeholder.

{| class="wikitable" style="text-align: center;" data-description="Unused potions"
! Icon
! Name
|-
| {{Slot|Uncraftable Splash Potion|link=none}}
! Uncraftable Splash Potion
|}

== Custom effects ==

{{IN|java}}, splash potions can be obtained with any status effect using {{cmd|give}} and the tag <code>CustomPotionEffects</code>, which is an array of effects for the potion. See [[Item format#Potion Effects]] for more information, and [[status effect]] for a list of effects and IDs.

== Sounds ==
{{edition|java}}:<br>
Splash potions use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Glass dig1.ogg
|sound2=Glass dig2.ogg
|sound3=Glass dig3.ogg
|subtitle=Bottle smashes
|source=neutral
|description=When a splash potion impacts something
|id=entity.splash_potion.break
|translationkey=subtitles.entity.potion.splash
|volume=1.0
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Bottle thrown
|source=player
|description=When a splash potion is thrown by a player
|id=entity.splash_potion.throw
|translationkey=subtitles.entity.potion.throw
|volume=0.5
|pitch={{frac|1|3}}-0.5
|distance=16}}
{{Sound table
|sound=Witch throw1.ogg
|sound2=Witch throw2.ogg
|sound3=Witch throw3.ogg
|subtitle=Witch throws
|description=When a splash potion is thrown by a [[witch]]
|source=hostile
|id=entity.witch.throw
|translationkey=subtitles.entity.witch.throw
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Bow shoot.ogg
|subtitle=Dispensed item
|source=block
|description=When a splash potion is dispensed from a [[dispenser]]
|id=block.dispenser.launch
|translationkey=subtitles.block.dispenser.dispense
|volume=1.0
|pitch=1.2
|distance=16
|foot=1}}

{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Glass dig1.ogg
|sound2=Glass dig2.ogg
|sound3=Glass dig3.ogg
|source=block
|description=When a splash potion impacts something
|id=random.glass
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bow shoot.ogg
|source=player
|description=When a splash potion is thrown by a player
|id=random.bow
|volume=0.5
|pitch=0.33-0.5}}
{{Sound table
|sound=Witch throw1.ogg
|sound2=Witch throw2.ogg
|sound3=Witch throw3.ogg
|source=hostile
|description=When a splash potion is thrown by a witch
|id=mob.witch.throw
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bow shoot.ogg
|source=player
|description=When a splash potion is dispensed from a dispenser
|id=random.bow
|volume=1.0
|pitch=0.83-1.25
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Splash Potion
|spritetype=item
|nameid=splash_potion
|form=item
|translationkey=item.minecraft.splash_potion,item.minecraft.splash_potion.effect.empty,item.minecraft.splash_potion.effect.water,item.minecraft.splash_potion.effect.mundane,item.minecraft.splash_potion.effect.thick,item.minecraft.splash_potion.effect.awkward,item.minecraft.splash_potion.effect.night_vision,item.minecraft.splash_potion.effect.invisibility,item.minecraft.splash_potion.effect.leaping,item.minecraft.splash_potion.effect.fire_resistance,item.minecraft.splash_potion.effect.swiftness,item.minecraft.splash_potion.effect.slowness,item.minecraft.splash_potion.effect.water_breathing,item.minecraft.splash_potion.effect.healing,item.minecraft.splash_potion.effect.harming,item.minecraft.splash_potion.effect.poison,item.minecraft.splash_potion.effect.regeneration,item.minecraft.splash_potion.effect.strength,item.minecraft.splash_potion.effect.weakness,item.minecraft.splash_potion.effect.levitation,item.minecraft.splash_potion.effect.luck,item.minecraft.splash_potion.effect.turtle_master,item.minecraft.splash_potion.effect.slow_falling
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Splash Potion
|spritetype=item
|nameid=splash_potion
|id=561
|form=item
|translationkey=potion.emptyPotion.splash.name,potion.mundane.splash.name,potion.mundane.extended.splash.name,potion.thick.splash.name,potion.awkward.splash.name,potion.nightVision.splash.name,potion.invisibility.splash.name,potion.jump.splash.name,potion.fireResistance.splash.name,potion.moveSpeed.splash.name,potion.moveSlowdown.splash.name,potion.heal.splash.name,potion.harm.splash.name,potion.poison.splash.name,potion.regeneration.splash.name,potion.damageBoost.splash.name,potion.weakness.splash.name,potion.wither.splash.name,potion.turtleMaster.splash.name,potion.slowFalling.splash.name
|foot=1}}

=== Item data ===

<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Potion}}
</div>

=== Entity ===

{{Entity
| title = Thrown splash potion
| networkid = '''JE:''' 73
}}

==== ID ====
{{edition|java}}:
{{ID table
|generatetranslationkeys=java
|displayname=Splash Potion
|spritetype=entity
|nameid=potion
|foot=1}}

{{edition|bedrock}}:
{{ID table
|shownumericids=y
|generatetranslationkeys=bedrock
|displayname=Splash Potion
|spritetype=entity
|nameid=splash_potion
|id=86
|foot=1}}

==== Entity data ====
{{see also|Chunk format|Potions#Data values|title2=Potion data values}}
Splash potions when thrown have entity data that define various properties of the entity.

{{/ED}}

== Achievements ==
{{load achievements|Stayin' Frosty;Zombie Doctor;Taste of your own Medicine;Free Diver}}

== Advancements ==
{{load advancements|Zombie Doctor;A Furious Cocktail;How Did We Get Here}}

== Video ==

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

== History ==
{{Info needed section|Splash Potion of Weakness; }}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|[[File:Splash Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Splash Potion of Swiftness JE1 BE1.png|32px]] [[File:Splash Potion of Slowness JE1 BE1.png|32px]] [[File:Splash Potion of Healing JE1 BE1.png|32px]] [[File:Splash Potion of Harming JE1 BE1.png|32px]] [[File:Splash Potion of Poison JE1 BE1.png|32px]] [[File:Splash Potion of Regeneration JE1 BE1.png|32px]] [[File:Splash Potion of Strength JE1 BE1.png|32px]] [[File:Splash Potion of Weakness JE1 BE1.png|32px]] Added splash potions.}}
{{History||link=http://www.reddit.com/r/Minecraft/comments/lbrqq/water_balloons/c2rey4s?context=3|Oct 14, 2011|[[Jeb]] had commented that while splash water bottles should logically harm [[endermen]] and [[blaze]]s, its coding would be more difficult to implement than is worthwhile.}}
{{History||1.3.1|snap=12w17a|Splash potions are no longer depleted from the [[player]]'s [[inventory]] when used in [[creative]].}}
{{History|||snap=12w22a|Splash potions have been added to the new creative item selection from [[Java Edition 12w21b|12w21b]]. This includes extended-enhanced potions with both extended duration and enhanced effect for four potion effects.}}
{{History||1.4.2|snap=12w32a|[[File:Splash Potion of Night Vision JE1 BE1.png|32px]] Added splash potions of [[Night Vision]].
|Splash potions of Night Vision are currently not yet [[brewing|brewable]].}}
{{History|||snap=12w34a|[[File:Splash Potion of Invisibility JE1 BE1.png|32px]] Added splash potions of [[Invisibility]].
|Splash potions of Night Vision are now brewable.}}
{{History|||snap=12w38a|[[Witch]]es now use splash potions for attacking.}}
{{History|||snap=12w39b|Custom [[potion]]s can now be created with a world editor.<ref>http://www.youtube.com/watch?v=2D8OcQ1zyzY</ref>}}
{{History||1.5|snap=?|Extended-enhanced potions are no longer available in the Creative inventory for all four potion effects. {{info needed}}{{verify}}<!--only checked v1.4.7 and v1.5.2, but did not check any version in between, please check all-->}}
{{History||1.7.2|snap=13w36a|[[File:Splash Potion of Water Breathing JE1 BE1.png|32px]] Added splash potions of [[Water Breathing]].}}
{{History||1.8|snap=14w27a|[[File:Splash Potion of Leaping JE1 BE1.png|32px]] Added splash potions of [[Leaping]].}}
{{History||1.8.1|snap=pre1|Splash potions of Leaping can now be extended.}}
{{History||1.9|snap=15w31a|[[File:Splash Water Bottle JE1 BE1.png|32px]] [[File:Splash Water Bottle JE1 BE1.png|32px]] [[File:Splash Water Bottle JE1 BE1.png|32px]] [[File:Splash Water Bottle JE1 BE1.png|32px]] Added splash water bottles, mundane, thick, and awkward splash potions.
|Splash potions no longer only have 75% of the durations from their corresponding normal potions.}}
{{History|||snap=15w33a|Splash potions are now used to brew [[lingering potion]]s.}}
{{History|||snap=15w33c|Splash potions can now be placed in [[brewing stand]]s.}}
{{History|||snap=15w34a|Splash water bottles now just extinguish [[fire]], without placing flowing [[water]].}}
{{History|||snap=15w43a|A splash potion of weakness can now be found in the [[brewing stand]] in an [[igloo]] basement.}}
{{History|||snap=15w44b|[[File:Uncraftable Splash Potion JE1.png|32px]] [[File:Splash Potion of Luck JE1.png|32px]] Added uncraftable splash potions and splash potions of [[Luck]].}}
{{History|||snap=15w49a|Splash potions, like all throwable projectiles, now take the thrower's motion into account.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from <code>ThrownPotion</code> to <code>potion</code>.}}
{{History|||snap=16w35a|Splash water bottles now deal {{hp|1}} [[damage]] to [[endermen]] and [[blaze]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 438.}}
{{History|||snap=18w07a|[[File:Splash Potion of the Turtle Master JE1 BE1.png|32px]] Added splash potions of the Turtle Master.}}
{{History|||snap=18w14a|[[File:Splash Potion of Slow Falling JE1 BE1.png|32px]] Added splash potions of [[Slow Falling]].}}
{{History||1.14|snap=18w43a|[[File:Uncraftable Splash Potion JE2.png|32px]] [[File:Splash Water Bottle JE2 BE2.png|32px]] [[File:Splash Potion of Night Vision JE2 BE2.png|32px]] [[File:Splash Potion of Invisibility JE2 BE2.png|32px]] [[File:Splash Potion of Leaping JE2 BE2.png|32px]] [[File:Splash Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Splash Potion of Swiftness JE2 BE2.png|32px]] [[File:Splash Potion of Slowness JE2 BE2.png|32px]] [[File:Splash Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Splash Potion of Water Breathing JE2 BE2.png|32px]] [[File:Splash Potion of Healing JE2 BE2.png|32px]] [[File:Splash Potion of Harming JE2 BE2.png|32px]] [[File:Splash Potion of Poison JE2 BE2.png|32px]] [[File:Splash Potion of Regeneration JE2 BE2.png|32px]] [[File:Splash Potion of Strength JE2 BE2.png|32px]] [[File:Splash Potion of Weakness JE2 BE2.png|32px]] [[File:Splash Potion of Luck JE2.png|32px]] [[File:Splash Potion of Slow Falling JE2 BE2.png|32px]] The textures of splash potions have been changed.}}
{{History||1.16|snap=20w09a|[[Fire resistance]] splash potions can now be obtained through [[bartering]].}}
{{History||1.19|snap=22w11a|Splash water bottles can now be {{control|used}} on [[dirt]], [[coarse dirt]], or [[rooted dirt]] to turn it into [[mud]].}}
{{History||1.19.3|snap=22w43a|Splash water bottles can now extinguish burning entities.<ref>{{bug|MC-189911|||Fixed}}</ref>}}
{{History||1.19.4|snap=Pre-release 1|Splash potions no longer have an enchantment glint.}}
{{History|||snap=Pre-release 3|[[File:Splash Potion of Night Vision JE3.png|32px]] [[File:Splash Potion of Invisibility JE3.png|32px]] [[File:Splash Potion of Leaping JE3.png|32px]] [[File:Splash Potion of Fire Resistance JE3.png|32px]] [[File:Splash Potion of Swiftness JE3.png|32px]] [[File:Splash Potion of Slowness JE3.png|32px]] [[File:Splash Potion of the Turtle Master JE3.png|32px]] [[File:Splash Potion of Water Breathing JE3.png|32px]] [[File:Splash Potion of Harming JE3.png|32px]] [[File:Splash Potion of Poison JE3.png|32px]] [[File:Splash Potion of Strength JE3.png|32px]] Changed colors of the following splash potions: Night Vision, Invisibility, Leaping, Fire Resistance, Swiftness, Slowness, Turtle Master, Water Breathing, Harming, Poison, Strength, Resistance.}}
{{History||1.20|snap=23w12a|Wither [[effect]] particle colors have been adjusted to make them more distinguishable.
|The splash potion of [[Slow Falling]] has had its color tweaked to make it more distinguishable from the splash potion of [[Invisibility]].}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Splash Water Bottle JE1 BE1.png|32px]] [[File:Splash Potion of Night Vision JE1 BE1.png|32px]] [[File:Splash Potion of Invisibility JE1 BE1.png|32px]] [[File:Splash Potion of Leaping JE1 BE1.png|32px]] [[File:Splash Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Splash Potion of Swiftness JE1 BE1.png|32px]] [[File:Splash Potion of Slowness JE1 BE1.png|32px]] [[File:Splash Potion of Water Breathing JE1 BE1.png|32px]] [[File:Splash Potion of Healing JE1 BE1.png|32px]] [[File:Splash Potion of Harming JE1 BE1.png|32px]] [[File:Splash Potion of Poison JE1 BE1.png|32px]] [[File:Splash Potion of Regeneration JE1 BE1.png|32px]] [[File:Splash Potion of Strength JE1 BE1.png|32px]] [[File:Splash Potion of Weakness JE1 BE1.png|32px]] Added splash potions.
|Splash water bottles, mundane, long mundane, thick, and awkward splash potions are all available in the Creative inventory.}}
{{History||v0.13.0|snap=build 1|Splash potions of [[Leaping]] are now obtainable in [[survival]].}}
{{History||v0.14.0|snap=build 1|Splash potions can now be used to fill [[cauldron]]s.
|A cauldron now can be filled by splash potions and can be emptied using a [[glass bottle]], which turn into the corresponding splash potion.
|[[Witch]]es now use splash potions for attacking.}}
{{History||?|Splash water bottles now deal {{hp|1}} [[damage]] to [[endermen]] and [[blaze]]s.
|Splash water bottles now just extinguish [[fire]], without placing flowing [[water]].}}
{{History||v0.16.0|snap=build 4|[[File:Splash Potion of Decay BE1.png|32px]] As a version exclusive, added splash potions of [[Decay]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Splash potions can now be used to brew [[lingering potion]]s.
|A splash potion of weakness can now be found in the [[brewing stand]] in an [[igloo]] basement.}}
{{History|bedrock}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Splash Potion of the Turtle Master JE1 BE1.png|32px]] Added splash potions of the Turtle Master.}}
{{History||1.6.0|snap=beta 1.6.0.5|[[File:Splash Potion of Slow Falling JE1 BE1.png|32px]] Added splash potions of [[Slow Falling]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Splash Water Bottle JE2 BE2.png|32px]] [[File:Splash Potion of Night Vision JE2 BE2.png|32px]] [[File:Splash Potion of Invisibility JE2 BE2.png|32px]] [[File:Splash Potion of Leaping JE2 BE2.png|32px]] [[File:Splash Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Splash Potion of Swiftness JE2 BE2.png|32px]] [[File:Splash Potion of Slowness JE2 BE2.png|32px]] [[File:Splash Potion of Water Breathing JE2 BE2.png|32px]] [[File:Splash Potion of Healing JE2 BE2.png|32px]] [[File:Splash Potion of Harming JE2 BE2.png|32px]] [[File:Splash Potion of Poison JE2 BE2.png|32px]] [[File:Splash Potion of Regeneration JE2 BE2.png|32px]] [[File:Splash Potion of Strength JE2 BE2.png|32px]] [[File:Splash Potion of Weakness JE2 BE2.png|32px]] [[File:Splash Potion of Decay BE2.png|32px]] [[File:Splash Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Splash Potion of Slow Falling JE2 BE2.png|32px]] The textures of splash potions have been changed.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Fire resistance]] splash potions can now be obtained through [[bartering]].}}
{{History||1.19.80|snap=beta 1.19.80.21|Changed potion colors for the following splash potions: Fire Resistance, Harming, Invisibility, Leaping, Night Vision, Poison, Slowness, Strength, Swiftness, Turtle Master, and Water Breathing.
|Removed enchantment glint from splash potions.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Splash Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Splash Potion of Swiftness JE1 BE1.png|32px]] [[File:Splash Potion of Slowness JE1 BE1.png|32px]] [[File:Splash Potion of Healing JE1 BE1.png|32px]] [[File:Splash Potion of Harming JE1 BE1.png|32px]] [[File:Splash Potion of Poison JE1 BE1.png|32px]] [[File:Splash Potion of Regeneration JE1 BE1.png|32px]] [[File:Splash Potion of Strength JE1 BE1.png|32px]] [[File:Splash Potion of Weakness JE1 BE1.png|32px]] Added splash potions.}}
{{History||xbox=TU14|ps=1.04|[[File:Splash Potion of Night Vision JE1 BE1.png|32px]] [[File:Splash Potion of Invisibility JE1 BE1.png|32px]] Added splash potions of [[Night Vision]] and splash potions of [[Invisibility]].
|Extended-enhanced potions are now listed individually for four potion effects.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Splash Potion of Leaping JE1 BE1.png|32px]] [[File:Splash Potion of Water Breathing JE1 BE1.png|32px]] Added splash potions of [[Leaping]] and splash potions of [[Water Breathing]]. These are both available in four variants unlike ''Java'' and ''Bedrock'' where the latter group only added two variants of water breathing and three variants for leaping.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|switch=1.0.1|[[File:Splash Water Bottle JE1 BE1.png|32px]] Added splash [[water bottle]]s.
|[[File:Splash Potion of Luck JE1.png|32px]] Added splash potions of [[Luck]].
|Added [[lingering potion]]s, which can be [[brewing|brewed]] with splash potions to create [[dragon's breath]].
|Added dragon's breath, which can be brewed from lingering potions and splash potions.
|Splash potions no longer only have 75% of the durations from their corresponding normal potions.
|Removed all types of extended-enhanced potions for all five potion effects.}}
{{History||xbox=TU54|xbone=CU44|ps=1.52|wiiu=Patch 24|switch=1.0.4|Splash water bottles now deal {{hp|1}} [[damage]] to [[endermen]] and [[blaze]]s.}}
{{History||xbox=TU57|xbone=CU49|ps=1.56|wiiu=Patch 27|switch=1.0.7|Splash potions once again only have 75% of the duration from their corresponding normal potions.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[File:Splash Potion of Decay BE1.png|32px]] [[File:Splash Potion of the Turtle Master JE1 BE1.png|32px]] [[File:Splash Potion of Slow Falling JE1 BE1.png|32px]] Added splash potions of [[Decay]], Turtle Master, and [[Slow Falling]].}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Splash Water Bottle JE1 BE1.png|32px]] [[File:Splash Potion of Night Vision JE1 BE1.png|32px]] [[File:Splash Potion of Invisibility JE1 BE1.png|32px]] [[File:Splash Potion of Leaping JE1 BE1.png|32px]] [[File:Splash Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Splash Potion of Swiftness JE1 BE1.png|32px]] [[File:Splash Potion of Slowness JE1 BE1.png|32px]] [[File:Splash Potion of Water Breathing JE1 BE1.png|32px]] [[File:Splash Potion of Healing JE1 BE1.png|32px]] [[File:Splash Potion of Harming JE1 BE1.png|32px]] [[File:Splash Potion of Poison JE1 BE1.png|32px]] [[File:Splash Potion of Regeneration JE1 BE1.png|32px]] [[File:Splash Potion of Strength JE1 BE1.png|32px]] [[File:Splash Potion of Weakness JE1 BE1.png|32px]] Added splash potions.
|Splash water bottles, mundane, thick, and awkward splash potions are all available in the Creative inventory.}}
{{History||1.3.12|[[File:Splash Potion of Decay BE1.png|32px]] Added splash potions of [[Decay]].}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*If an enderman is targeted directly by a splash potion, it teleports away before the potion can affect it. However, if an enderman is caught in the splash radius of a potion not aimed at it, it takes damage from the potion.
*If killed by a splash potion of harming, the death message would be: ''<player> was killed by <attacker> using magic''
*A thrown splash potion faces toward the [[player]] in first-person view, while it appears rotated horizontally in third-person view. This is the case for all throwable [[item]]s ([[ender pearl]]s, [[eggs]], [[snowball]]s, and all throwable potions).

==Unused splash potions==
[[Bedrock Edition]] has [[History of textures/Unused textures#Unused potions|unused splash potion textures]] for several [[effect]]s, along with their [[Potion#Unused potions|normal variants]]. These effects are: [[Absorption]], [[Blindness]], [[Haste]], [[Health Boost]], [[Hunger]], [[Mining Fatigue]], [[Nausea]], [[Resistance]], [[Saturation]], and [[Levitation]], as well as the [[Luck]] potion textures also present in [[Java Edition]]. These unused textures were added along with the other potion textures in [[Pocket Edition v0.12.1 alpha]], except for the potion of levitation, which was added in [[Pocket Edition 1.0.0]]. The textures were changed along with the other potion textures during the [[texture update]] in [[Bedrock Edition 1.10.0]]. Strangely, the potion of levitation texture is a duplicate of the splash potion of levitation texture.
<gallery>
Splash Potion of Absorption BE2.png|Splash Potion of Absorption
Splash Potion of Blindness BE2.png|Splash Potion of Blindness
Splash Potion of Haste BE2.png|Splash Potion of Haste
Splash Potion of Health Boost BE2.png|Splash Potion of Health Boost
Splash Potion of Hunger BE2.png|Splash Potion of Hunger
Splash Potion of Mining Fatigue BE2.png|Splash Potion of Mining Fatigue
Splash Potion of Nausea BE2.png|Splash Potion of Nausea
Splash Potion of Resistance BE2.png|Splash Potion of Resistance
Splash Potion of Saturation BE2.png|Splash Potion of Saturation
Potion of Levitation BE2.png|Splash Potion of Levitation
</gallery>

== Gallery ==
<gallery>
Splash Water Bottle.png|Splash water bottle
Splash Potion of Night Vision.png|Night Vision
Splash Potion of Invisibility.png|Invisibility
Splash Potion of Leaping.png|Leaping
Splash Potion of Fire Resistance.png|Fire Resistance
Splash Potion of Swiftness.png|Swiftness
Splash Potion of Slowness.png|Slowness
Splash Potion of the Turtle Master.png|Turtle Master
Splash Potion of Water Breathing.png|Water Breathing
Splash Potion of Healing.png|Healing
Splash Potion of Harming.png|Harming
Splash Potion of Poison.png|Poison
Splash Potion of Regeneration.png|Regeneration
Splash Potion of Strength.png|Strength
Splash Potion of Weakness.png|Weakness
Splash Potion of Slow Falling.png|Slow Falling
Splash Potion of Luck.png|Luck
Splash Potion of Decay.png|Decay
Uncraftable Splash Potion.png|Uncraftable splash potion
</gallery>
=== Other ===
<gallery>
Splash Potion Weakness.png|A splash potion hovered over in a brewing stand
Splash Potion Radius.png|Splash potions' area of effect
</gallery>

== See also==
* {{ItemLink|Glass Bottle}}
* {{ItemLink|Lingering Potion}}
* {{ItemLink|Bottle o' Enchanting}}

== Notes ==
{{notelist|n}}

== References ==
{{reflist}}

== External links ==
* [http://www.minecraftforum.net/topic/673147-all-about-potions-and-brewing-19-reference-guidepics-and-a-mod-download-to-make-them-usable/ Minecraft Forum: All About Potions And Brewing - 1.9 Reference Guide]
* [http://potioncraft.net/ Minecraft Potions - A Visual Guide]

{{Items}}
{{entities}}

[[Category:Combat]]

[[cs:Vrhací lektvar]]
[[de:Wurftrank]]
[[fr:Potion jetable]]
[[ja:スプラッシュポーション]]
[[ko:투척용 물약]]
[[nl:Spattende dranken]]
[[pl:Mikstury miotane]]
[[pt:Poção arremessável]]
[[ru:Взрывающиеся зелья]]
[[zh:喷溅药水]]</li></ul></nowiki>
beta 1.16.100.54Piglins now keep their Crossbows when zombified.
1.17.0
{{Extension DPL}}<ul><li>[[Raw Mutton|Raw Mutton]]<br/>{{Distinguish|Cooked Mutton}}
{{Item
| title = Raw Mutton
| image = Raw Mutton.png
| heals = {{hunger|2}}
| renewable = Yes
| stackable = Yes (64)
}}
'''Raw mutton''' is a [[food]] item dropped by [[sheep]] when killed.

== Obtaining ==

=== Mob loot ===

An adult [[sheep]] drops 1–2 raw mutton when killed. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 1–5 with Looting III. If killed while on fire, a sheep drops [[cooked mutton]] instead.

=== Chest loot ===

{{LootChestItem|raw-mutton}}

== Usage ==

=== Food ===

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

=== Smelting ingredient ===

{{Smelting
  |showname=1
  |Raw Mutton
  |Cooked Mutton
|0.35
}}

=== Wolves ===

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

=== Trading ===

Journeyman-level butcher [[villager]]s have a 50% chance to buy 7 raw mutton for an [[emerald]] as part of their trades.{{only|bedrock}}

Journeyman-level butcher villagers always offer to buy 7 raw mutton for an emerald.{{only|java}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Mutton
|spritetype=item
|nameid=mutton
|aliasid=muttonraw
|id=550
|form=item
|translationkey=item.muttonRaw.name
|foot=1}}

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

== Video ==

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

== History ==

{{History||September 23, 2011|link={{tweet|jeb|117313469900009472}}|Mutton is mentioned by [[Jeb]].}}
{{History||September 11, 2012|link={{tweet|jeb|245503714167750656}}|Jeb again mentions the possibility of mutton as well as calamari being added into the game.}}
{{History|java}}
{{History||June 30, 2014|link=https://twitter.com/TheMogMiner/status/483636993780232192|[[Ryan Holtz]] tweets images of raw mutton and some other new items.}}
{{History||1.8|snap=14w27a|[[File:Raw Mutton JE1.png|32px]] Added raw mutton.}}
{{History||1.8|snap=14w33b|[[File:Raw Mutton JE2 BE1.png|32px]] The texture of raw mutton has been changed. The new texture was created by [[wikipedia:Reddit|Reddit]] user [http://www.reddit.com/u/zeldahuman zeldahuman].<ref>{{reddit|2bjzes/a_reminder_of_the_blocks_and_items_added_in_18_so|cj69zie|context=3}}</ref><ref>{{reddit|2c5f35/minecraft_snapshot_14w31a_has_been_released|cjct7gb}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 423.}}
{{History||1.14|snap=18w43a|[[File:Raw Mutton JE3 BE2.png|32px]] The texture of raw mutton has been changed.}}
{{History|||snap=18w49a|Raw mutton can now be found in [[chest]]s in [[village]] butcher shops.}}
{{History|||snap=19w11a|Butcher villagers now [[trading|buy]] raw mutton.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Raw Mutton JE2 BE1.png|32px]] Added raw mutton.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Raw Mutton JE3 BE2.png|32px]] The texture of raw mutton has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Raw mutton can now be found in [[village]] butcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Raw mutton can now be [[trading|sold]] to butcher [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed; journeyman butcher villagers now buy 7 raw mutton for an emerald instead of 8.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of raw mutton has been changed from <code>muttonraw</code> to <code>mutton</code>.}}
{{History||1.16.210|snap=beta 1.16.210.51|Raw mutton is [[drops|dropped]] by [[goats]].}}
{{History||1.17.0|snap=beta 1.17.0.52|Goats no longer drop raw mutton.}}

{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Raw Mutton JE2 BE1.png|32px]] Added raw mutton.}}
{{History|PS4}}
{{History||1.90|[[File:Raw Mutton JE3 BE2.png|32px]] The texture of raw mutton has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Raw Mutton JE2 BE1.png|32px]] Added raw mutton.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
Rabbit Items 3 Ryan Holtz.png|First image of the item by [[Ryan Holtz]].
Pocket Edition Mutton.jpg|First image of the item in ''Bedrock Edition'' by [[Jason Major]].
</gallery>

== References ==
{{reflist}}

{{items}}

[[de:Rohes Hammelfleisch]]
[[es:Cordero crudo]]
[[fr:Mouton cru]]
[[ja:生の羊肉]]
[[ko:익히지 않은 양고기]]
[[nl:Rauw schapenvlees]]
[[pl:Surowa baranina]]
[[pt:Carneiro cru]]
[[ru:Сырая баранина]]
[[zh:生羊肉]]
[[Category:Food]]
[[Category:Renewable resources]]</li><li>[[Book and Quill|Book and Quill]]<br/>{{For|the item produced after a Book and Quill is signed|Written Book}}
{{Item
| image = Book and Quill.png
| renewable = Yes 
| stackable = No
}}

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

== Obtaining ==

=== Crafting ===

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

=== Natural generation ===

{{LootChestItem|book-and-quill}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Writing ===

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

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

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

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

=== Lecterns ===

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

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

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

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

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

=== Signing ===

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

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

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

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

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

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

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

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

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

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

=== Item data ===

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

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

== Video ==

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

== History ==

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{Reflist}}

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

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

{{Items}}

[[Category:Renewable resources]]

[[cs:Rozepsaná kniha s brkem]]
[[de:Buch und Feder]]
[[el:Βιβλίο και Πένα]]
[[es:Libro y pluma]]
[[fr:Livre vierge]]
[[hu:Könyv és toll]]
[[it:Libro e penna]]
[[ja:本と羽根ペン]]
[[ko:책과 깃펜]]
[[nl:Boek en veer]]
[[pl:Książka z piórem]]
[[pt:Livro e pena]]
[[ru:Книга с пером]]
[[th:หนังสือกับปากกาขนนก]]
[[uk:Книга з пером]]
[[zh:书与笔]]</li></ul>
beta 1.17.0.54Piglins now pick up raw gold, block of raw gold, and deepslate gold ore.

Issues[]

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

Trivia[]

  • In the banner pattern "snout", there is a piglin snout. This is the same in the chiseled blackstone.
  • In Bedrock Edition, baby piglins make angry noises when any piglin gets angry.[24]
  • Piglin sounds were made by blending sounds of a Swedish domestic pig known as a "Linderödssvin".[25]
  • In Bedrock Edition, a baby piglin can be made to wear armor and wield a sword, but not a gold sword.
  • In Minecraft Legends, Piglins don't zombify in the Overworld because they breathe in Nether Wart spores.[26]
    • The tie-in novel expands on this, with one of the central conflicts being a piglin, Kritten, attempting to create a potion that can replicate the phenomenon.
    • Similarly, it is established that piglins are capable of crying and sweating, but rarely can because of the intense heat; Kritten is startled when this happens while in the Overworld.

Gallery[]

Renders[]

Missing Model JE3
This page would benefit from the addition of more images. 
Please remove this notice once you've added suitable images to the article.
The specific instructions are: A gif render of a piglin breaking its crossbow

Cosmetics[]

Screenshots[]

Artwork[]

Merchandise[]

Textures[]

See also[]

References[]

  1. MC-172102 — resolved as "Works As Intended".
  2. MC-172087 — resolved as "Works As Intended".
  3. MC-172618 — resolved as "Works As Intended".
  4. MC-172239 — resolved as "Works As Intended".
  5. MC-189485 — resolved as "Works As Intended".
  6. MC-178973 — resolved as "Works As Intended".
  7. MC-179104 — resolved as "Works As Intended".
  8. MC-163960 — resolved as "Works As Intended".
  9. MCPE-67489
  10. MCPE-99448
  11. MCPE-91187
  12. The texture was added in the preview, as the texture dates from October 27, 2010 and the preview released at October 29, 2010.
  13. "It was going to be a type of pigman that you could convince to fight for you, like a bodyguard."@Dinnerbone (Nathan Adams) on X, April 15, 2020
  14. "The reason it had no clothes was that I wanted the player to be responsible for what it wore and what weapons it used, but that logically meant naked mob by default :D"@Dinnerbone (Nathan Adams) on X, April 15, 2020
  15. for users without accounts: https://media.discordapp.net/attachments/449243256849563648/690754756938825748/image0.png
  16. MC-172161 — resolved as "Works As Intended".
  17. MC-172428 — resolved as "Fixed".
  18. MC-177973
  19. MC-182877
  20. MC-173858 — resolved as "Fixed".
  21. MC-196449 — resolved as "Fixed".
  22. MC-197179 — resolved as "Fixed".
  23. MC-198874 — resolved as "Fixed".
  24. MCPE-94090
  25. "They’re all a blend of recordings of a swedish domestic pig ”Linderödssvin” and a real snorty session in the recording booth. Brutes had a unique session but a different personality."@slamp0000 on X, April 6, 2021
  26. https://www.minecraft.net/en-us/article/craft-your-own-legend/piglin
  27. https://twitter.com/gmodeone/status/1657080503973863433

External links[]

Advertisement