Minecraft Wiki
(Rewrite for style - round #1)
Line 1: Line 1:
{{about| the Mob Spawner block|Mob Farms|Tutorials/Mob Farm}}
+
{{about|the Mob Spawner block|mob farms|Tutorials/Mob Farm}}
 
{{BlockTileEntity
 
{{BlockTileEntity
 
|image=Monster Spawner.gif
 
|image=Monster Spawner.gif
Line 16: Line 16:
 
|nameid=mob_spawner
 
|nameid=mob_spawner
 
}}
 
}}
  +
'''Monster spawners''' are [[blocks]] that can spawn [[mobs]].
'''Monster spawners''' (or '''mob spawners''') are [[block]]s having the appearance of a bluish-black cage structure. Inside the cage there are flames that do not give off any [[light]] and a miniature spinning version of the [[Mobs|mob]] that will [[spawn]], which slowly increases speed until the next mob spawns. Spawners can spawn any mob. However, in normal worlds they are only generated to spawn [[zombie]]s, [[skeleton]]s, [[spider]]s, [[cave spider]]s, [[blaze]]s, and [[silverfish]].
 
 
Players have designed many [[Tutorials/Traps|trap]]s to kill mobs from spawners, employing a long [[Fall Damage|fall]], [[drowning]], [[lava]], [[cactus]] or a combination of these, which allow [[the player]] to collect [[item]] drops or [[experience]] in great numbers with little risk (see [[Tutorials/Monster Spawner Traps|monster spawner traps]].)
 
 
An interesting quirk of monster spawners (and [[end portal frame]]s and [[Slime block]]s) is that they are [[transparent]] in their rendering only - unlike most other transparent blocks, they can have [[torches]] and [[redstone]] placed on them, conduct a redstone current, will suffocate [[mobs]], and more.
 
   
 
== Obtaining ==
 
== Obtaining ==
   
 
Spawners can not be obtained at all in survival mode. The proper tool to mine them with is the [[pickaxe]].
===== Survival =====
 
Spawners can not be obtained at all in survival mode. The proper tool to mine them with is the [[pickaxe]], and they will drop 15-43 [[experience]] when broken.
 
 
===== Creative =====
 
In [[Pocket Edition]], they are available in the creative inventory. Spawners do not appear in the PC version creative inventory. However, they can be spawned in using the {{cmd|give}} command. It is also worth noting that once a spawner is placed in the PC version, the mob they spawn can be changed easily by right clicking one with a mob [[spawn egg]]
 
   
 
{{mining table|Monster Spawner|pickaxe|Wood|foot=1}}
 
{{mining table|Monster Spawner|pickaxe|Wood|foot=1}}
   
  +
It is also not in [[Inventory#Creative mode|Creative mode inventory]] (except in [[Pocket Edition]]) and as such must be obtained with [[commands]].
=== Natural generation ===
 
  +
 
=== Natural generation ===
 
[[File:2011-12-21 18.00.55.png|thumb|A monster spawner that spawns [[skeleton]]s.]]
 
[[File:2011-12-21 18.00.55.png|thumb|A monster spawner that spawns [[skeleton]]s.]]
   
 
Spawners can generate naturally in these places, spawning mobs chosen randomly when generated:
 
Spawners can generate naturally in these places, spawning mobs chosen randomly when generated:
 
;[[Dungeon]]s
 
;[[Dungeon]]s
:Spawns [[Zombie]]s (50% chance), [[Skeleton]]s (25%), or [[Spider]]s (25%). One per dungeon. 0.5% (1 in 200) mobs spawned at a Spider Spawner will be a [[Spider Jockey]]. [[Chicken Jockey|Chicken Jockeys]] can spawn from Zombie Spawners.
+
:Spawns [[zombie]]s (50% chance), [[skeleton]]s (25%), or [[spider]]s (25%).
;[[Abandoned Mine Shaft]]s
+
;[[Abandoned mine shaft]]s
:Spawns [[Cave Spider]]s. Located in horizontal tunnels, heavily surrounded by [[Cobweb]]s.
+
:Spawns [[Cave Spider]]s. Located in horizontal tunnels, heavily surrounded by [[cobweb]]s.
  +
::In [[Pocket Edition]] it spawns regular spiders instead.
 
;[[Stronghold]]s
 
;[[Stronghold]]s
:Spawns [[Silverfish]]. Located in the [[End Portal]] room. One per stronghold.
+
:Spawns [[silverfish]]. Located in the [[End Portal]] room. One per stronghold.
 
;[[Nether Fortress]]es
 
;[[Nether Fortress]]es
:Spawns [[Blaze]]s. Located on [[Nether fortress]] balconies with [[stairs]] leading up to them.
+
:Spawns [[Blaze]]s. Located on Nether fortress balconies with [[stairs]] leading up to them.
Naturally occurring spawners will not spawn [[passive]] animals, [[Creeper]]s, [[Enderman|Endermen]], [[Slime]]s, [[Zombie Pigman|Zombie Pigmen]], [[Ghast]]s, [[Magma Cube]]s, [[Villager]]s, Golems, or Bosses. However, if a [[map editor]], a [[mod]], or a Spawn Egg is used to create a spawner for any mob (although correct conditions must be upheld for the spawners to actually spawn a mob), it will function as expected (so it will even spawn [[Enderdragon]]s)
 
 
There is no way to obtain a spawner in your inventory in Survival mode without turning on cheats, using mods with an inventory editor program, or using the {{cmd|give}} or {{cmd|setblock}} commands in a [[multiplayer]] server. It does not appear in the [[Creative mode]] [[inventory]]. If such a spawner is placed, or if a spawner is missing its [[tile entity]] data, it will spawn the same entity, but will have a [[pig]] inside.
 
   
 
{{-}}
 
{{-}}
   
== Spawning behavior ==
+
== Behavior ==
   
A spawner will spawn mobs in the surrounding area, provided suitable spawning locations for the [[block]]'s mob type can be found in the area. Spawning conditions vary from mob to mob. For example, [[Overworld]] monsters can only spawn in darkness ([[light]] level 7 or below), and animals can only spawn with a light level 9 or above. Spawner blocks can spawn some mobs in mid-[[air]], ignoring general rules about spawning on solid ground. Pigs, however, still require a [[grass block]] on which to spawn.
+
A spawner will spawn mobs in the surrounding area, provided suitable spawning locations for the block's mob type can be found in the area. Spawner blocks can spawn some mobs in mid-[[air]], ignoring general rules about spawning on solid ground. The spawned mob can be changed by {{Control|use|text=using}} a [[spawn egg]] on the spawner.
   
 
A monster spawner is only active when a player is within a radius of 16 blocks from the spawner. While the block is active, it will spawn mobs within an 8×2×8 block volume (8 wide and 2 high and 8 long) centered on the center of the block, effectively meaning mobs can spawn in a 9x9 area, or 3.5 blocks from the spawner. Mobs can spawn anywhere in this range that is suitable, even if the immediate vicinity of the spawner block itself is not suitable. The horizontal distribution is triangular, with positions near the spawner more likely than ones farther away.
 
A monster spawner is only active when a player is within a radius of 16 blocks from the spawner. While the block is active, it will spawn mobs within an 8×2×8 block volume (8 wide and 2 high and 8 long) centered on the center of the block, effectively meaning mobs can spawn in a 9x9 area, or 3.5 blocks from the spawner. Mobs can spawn anywhere in this range that is suitable, even if the immediate vicinity of the spawner block itself is not suitable. The horizontal distribution is triangular, with positions near the spawner more likely than ones farther away.
Line 65: Line 57:
 
! Mob type
 
! Mob type
 
! Required Volume
 
! Required Volume
! Failure rate from 8×8×4 volume<ref group="note">8×8×3 is the actual volume across which spawners spawn entities, but this volume only contains the entity's ''center''. The failure rate assumes 8×8×4 because it is a popular misconception that 8×8×4 is the maximum efficiency volume of empty space for mob spawners - it actually depends on the size of the entities themselves. Note that 10x10x4 is '''guaranteed''' to accommodate all of the above mobs. Also note that this failure rate only accounts for failures due to attempting to spawn a mob at the edges of the spawn range, not other causes of failure such as mobs attempting to spawn intersecting the spawner block itself.</ref>
+
! Failure rate from 8×8×4 volume<ref group="note">8×8×3 is the actual volume across which spawners spawn entities, but this volume only contains the entity's ''center''. The failure rate assumes 8×8×4 because it is a popular misconception that 8×8×4 is the maximum efficiency volume of empty space for mob spawners - it actually depends on the size of the entities themselves. Note that 10x10x4 is ''guaranteed'' to accommodate all of the above mobs. Also note that this failure rate only accounts for failures due to attempting to spawn a mob at the edges of the spawn range, not other causes of failure such as mobs attempting to spawn intersecting the spawner block itself.</ref>
 
! Vertical<br>alignment
 
! Vertical<br>alignment
 
|-
 
|-
Line 94: Line 86:
 
|}
 
|}
   
  +
{{notelist}}
<references group="note"/>
 
   
For all of the volumes listed in the table, the horizontal plane is centered on the northwestern corner of the spawner block. While the spawning volume for pigs is 8.9×8.9×2.9, the requirement of grass blocks that are necessary for pigs to spawn will reduce the actual volume in which they successfully spawn.
+
For all of the volumes listed in the table, the horizontal plane is centered on the center of the spawner block. While the spawning volume for pigs is 8.9×8.9×2.9, the requirement of grass blocks that are necessary for pigs to spawn will reduce the actual volume in which they successfully spawn.
   
The block will attempt to spawn 4 mobs at randomly chosen points within the spawning area, then wait anywhere from 200 to 799 ticks (10 to 39.95 seconds) before spawning again. As it waits, the mob inside the block will spin faster and faster. Except for spawning on a solid block, all of the usual requirements for spawning must be met (not in a solid block, correct light level, etc.), so the spawner will often produce fewer than 4 mobs. When it does spawn, it will "poof", and more lightless flames will temporarily appear around the Spawn block. If the block fails to spawn any mobs because it did not pick any suitable locations, it will repeat this process every [[tick]] until it succeeds. Only when it manages to spawn at least one mob will it start waiting for the next cycle. If, at the time of spawning, 6 or more monsters of the block's type are present within a 9×9×9 area, centered on the spawner block, the spawner "poofs" without creating any monsters and then waits for the next cycle However if the monsters created by the spawner keep leaving the specified area then the monster spawner will continue spawning mobs indefinitely, provided the player is still within range.
+
The block will attempt to spawn 4 mobs at randomly chosen points within the spawning area, then wait anywhere from 200 to 799 ticks (10 to 39.95 seconds) before spawning again. As it waits, the mob inside the block will spin faster and faster. Except for spawning on a solid block, all of the usual requirements for spawning must be met (not in a solid block, correct light level, etc.), so the spawner will often produce fewer than 4 mobs. When it does spawn, it will "poof", and more lightless flames will temporarily appear around the Spawn block. If the block fails to spawn any mobs because it did not pick any suitable locations, it will repeat this process every [[tick]] until it succeeds. Only when it manages to spawn at least one mob will it start waiting for the next cycle. If, at the time of spawning, 6 or more mobs of the block's type are present within a 9×9×9 area, centered on the spawner block, the spawner "poofs" without creating any mobs and then waits for the next cycle.
   
In [[Peaceful]] [[difficulty]], Monster Spawner blocks will still appear, but any spawned [[hostile]] mobs will disappear the instant they spawn. ([[Zombie Pigmen]], [[Magma Cubes]], and [[Ghasts]] will not spawn at all.) This makes it easy to make the traps without being troubled by the mobs. The brief instant that the monster exists in the world before being removed is enough time for the player to be pushed around, for the sound file to play, and occasionally for Skeletons to fire arrows.
+
In [[Peaceful]] [[difficulty]], monster spawner blocks will still appear and work, but any spawned [[hostile]] mobs will disappear the instant they spawn. [[Zombie Pigmen]], [[Magma Cubes]], and [[Ghasts]] will not spawn at all.
  +
 
An interesting quirk of monster spawners (and [[end portal frame]]s and [[slime block]]s) is that they are [[transparent]] in their rendering only - unlike all other transparent blocks, they can have torches and redstone placed on them, conduct a redstone current, will suffocate mobs, and more.
   
 
=== Detailed spawning algorithm ===
 
=== Detailed spawning algorithm ===
Line 158: Line 152:
 
</pre>
 
</pre>
   
== Custom Spawners ==
+
=== Custom spawners ===
Monster Spawners are capable of much more than they are used for in survival Minecraft. Using the {{cmd|setblock}} or {{cmd|give}} commands, they can be customized in many ways:
+
Monster spawners are capable of much more than they are used for in survival Minecraft. Using [[commands]], they can be customized in many ways:
* They can be made to spawn any kind of entity, including any mob, items, minecarts, boats, falling blocks (including falling Spawners), primed TNT, and so on.
+
* They can be made to spawn any kind of entity.
 
* A single spawner can spawn multiple different entities, chosen at random from a list.
 
* A single spawner can spawn multiple different entities, chosen at random from a list.
* Properties can be set on the spawned entities, such as their location, velocity, inventory, potion effects, and much much more.
+
* Properties can be set on the spawned entities.
 
* Various range and timing properties of the spawner can be altered.
 
* Various range and timing properties of the spawner can be altered.
  +
Detailed technical information about custom spawners can be found in the [[Chunk format#Tile Entity Format|chunk format]] reference
+
Detailed technical information about custom spawners can be found in the [[Chunk format#Tile entity format|chunk format]] reference.
   
 
== Video ==
 
== Video ==
Line 180: Line 175:
 
{{History|r}}
 
{{History|r}}
 
{{History||1.0.0|snap=Beta 1.9-pre1|Changed monster spawner texture to a darker color.}}
 
{{History||1.0.0|snap=Beta 1.9-pre1|Changed monster spawner texture to a darker color.}}
{{History|||snap=Beta 1.9-pre4|It was possible to obtain a monster spawner using a tool enchanted with Silk Touch. When placed they would only spawn pigs.
 
|Silk Touch became ineffective on spawners.}}
 
 
{{History|||snap=Beta 1.9-pre5|Squid spawners now only work in a narrow elevation range, from 46 to 62.
 
{{History|||snap=Beta 1.9-pre5|Squid spawners now only work in a narrow elevation range, from 46 to 62.
|Monster Spawners no longer drop after destroyed. Even when you use a Silk Touch pickaxe, it will not drop.}}
+
|Monster Spawners no longer drop after destroyed. Before this update, it was possible to obtain a monster spawner using a tool enchanted with Silk Touch.}}
 
{{History|||snap=?|Monster spawners are now easier to destroy.}}
 
{{History|||snap=?|Monster spawners are now easier to destroy.}}
 
{{History||1.2.1|snap=12w06a|Monster spawners now show the mob they are spawning in multiplayer; previously it always showed a pig.}}
 
{{History||1.2.1|snap=12w06a|Monster spawners now show the mob they are spawning in multiplayer; previously it always showed a pig.}}
 
{{History||1.3.1|snap=12w22a|Monster spawners will now drop experience when destroyed.}}
 
{{History||1.3.1|snap=12w22a|Monster spawners will now drop experience when destroyed.}}
{{History|||snap=12w26a|Monster spawners now support extra data pertaining to what they spawn. For example, they can spawn Charged Creepers, Endermen holding specific blocks, previously unavailable Green Robe Villagers, and Villagers offering specific deals. They can also spawn non-mob entities, like specific dropped items, random fireworks, primed TNT, boats and minecarts.}}
+
{{History|||snap=12w26a|Monster spawners now support extra data pertaining to what they spawn.}}
 
{{History||1.8|snap=14w26c|The horizontal spawning range is now calculated from the center of the block rather than the northwest corner.
 
{{History||1.8|snap=14w26c|The horizontal spawning range is now calculated from the center of the block rather than the northwest corner.
 
|The exclusion zone has been reduced: for a default spawner, the 6 mobs must be in a 9×9×9 region rather than 17×9×17 to prevent spawning.}}
 
|The exclusion zone has been reduced: for a default spawner, the 6 mobs must be in a 9×9×9 region rather than 17×9×17 to prevent spawning.}}
{{History|||snap=14w28b|The type of mob spawner can be changed by {{control|using}} a [[Spawn Egg|spawn egg]] on it.}}
+
{{History|||snap=14w28b|The type of mob spawner can be changed by {{control|using}} a [[spawn egg]] on it.}}
 
{{History|pocketa}}
 
{{History|pocketa}}
 
{{History||0.9.0|snap=build 1|Added monster spawners.}}
 
{{History||0.9.0|snap=build 1|Added monster spawners.}}
{{History|||snap=build 2|Added monster spawners to the creative inventory. The type of mob spawner can be changed using a [[Spawn Egg|spawn egg]].}}
+
{{History|||snap=build 2|Added monster spawners to the creative inventory. The type of mob spawner can be changed using a [[spawn egg]].}}
 
{{History|||snap=build 9|Monster spawners now emit light.}}
 
{{History|||snap=build 9|Monster spawners now emit light.}}
 
{{History|console}}
 
{{History|console}}
Line 205: Line 198:
 
== Trivia ==
 
== Trivia ==
   
* Since monster spawners are stored as block entities, they cannot be pushed by [[piston]]s.
 
 
* Unlike most other solid blocks, the monster spawner supports texture with transparent areas, without showing what's behind.
 
* Unlike most other solid blocks, the monster spawner supports texture with transparent areas, without showing what's behind.
 
* When mining near a monster spawner that has no valid places to spawn, sometimes a monster will spawn immediately after a block is mined. It's speculated this might happen because the spawner gets a chance to spawn before the lighting calculation for the space the block occupied.
* The traditional torch on the spawner may not be sufficient to completely disable it. Lighting the walls as well is safer.
 
* When mining near a monster spawner that has no valid places to spawn, sometimes a monster will spawn immediately after a block is mined. The player should take caution for this reason while collecting [[Moss Stone]] from a dungeon but hasn't destroyed the monster spawner. It's speculated this might happen because the spawner gets a chance to spawn before the lighting calculation for the space the block occupied.
 
 
* If a spawner is made to spawn a Giant, Ghast, or Iron Golem; the mob inside will be larger than the spawner and will appear to physically extend beyond the confines of the spawner block's sides.
 
* If a spawner is made to spawn a Giant, Ghast, or Iron Golem; the mob inside will be larger than the spawner and will appear to physically extend beyond the confines of the spawner block's sides.
 
* The miniature mob inside the monster spawner is an actual mob of that type. Thus, if a spawner is configured to spawn [[Ender Dragon]]s or [[Wither]]s, their boss health bar is visible while looking at the spawner.
* A monster spawner may spawn 1, 2, 3 or even 4 mobs at once<ref>[http://www.youtube.com/watch?v=LPeOM6I3Sg8] Video clearly showing two, three and four mobs spawning at the same time from a monster spawner.</ref>
 
* If the player is not within range, the miniature mob inside the spawner will stop spinning, and the mob spawner will stop emitting fire particles, along with not working all together.
 
* The miniature mob inside the mob spawner will spin faster when it is about to spawn monsters. There are set minimum and maximum speeds for which the miniature mob can rotate.
 
* Zombie Pigmen spawners cannot be disabled with light. They can spawn at any light level.
 
* The miniature mob inside the monster spawner is an actual mob of that type. Thus, if a spawner is configured to spawn [[Ender Dragon]]s or [[Wither]]s, their boss health bar is visible while looking at the spawner. Zombies can also be wearing armor.
 
   
 
== Gallery ==
 
== Gallery ==

Revision as of 12:38, 25 October 2014

This article is about the Mob Spawner block. For mob farms, see Tutorials/Mob Farm.

Template:BlockTileEntity Monster spawners are blocks that can spawn mobs.

Obtaining

Spawners can not be obtained at all in survival mode. The proper tool to mine them with is the pickaxe.

Block Hardness Tool Breaking time[A]
Default Wooden Stone Iron Diamond Netherite Golden Shears Sword
Monster Spawner 5 25 3.75 1.9 1.25 0.95 0.85 0.65
  1. Times are for unenchanted tools as wielded by players with no status effects, measured in seconds. For more information, see Breaking § Speed.

It is also not in Creative mode inventory (except in Pocket Edition) and as such must be obtained with commands.

Natural generation

File:2011-12-21 18.00.55.png

A monster spawner that spawns skeletons.

Spawners can generate naturally in these places, spawning mobs chosen randomly when generated:

Dungeons
Spawns zombies (50% chance), skeletons (25%), or spiders (25%).
Abandoned mine shafts
Spawns Cave Spiders. Located in horizontal tunnels, heavily surrounded by cobwebs.
In Pocket Edition it spawns regular spiders instead.
Strongholds
Spawns silverfish. Located in the End Portal room. One per stronghold.
Nether Fortresses
Spawns Blazes. Located on Nether fortress balconies with stairs leading up to them.

Behavior

A spawner will spawn mobs in the surrounding area, provided suitable spawning locations for the block's mob type can be found in the area. Spawner blocks can spawn some mobs in mid-air, ignoring general rules about spawning on solid ground. The spawned mob can be changed by using a spawn egg on the spawner.

A monster spawner is only active when a player is within a radius of 16 blocks from the spawner. While the block is active, it will spawn mobs within an 8×2×8 block volume (8 wide and 2 high and 8 long) centered on the center of the block, effectively meaning mobs can spawn in a 9x9 area, or 3.5 blocks from the spawner. Mobs can spawn anywhere in this range that is suitable, even if the immediate vicinity of the spawner block itself is not suitable. The horizontal distribution is triangular, with positions near the spawner more likely than ones farther away.

While mobs are spawned at fractional x and z-coordinates (i.e. not aligned to blocks), they are spawned at an integer y-coordinate. Horizontally, a mob can spawn with its center point anywhere within the 8 × 8 range, but vertically, mobs will spawn with their legs at either the same layer as the spawner block, one block above it, or one block below it. Due to the y-coordinate ranging from -1 to 1 of the bottom surface of the spawner block, there are 3 vertical blocks of space in which mobs can spawn even though the spawning volume is only two blocks in height. This 3-block vertical space can be proven to exist with cave spider spawners and glass to limit the spawning space.

For some types of mobs to spawn in the outer planes of the spawning volume, some planes outside the volume may also need to be free of opaque blocks to conform with the mobs' height, width, or other rules governing their individual spawn volumes. For mobs that are two or more blocks tall such as zombies, skeletons, or blazes to spawn in the top y-layer, the layer above that must contain only air.

Summary of maximum spawn volumes for common monster spawners
Mob type Required Volume Failure rate from 8×8×4 volume[note 1] Vertical
alignment
Pig 8.9 × 8.9 × 2.9 2.531252%
Cave Spider 8.7 × 8.7 × 2.5 1.531252%
Silverfish 8.3 × 8.3 × 2.7 0.28125%
Zombie
Skeleton
Blaze
8.6 x 8.6 x 3.8 1.125%
Spider 9.4 × 9.4 × 2.9 6.125%
  1. 8×8×3 is the actual volume across which spawners spawn entities, but this volume only contains the entity's center. The failure rate assumes 8×8×4 because it is a popular misconception that 8×8×4 is the maximum efficiency volume of empty space for mob spawners - it actually depends on the size of the entities themselves. Note that 10x10x4 is guaranteed to accommodate all of the above mobs. Also note that this failure rate only accounts for failures due to attempting to spawn a mob at the edges of the spawn range, not other causes of failure such as mobs attempting to spawn intersecting the spawner block itself.

For all of the volumes listed in the table, the horizontal plane is centered on the center of the spawner block. While the spawning volume for pigs is 8.9×8.9×2.9, the requirement of grass blocks that are necessary for pigs to spawn will reduce the actual volume in which they successfully spawn.

The block will attempt to spawn 4 mobs at randomly chosen points within the spawning area, then wait anywhere from 200 to 799 ticks (10 to 39.95 seconds) before spawning again. As it waits, the mob inside the block will spin faster and faster. Except for spawning on a solid block, all of the usual requirements for spawning must be met (not in a solid block, correct light level, etc.), so the spawner will often produce fewer than 4 mobs. When it does spawn, it will "poof", and more lightless flames will temporarily appear around the Spawn block. If the block fails to spawn any mobs because it did not pick any suitable locations, it will repeat this process every tick until it succeeds. Only when it manages to spawn at least one mob will it start waiting for the next cycle. If, at the time of spawning, 6 or more mobs of the block's type are present within a 9×9×9 area, centered on the spawner block, the spawner "poofs" without creating any mobs and then waits for the next cycle.

In Peaceful difficulty, monster spawner blocks will still appear and work, but any spawned hostile mobs will disappear the instant they spawn. Zombie Pigmen, Magma Cubes, and Ghasts will not spawn at all.

An interesting quirk of monster spawners (and end portal frames and slime blocks) is that they are transparent in their rendering only - unlike all other transparent blocks, they can have torches and redstone placed on them, conduct a redstone current, will suffocate mobs, and more.

Detailed spawning algorithm

This pseudo-code is derived from the de-compiled source of 1.7.10

if (there is a player within the range of activatingRangeFromPlayer) 
{
    if (spawner delay == -1) 
    {
        reset spawner delay
    }

    if (spawner delay > 0) 
    {
        decrement spawner delay by 1
        cancel this spawn
    }

    loop for the number of entities we should spawn 
    {
        if (the number of entityTypeName in a 2*spawnRange+1 centered cube > maxNearbyEntities) {
            reset spawner delay
            exit loop
        }

        X = Spawner.x + random(spawnRange*2)-spawnRange;
        Y = Spawner.y + random(3)-1;
        Z = Spawner.z + random(spawnRange*2)-spawnRange;

        if (entity can spawn at (X,Y,Z)) 
        {
            Spawn entityTypeName at (X,Y,Z)
            Play Sound Effect
            Spawn Particles
        }
    }

    if (at least one entity was spawned) 
    {
        reset spawner delay
    }
}

Default values:
    activatingRangeFromPlayer = 16
    spawner delay = 20
    maxNearbyEntities = 6
    spawn range = 4
    entityTypeName = Pig

Outcomes (default):
    A player must be within a 16 block centered sphere
    There must not be more than 6 pigs within a 9x9x9 centered cube
    The pig must be able to spawn at the chosen location (must not be inside a block, meet lighting conditions etc.)
    If all mobs fail to spawn, it will try again on the very next tick.

Custom spawners

Monster spawners are capable of much more than they are used for in survival Minecraft. Using commands, they can be customized in many ways:

  • They can be made to spawn any kind of entity.
  • A single spawner can spawn multiple different entities, chosen at random from a list.
  • Properties can be set on the spawned entities.
  • Various range and timing properties of the spawner can be altered.

Detailed technical information about custom spawners can be found in the chunk format reference.

Video

Monster Spawner/video

History

inf
Seecret Friday 2
{{Extension DPL}}<ul><li>[[Minecart with TNT|Minecart with TNT]]<br/>{{ItemEntity
|image=Minecart with TNT.png
|renewable=Yes
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|networkid='''[[JE]]:''' 10
|drops=
;If not exploded
: 1 {{ItemLink|Minecart with TNT}}
|health={{hp|6}}
}}

A '''minecart with TNT''' is a block of [[TNT]] inside a [[minecart]]. Unlike normal TNT it can detonate instantly under certain conditions and its damage and blast radius is increased by its speed when it detonates.

== Obtaining ==

=== Crafting ===

{{Crafting
|Output= Minecart with TNT
|type= Transportation
|TNT|Minecart}}
Minecarts with TNT can be retrieved by attacking them, and by doing so it drops as an [[item]].

== Usage ==
[[File:TNT minecart and powered activator rail.png|thumb|right|When the TNT minecart passes over the powered activator rail, it explodes after four seconds.]]
[[File:Simple TNT minecart detonator setup.png|thumb|right|Placing two TNT minecarts on the rail and powering it (here, by flicking the lever) creates an instant explosion.]]
[[File:TNT minecart roof trap.png|thumb|right|Destroying the gold block causes the TNT minecart to fall down and instantly explode.]]

A minecart with TNT detonates after a delay on these conditions:
* It moves over a powered [[activator rail]].
* It is destroyed while in motion (except by a player in Creative mode).
* It is destroyed by fire, lava, or an explosion.
*{{IN|java}}, it is hit by a [[fire charge]].

The delay is {{convert|4|seconds|ticks}} for an activator rail, like the TNT block. For other causes there is a random delay between 0 and 1.9 seconds, but more likely to be close to 1.

It detonates instantly on these conditions:

* It hits the ground with a downward velocity of it falling more than three blocks, unless landing on any form of rail.
* It turns on a curved track too fast, with a solid block or entity located beside the track (in the previous movement direction).
* It is hit by a flaming arrow.
* It is pressed into a block or entity and has velocity.

Upon detonation it acts as normal TNT, [[exploding]] and damaging nearby blocks, players, and entities. Upon detonation after activating on activator rail, it does not destroy its rails and the blocks the rail is on, however other nearby carts can.{{only|java}} More than one minecart can be placed on the same rail block, allowing many of them to fit into a single block. They explode when touched, dealing large amounts of damage.

The explosion has a base [[Explosion#Explosion strength|power]] of 4, the same as regular TNT, but the game also adds a random bonus value up to 1.5 times velocity, but no higher than 7.5. This means that with a speed of 5 or higher the power will be a random value between 4 and 11.5. When triggered by an activator rail or by damage, the bonus value is calculated using the horizontal velocity of the minecart. When hit by a flaming arrow the velocity of the arrow is used instead. When triggered by fall damage, the fall distance divided by 10 is used.

Minecarts with TNT bounce off of other minecarts and cannot be linked to [[minecarts with furnace]]s.

== Sounds ==
{{Edition|Java}}:<br>
Minecarts with TNT use the Friendly Creatures sound category for entity-dependent sound events.<ref group=sound name=rollsource>{{bug|MC-42132}}</ref>
{{Sound table
|sound=Minecart rolling.ogg
|subtitle=Minecart rolls
|source=Friendly Creatures <ref group=sound name=rollsource/>
|overridesource=1
|description=While a minecart with TNT 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}}
{{Sound table
|sound=Fuse.ogg
|subtitle=TNT fizzes
|source=block
|description=When a minecart with TNT is primed
|id=entity.tnt.primed
|translationkey=subtitles.entity.tnt.primed
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|subtitle=Explosion
|source=block
|description=When a minecart with TNT explodes
|id=entity.generic.explode
|translationkey=subtitles.entity.generic.explode
|volume=4.0
|pitch=0.56-0.84
|distance=16
|foot=1}}

{{Edition|Bedrock}}:<ref group=sound>{{Bug|MCPE-35778||Minecart with tnt does not have the sound of tnt being ignited when we use flint and steel, fire charge or activator rail}}</ref>
{{Sound table
|type=bedrock
|sound=Minecart rolling.ogg
|source=neutral
|description=While a minecart with TNT is moving
|id=minecart.base}}
{{Sound table
|sound=Explosion1.ogg
|sound2=Explosion2.ogg
|sound3=Explosion3.ogg
|sound4=Explosion4.ogg
|source=block
|description=When a minecart with TNT explodes
|id=random.explode
|volume=4.0
|pitch=1.0
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Item
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Minecart with TNT
|spritetype=item
|nameid=tnt_minecart
|id=525
|form=item
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Entity
|shownumericids=y
|generatetranslationkeys=y
|displayname=Minecart with TNT
|spritetype=entity
|nameid=tnt_minecart
|id=97
|foot=1}}

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

== Video ==

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

== History ==
{{History|java}}
{{History||1.5|snap=13w02a|[[File:Minecart_with_TNT_JE1_BE1.png|32px]] [[File:Minecart_with_TNT_(item)_JE1_BE1.png|32px]] Added minecart with TNT.}}
{{History|||snap=13w03a|Minecart with TNT no longer destroys nearby [[rail]]s and rail supports during [[explosion]].<ref>{{bug|MC-6833}}</ref>}}
{{History||1.8|snap=14w11a|Minecart with TNT explosions no longer stack.<!--reverted in 17a like other changes in 11a?-->}}
{{History|||snap=14w26a|Minecart with TNT can now be detonated using [[arrow]]s on fire.}}
{{History||1.11|snap=16w32a|The [[entity]] ID for minecart with TNT has been changed from <code>MinecartTNT</code> to <code>tnt_minecart</code>.}}
{{History||1.12|snap=1.12-pre6|No longer instantly explode when hit with [[fire charge]]s; instead, they explode as if primed by an [[activator rail]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 407.}}
{{History||1.14|snap=18w43a|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The textures of minecart with TNT have been updated.}}
{{History|||snap=19w11a|Minecart with TNT explosions now have a 100% drop rate.}}
{{History||1.15|snap=19w38a|[[File:Minecart with TNT 19w38a.png|32px]] The TNT now appear dark, same as suffocating mobs.}}
{{History|||snap=19w39a|The TNT texture now colored correctly.}}
{{History||1.15|snap=Pre-release 1|[[File:Minecart with TNT JE3.png|32px]] The [[model]] of minecart with TNT has been changed.<ref>{{bug|MC-165971}}</ref>}}
{{History|||snap=Pre-release 3|[[File:Minecart with TNT JE2 BE2.png|32px]] The model of minecart with TNT has been changed back to the [[Java Edition 18w43a|18w43a]] model.}}
{{History||1.19|snap=22w13a|The crafting recipe for a minecart with TNT is now shapeless.
|Breaking a minecart with TNT will now drop the item instead of the minecart and TNT separately.<ref>{{bug|MC-249493|||Fixed}}</ref>}}

{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|The [[entity]] ID has been changed from <code>minecarttnt</code> to <code>tnt_minecart</code>.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The textures of minecart with TNT have been updated.}}
{{History||1.19.0|snap=beta 1.19.0.30|Breaking a minecart with TNT will now drop the item instead of the minecart and TNT separately.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Minecart with TNT JE2 BE2.png|32px]] [[File:Minecart with TNT (item) JE2 BE2.png|32px]] The textures of minecart with TNT have been updated.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Minecart with TNT JE1 BE1.png|32px]] [[File:Minecart with TNT (item) JE1 BE1.png|32px]] Added minecart with TNT.
|Minecart with TNT emits smoke [[particle]]s when destroyed.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

* A direct hit from three merged [[minecart]]s with [[TNT]] can reduce a fully [[diamond]] [[armor]]ed player to half a heart.<ref>{{tweet|dinner|289532985340993536|Haha, oops... Nuclear minecarts! (mature language)|January 10, 2013}}</ref> However, if the TNT minecarts explode, they do not destroy any [[rail]]s.

== Gallery ==

<gallery>
File:First TNT Minecart Image.jpg|The first image of minecarts with TNT, released by Dinnerbone.<ref>{{tweet|dinner|288302629803683840|Those blasted pigs have taken the village. We've ran out of options; we must stop them from spreading further!|January 7, 2013}}</ref><ref>{{tweet|dinner|288304442560880643|(Mirror: <nowiki>[imgur link])|January 7, 2013}}</ref> (One can be seen in the lower-left corner.)
File:First TNT Minecart Image ZOOM.jpg|A more zoomed in image.
File:Minecart-with-tnt.png|Minecart with TNT and activator rail for detonation.
File:13w02a Banner.png|The 13w02a banner, with a minecart with TNT and a [[hopper]].
File:Dinnerbone safe boom1.jpg|Dinnerbone showing how minecarts with TNT have controlled explosions.<ref>{{tweet|dinner|291212723755307009|What's the point of properly activating TNT carts if they just blow up your tracks? Let me answer that with an album!|January 15, 2013}}</ref>
File:Dinnerbone safe boom 2.png|Primed minecart with TNT.
File:Dinnerbone safe boom 3.jpg|Explosion from a minecart with TNT. (The "bridge" of rails is left undestroyed by the explosion.)
</gallery>

== References ==

{{reflist}}

{{items}}
{{entities}}

[[Category:Mechanics]]

[[cs:Vozík s TNT]]
[[de:TNT-Lore]]
[[es:Vagoneta con dinamita]]
[[fr:Wagonnet à TNT]]
[[it:Carrello da miniera]]
[[ja:TNT付きのトロッコ]]
[[ko:TNT가 실린 광산 수레]]
[[nl:Mijnkar met TNT]]
[[pl:Wagonik z TNT]]
[[pt:Carrinho de mina com dinamite]]
[[ru:Вагонетка с ТНТ]]
[[uk:Вагонетка з динамітом]]
[[zh:TNT矿车]]</li><li>[[A Very Fine Item|A Very Fine Item]]<br/>{{Joke feature}}
{{Item
| image = A Very Fine Item.png
| renewable = No
| stackable = Yes (64)
}}

'''A very fine item''' was a joke item from [[Java Edition 20w14∞]], found only in the {{code|isolation}} dimension.

== Appearance ==
The texture of a very fine item resembles the side face of a grass block with the words "Home Sweet Home" written on it. Unlike most items, its texture is 64x64 pixels, rather than the usual 16x16.

== Obtaining ==
=== Dimension ===
A very fine item can only be obtained from an item frame in the {{Code|isolation}} dimension. There is a maximum of 1 fine item that can be found legitimately in any world.

=== Cheats/Creative mode ===
This item can't be found in the creative inventory, but it can be middle-click duplicated in creative mode or given with the {{Code|code=give <target> minecraft:fine_item <amount>}} command.

== Usage ==
This item cannot be placed or used in any way other than a trophy. It can still be inserted and/or rotated inside of an item frame.

== Data values ==

=== ID ===
{{ID table
|showforms=y
|generatetranslationkeys=java
|displayname=A Very Fine Item
|spritetype=item
|nameid=fine_item
|form=item
|foot=1}}

== History ==
{{History|java}}
{{History||20w14∞|[[File:A Very Fine Item.png|32px]] Added a very fine item.}}
{{History|foot}}

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

== References ==
{{reflist}}

{{Items}}
{{Jokes}}

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

[[es:A Very Fine Item]]
[[pt:Um item muito bom]]</li></ul></nowiki>
Added mob spawners. They could be picked up and when placed, spawned pigs.
June 27, 2010
{{Extension DPL}}<ul><li>[[:Category:Minecraft: Story Mode items|Category:Minecraft: Story Mode items]]<br/>[[Category:Minecraft: Story Mode]]
[[Category:Items]]</li><li>[[Raw Cod|Raw Cod]]<br/>{{about|the item|the mob|Cod}}
{{redirect|Raw Fish|raw salmon|Raw Salmon|pufferfish|Pufferfish (item)|tropical fish/clownfish|Tropical fish (item)}}
{{Item
| image = Raw Cod.png
| renewable = Yes
| heals = {{hunger|2}}
| stackable = Yes (64)
}}

'''Raw cod''' is a [[food]] item that can be eaten by the player or cooked to make [[cooked cod]].

== Obtaining ==

=== Mob loot ===

==== Cod ====
[[Cod]] always drops 1 raw cod when killed, unaffected by Looting.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref> If it is killed while on [[fire]], it drops 1 [[cooked cod]] instead.

==== Dolphins ====
When killed, [[Dolphin|dolphins]] drop 0–1 raw cod. The maximum amount is increased by 1 per level of [[Looting]], for a maximum of 0-4 with Looting III. If killed while on fire, they drop cooked cod instead.

==== Guardians and elder guardians ====

[[Guardian]]s and [[elder guardian]]s have a 40% and 50% chance, respectively, to drop raw cod when killed. {{IN|java}}, cooked cod is dropped if a guardian is on fire when killed.

Guardians and elder guardians also have a 2.5% chance to drop a random fish, with 60% of them being raw cod, which drops as cooked if the guardian was on fire. The chance of getting the fish drop is increased by 1% per level with [[Looting]] (for a maximum of 5.5% with Looting III), but the type of fish is not affected.

==== Polar bears ====

[[Polar bear]]s have a 75% chance of dropping 0–2 raw cod when killed. The maximum amount can be increased by 1 per level of Looting, for a maximum of 0-5 with Looting III. If killed while on fire, they drop cooked cod instead.

=== Fishing ===
{{main|Fishing}}

Raw cod can be obtained from fishing. The wait time of one being caught is decreased with the [[Lure]] enchantment and the chance of one being caught is slightly decreased with the [[Luck of the Sea]] enchantment (named as such because it increases treasure, not fish).

Catching cod awards 1-6 experience.

=== Natural generation ===
{{el|java}}{{LootChestItem|raw-cod}}

=== Villager gifts ===
{{in|java}}, fisherman [[villager]]<nowiki/>s throw raw cod at [[player]]s under the [[Hero of the Village]] effect.

== Usage ==

=== Smelting ingredient ===

{{smelting
|Raw Cod
|Cooked Cod
|0.35
}}

=== Food ===

Raw cod restores {{hunger|2}} [[hunger]] and 0.4 [[Hunger#Mechanics|saturation]].

=== Cats ===

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

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

=== Dolphins ===

[[Dolphin]]s can be fed raw cod. Doing this improves their trust and interaction with the player. However, unlike most animals, feeding dolphins does not allow them to breed.

When a player feeds raw cod to a dolphin, it swims toward the nearest chest in an [[underwater ruins]] or [[shipwreck]]. If the chest in the nearest structure is broken, they swim to the next nearest structure that has a chest.

===Trading===

Fisherman villagers have 50% chance to sell 6 cooked cod for 6 raw cod and 1 [[emerald]] as part of their first tier trade.

Apprentice-level fisherman villagers have a {{frac|2|3}} chance to buy 15 raw cod for an emerald in Java Edition, and always offer the same trade in Bedrock Edition.

=== Wolves ===
{{IN|bedrock}}, raw cod can be used to feed [[wolves]], to heal them by {{hp|2|mob=1}}. However, unlike other meat items, raw cod cannot be used to speed up the growth of baby wolves nor used to breed them, thus making it only feedable when wolves are not at full health.

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|showaliasids=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Raw Cod
|spritetype=item
|nameid=cod
|aliasid=fish
|id=264
|form=item
|translationkey=item.fish.name
|foot=1}}

== Achievements ==

{{load achievements|Delicious Fish;Lion Tamer;Echolocation}}

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

== History ==
{{History|java alpha}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|[[File:Raw Cod JE1 BE1.png|32px]] Added raw fish, which restores {{hp|2}}.}}
{{History|java beta}}
{{History||1.5|Cooking raw fish now gives the '''Delicious Fish''' [[achievement]].}}
{{History||1.8|snap=Pre-release|Raw fish is now stackable to 64 and fills {{hunger|2}} instead of {{hp|2}}.}}
{{History|java}}
{{History||1.2.1|snap=12w04a|Raw fish can now be fed to [[ocelot]]s to tame them into cats.}}
{{History||1.8|snap=14w02a|Fisherman [[villager]]s now [[trading|sell]] 6 cooked fish for 1 [[emerald]] plus 6 raw fish.}}
{{History|||snap=14w25a|Raw fish is now obtainable as a rare [[drops|drop]] from [[guardian]]s and [[elder guardian]]s.}}
{{History||1.10|snap=16w20a|Raw fish is now dropped from [[polar bear]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> and <code>cooked_fish</code> IDs have been split up into their own IDs.
|"Raw Fish" has been renamed to "Raw Cod".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 349.}}
{{History|||snap=18w07a|Raw cod is now used to breed [[turtle]]s.}}
{{History|||snap=18w07b|Raw cod is no longer used to [[breeding|breed]] turtles. [[Seagrass]] is used instead.}}
{{History|||snap=18w08b|Cod, and other [[fish]], have been added as [[mob]]s, which drop their (raw) item form when killed.
|[[File:Raw Cod JE2 BE2.png|32px]] The texture of raw cod has been changed.}}
{{History|||snap=18w15a|Raw cod can now be used to feed [[dolphin]]s.
|Raw cod can now be obtained as a [[drops|drop]] from [[dolphin]]s.}}
{{History||1.14|snap=18w43a|[[File:Raw Cod JE3.png|32px]] The texture of raw cod has been changed.}}
{{History|||snap=18w47b|[[File:Raw Cod JE4 BE2.png|32px]] The previous texture change to raw cod has been reverted.}}
{{History|||snap=18w48a|Raw cod can now be found in chests in [[village]] fisher cottages.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] raw cod.}}
{{History|||snap=19w13a|Fisherman villagers now give raw cod to players under the [[Hero of the Village]] effect.}}

{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Raw Cod JE1 BE1.png|32px]] Added raw fish.}}
{{History||v0.12.1|snap=build 1|Raw fish now restore [[hunger]] instead of [[health]].
|Raw fish can now be used to feed [[ocelot]]s to tame them into [[cat]]s.}}
{{History||v0.16.0|snap=build 1|Raw fish is now [[drops|dropped]] by [[guardian]]s and [[elder guardian]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Added [[polar bear]]s, which [[drops|drop]] raw fish.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Fisherman [[villager]]s now [[trading|sell]] 6 cooked fish for 1 [[emerald]] plus 6 raw fish.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[Cod]] and other [[fish]] have been added as [[mob]]s, which [[drops|drop]] their (raw) [[item]] form when killed.
|[[File:Raw Cod JE4 BE2.png|32px]] The texture of raw cod has been changed.}}
{{History|||snap=beta 1.2.20.2|Raw cod is now [[drops|dropped]] by [[dolphin]]s and can be used to feed them.}}
{{History||1.5.0|snap=beta 1.5.0.0|Giving raw cod to [[dolphin]]s lead the [[player]] to the nearest [[underwater ruins]] or [[shipwreck]].}}
{{History||1.7.0|snap=beta 1.7.0.2|"Raw Fish" has been renamed to "Raw Cod".}}
{{History||1.8.0|snap=beta 1.8.0.8|Raw cod can no longer can be used to tame [[ocelot]]s.
|Raw cod can now be used to [[breeding|breed]] ocelots and increase baby ocelot growth speed.
|Added [[stray cat]]s, which can be tamed using raw cod.}}
{{History||1.11.0|snap=beta 1.11.0.4|Raw cod can be [[trading|sold]] to fisherman [[villager]]s.
|Fisherman villagers now have 50% chance to [[trading|sell]] 6 cooked cod for 6 raw cod and an [[emerald]] as part of their first tier [[trading|trade]].}} 

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Raw Cod JE1 BE1.png|32px]] Added raw fish.}}
{{History||xbox=TU5|Raw fish is now stackable to 64.
|Raw fish now fills [[hunger]] instead of [[health]].}}
{{History||xbox=TU12|Raw fish can now be fed to [[ocelot]]s to tame them into [[cat]]s.}}
{{History||xbox=TU13|ps=1.0|Raw fish is no longer removed from the [[player]]'s [[inventory]] when trying to tame an [[ocelot]] in [[creative]] mode.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|"Raw Fish" has been renamed to "Raw Cod".
|[[File:Raw Cod JE4 BE2.png|32px]] The texture of raw cod has been changed.}}

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

== Issues ==

{{issue list}}
== Trivia ==
[[File:Steve wearing Raw Cod.png|75px]] [[File:Alex wearing Raw Cod.png|75px]]

* While a raw cod cannot be equipped in the head slot in Survival mode, equipping it using the {{cmd|item}} command causes it to appear at the side of the player's head.

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

== References ==
{{reflist}}

{{items}}

[[de:Roher Kabeljau]]
[[es:Bacalao crudo]]
[[ja:生鱈]]
[[ko:생대구]]
[[pt:Bacalhau cru]]
[[ru:Сырая треска]]
[[zh:生鳕鱼]]
[[Category:Food]]
[[Category:Renewable resources]]</li></ul></nowiki>
Mob spawners given a unique ID, reducing crashes.
b
?Changed name from mob spawner to monster spawner.
1.2
{{Extension DPL}}<ul><li>[[Bleach|Bleach]]<br/>{{education feature}}
{{exclusive|bedrock|education}}
{{Item
| image = Bleach.png
| renewable = No
| stackable = Yes (64)
}}

'''Bleach''' is an [[item]] used to [[dye]] things white. It is a [[compound]], as it is made using a [[lab table]].

== Obtaining ==
=== Lab Table ===

Bleach is not obtainable in the [[creative inventory]] or {{cmd|give}}. The only way to obtain it is using a [[lab table]].

{| class="wikitable"
! Result
! Materials Needed
|-
!rowspan=2|{{slot|Bleach}}<br>[[Bleach]]
|{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Water (compound)|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}{{slot|Sodium Hypochlorite|link=Compound}}
|-
|<center>[[Water (compound)|Water]] x3, [[Compound|Sodium Hypochlorite]] x3</center>
|}

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

{{crafting usage}}

== Sounds ==
{{Sound table
|type=bedrock
|sound=Fire.ogg
|source=sound
|description=When bleach is created by a lab table
|id=lt.reaction.fire
|volume=6.0
|pitch=0.7/0.9
|foot=1}}

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bleach
|spritetype=item
|nameid=bleach
|id=596
|form=item
|foot=1}}

== History ==
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:Bleach BE1.png|32px]] Added bleach.}}

{{History|education}}
{{History||1.0.27|[[File:Bleach BE1.png|32px]] Added bleach.}}
{{History|foot}}

== Trivia ==
*[[File:Bleach (compound).png|32px]] There is an [[History of textures/Unused textures#Unused compounds|unused bleach texture]] in the compounds folder of the chemistry resource pack, which is slightly different from the one used in the game.

== Issues ==

{{issue list}}

{{Items}}
{{Education Edition}}

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

[[de:Bleichmittel]]
[[es:Lejía]]
[[ja:漂白剤]]
[[ko:표백제]]
[[pl:Wybielacz]]
[[pt:Alvejante]]
[[zh:漂白剂]]
[[lzh:素精]]</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>
Monster spawners again now show a rotating model inside of what they spawn in single player after being missing for several versions.
r
1.0.0
{{Extension DPL}}<ul><li>[[Medicine|Medicine]]<br/>{{Redirect|Elixir", "Antidote", "Eye Drops", and "Tonic|s=1|the brewable items|Potion}}
{{Education feature}}
{{Exclusive|bedrock|education}}
{{Item
| image = <gallery>
Antidote.png | Antidote
Elixir.png | Elixir
Eye Drops.png | Eye Drops
Tonic.png | Tonic
</gallery>
| renewable = Yes
| stackable = No
}}
A '''medicine''' is a type of [[potion]] that cures the specified [[effect]] instead of applying it.

== Obtaining ==

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

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

== Usage ==

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

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

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

== History ==

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

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

== Issues ==

{{issue list|Cures|Medicine}}

== See also ==

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

{{Items}}
{{Education Edition}}

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

[[de:Medizin]]
[[it:Medicinale]]
[[ja:治療薬]]
[[lzh:藥]]
[[pl:Leki]]
[[pt:Remédio]]
[[zh:药物]]</li><li>[[Black Dye|Black Dye]]<br/>{{Item
| image = Black Dye.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Black dye''' is a [[Dye#Primary|primary color dye]] similar to an [[ink sac]].

== Obtaining ==

=== Trading ===
[[Wandering trader]]s have a chance to [[trading|trade]] 3 black dyes for 1 [[emerald]].{{only|java}}

=== Crafting ===
{{Crafting
  |head=1
  |showname=0
  |Ink Sac
  |Output=Black Dye
  |type=Material
}}
{{Crafting
  |Wither Rose
  |Output=Black Dye
  |type=Material
  |foot=1
}}

== Usage  ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===

Apprentice-level Shepherd villagers have a 20%{{only|bedrock}} or {{frac|2|7}}{{only|java}} chance to buy 12 black dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Black Dye
|spritetype=item
|nameid=black_dye
|aliasid=dye / 16
|id=395
|form=item
|translationkey=item.dye.black_new.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.14|snap=18w43a|[[File:Black Dye JE1 BE1.png|32px]] Added black dye.}}
{{History|||snap=18w44a|Black dyes now can changed the text color on the [[sign]]s to black.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell black dyes.}}
{{History|||snap=19w11a|Black dyes can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.15|snap=Pre-release 1|Black dye can now be used to craft [[prismarine|dark prismarine]], just like [[Bedrock Edition]].}}
{{History||1.17|snap=20w45a|Black dyes can now used to craft newly added [[black candle]]s.}}
{{History|||snap=21w19a|Black dyes can no longer used to craft black candles.}}
{{History|||snap=Pre-release 1|Black dyes can once again used to craft black candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Black dyes now can change the text color on [[hanging sign]]s to black.}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.10|[[File:Black Dye JE1 BE1.png|32px]] Added black dye.}}
{{History||1.11.0|snap=beta 1.11.0.4|Black dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{history||1.13.0|snap=beta 1.13.0.9|Black dye can now be [[crafting|crafted]] from [[flower|wither roses]].}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of black dye has been changed from <code>dye/16</code> to <code>black_dye</code>.}}

{{History|ps4}}
{{History||1.83|[[File:Black Dye JE1 BE1.png|32px]] Added black dye.}}
{{History|foot}}

== Issues ==

{{issue list}}

{{Items}}

[[Category:Dyes]]
[[Category:Renewable resources]]

[[de:Schwarzer Farbstoff]]
[[es:Tinte negro]]
[[fr:Teinture noire]]
[[ja:黒色の染料]]
[[ko:검은색 염료]]
[[pl:Czarny barwnik]]
[[pt:Corante preto]]
[[th:สีย้อมสีดำ]]
[[zh:黑色染料]]</li></ul>
Beta 1.9-pre1Changed monster spawner texture to a darker color.
Beta 1.9-pre5Squid spawners now only work in a narrow elevation range, from 46 to 62.
Monster Spawners no longer drop after destroyed. Before this update, it was possible to obtain a monster spawner using a tool enchanted with Silk Touch.
?Monster spawners are now easier to destroy.
1.2.1
{{Extension DPL}}<ul><li>[[Written Book|Written Book]]<br/>{{Item
| title = Written Book
| image = Written Book.gif
| renewable = Yes
| stackable = Yes (16)
}}
A '''written book''' is an [[item]] created after a [[book and quill]] is signed.

== Obtaining ==

=== Signing a book and quill ===

Written books can be obtained by signing a [[book and quill]]. After it has been signed, it cannot be edited again. The label does not say "Written Book", but whatever the [[player]] titles it. The title appears on the top line of the label, and "by <''player''>" (the player's username) on the bottom. {{IN|bedrock}}, this is customizable without [[commands]].

=== Copying ===

{{crafting
|name=Written Book
|showdescription=1
|;;;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill
|;;;;Book and Quill;Book and Quill;Book and Quill;Book and Quill
|;;;;;Book and Quill;Book and Quill;Book and Quill
|Book and Quill
|Written Book
|;;;;;;Book and Quill;Book and Quill
|;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill
|;;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill;Book and Quill
|;;;;;;;Book and Quill
|Output= Written Book; Written Book,2; Written Book,3; Written Book,4; Written Book,5; Written Book,6; Written Book,7; Written Book,8
|description=The input written book is not consumed.<br>The new copies are "Copy of Original" or "Copy of Copy", depending on whether the input written book is "Original" or "Copy of Original".<br>Copies of copies cannot be copied.<br>Copied books of the same generation ("Original", "Copy of Original", "Copy of Copy", or "Tattered") stack.
|type=Miscellaneous
}}

== Usage ==

Written books can be opened by right-clicking (or holding down on the screen {{in|bedrock}}), and display a GUI allowing the [[player]] to read it or turn the page.

The contents of a book are an extra set of data attached to the item. This means that when a book is destroyed, its contents are lost with it.

=== Lecterns ===

One can place 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.

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

== Sounds ==
{{edition|java}}:
{{Sound table
|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
|sound=Page turn1.ogg
|sound2=Page turn2.ogg
|sound3=Page turn3.ogg
|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 written book 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 written book 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 written book is placed in a chiseled bookshelf
|id=insert.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound>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 written book is removed from a chiseled bookshelf
|id=pickup.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}

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

{{BE}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Written Book
|spritetype=item
|nameid=written_book
|id=511
|itemtags=minecraft:bookshelf_books, minecraft:lectern_books
|form=item
|foot=1}}

=== Item data ===

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

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

== History ==
{{History|java}}
{{History||1.3.1|snap=12w17a|[[File:Written Book JE1 BE1.png|32px]] Added written books.}}
{{History|||snap=12w21a|Written books can now be [[trading|sold]] to librarian [[villager]]s, at 1 written book for 1 [[emerald]].}}
{{History||1.7.2|snap=13w36a|Written books can now be cloned the same way [[map]]s can, but by using [[book and quill|books and quills]] instead of Empty Maps. Multiple copies of the same written book can be cloned by putting more book and quills in the crafting grid. 
|Written books can now be stacked (up to 16 per stack).}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: librarian [[villager]]s now [[trading|buy]] 2 written books for 1 [[emerald]].}}
{{History|||snap=14w05a|Copying written books now mark them as "Copy of Original" or "Copy of Copy". The copying status of a book is denoted in a separate line in the tooltip, beneath the author's name. Copies of copies cannot be copied.}}
{{History||1.9|snap=15w33c|A written book titled "Work in Progress" now generates within a [[hopper]] as a part of the [[end ship]] in the [[end cities]]. It reads: "We will have something else here soon..." and is signed by [[Searge]].}}
{{History|||snap=15w41a|End ships no longer contain a written book.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 387.}}
{{History||1.14|snap=18w43a|[[File:Written Book JE2 BE2.png|32px]] The texture of written books has been changed.}}
{{History|||snap=19w02a|Written books can now be held on [[lectern]]s.}}
{{History|||snap=19w11a|Librarian [[villager]]s no longer [[trading|buy]] written books.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Written books can now interact with [[chiseled bookshelves]].}}

{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|[[File:Written Book JE1 BE1.png|32px]] Added written books.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Written Book JE2 BE2.png|32px]] The texture of written books has been changed.
|Written books can now be held on [[lectern]]s.}}

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

== Issues ==
{{issue list}}

== Trivia ==
*When written books are obtained with [[commands]] (without the correct [[Player.dat format#Written Books|data tag]]), the label shows "Written Book" and has the text "*Invalid book tag*" when opened. The book is signed and cannot be edited without commands.
*Commands that were added to a written book using serialized JSON objects are executed through the chat system. This means that any command added to a written book can't be longer than 256 characters, which is the maximum chat line limit.
*During the 2020 April Fools Update [[Java Edition 20w14∞]], throwing a written book into a lit [[Nether Portal (block)|nether portal]] would create a portal to one of the 2,147,483,645 new dimensions.

== Gallery ==
<gallery>
Written Book tooltip.png|A signed book.
Test by Dinnerbone.png|Copying a signed book.
BookandQuillOperators12w17a.png|Different types of characters can be used to simulate a different font.
JSON Book.png|First image of a book using JSON text.
No NBT written book GUI.png|A no NBT written book using commands.
Book Background (JE).png|Java Edition book background texture.
Book Background (BE).png|Bedrock Edition book background texture.
Book Arrowleft (JE).png|Java Edition left arrow texture.
Book Arrowright (JE).png|Java Edition right arrow texture.
Book Arrowleft (BE).png|Bedrock Edition left arrow texture.
Book Arrowright (BE).png|Bedrock Edition Right arrow texture.
</gallery>

== See also ==
*[[Book]]
*[[Bookshelf]]
*[[Book and Quill]]

{{Items}}

[[Category:Renewable resources]]

[[cs:Napsaná kniha]]
[[es:Libro escrito]]
[[fr:Livre édité]]
[[hu:Megírt könyv]]
[[it:Libro]]
[[ja:記入済みの本]]
[[ko:글이 쓰인 책]]
[[nl:Geschreven boek]]
[[pl:Zapisana książka]]
[[pt:Livro escrito]]
[[ru:Написанная книга]]
[[uk:Написана книга]]
[[zh:成书]]</li><li>[[Glistering Melon Slice|Glistering Melon Slice]]<br/>{{Item
| image = Glistering Melon Slice.png‎
| renewable = Yes
| stackable = Yes (64)
}}

A '''glistering melon slice'''{{fn|Known as '''Glistering Melon Slice''' {{in|java}} and '''Glistering Melon''' {{in|bedrock}}.}} is an inedible [[item]] used for brewing [[potion]]s of [[Healing]]. It is also one of the many potion ingredients that can be used to make mundane potions.

== Obtaining ==
=== Chest loot ===
{{LootChestItem|glistering-melon-slice}}

=== Crafting ===

{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget
|A2= Gold Nugget
|B2= Melon Slice 
|C2= Gold Nugget
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget
|Output= Glistering Melon Slice
|type= Brewing
}}

=== Trading ===

Master-level farmer [[villager]]s sell 3 glistering melon for 4 [[emerald]]s.

== Usage ==
Despite being crafted with a [[melon slice]], a glistering melon slice cannot be eaten, unlike a [[golden apple]] or [[golden carrot]].

=== Brewing ingredient ===
{{Brewing
|head=1
|Glistering Melon Slice
|Mundane Potion
|base=Water Bottle
}}
{{Brewing
|Glistering Melon Slice
|Potion of Healing
|foot=1}}

===Piglins===
[[Piglin]]s are attracted to glistering melon slices. They run toward any glistering melon slice on the ground, and inspect it for 6 to 8 seconds before putting it in their inventory.

== Achievements ==
{{load achievements|Oooh, shiny!}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glistering Melon
|spritetype=item
|nameid=glistering_melon_slice
|aliasid=speckled_melon
|id=434
|form=item
|translationkey=item.speckled_melon.name
|foot=1}}

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 4|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.
|The [[crafting]] recipe of glistering melons is one [[melon slice]] and one [[gold nugget]].
|Glistering melons have replaced [[ghast tear]]s as the ingredient to produce [[potions of Healing]] due to the difficulty in getting tears.<ref>{{tweet|jeb_|123671273904680960}}</ref>  They also now brew with [[water bottle]]s to create [[mundane potion]]s.}}
{{History||1.6.1|snap=13w23a|The [[crafting]] recipe of glistering melons is changed from one [[gold nugget]] to eight.}}
{{History||1.9|snap=15w49a|[[File:Glistering Melon Slice JE2.png|32px]] The rotation of glistering melon [[item]]s has been changed to be consistent with [[melon slice]]s.<ref>{{bug|MC-85963}}</ref>}}
{{History|||snap=15w49b|[[File:Glistering Melon Slice JE1 BE1.png|32px]] The rotation of glistering melons has been reverted and is no longer consistent with melon slices.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 382.}}
{{History|||snap=18w20b|"Glistering Melon" has been renamed to "Glistering Melon Slice".
|The ID of glistering melon slices has been changed from <code>speckled_melon</code> to <code>glistering_melon_slice</code>.}}
{{History||1.14|snap=18w43a|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melon slices has been changed.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|sell]] glistering melon slices.}}
{{History||1.16|snap=20w09a|Glistering melon slices are now admired by [[piglin]]s.<ref>{{bug|MC-172363}}</ref>}}
{{History|||snap=20w16a|Glistering melon slices now generate in [[ruined portal]] chests.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Glistering Melon Slice JE3 BE2.png|32px]] The texture of glistering melons has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Glistering melons can now be [[trading|bought]] from farmer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|[[Trading]] has been changed. Master-level farmer villagers now have a {{frac|1|3}} chance to [[trading|sell]] glistering melon slices.}}
{{History||1.16.0|snap=beta 1.16.0.57|Glistering melons are [[trading|sold]] from farmer villagers under a 50% chance, once again.
|Glistering melons now generate in [[ruined portal]] chests.}}
{{History||1.16.100|snap=beta 1.16.100.54|[[Ruined Portal]]s can now generate with 4–12 glistering melons instead of only one.}}
{{History|||snap=beta 1.16.100.56|The ID of glistering melon slices has been changed from <code>speckled_melon</code> to <code>glistering_melon_slice</code>.}}

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

{{History|New 3DS}}
{{History||0.1.0|[[File:Glistering Melon Slice JE1 BE1.png|32px]] Added glistering melons.}}
{{History|foot}}

== Issues ==

{{issue list}}

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

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Zlatavý kousek melounu]]
[[de:Glitzernde Melonenscheibe]]
[[es:Rodaja de sandía reluciente]]
[[fr:Tranche de pastèque scintillante]]
[[hu:Ragyogó dinnye]]
[[ja:きらめくスイカの薄切り]]
[[ko:반짝이는 수박 조각]]
[[nl:Glinsterende meloenschijf]]
[[pl:Błyszczący arbuz]]
[[pt:Fatia de melancia reluzente]]
[[ru:Сверкающий ломтик арбуза]]
[[uk:Блискуча скибка кавуна]]
[[zh:闪烁的西瓜片]]</li></ul>
12w06aMonster spawners now show the mob they are spawning in multiplayer; previously it always showed a pig.
1.3.1
{{Extension DPL}}<ul><li>[[Milk Bucket|Milk Bucket]]<br/>{{Item
| title=Milk Bucket
| image = Milk Bucket.png
| renewable = Yes
| effects = Clears all
| stackable = No
}}
A '''milk bucket'''{{fn|Known as '''Milk Bucket''' {{in|java}} and '''Milk''' {{in|bedrock}}.}} is a [[drink]] obtained from {{Control|use|text=using}} a [[bucket]] on [[cow]]s, [[mooshroom]]s and [[goat]]s that can be consumed to clear all [[Effect|effects]].

== Obtaining ==

=== Harvesting ===
Milk buckets can be obtained from [[cow]]s, [[mooshroom]]s, and [[goat]]s by pressing {{control|use}} while looking at them with an empty [[bucket]].

=== Mob loot ===
A milk bucket has a chance of dropping from a [[wandering trader]], if the trader is killed while holding it.{{only|java}}

== Usage ==

Holding {{control|use}} with a milk bucket starts the drinking sound and animation. {{IN|java}}, the animation is shown only in first-person camera mode.

When consumed, milk immediately removes all status [[effect]]s from the [[player]]. [[Fire]] is not a status effect; therefore, drinking milk doesn't extinguish a burning player.

The benefits of area status effects granted by [[beacon]]s and [[Conduit Power|conduit power]] are restored almost immediately in Bedrock Edition and after a few seconds in ''Java Edition''.

=== Crafting ingredient ===

{{crafting usage|Milk Bucket}}

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Drink.ogg
|subtitle=Sipping
|source=player
|description=While a player is drinking milk
|id=entity.generic.drink
|translationkey=subtitles.entity.generic.drink
|volume=0.5
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Cow milk1.ogg
|sound2=Cow milk2.ogg
|sound3=Cow milk3.ogg
|source=player
|subtitle=Cow gets milked
|description=When a cow is milked
|id=entity.cow.milk
|translationkey=subtitles.entity.cow.milk
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|subtitle=Goat gets milked
|description=When a regular goat is milked
|source=neutral
|id=entity.goat.milk
|translationkey=subtitles.entity.goat.milk
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Goat screaming milk1.ogg
|sound2=Goat screaming milk2.ogg
|sound3=Goat screaming milk3.ogg
|sound4=Goat screaming milk4.ogg
|sound5=Goat screaming milk5.ogg
|subtitle=Goat gets milked
|description=When a screaming goat is milked
|source=neutral
|id=entity.goat.screaming.milk
|translationkey=subtitles.entity.goat.milk
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Wandering trader drink milk1.ogg
|sound2=Wandering trader drink milk2.ogg
|sound3=Wandering trader drink milk3.ogg
|sound4=Wandering trader drink milk4.ogg
|sound5=Wandering trader drink milk5.ogg
|subtitle=Wandering Trader drinks milk
|source=neutral
|description=While a wandering trader is drinking milk to become visible during daytime
|id=entity.wandering_trader.drink_milk
|translationkey=subtitles.entity.wandering_trader.drink_milk
|volume=0.5
|pitch=0.9-1.0
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Drink.ogg
|source=player
|description=While a player is drinking milk
|id=random.drink
|volume=0.35
|pitch=0.9-1.1}}
{{Sound table
|sound=Cow milk1.ogg
|sound2=Cow milk2.ogg
|sound3=Cow milk3.ogg
|source=neutral
|description=When a cow is milked
|id=mob.cow.milk
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Mooshroom milk1.ogg
|sound2=Mooshroom milk2.ogg
|sound3=Mooshroom milk3.ogg
|description=When a regular goat is milked
|source=neutral
|id=mob.mooshroom.suspicious_milk
|volume=1.0
|pitch=1.0/0.9/1.1}}
{{Sound table
|sound=Goat screaming milk1.ogg
|sound2=Goat screaming milk2.ogg
|sound3=Goat screaming milk3.ogg
|sound4=Goat screaming milk4.ogg
|sound5=Goat screaming milk5.ogg
|description=When a screaming goat is milked
|source=neutral
|id=mob.goat.milk.screamer
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Wandering trader drink milk1.ogg
|sound2=Wandering trader drink milk2.ogg
|sound3=Wandering trader drink milk3.ogg
|sound4=Wandering trader drink milk4.ogg
|sound5=Wandering trader drink milk5.ogg
|source=neutral
|description=While a wandering trader is drinking milk to become visible during daytime
|id=mob.wanderingtrader.drink_milk
|volume=1.0
|pitch=0.8-1.2
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Milk
|spritetype=item
|nameid=milk_bucket
|aliasid=bucket / 1
|id=361
|form=item
|translationkey=item.milk.name
|foot=1}}

== Achievements ==
{{load achievements|The Lie}}

== Advancements ==
{{Load advancements|Husbandry}}

== Video ==

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

== History ==

{{History|java alpha}}
{{History||v1.0.8|[[File:Milk Bucket JE1 BE1.png|32px]] Milk has been introduced, but it has no purpose and is obtainable only through inventory editing.}}
{{History||v1.0.11|Milk can now be obtained by {{control|use|text=milking}} a [[cow]] with a [[bucket]]. However, it is not yet drinkable.}}
{{History||v1.0.17|Milk buckets can now be emptied.}}
{{History|java beta}}
{{History||1.2|Milk has been incorporated into the [[crafting]] recipe of [[cake]].}}
{{History||1.2_01|[[Squid]] can now be milked by right-clicking on their mouth if part of their body was exposed to [[air]] or if they were not touching another [[block]]. An easy way to accomplish this is to pull a squid with a [[fishing rod]] away from other blocks and then milk it.}}
{{History||1.3_01|Squid milking has been removed.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Milk can now be obtained by milking [[mooshroom]]s.}}
{{History|||snap=Beta 1.9 Prerelease 2|Milk has been made drinkable.
|According to a tweet by [[Jeb]] on September 30th 2011, milk was made a cure for all status effects.<ref>{{tweet|jeb_|119842906528944129|@Nexusdog_UK I haven't! In beta 1.9 pre2 milk works like a clear-everything drink|September 30, 2011}}</ref>
|Milk is no longer emptiable.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 335.}}
{{History|||snap=18w20a|"Milk" has been renamed to "Milk Bucket".}}
{{History||1.14|snap=18w43a|[[File:Milk Bucket JE2 BE2.png|32px]] The texture of milk buckets has been changed.}}
{{History||1.14|snap=19w06a|[[Wandering trader]]s now drink from milk buckets at dawn, and have a change to drop them.}}
{{History||1.17|snap=21w13a|Milk can now be obtained by milking [[goat]]s.}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|Wander traders now have a chance to [[trading|buy]] a milk bucket from the player.}}

{{History|pocket alpha}}
{{History||v0.7.0|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets. 
|Milk buckets are not yet drinkable.}}
{{History||v0.11.0|snap=build 4|Drinking milk now removes [[status effects]].
|Added milk buckets to the Creative inventory.{{verify|type=update}}{{info needed}}<!---same update?--->}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Moved all bucket items, including milk, from the Equipment tab to the Items tab in the [[Creative inventory]].{{verify|type=update}}{{info needed}}<!---please check snapshots, only 1 major release version was checked each--->}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Milk Bucket JE2 BE2.png|32px]] The texture of milk buckets has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of milk has been changed from <code>bucket/1</code> to <code>milk_bucket</code>.}}
{{History||1.16.200|snap=beta 1.16.200.52|Milk can now be obtained by milking [[goat]]s.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets.}}
{{History|Ps4}}
{{History||1.90|[[File:Milk Bucket JE2 BE2.png|32px]] The texture of milk buckets has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Milk Bucket JE1 BE1.png|32px]] Added milk buckets.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
*[[Water Bucket]]
*[[Lava]]
*[[Food]]
*[[Cake]]
*[[Honey Bottle]] (alternative to remove poison effect)
*[[Medicine]]

== Notes ==
{{fnlist}}

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--milk-bucket Taking Inventory: Milk Bucket] – Minecraft.net on October 8, 2019

{{Items}}

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

[[cs:Mléko]]
[[de:Milcheimer]]
[[es:Cubo con leche]]
[[fr:Seau de lait]]
[[hu:Tej]]
[[it:Secchio di latte]]
[[ja:ミルク入りバケツ]]
[[ko:우유 양동이]]
[[nl:Emmer melk]]
[[pl:Wiadro mleka]]
[[pt:Balde de leite]]
[[ru:Ведро с молоком]]
[[th:ถังนม]]
[[uk:Відро молока]]
[[zh:奶桶]]</li><li>[[Nether Quartz|Nether Quartz]]<br/>{{About|the item|the ore|Nether Quartz Ore|the mineral block|Block of Quartz|other uses|Quartz}}
{{Item
| image = Nether Quartz.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}

'''Nether quartz''' is a white mineral found in [[the Nether]].

== Obtaining ==
{{see also|Nether Quartz Ore#Natural generation}}

=== Mining ===

[[Nether quartz ore]] mined using a [[pickaxe]] drops one unit of Nether quartz. If the pickaxe is enchanted with [[Fortune]], it may drop an extra unit per level of Fortune, up to a maximum of four with Fortune III. If the pickaxe is enchanted with [[Silk Touch]], the ore drops itself.

=== Chest loot ===
{{LootChestItem|nether-quartz}}

=== Smelting ===
{{Smelting
|Nether Quartz Ore
|Nether Quartz
|0,2
}}

=== Bartering ===

[[Piglin]]s may [[barter]] 5–12 nether quartz when given a [[gold ingot]].

== Usage ==

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

=== Trading ===

Expert-level stone mason [[villagers]] have a {{frac|1|33}} chance to trade one [[emerald]] for 12 Nether quartz {{in|java}}. This trade is always offered {{in|bedrock}}.

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Nether Quartz
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Nether Quartz
|Quartz Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}

;Trim color palette
The following color palette is shown on the designs on trimmed armor:
*{{TrimPalette|nether quartz}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Nether Quartz
|spritetype=item
|nameid=quartz
|id=524
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.5|snap=13w01a|[[File:Nether Quartz JE1 BE1.png|32px]] Added Nether quartz. 
|Nether quartz is used to craft [[daylight sensor]]s and [[redstone comparator]]s.}}
{{History|||snap=January 4, 2013|slink=http://twitter.com/jeb_/status/287481098760499201|[[Jeb]] tweeted that Nether quartz would be used for more decorative uses as well.}}
{{History|||snap=January 7, 2013|slink=http://twitter.com/jeb_/status/288311932304371712|Jeb tweeted a picture of some [[block of quartz]] tests potentially being replacements for the lack of limestone/marble in the game.}}
{{History|||snap=13w02a|Added [[block of quartz]], which is [[crafting|crafted]] with Nether quartz.}}
{{History||1.8|snap=14w02a|Nether quartz can now be used to craft [[granite]] and [[diorite]].}}
{{History||1.11|snap=16w39a|Nether quartz is now used to craft [[observer]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeric ID was 406.}}
{{History||1.14|snap=18w43a|[[File:Nether Quartz JE2 BE2.png|32px]] The texture of Nether quartz has now been changed.}}
{{History|||snap=19w11a|Nether quartz is now [[trading|bought]] by [[villager]]s of the new mason profession.}}
{{History||1.16|snap=20w07a|Nether quartz now has a {{frac|1|109}} (~0.92%) chance of being offered by [[piglin]]s when [[bartering]], in a stack size of 1–4, making it [[renewable resource|renewable]].}}
{{History|||snap=20w09a|Nether quartz now has a {{frac|10|226}} (~4.42%) chance of being offered by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Nether quartz now has a {{frac|20|411}} (~4.87%) chance of being offered by piglins when bartering, in a stack size of 8-16.}}
{{History|||snap=20w11a|Nether quartz now has a {{frac|20|417}} (~4.80%) chance of being offered by piglins when bartering.}}
{{History|||snap=20w13a|Nether quartz now has a {{frac|20|424}} (~4.72%) chance of being offered by piglins when bartering.}}
{{History|||snap=20w16a|Nether quartz can now be found in [[bastion remnant]] chests.}}
{{History|||snap=20w20a|Nether quartz now has a {{frac|20|423}} (~4.73%) chance of being offered by piglins when bartering.}}
{{History||1.16.2|snap=20w28a|Nether quartz now has a {{frac|20|459}} (~4.36%) chance of being offered by piglins when bartering, in a stack size of 5-12.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Nether quartz can now be used as an armor trim material.}}

{{History|pocket alpha}}
{{History||v0.6.0|[[File:Nether Quartz JE1 BE1.png|32px]] Added Nether quartz.}}
{{History||v0.12.1|snap=build 1|Nether quartz is no longer available from the [[Nether reactor]] and is now available from [[the Nether]].}}
{{History||v0.13.0|snap=build 1|Nether quartz is now used to craft [[daylight sensor]]s.}}
{{History||v0.14.0|snap=build 1|Nether quartz can now be used to craft [[redstone comparator]]s.}}
{{History||v0.15.0|snap=build 1|Nether quartz is now used to craft [[observer]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Quartz JE2 BE2.png|32px]] The texture of Nether quartz has now been changed.
|Between 20 and 26 nether quartz can now be [[trading|sold]] to stone mason [[villager]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has now been changed, 12 Nether quartz can now be sold to stone mason villagers.}}
{{History||1.16.0|snap=beta 1.16.0.57|Nether Quartz can now be obtained from bartering with piglin.}}
{{History||1.19.80|snap=beta 1.19.80.21|Nether quartz can now be used as an armor trim material.}}

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

{{History|New 3DS}}
{{History||0.1.0|[[File:Nether Quartz JE1 BE1.png|32px]] Added Nether quartz.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

* All of the sensor related items that are craftable (comparator, daylight sensor, observer) are crafted with some Nether quartz involved.

== References ==

{{reflist}}

{{items}}

[[Category:Renewable resources]]

[[cs:Netheritový křemen]]
[[de:Netherquarz]]
[[es:Cuarzo del Nether]]
[[fr:Quartz du Nether]]
[[hu:Alvilági kvarc]]
[[ja:ネザークォーツ]]
[[ko:네더 석영]]
[[nl:Netherkwarts]]
[[pl:Kwarc]]
[[pt:Quartzo do Nether]]
[[ru:Кварц Нижнего мира]]
[[uk:Пекельний кварц]]
[[zh:下界石英]]</li></ul>
12w22aMonster spawners will now drop experience when destroyed.
12w26aMonster spawners now support extra data pertaining to what they spawn.
1.8
{{Extension DPL}}<ul><li>[[Powder Snow Bucket|Powder Snow Bucket]]<br/>{{Item
| title = Powder Snow Bucket
| image = Powder Snow Bucket.png
| renewable = Yes
| stackable = No
}}
A '''powder snow bucket''' is a [[bucket]] with [[powder snow]] inside.

== Obtaining ==

A powder snow bucket can be obtained by {{ctrl|using}} an [[empty bucket]] on a [[powder snow block]] or [[powder snow cauldron]].

== Usage ==

Pressing {{control|use}} while holding a powder snow bucket places a [[powder snow]] block. {{IN|Java}}, powder snow may also be placed inside empty [[cauldron]]s, creating powder snow cauldrons.

[[Dispenser]]s can also create and place powder snow buckets. However, they cannot do so with [[cauldron]]s. You can also use it to cushion falls in the [[nether]] by placing it below you when falling.

== Sounds ==
{{el|je}}:
{{Sound table
|sound=Empty powder snow bucket1.ogg
|sound2=Empty powder snow bucket2.ogg
|subtitle=Bucket empties
|source=block
|description=When a powder snow bucket is placed
|id=item.bucket.empty_powder_snow
|translationkey=subtitles.item.bucket.empty
|volume=1.0
|pitch=''varies'' <ref group=sound>Each sound event can be 1.0, 0.95, or 1.1</ref>
|distance=16}}
{{Sound table
|sound=Fill powder snow bucket1.ogg
|sound2=Fill powder snow bucket2.ogg
|subtitle=Bucket fills
|source=player
|description=When a bucket is filled with powder snow
|id=item.bucket.fill_powder_snow
|translationkey=subtitles.item.bucket.fill
|volume=1.0
|pitch=''varies'' <ref group=sound>Each sound event can be 1.0, 0.9, or 1.1</ref>
|distance=16}}
{{Sound table
|sound=Powder Snow break1.ogg
|sound2=Powder Snow break2.ogg
|sound3=Powder Snow break3.ogg
|sound4=Powder Snow break4.ogg
|sound5=Powder Snow break5.ogg
|sound6=Powder Snow break6.ogg
|sound7=Powder Snow break7.ogg
|subtitle=Block broken
|source=block
|description=When a bucket is filled with powder snow
|id=block.powder_snow.break
|translationkey=subtitles.block.generic.break
|volume=1.0
|pitch=0.8
|distance=16
|foot=1}}

{{el|be}}:
{{Sound table
|type=bedrock
|sound=Fill powder snow bucket1.ogg
|sound2=Fill powder snow bucket2.ogg
|source=player
|description=When a bucket is filled with powder snow
|id=bucket.fill_powder_snow
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Empty powder snow bucket1.ogg
|sound2=Empty powder snow bucket2.ogg
|source=block
|description=When a powder snow bucket is placed
|id=bucket.empty_powder_snow
|volume=1.0
|pitch=1.0
|foot=1}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Powder Snow Bucket
|spritetype=item
|nameid=powder_snow_bucket
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|showaliasids=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Powder Snow Bucket
|spritetype=item
|nameid=powder_snow_bucket
|aliasid=bucket / 11
|form=item
|id=368
|foot=1}}

== History ==
{{History|java}}
{{History||1.17|snap=20w46a|[[File:Powder Snow Bucket JE1 BE1.png|32px]] Added powder snow buckets.}}
{{History|bedrock}}
{{History||Caves & Cliffs<br>(experimental)|link=Bedrock Edition 1.17.0|snap=beta 1.16.210.53|[[File:Powder Snow Bucket JE1 BE1.png|32px]] Added powder snow buckets.
|The powder snow bucket replaced the powder snow block in the creative inventory.}}
{{History||1.17.0|snap=beta 1.17.0.50|Powder snow bucket are now available without enabling [[Experimental Gameplay]].}}
{{h|foot}}

== Issues ==
{{Issue list}}

==Gallery==
<gallery>
Cozy Cabin Powder Snow Bucket 1.jpg|Teaser image with a barely visible powder snow bucket.
Cozy Cabin Powder Snow Bucket 2.jpg|Teaser image with a barely visible powder snow bucket.
Cozy Cabin Powder Snow Bucket 3.jpg|Teaser image with a barely visible powder snow bucket.
</gallery>

{{Items}}

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

[[de:Pulverschneeeimer]]
[[es:Cubo con nieve polvo]]
[[fr:Seau de neige poudreuse]]
[[it:Secchio di neve polverosa]]
[[ja:粉雪入りバケツ]]
[[pl:Wiadro sypkiego śniegu]]
[[pt:Balde de neve fofa]]
[[ru:Ведро с рыхлым снегом]]
[[zh:细雪桶]]</li><li>[[Redstone Dust|Redstone Dust]]<br/>{{Redirect|Redstone|the ore|Redstone Ore|the powered mineral block|Block of Redstone|other uses|Redstone (disambiguation)}}
{{Block
| group = Inactive (connected)
| 1-1= Inactive Redstone Wire (NESW).png
| 1-2 = Inactive Redstone Wire (NESW) BE.png
| group2 = Inactive (unconnected)
| 2-1 = Inactive Redstone Wire (unconnected).png
| 2-2 = Inactive Redstone Wire (unconnected).png
| group3 = Active (connected) 
| 3-1 = Active Redstone Wire (NESW).png
| 3-2 = Active Redstone Wire (NESW) BE.png
| group4 = Active (unconnected)
| 4-1 = Active Redstone Wire (unconnected).png
| 4-2 = Active Redstone Wire (unconnected).png
| image = Redstone Dust JE2 BE2.png
| extratext = [[#Gallery|View all renders]]
| transparent = Yes
| light = No
| tool = all
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
'''Redstone dust''' is a mineral that can transmit [[Redstone circuit#Power|redstone power]] as a wire when placed as a [[block]]. It is also used in [[crafting]] and [[brewing]].

== Obtaining ==
=== Mining ===
{{see also|Redstone Ore#Natural generation}}
[[Redstone ore]] mined using an iron [[pickaxe]] or higher drops 4 or 5 redstone dust (or more with [[Fortune]], averaging at 6 redstone dust with Fortune III). If mined with [[Silk Touch]], the block drops itself instead of redstone dust.

=== Natural generation ===
15 lengths of redstone dust are naturally generated as part of the trap in each [[jungle pyramid]]. 5 lengths of redstone dust can be found in one type of jail cell room in a [[woodland mansion]]. In [[Ancient City|ancient cities]], multiple pieces of redstone dust can be found integrated into circuitry.

=== Breaking ===
Redstone dust can be broken instantly using any tool, or without a tool, and drops itself as an item.

Redstone dust is removed and drops as an item if:
* its attachment block is moved, removed, or destroyed
* [[water]] or [[lava]] flows into its space
* a [[piston]] tries to push it or moves a block into its space

=== Mob loot ===
[[Witch]]es have a chance of dropping 0–2 redstone dust upon death. This is increased by 1 per level of [[Looting]], for a maximum of 0–5 redstone dust.

=== Chest loot ===
{{LootChestItem|redstone}}

=== Crafting ===
Redstone dust can be crafted from [[blocks of redstone]].
{{Crafting
|Block of Redstone
|Output=Redstone Dust,9
|type=Redstone
}}

=== Smelting ===
{{Smelting
|showname=1
|Redstone Ore; Deepslate Redstone Ore
|Redstone Dust
|0.7
}}

=== Trading ===
{{IN|java}}, novice-level cleric [[villager]]s sell two redstone dust for one [[emerald]].

{{IN|bedrock}}, novice-level cleric villagers sell four redstone dust for one emerald.

=== Villager gifts ===
{{see also|Tutorials/Raid farming}}
{{IN|Java}}, when the player has the [[Hero of the Village]] status effect, clerics might throw that player a redstone dust as a gift.

== Usage ==
Redstone dust is used for [[#Brewing ingredient|brewing]], [[#Crafting ingredient|crafting]], and in redstone circuits by placing it on the ground to create [[#Redstone component|redstone wire]]. It can also be used to power redstone components.

=== Brewing ingredient ===
{{Brewing
  |head=1
  |Redstone Dust
  |Mundane Potion
  |base=Water Bottle
}}
{{Brewing
  |foot=1
  |name=Increased Duration
  |Redstone Dust
  |showbase=1
  |base=Potion of Fire Resistance; Potion of Invisibility; Potion of Night Vision; Potion of Poison; Potion of Regeneration; Potion of Slowness; Potion of Strength; Potion of Swiftness; Potion of Water Breathing; Potion of Weakness; Potion of Leaping; Potion of Slow Falling
}}

=== Crafting ingredient ===
{{crafting usage|Redstone Dust}}

=== {{anchor|Redstone dust}} Redstone component ===
When placed in the world, redstone dust becomes a block of "redstone wire"{{Info needed|other blco? BE?}}, which can transmit [[Redstone circuit#Power|redstone power]].

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Redstone Dust
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Redstone
|Redstone Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}

;Trim color palette
The following color palette is shown on the designs on trimmed armor:
*{{TrimPalette|redstone dust}}

=== Placement ===
[[File:Redstone wire as circuit component.png|Examples of redstone wire configuration. ''Top Left:'' Redstone wire connects diagonally vertically through non-opaque blocks. ''Top Right:'' Redstone wire does ''not'' connect diagonally vertically through opaque blocks. ''Center:'' Redstone wire gets darker as its power level drops, to a maximum of 15 blocks from a power source.|thumb]]
[[File:Redstone on Glowstone, Stairs, Slabs.png|Examples of redstone wire placements.|thumb]]
Redstone dust can be placed on [[opaque]] blocks as well as [[glowstone]], upside-down [[slab]]s, [[glass]], upside-down [[stairs]], and [[hopper]]s. It can also be placed on some transparent blocks; see [[Opacity/Placement]] for more information. It cannot be placed suspended in midair, even with commands, which is not unintentional.<ref>{{bug|MC-182709}}</ref>

Redstone wire configures itself to point toward adjacent redstone [[Redstone components#Power components|power components]] and [[Redstone components#Transmission components|transmission component]] connection points. Redstone wire also configures itself to point toward adjacent redstone wire one block higher or lower – unless there is a solid opaque block above the lower redstone wire.

If there is only one such adjacent redstone component, redstone wire configures itself into a {{BlockSprite|redstone-dust}} line pointing both at the neighbor and away from it. If there are two or more such adjacent components, redstone wire connects them in the form of {{BlockSprite|redstone-dust}}, {{BlockSprite|redstone-dust-upleft}}, {{BlockSprite|redstone-dust-t-up}}, or {{BlockSprite|redstone-dust-cross}} as needed.

When there are no adjacent components, a single redstone wire configures itself into a {{BlockSprite|redstone-dust-cross}} plus sign, which can provide power in all four directions. By right-clicking it can be changed into a {{BlockSprite|redstone-dust-dot}} dot, which does not provide power to any of the four directions.

{{IN|bedrock}}, redstone wire automatically configures itself to point toward adjacent blocks or [[Redstone components#Mechanism components|mechanism components]]. {{IN|java}}, it does not. If such a configuration is desired, the other neighbors of the redstone wire must be arranged to create it, i.e the redstone dust must be placed in a way that it would be pointed at the block’s location even if it were not there.

When redstone wire is reconfigured after placement, it does not update other redstone components around it of the change unless that reconfiguration also includes a change in power level or another component provides an update. This can create situations where a mechanism component remains activated when it shouldn't, or vice versa, until it receives an update from something else – a "feature" of redstone wire that can be used to make a [[BUD|block update detector]].

{{-}}

=== Behavior ===
{{Schematic|caption=

{{IN|be}}, the signal can go down from glass blocks.

 |||rd-$ew!|RL-!||||rd-$ew!|RL-!|-
 |rt-$!|rd-$ew!|SB|||rt-$!|rd-$ew!|glass||-
 |ts-$|SB|rd-$ew|RL||ts-$|SB|rd-$ew!|RL-!

}}{{Schematic|caption =

However, the signal can never go down from slabs.

 |||rd-$ew!|RL-!||||rd-$ew!|RL-!|-
 |rt-$!|rd-$ew!|SB|||rt-$!|rd-$ew!|glass||-
 |ts-$|ts-$|rd-$ew|RL||ts-$|ts-$|rd-$ew|RL
}}

Redstone wire can transmit power, which can be used to operate [[Redstone components#Mechanism components|mechanism components]] ([[door]]s, [[piston]]s, [[redstone lamp]]s, etc.).
Redstone wire can be "powered" by a number of methods:
* from an adjacent [[Redstone components#Power components|power component]] or a strongly-powered block
* from the output of a redstone repeater or redstone comparator
* from adjacent redstone wire. The powering dust can be a level higher or lower, but with restrictions:
** Redstone dust can be powered by redstone dust that is one level lower, or on an [[opaque]] block one level higher. A transparent block cannot{{only|java}} pass power downward.
** The block "between" the two dust blocks must be air or transparent. A solid block there "cuts" the connection between the higher and lower dust.

The "power level" of redstone dust can vary from 0 to 15. Most power components power-up adjacent redstone dust to power level 15, but a few ([[daylight sensor]]s, [[trapped chest]]s, and [[weighted pressure plate]]s) may create a lower power level. Redstone repeaters output power level 15 (when turned on), but [[redstone comparator]]s may output a lower power level.

{{Schematic | caption =

Redstone wire can transmit power up to 15 blocks.

 |rt-$!|rd-$ew!+15|rd-$ew!+14|rd-$ew!+13|rd-$ew!+12|rd-$ew!+11|rd-$ew!+10|rd-$ew!+9
 |rd-$ew!+8|rd-$ew!+7|rd-$ew!+6|rd-$ew!+5|rd-$ew!+4|rd-$ew!+3|rd-$ew!+2|rd-$ew!+1|rd-$ew+0

}}
Power level drops by 1 for every block of redstone wire it crosses. Thus, redstone wire can transmit power for no more than 15 blocks. To go further, the power level must be re-strengthened – typically with a redstone repeater.

Powered redstone wire on top of, or pointing at, an opaque block provides ''weak'' power to the block. A weakly-powered block cannot power other adjacent redstone wire, but can still power redstone repeaters and comparators, and activate adjacent mechanism components. Transparent blocks cannot be powered.

When redstone wire is unpowered, it appears dark red. When powered, it becomes bright red at power level 15, fading to darker shades with decreasing power. Powered redstone wire also produces "dust" [[particles]] of the same color.

While redstone wire always provides power to the directions it points into, it can still point into directions in which it cannot give power. If redstone wire comes in the form of a cross, the player can right-click to toggle it between a cross and dot. A redstone dot does not power anything adjacent to it, but powers the block under it.

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|firstcolumnname=Redstone Dust
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=redstone-dust
|spritetype=block
|nameid=redstone_wire
|form=block}}
{{ID table
|displayname=Item
|spritename=redstone-dust
|spritetype=item
|nameid=redstone
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Dust
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=redstone-dust
|spritetype=block
|nameid=redstone_wire
|id=55
|form=block}}
{{ID table
|displayname=Item
|spritename=redstone-dust
|spritetype=item
|nameid=redstone
|id=373
|form=item
|foot=1}}

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

{{/BS}}

{{LoadPage|Redstone Dust/Asset history|List of block state combinations|h4}}

== Achievements ==
{{load achievements|Dispense With This}}

== Video ==
{{Video note|These videos do not show all uses for redstone in crafting and all methods of obtaining. This video is also outdated, as of 1.13 Java Edition, redstone is now called Redstone Dust.}}

<div style="text-align:center">
<span style="display:inline-block">{{yt|zldqknGFWb4}}</span>
<span style="display:inline-block">{{yt|_IApwvCLJW8}}</span>
</div>

== History ==
{{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 wire-type [[block]]s.}}
{{History|java alpha}}
{{History||v1.0.1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone dust as an [[item]].
|[[File:Inactive Redstone Wire (NS) JE1.png|32px]] [[File:Inactive Redstone Wire (EW) JE1.png|32px]] [[File:Inactive Redstone Wire (NE) JE1.png|32px]] [[File:Inactive Redstone Wire (ES) JE1.png|32px]] [[File:Inactive Redstone Wire (SW) JE1.png|32px]] [[File:Inactive Redstone Wire (NW) JE1.png|32px]] [[File:Inactive Redstone Wire (NEW) JE1.png|32px]] [[File:Inactive Redstone Wire (NES) JE1.png|32px]] [[File:Inactive Redstone Wire (ESW) JE1.png|32px]] [[File:Inactive Redstone Wire (NSW) JE1.png|32px]] [[File:Inactive Redstone Wire (NESW) JE1.png|32px]]<br>[[File:Active Redstone Wire (NS) JE1.png|32px]] [[File:Active Redstone Wire (EW) JE1.png|32px]] [[File:Active Redstone Wire (NE) JE1.png|32px]] [[File:Active Redstone Wire (ES) JE1.png|32px]] [[File:Active Redstone Wire (SW) JE1.png|32px]] [[File:Active Redstone Wire (NW) JE1.png|32px]] [[File:Active Redstone Wire (NEW) JE1.png|32px]] [[File:Active Redstone Wire (NES) JE1.png|32px]] [[File:Active Redstone Wire (ESW) JE1.png|32px]] [[File:Active Redstone Wire (NSW) JE1.png|32px]] [[File:Active Redstone Wire (NESW) JE1.png|32px]] Added redstone dust as a placed [[block]]. 
|Redstone dust as a placed block has two power appearances; either completely on, or completely off.
|Redstone dust is used to craft [[redstone torch]]es.
|At this time, redstone has not been given an official name.}}
{{History||v1.0.2_01|Redstone dust now doesn't connect through solid [[block]]s diagonally down.{{needs testing|may have been changed in v1.0.2|type=untestable}}
|Walking on redstone dust no longer [[breaking|breaks]] it.{{needs testing|may have been changed in v1.0.2|type=untestable}}
|Active redstone dust now gives off [[particles]].{{needs testing|may have been changed in v1.0.2|type=untestable}}}}
{{History||v1.1.0|Redstone is now used to craft [[compass]]es.}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|Redstone is now used to craft [[clock]]s.}}
{{History|java beta}}
{{History||1.0|With the addition of inventory tooltips, the [[item]] form of redstone dust has been named "Redstone", and the usually unobtainable block form has been named "Redstone Dust".}}
{{History||1.2|Redstone is now used to craft [[dispenser]]s and [[note block]]s.}}
{{History||1.3|[[File:Inactive Redstone Wire (NS) JE2.png|32px]] [[File:Inactive Redstone Wire (EW) JE2.png|32px]] [[File:Inactive Redstone Wire (NE) JE2.png|32px]] [[File:Inactive Redstone Wire (ES) JE2.png|32px]] [[File:Inactive Redstone Wire (SW) JE2.png|32px]] [[File:Inactive Redstone Wire (NW) JE2.png|32px]] [[File:Inactive Redstone Wire (NEW) JE2.png|32px]] [[File:Inactive Redstone Wire (NES) JE2.png|32px]] [[File:Inactive Redstone Wire (ESW) JE2.png|32px]] [[File:Inactive Redstone Wire (NSW) JE2.png|32px]] [[File:Inactive Redstone Wire (NESW) JE2.png|32px]]<br>[[File:Active Redstone Wire (NS) JE2.png|32px]] [[File:Active Redstone Wire (EW) JE2.png|32px]] [[File:Active Redstone Wire (NE) JE2.png|32px]] [[File:Active Redstone Wire (ES) JE2.png|32px]] [[File:Active Redstone Wire (SW) JE2.png|32px]] [[File:Active Redstone Wire (NW) JE2.png|32px]] [[File:Active Redstone Wire (NEW) JE2.png|32px]] [[File:Active Redstone Wire (NES) JE2.png|32px]] [[File:Active Redstone Wire (ESW) JE2.png|32px]] [[File:Active Redstone Wire (NSW) JE2.png|32px]] [[File:Active Redstone Wire (NESW) JE2.png|32px]] Redstone wire gets darker the farther away it is from a source of power, using a dedicated [[tint]] system. Previously, it was fully on until it reached its limit.
|Its particles now appear gray due to not being tinted.
|Redstone is now used to craft [[redstone repeater]]s.}}
{{History||1.5|[[File:Inactive Redstone Wire (NS) JE3.png|32px]] [[File:Inactive Redstone Wire (EW) JE3.png|32px]] [[File:Inactive Redstone Wire (NE) JE3.png|32px]] [[File:Inactive Redstone Wire (ES) JE3.png|32px]] [[File:Inactive Redstone Wire (SW) JE3.png|32px]] [[File:Inactive Redstone Wire (NW) JE3.png|32px]] [[File:Inactive Redstone Wire (NEW) JE3.png|32px]] [[File:Inactive Redstone Wire (NES) JE3.png|32px]] [[File:Inactive Redstone Wire (ESW) JE3.png|32px]] [[File:Inactive Redstone Wire (NSW) JE3.png|32px]] [[File:Inactive Redstone Wire (NESW) JE3.png|32px]]<br>[[File:Active Redstone Wire (NS) JE3.png|32px]] [[File:Active Redstone Wire (EW) JE3.png|32px]] [[File:Active Redstone Wire (NE) JE3.png|32px]] [[File:Active Redstone Wire (ES) JE3.png|32px]] [[File:Active Redstone Wire (SW) JE3.png|32px]] [[File:Active Redstone Wire (NW) JE3.png|32px]] [[File:Active Redstone Wire (NEW) JE3.png|32px]] [[File:Active Redstone Wire (NES) JE3.png|32px]] [[File:Active Redstone Wire (ESW) JE3.png|32px]] [[File:Active Redstone Wire (NSW) JE3.png|32px]] [[File:Active Redstone Wire (NESW) JE3.png|32px]] Fully off redstone wire is no longer black.
|Redstone dust can now be placed on [[snow]].
|Redstone is now used to craft [[powered rail]]s and [[detector rail]]s.}}
{{History||1.6.6|Redstone dust now checks if the block below has a solid top face or [[glowstone]], allowing it to be placed on it.}}
{{History||1.7|Redstone dust now connects to a [[redstone repeater|repeater]] without the dust being explicitly pointed at it.
|Redstone can now be used to craft [[piston]]s.}}
{{History||1.8|snap=Pre-release|Redstone can now be found in the new [[stronghold]] storeroom [[chest]]s, and in the new [[mineshaft]] chests.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 3|Redstone can now be [[brewing|brewed]] in a [[water bottle]] to create a [[mundane potion]].
|Redstone can now be found in the new [[stronghold]] altar [[chest]]s.
|Redstone now extends the [[potion]]s of [[Fire Resistance]], [[Slowness]], [[Swiftness]], [[Poison]], [[Weakness]] and [[Strength]].}}
{{History|||snap=Beta 1.9 Prerelease 4|Redstone now extends the new potion of [[Regeneration]].}}
{{History|||snap=RC1|[[File:Inactive Redstone Wire (unconnected) JE1.png|32px]] <br>[[File:Active Redstone Wire (unconnected) JE1.png|32px]] Redstone dust placement on one [[block]] has been changed from a "+" to a "•" shape.}}
{{History||?|Redstone wire block particles are now correctly colored.}}
{{History||1.1|snap=11w49a|Fixed redstone update bug.{{more info}}}}
{{History||1.2.1|snap=12w06a|Redstone can now be placed on [[glowstone]].}}
{{History|||snap=12w07a|Redstone is now used to craft [[redstone lamp]]s.}}
{{History||1.3.1|snap=12w21a|Redstone can now be [[trading|bought]] from priest [[villager]]s, at 2–4 redstone for 1 [[emerald]], making them [[renewable]].}}
{{History|||snap=12w22a|Redstone dust now generates in [[jungle temple]]s.}}
{{History|||snap=12w25a|Redstone dust can now be placed on top of upside-down [[slabs]] and [[stairs]].}}
{{History||1.4.2|snap=12w34a|Redstone now extends the new [[potion]]s of [[Night Vision]] and [[Invisibility]].}}
{{History|||snap=12w38a|[[Witch]]es have been added, which sometimes [[drops|drop]] redstone when killed.}}
{{History||1.5|snap=13w01a|Redstone can now be used to craft [[blocks of redstone]] and [[dropper]]s.}}
{{History||1.7.2|snap=13w36a|Redstone now extends the new [[potion]] of [[Water Breathing]].}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: cleric [[villager]]s now [[trading|sell]] 1–4 redstone for 1 [[emerald]].}}
{{History|||snap=14w25a|Redstone dust no longer changes to [[obsidian]] next to water when [[lava]] flows into it.}}
{{History|||snap=14w27a|Redstone now extends the new [[potion]] of [[Leaping]].}}
{{History||1.9|snap=15w31a|[[File:Inactive Redstone Wire (unconnected) JE2.png|32px]] [[File:Inactive Redstone Wire (NS) JE4.png|32px]] [[File:Inactive Redstone Wire (EW) JE4.png|32px]] [[File:Inactive Redstone Wire (NE) JE4.png|32px]] [[File:Inactive Redstone Wire (ES) JE4.png|32px]] [[File:Inactive Redstone Wire (SW) JE4.png|32px]] [[File:Inactive Redstone Wire (NW) JE4.png|32px]] [[File:Inactive Redstone Wire (NEW) JE4.png|32px]] [[File:Inactive Redstone Wire (NES) JE4.png|32px]] [[File:Inactive Redstone Wire (ESW) JE4.png|32px]] [[File:Inactive Redstone Wire (NSW) JE4.png|32px]] [[File:Inactive Redstone Wire (NESW) JE4.png|32px]]<br>[[File:Active Redstone Wire (unconnected) JE2.png|32px]] [[File:Active Redstone Wire (NS) JE4.png|32px]] [[File:Active Redstone Wire (EW) JE4.png|32px]] [[File:Active Redstone Wire (NE) JE4.png|32px]] [[File:Active Redstone Wire (ES) JE4.png|32px]] [[File:Active Redstone Wire (SW) JE4.png|32px]] [[File:Active Redstone Wire (NW) JE4.png|32px]] [[File:Active Redstone Wire (NEW) JE4.png|32px]] [[File:Active Redstone Wire (NES) JE4.png|32px]] [[File:Active Redstone Wire (ESW) JE4.png|32px]] [[File:Active Redstone Wire (NSW) JE4.png|32px]] [[File:Active Redstone Wire (NESW) JE4.png|32px]] Some slight changes have been made to redstone wire's appearance - the dot now extends outward with two more pixels, and the south-facing section of bends, T shapes and crosses now has one fewer pixel. It also appears straighter and more continuous in straight wire form.
|Redstone can no longer be added to extended [[potion]]s or tier-II potions.}}
{{History|||snap=15w44a|The average yield of redstone from [[dungeon]] [[chest]]s has been cut by more than half.
|The average yield of redstone in [[mineshaft]] chests has been increased.}}
{{History|||snap=15w46a|The hitbox of redstone now covers only part of the surface of the [[block]] below, based on the orientation of the redstone.}}
{{History||1.11|snap=16w39a|Redstone dust can now be found in chests in [[woodland mansion]]s.
|Redstone can now used to craft [[observer]]s.}}
{{History||1.13|snap=17w47a|The [[item]] form of "Redstone" has been renamed to "Redstone Wire".
|Prior to [[1.13/Flattening|''The Flattening'']], this [[block]]'s numeral ID was 55, and the [[item]]'s 331.}}
{{History|||snap=17w48a|"Redstone" has been renamed to "Redstone Dust".}}
{{History|||snap=18w07a|Redstone now extends the new [[potion of the Turtle Master]].}}
{{History||1.14|snap=18w43a|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone dust has been changed.}}
{{History|||snap=18w50a|Redstone dust can now be found in chests in [[village]] temples.}}
{{History|||snap=19w12b|Redstone dust can now be placed on [[glass]], [[ice]] and [[sea lantern]]s.}}
{{History|||snap=19w13a|Cleric villagers now give redstone dust to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w06a|Redstone dust now has a bottom texture.}}
{{History|||snap=20w09a|Redstone can now be used to craft [[target]]s.}}
{{History|||snap=20w18a|Redstone dust placement on one [[block]] has been changed from a "•" back to a "+" shape.
|Redstone dust's hitbox is now no longer strictly a cuboid, and more closely matches the shape of the wiring.<ref>{{bug|MC-137336}}</ref>
|Upward going redstone dust now has a hitbox on the side of the [[block]] too, rather than only on the floor.<ref>{{bug|MC-153508}}</ref>
|Unconnected redstone dust now has all direction block states set to "side".
|The direction block states of redstone dust are now properly set to "side" at the end of a redstone wire on both ends, rather than only the one with other redstone besides it.
|[[File:Inactive Redstone Wire (N).png|32px]] [[File:Inactive Redstone Wire (E).png|32px]] [[File:Inactive Redstone Wire (S).png|32px]] [[File:Inactive Redstone Wire (W).png|32px]]<br>[[File:Active Redstone Wire (N).png|32px]] [[File:Active Redstone Wire (E).png|32px]] [[File:Active Redstone Wire (S).png|32px]] [[File:Active Redstone Wire (W).png|32px]] While not accessible in normal gameplay, redstone dust that points into one side, but not the opposite, now visually reaches halfway across the [[block]].}}
{{History|||snap=20w19a|Redstone dust now visually connects when going up [[soul sand]], 8-layer [[snow]] stacks and the back side of upside-down [[stairs]].
|[[Particles]] are now generated across the length of the redstone wire rather than the center of the [[block]].}}
{{History|||snap=20w21a|Redstone dust placement on one [[block]] is now toggleable between a "+" and a "•" shape, by {{control|interacting}} with it.}}
{{History||1.17|snap=21w08a|Redstone dust can now drop and be smelted from [[deepslate redstone ore]].}}
{{History||1.19|snap=22w13a|Redstone wire now generates in [[Ancient City|ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Redstone dust can now be used as an armor trim material.}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone as an [[item]]. 
|Redstone is now [[drops|dropped]] when [[breaking|mined]] from [[redstone ore]].
|Redstone can be used to craft [[compass]]es and [[clock]]s.}}
{{History|||snap=build 2|Redstone can now be used to craft [[powered rail]]s.}}
{{History||v0.11.0|snap=build 1|Redstone is now used to craft [[redstone block]]s.}}
{{History||v0.12.1|snap=build 1|Redstone has been added to the [[Creative]] [[inventory]], but it still cannot be placed. }}
{{History||v0.13.0|snap=build 1|Redstone can now be placed.
|Redstone is now used to craft [[redstone lamp]]s, [[note block]]s, [[detector rail]]s and [[redstone torch]]es.}}
{{History||v0.14.0|snap=build 1|Redstone is now used to craft [[dispenser]]s and [[dropper]]s.}}
{{History||v0.15.0|snap=build 1|Redstone is now used to craft [[piston]]s and [[observer]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Cleric [[villager]]s now [[trading|sell]] 1–4 redstone for an [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||?|[[File:Inactive Redstone Wire (NE) BE.png|32px]] [[File:Inactive Redstone Wire (ES) BE.png|32px]] [[File:Inactive Redstone Wire (SW) BE.png|32px]] [[File:Inactive Redstone Wire (NW) BE.png|32px]] [[File:Inactive Redstone Wire (NEW) BE.png|32px]] [[File:Inactive Redstone Wire (NES) BE.png|32px]] [[File:Inactive Redstone Wire (ESW) BE.png|32px]] [[File:Inactive Redstone Wire (NSW) BE.png|32px]] [[File:Inactive Redstone Wire (NESW) BE.png|32px]]<br>[[File:Active Redstone Wire (NE) BE.png|32px]] [[File:Active Redstone Wire (ES) BE.png|32px]] [[File:Active Redstone Wire (SW) BE.png|32px]] [[File:Active Redstone Wire (NW) BE.png|32px]] [[File:Active Redstone Wire (NEW) BE.png|32px]] [[File:Active Redstone Wire (NES) BE.png|32px]] [[File:Active Redstone Wire (ESW) BE.png|32px]] [[File:Active Redstone Wire (NSW) BE.png|32px]] [[File:Active Redstone Wire (NESW) BE.png|32px]]<br>Placed redstone now assumes its current appearance with a more solid center. Its linear state appearences are unknown.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone can now be found in [[desert]] [[village]] temple [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Cleric [[villager]]s now [[trading|sell]] 4 redstone as part of their first tier [[trading|trade]].}}
{{History||1.16.210|snap=beta 1.16.210.57|"Redstone" has been renamed to "Redstone Dust".}}
{{History||1.17.0|snap=beta 1.16.230.52|Redstone dust can now drop and be smelted from [[deepslate redstone ore]].}}
{{History||1.19.0|snap=beta 1.19.0.26|Redstone wire now generates in [[Ancient City|ancient cities]].}}
{{History||1.19.80|snap=beta 1.19.80.21|Redstone dust can now be used as an armor trim material.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone.}}
{{History||xbox=TU3|Redstone now connects to a [[redstone repeater|repeater]] without the dust being explicitly pointed at it.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Dust JE2 BE2.png|32px]] The texture of redstone has been changed.}}
{{History||ps=1.95|Redstone can now be placed on [[glass]].}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Redstone Dust JE1 BE1.png|32px]] Added redstone dust.}}
{{History|foot}}

=== Redstone wire "item" ===
{{:Technical blocks/Redstone Wire}}

== Gallery ==
=== Renders ===
; Java Edition
<gallery>
Inactive Redstone Wire (NESW).png | 
Inactive Redstone Wire (unconnected).png | 
Inactive Redstone Wire (NS).png | 
Inactive Redstone Wire (EW).png | 
Inactive Redstone Wire (NE).png | 
Inactive Redstone Wire (ES).png | 
Inactive Redstone Wire (SW).png | 
Inactive Redstone Wire (NW).png | 
Inactive Redstone Wire (NEW).png | 
Inactive Redstone Wire (NES).png | 
Inactive Redstone Wire (ESW).png | 
Inactive Redstone Wire (NSW).png
</gallery>
<gallery>
Active Redstone Wire (NESW).png | 
Active Redstone Wire (unconnected).png | 
Active Redstone Wire (NS).png | 
Active Redstone Wire (EW).png | 
Active Redstone Wire (NE).png | 
Active Redstone Wire (ES).png | 
Active Redstone Wire (SW).png | 
Active Redstone Wire (NW).png | 
Active Redstone Wire (NEW).png | 
Active Redstone Wire (NES).png | 
Active Redstone Wire (ESW).png | 
Active Redstone Wire (NSW).png
</gallery>

; Bedrock Edition
<gallery>
Inactive Redstone Wire (NESW) BE.png | 
Inactive Redstone Wire (NESW) BE.png | 
Inactive Redstone Wire (NS).png | 
Inactive Redstone Wire (EW).png | 
Inactive Redstone Wire (NE) BE.png | 
Inactive Redstone Wire (ES) BE.png | 
Inactive Redstone Wire (SW) BE.png | 
Inactive Redstone Wire (NW) BE.png | 
Inactive Redstone Wire (NEW) BE.png | 
Inactive Redstone Wire (NES) BE.png | 
Inactive Redstone Wire (ESW) BE.png | 
Inactive Redstone Wire (NSW) BE.png
</gallery>
<gallery>
Active Redstone Wire (NESW) BE.png | 
Active Redstone Wire (NESW) BE.png | 
Active Redstone Wire (NS).png | 
Active Redstone Wire (EW).png | 
Active Redstone Wire (NE) BE.png | 
Active Redstone Wire (ES) BE.png | 
Active Redstone Wire (SW) BE.png | 
Active Redstone Wire (NW) BE.png | 
Active Redstone Wire (NEW) BE.png | 
Active Redstone Wire (NES) BE.png | 
Active Redstone Wire (ESW) BE.png | 
Active Redstone Wire (NSW) BE.png
</gallery>

=== Screenshots ===
<gallery>
Slab Stair Redstone.png|First image of redstone dust on top of slabs and stairs.
File:Olivia Tinkering.jpeg|[[Olivia]] using a scarce amount of redstone dust.
File:23w32a.jpg|[[Sunny]] using a very long strip of redstone dust.
</gallery>

=== In other media ===
<gallery>
Powered By Redstone JINX.jpg|Official T-shirt artwork "Powered By Redstone" made by [https://www.jinx.com JINX].
File:Redstone Behind Chiseled Bookshelf Pixel Art.png|Pixel art of redstone dust.
</gallery>

== Issues ==
{{issue list|redstone|redstone dust|redstone wire}}

== Trivia ==
* Five updates for [[wikipedia:Windows 10 version history|Windows 10]] released from 2016 to 2018 were codenamed "Redstone", referencing ''Minecraft''.<ref>{{link|url=https://www.theverge.com/2015/4/7/8364355/microsoft-redstone-windows-updates|title=Microsoft plans ‘Redstone’ updates for Windows 10 in 2016|author=Tom Warren|website=The Verge|date=April 7, 2015}}</ref>
* The block has 1,296 possible block state combinations, the highest of all blocks as of 1.15.2, beating [[fire]]'s 512 and [[note block]]'s 800.
* According to {{el|ee}}, redstone dust contains radioactive [[element]]s.

== References ==
{{Reflist}}

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

[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Mechanics]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[Category:Brewing recipe]]

[[cs:Rudit]]
[[de:Redstone]]
[[el:Σκόνη Κοκκινόπετρας]]
[[es:Polvo de redstone]]
[[fr:Poudre de redstone]]
[[hu:Redstone]]
[[it:Polvere di redstone]]
[[ja:レッドストーンダスト]]
[[ko:레드스톤 가루]]
[[nl:Redstonestof]]
[[pl:Redstone]]
[[pt:Pó de redstone]]
[[ru:Красная пыль]]
[[th:ผงเรดสโตน]]
[[tr:Kızıltaş]]
[[uk:Редстоун]]
[[zh:红石粉]]</li></ul></nowiki>
14w26cThe horizontal spawning range is now calculated from the center of the block rather than the northwest corner.
The exclusion zone has been reduced: for a default spawner, the 6 mobs must be in a 9×9×9 region rather than 17×9×17 to prevent spawning.
14w28bThe type of mob spawner can be changed by using a spawn egg on it.
pocketa
0.9.0
{{Extension DPL}}<ul><li>[[Carrot|Carrot]]<br/>{{about|the natural food item|the golden food|Golden Carrot|the item for controlling saddled pigs|Carrot on a Stick}}
{{Item
| group = Age 0-1
| 1-1 = Carrots Age 0-1.png
| 1-2 = Carrots Age 0-1 BE.png
| group2 = Age 2-3
| 2-1 = Carrots Age 2-3.png
| 2-2 = Carrots Age 2-3 BE.png
| group3 = Age 4-6
| 3-1 = Carrots Age 4-6.png
| 3-2 = Carrots Age 4-6 BE.png
| group4 = Age 7
| 4-1 = Carrots Age 7.png
| 4-2 = Carrots Age 7 BE.png
| image2 = Carrot JE3 BE2.png
| renewable = Yes
| heals = {{hunger|3}}
| stackable = Yes (64)
}}
A '''carrot''' is a [[food]] [[item]] obtained from carrot crops that can be used to plant them, eaten or used as a crafting ingredient.

'''Carrot crops''' are planted in [[farmland]] and used to grow carrots.

== Obtaining ==

=== Breaking ===
{{See also|Fortune#Seeds}}
Fully grown carrot crops drop 2 to 5 carrots ({{frac|3|5|7}} per crop harvested on average). Yield can be increased using a tool enchanted with [[Fortune]], with Fortune III harvesting an average of {{frac|5|3|7}} carrots.

The yield is calculated by a binomial distribution: 2 drops are fixed, then a drop is attempted three times with a success rate of 57.14286% to yield the extra 0–3 drops. Each level of Fortune enchantment increases the number of attempts by one.

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

{| class="wikitable"
! Village style !! Chance
|-
| {{EnvSprite|plains-village}} Plains || 30%
|-
| {{EnvSprite|snowy-village}} Snowy || 10%
|}

=== Mob loot ===
[[Zombie]]s, [[husk]]s, and [[zombie villager]]s have a 2.5% ({{frac|1|40}}) chance of dropping either an [[iron ingot]], carrot, or [[potato]] when killed by a player or tamed wolf. This is increased by 1% ({{frac|1|100}}) per level of looting. This gives carrots the following chances of dropping:
* {{frac|1|120}} (about 0.83%)
* {{frac|7|600}} (about 1.17%) with Looting I
* {{frac|9|600}} (about 1.50%) with Looting II
* {{frac|11|600}} (about 1.83%) with Looting III

=== Chest loot ===
{{LootChestItem|carrot}}

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

To eat a carrot, press and hold {{control|use}} while the carrot is selected in the [[hotbar]]. Eating a carrot restores {{hunger|3}} [[hunger]] and 3.6 hunger [[Hunger#Mechanics|saturation]].

=== Farming ===
{{see also|Tutorials/Crop farming|title1 = Crop farming }}

Carrots can be [[farming|farmed]] and harvested on [[farmland]]. Planted carrots take 8 [[Block tick|stages]] to grow, and go through 4 visually distinct stages. Planted carrots 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 carrots 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.

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.

If {{cmd|gamerule mobGriefing}} is <code>true</code>, rabbits will find mature carrot [[crops]]{{only|je}} / carrot crops with growth stage greater than 1{{only|be}}. This reduces the growth stages by one, removing the crop completely when the growth stage reaches 0.

=== Breeding ===
Carrots can also be used to [[breed]] and attract [[pig]]s and [[rabbit]]s.

Villagers can pick up carrot items to become willing, which allow them to breed. Villagers require 12 carrots to become willing.

=== Trading ===
Novice-level Farmer villagers have a 25% ({{frac|1|4}}){{only|bedrock}} or 40% ({{frac|2|5}}){{only|java}} chance to buy 22 carrots for an emerald.

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

=== Composting ===
Placing a carrot into a [[composter]] has a 65% chance of raising the compost level by 1.

== Sounds ==

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

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

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|id=141
|form=block
|translationkey=-}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|id=279
|form=item
|foot=1}}

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

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

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Carrot JE1.png|32px]] Added carrots. 
|[[File:Carrots Age 0-1 JE1.png|32px]] [[File:Carrots Age 2-3 JE1.png|32px]] [[File:Carrots Age 4-6 JE1.png|32px]] [[File:Carrots Age 7 JE1.png|32px]] Added carrot crops.
|Carrots can be obtained only as a rare [[drop]] from [[zombie]]s.}}
{{History|||snap=August 28, 2012|slink={{tweet|Dinnerbone|240428477856231424}}|[[Dinnerbone]] released an image of a [[saddle]]d [[pig]] being controlled with a [[carrot on a stick]]. [[Wheat]] was considered as a "fuel" along with carrots,<ref>{{Tweet|Dinnerbone|240188453789257728}}</ref> but Dinnerbone eventually decided on carrots.<ref>{{Tweet|Dinnerbone|240355810650247168}}</ref>}}
{{History|||snap=12w34a|Carrots can now be used to craft [[golden carrot]]s.}}
{{History|||snap=12w36a|Carrots can now be found in [[village]]s.
|Carrots are now used to breed [[pig]]s.
|Carrots are now used to craft [[carrot on a stick]].}}
{{History|||snap=12w37a|[[File:Carrot JE2 BE1.png|32px]] The texture of carrots has now been changed. The texture has been changed to singular carrot, with the tooltip changed to reflect this.}}
{{History||1.5|snap=13w04a|[[Bone meal]] now grows carrots by 1 stage instead of fully growing it. The [[player]] might not see it grow, because some stages look the same.}}
{{History||1.8|snap=14w02a|Carrots now restore {{hunger|3}} points and 3.6 hunger [[saturation]], instead of {{hunger|4}} and 4.8 hunger saturation.
|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].}}
{{History|||snap=14w04a|[[Farmer]] (profession) [[villager]]s now harvest fully grown carrots.
|Villagers can now be made willing using 12 carrots.}}
{{History|||snap=14w06a|[[File:Carrots Age 0-1 JE2.png|32px]] [[File:Carrots Age 2-3 JE2.png|32px]] [[File:Carrots Age 4-6 JE2.png|32px]] [[File:Carrots Age 7 JE2.png|32px]] Carrot crops are now a pixel higher - previously they were offset one pixel down as to match farmland's sunken model. 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]]<br>[[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]]<br>Carrot crops of all stages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Carrots Age 0-1 JE4.png|32px]] [[File:Carrots Age 2-3 JE4.png|32px]] [[File:Carrots Age 4-6 JE4.png|32px]] [[File:Carrots Age 7 JE4.png|32px]] Carrot crops now have models again.<ref>{{bug|MC-50232}}</ref> In addition, they are now offset downwards by one pixel once more.<ref>{{bug|MC-50155}}</ref>}}
{{History|||snap=14w25a|[[File:Carrots Age 0-1 JE5.png|32px]] [[File:Carrots Age 2-3 JE5.png|32px]] [[File:Carrots Age 4-6 JE5.png|32px]] [[File:Carrots Age 7 JE5.png|32px]] Carrot crops are now darker and subject to directional shading.}}
{{History|||snap=14w27a|[[File:Carrots Age 0-1 JE6.png|32px]] [[File:Carrots Age 2-3 JE6.png|32px]] [[File:Carrots Age 4-6 JE6.png|32px]] [[File:Carrots Age 7 JE6.png|32px]] Carrot crops are no longer subject to directional shading.
|Added [[rabbit]]s, which can be [[breeding|bred]] and/or tamed using carrots. Rabbits also grief carrot crops.
|Carrots are now used to craft [[rabbit stew]].}}
{{History|||snap=14w34a|Rabbits can no longer be tamed.}}
{{History||1.9|snap=15w38a|The [[drops|drop]] chances have now been slightly improved from an average of {{frac|2|3|5}} per [[crops|crop]] harvested to {{frac|2|5|7}}.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 141, and the item's 391.}}
{{History|||snap=18w11a|Carrots can now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]] The textures of carrot crops have now been changed.}}
{{History|||snap=18w47a|Carrots can now generate in the [[chest]]s of [[pillager outpost]]s.}}
{{History|||snap=19w03a|Placement and breaking [[sound]]s have now been added to carrots.
|Placing a carrot into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Carrots now have a 65% chance of increasing the compost level in a composter by 1.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate carrot crops.}}
{{History||1.17|snap=21w13a|[[File:Carrots Age 0-1 JE8.png|32px]] [[File:Carrots Age 2-3 JE8.png|32px]] [[File:Carrots Age 4-6 JE8.png|32px]] [[File:Carrots Age 7 JE8.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes, changing the carrot crop's appearance in the process.<ref>{{bug|MC-199242}}</ref>}}
{{History||1.18|snap=Pre-release 5|[[File:Carrots Age 7 JE9.png|32px]] A stray dark pixel has been removed from the texture of fully-grown carrots.<ref>{{bug|MC-226711}}</ref>}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.
|Carrots can be obtained by killing [[zombie]]s.}}
{{History|||snap=build 3|Carrots now have a chance to [[drops|drop]] when tilling [[grass block]]s.}}
{{History|||snap=build 4|Carrots are no longer dropped by tilling [[grass block]]s.}}
{{History||v0.9.0|snap=build 1|Carrot crops now naturally spawn in [[village]]s.
|Carrot now used to breed [[pig]]s.}}
{{History||v0.12.1|snap=build 1|Carrots now restore [[hunger]] instead of [[health]].
|Brown robed [[villager]]s can now harvest fully grown carrot crops.
|Carrots can now be used to craft [[golden carrot]]s.}}
{{History||v0.13.0|snap=build 1|Carrots can now be used to breed [[rabbit]]s.
|Carrots can now be used to craft [[rabbit stew]].}}
{{History||v0.15.0|snap=build 1|Carrots are now used to craft [[carrot on a stick]].}}
{{History||v0.16.2|Carrots can now be found in a [[chest]] inside the large house in [[snowy tundra]] and [[snowy taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].
|Carrots can now be picked up by villagers and become willing.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Carrots can now be found inside of [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Carrots can now be found inside [[shipwreck]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Carrots can be found in the new [[pillager outpost]]s.
|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Carrots can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has now been changed, farmer [[villager]]s now have a 25% chance to [[trading|buy]] 22 carrots for an [[emerald]].}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate carrot crops.}}
{{History||?|[[File:Carrots Age 0-1 BE.png|32px]] [[File:Carrots Age 2-3 BE.png|32px]] [[File:Carrots Age 4-6 BE.png|32px]] [[File:Carrots Age 7 BE.png|32px]] Carrot crop planes use a mapping that results in very unnatural mirroring when viewed from certain angles, such as northwest.<ref>{{bug|MCPE-146936}}</ref>}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Carrots can now be used to fill up [[composter]]s.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History|foot}}

=== Carrots "item" ===
{{:Technical blocks/Carrots}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
AllSeeds.png|All the seeds that exist in the game (except [[nether wart]] and [[cocoa beans]]).
VillageGrowingCarrotsAndPotatoes.png|Carrots and [[potato]]es found growing naturally in a [[village]].
Carrots Growing.png|Carrots in multiple stages of growth.
Carrot Dungeon.jpg|A carrot that dropped from a zombie, just to the right of the [[spawner]].
Carrot SDGP.png|Carrot in the [[Super Duper Graphics Pack]].
</gallery>

== References ==
{{reflist}}

{{Items}}
{{blocks|vegetation}}

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

[[cs:Mrkev]]
[[de:Karotte]]
[[es:Zanahoria]]
[[fr:Carotte]]
[[hu:Sárgarépa]]
[[ja:ニンジン]]
[[ko:당근]]
[[lzh:胡蘿蔔]]
[[nl:Wortel]]
[[pl:Marchewka]]
[[pt:Cenoura]]
[[ru:Морковь]]
[[th:แคร์รอต]]
[[uk:Морква]]
[[zh:胡萝卜]]</li><li>[[Diamond|Diamond]]<br/>{{For}}
{{redirect|Diamonds|the achievement|Achievements#DIAMONDS!|the advancement|Advancements#Diamonds!}}
{{Item
| image = Diamond.png
| renewable = No
| stackable = Yes (64)
| rarity = Common}}
A '''diamond''' is a mineral that can only be obtained from [[Diamond Ore|diamond ore]], [[chest loot|loot chests]] and [[Suspicious Block|suspicious blocks]]. It is required to craft diamond [[tool]]s and [[armor]] (and therefore obtain [[obsidian]] to access the [[The Nether|Nether]]), [[enchanting table]]s, [[jukebox]]es and duplicate [[smithing template]]s.

== Obtaining ==
{{see also|Tutorials/Diamonds}}
=== Mining ===
{{see also|Diamond Ore#Natural generation}}
[[Diamond ore]] can be mined using an iron [[pickaxe]] or stronger. An ore drops a single diamond. If mined by any other tool, it drops nothing. If the pickaxe is enchanted with [[Fortune]], it can drop an extra diamond per level of Fortune, allowing for a maximum of 4 diamonds with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops an ore block rather than a diamond. The ore is found at level 15 or lower, most commonly between -50 and -64; levels -58 and -59 are the preferred levels to mine at since they don't contain [[bedrock]], as it starts spawning at -60.

=== Chest loot ===
{{LootChestItem|diamond}}

=== Suspicious sand ===

When brushing [[suspicious sand]] in [[desert pyramid]]s, they have a {{frac|1|7}} chance to drop a diamond.

=== Crafting ===
{{Crafting
|Block of Diamond
|Output= Diamond,9
|type= Material
}}

=== Smelting ===
{{Smelting
|showname=1
|Diamond Ore; Deepslate Diamond Ore
|Diamond
|1
}}

== Usage ==

Diamonds are mainly used to craft high-tier armor and equipment, which in turn are also used in making [[netherite]] armor and equipment. 

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===

{{IN|bedrock}}, expert-level armorer, toolsmith, and weaponsmith villagers buy one diamond for an emerald as part of their trades.

{{IN|java}}, journeyman-level armorer villagers have a 40% chance of offering to buy one diamond for one emerald. Expert-level toolsmith villagers have {{frac|2|3}} chance of offering to buy one diamond for one emerald. Expert-level weaponsmith villagers always offer to buy one diamond for one emerald.

=== Repairing ===

Diamonds are the repair items for the diamond [[tier]] and [[armor material]], and thus can be used to [[item repair|repair]] the following items in an [[anvil]] or [[grindstone]]:
* {{ItemLink|Diamond Helmet}}
* {{ItemLink|Diamond Chestplate}}
* {{ItemLink|Diamond Leggings}}
* {{ItemLink|Diamond Boots}}
* {{ItemLink|Diamond Sword}}
* {{ItemLink|Diamond Pickaxe}}
* {{ItemLink|Diamond Axe}}
* {{ItemLink|Diamond Shovel}}
* {{ItemLink|Diamond Hoe}}

=== Beacons ===

Diamonds can be used to select powers from a [[beacon]]. The player must select one of the available powers then insert a diamond into the item slot. 

A diamond can be substituted for an [[iron ingot]], a [[gold ingot]], an [[emerald]] or a [[netherite ingot]].

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Diamond
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Diamond
|Diamond Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.<br/>
|tail=1
}}

;Trim color palette
The following color palettes are shown on the designs on trimmed armor:
*{{TrimPalette|diamond}}
*{{TrimPalette|diamond|darker=1}} (a darker color palette is used when a diamond armor piece is trimmed using a diamond).

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Diamond
|spritetype=item
|nameid=diamond
|itemtags=beacon_payment_items
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Diamond
|spritetype=item
|nameid=diamond
|id=304
|form=item
|foot=1}}

== Achievements ==

{{load achievements|DIAMONDS!;Diamonds to you!;Enchanter}}

== Advancements ==

{{load advancements|Diamonds!}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100128|[[File:Diamond JE1 BE1.png|32px]] Added diamonds. Initially, they were referred to as "emeralds".
|A stack of 100 diamonds can be found inside the  [[Indev house]] [[chest]]s.}}
{{History|||snap=20100129|Diamond can be used to craft [[diamond block]]s and diamond [[sword]]s, [[shovel]]s, [[pickaxe]]s and [[axe]]s.
|Diamonds can no longer be found inside the Indev House due to all items having been removed from its chests.
|Diamond can be obtained by smelting diamond blocks.}}
{{History|||snap=20100130|[[Emerald]]s from the previous version are now officially known as "diamonds", though this has no actual effect as item names are not yet displayed in-game.
|[[Diamond block]]s now require 9 diamonds (3×3) instead of 4 (2×2) to be [[crafting|crafted]], making them much more expensive.}}
{{History||20100206|Diamonds are now used to craft diamond [[hoe]]s.}}
{{History||20100212-1|Diamonds are now used to craft diamond [[helmet]]s, [[chestplate]]s, [[leggings]] and [[boots]].}}
{{History|java alpha}}
{{History||v1.0.14|Diamonds are now used to craft [[jukebox]]es.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Diamonds are now found in [[mineshaft]] [[chest]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[Diamond ore]] can now be [[smelting|smelted]] into diamonds.}}
{{History|||snap=Beta 1.9 Prerelease 3|Diamonds are now used to craft [[enchantment table]]s.
|Diamonds are now found in [[stronghold]] altar [[chest]]s.}}
{{History||1.1|snap=12w01a|Diamonds are now found in [[village]] [[villager|blacksmith]] [[chest]]s.}}
{{History||1.3.1|snap=12w21a|Diamonds can now be [[trading|traded]] to blacksmith [[villager]]s in quantities of 3–5 for 1 [[emerald]].
|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing diamonds.}}
{{History|||snap=12w21b|Diamonds have been changed in the game code from "emerald" to "diamond", due to actual [[emerald]]s being added. Diamond's original name during [[Indev]], as stated above, was emerald in the code, and was kept this way until this snapshot.}}
{{History|||snap=12w22a|Added [[jungle temple]]s, which contain loot [[chest]]s with diamonds.}}
{{History|||snap=1.3|[[File:Diamond JE2 BE2.png|32px]] The texture of diamonds has been changed.}}
{{History||1.4.6|snap=12w49a|Diamonds can now be used to [[crafting|craft]] a [[firework star]] with a trail.}}
{{History||1.6.1|snap=13w16a|Diamond is now used to craft diamond [[horse armor]].}}
{{History|||snap=13w18a|Diamond is no longer used to craft diamond [[horse armor]].|Diamonds are now found in [[nether fortress]] [[chest]]s.}}
{{History||1.8|snap=14w02a|Diamonds can now be [[traded]] to any black apron [[villager]] in quantities of 3–4 for 1 [[emerald]], as their tier III trade.}}
{{History||1.9|snap=15w31a|Diamonds now generate in [[end city]] [[chest]]s.}}
{{History|||snap=15w43a|The average yield of diamonds have been slightly decreased in [[nether fortress]] chests.}}
{{History|||snap=15w44a|The average yield of diamonds in [[desert temple]] and [[mineshaft]] chests have been decreased.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 264.}}
{{History|||snap=18w10a|Diamonds now generate in [[buried treasure]] [[chest]]s.}}
{{History|||snap=18w11a|Diamonds now generate in [[shipwreck]] treasure chests.}}
{{History||1.14|snap=18w43a|[[File:Diamond JE3 BE3.png|32px]] The texture of diamonds has been changed.}}
{{History|||snap=18w50a|Diamonds can now be found in [[chest]]s in [[village]] toolsmith houses.}}
{{History||1.16|snap=20w16a|Diamonds now generate in bastion remnants chests.}}
{{History||1.16.2|snap=20w30a|The chance of finding diamonds in bastion remnant chests is increased from 8.6% to 15.8%.}}
{{History||1.17|snap=21w08a|Diamonds can now drop and be smelted from [[deepslate diamond ore]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Diamonds can now be used to craft [[smithing template]]s.
|Diamonds can now be used as an armor trim material.}}
{{History|||snap=23w07a|Diamonds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s.}}
{{History||1.20|snap=23w12a|The probability for the diamond to generate in the [[suspicious sand]] in [[desert temple]] has been changed from 1/7 to 1/8.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Diamond JE1 BE1.png|32px]] Added diamonds. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.2|Diamonds can be collected and used to craft [[blocks of diamond]] and diamond [[axe]]s, [[pickaxe]]s, [[sword]]s and [[shovel]]s.}}
{{History||v0.4.0|Diamonds are now used to [[crafting|craft]] diamond [[hoe]]s.}}
{{History||v0.5.0|Diamonds are now used to craft [[nether reactor core]]s.}}
{{History||v0.6.0|Diamonds are now used to craft diamond [[armor]].}}
{{History||v0.8.0|snap=build 1|[[File:Diamond JE2 BE2.png|32px]] The texture of diamonds has been changed.}}
{{History||v0.12.1|snap=build 1|Diamonds are now used to craft [[enchanting table]]s.
|Diamonds are no longer used to craft [[nether reactor core]]s and are now instead dropped by it.
|Diamonds now generate in [[nether fortress]] [[chest]]s.}}
{{History||v0.13.0|snap=build 1|Diamonds now have a chance to generate in [[desert temple]] chests.}}
{{History||v0.14.0|snap=build 1|Diamonds are now found in [[minecart with chest]]s in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Diamonds can now be found in [[jungle temple]] [[chest]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Diamonds can now be found in altar [[chest]]s in [[stronghold]]s, [[dungeon]] chests and [[end city]] chests.}}
{{History|||snap=alpha 1.0.0.0|Diamonds can now be found in [[villager|blacksmith]] [[chest]]s in [[village]]s.}}
{{History||1.0.4|snap=alpha 1.0.4.0|3-4 diamonds can now be traded to blacksmith [[villager]]s for an [[emerald]] as part of their third tier trades.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Diamonds can now be used to [[crafting|craft]] a [[firework star]] with a trail. 
|Diamonds can now be used to craft [[jukebox]]es.}}
{{History||1.4.0|snap=beta 1.2.14.2|Diamonds can now be found inside [[buried treasure]] [[chest]]s and [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Diamonds can now be found in [[plains]] [[village]] weaponsmith chests.
|[[File:Diamond JE3 BE3.png|32px]] The texture of diamonds has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Diamonds can now be found in village toolsmith chests and in [[savanna]], [[desert]], [[taiga]], and [[snowy taiga]] village weaponsmith chests.}}
{{History|||snap=beta 1.11.0.4|Armorer, toolsmith, and weaponsmith [[villager]]s now [[trading|buy]] one diamond for an [[emerald]] as part of their fourth tier [[trading|trades]].}}
{{History||1.16.0|snap=beta 1.16.0.57|Diamonds can now be found in [[bastion remnant]] chests.}}
{{History||1.17.0|snap=beta 1.16.230.52|Diamonds can now drop and be smelted from [[deepslate diamond ore]].}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Diamonds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Diamonds can now be used to craft [[smithing template]]s.
|Diamonds can now be used as an armor trim material.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Diamond JE1 BE1.png|32px]] Added diamonds.}}
{{History||xbox=TU5|Diamonds are now found in the new [[mineshaft]] [[chest]]s.}}
{{History||xbox=TU7|Diamonds are now used to craft [[enchantment table]]s.}}
{{History||xbox=TU9|Diamonds are now found in [[village]] [[villager|blacksmith]] [[chest]]s.}}
{{History||xbox=TU14|ps=1.04|Diamonds can now be [[trading|traded]] to blacksmith [[villager]]s in quantities of 3–5 for 1 [[emerald]].
|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing diamonds.|Added [[jungle temple]]s, which contain loot [[chest]]s with diamonds.|[[File:Diamond JE2 BE2.png|32px]] The texture of diamonds has been changed.}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|Diamonds can now be used to [[crafting|craft]] a [[firework star]] with a trail|Diamonds are now found in the new [[nether fortress]] [[chest]]s.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|Diamonds can now be [[traded]] to any black apron [[villager]] in quantities of 3–4 for 1 [[emerald]], as their tier III trade.}}
{{History||xbox=TU46|xbone=CU36|ps=1.36|wiiu=Patch 15|Diamonds now generate in [[end city]] [[chest]]s.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|Diamonds now generate in [[buried treasure]] [[chest]]s.|Diamonds now generate in [[shipwreck]] treasure chests.}}
{{History||xbox=none|ps=1.90|wiiu=none|[[File:Diamond JE3 BE3.png|32px]] The texture of diamonds has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Diamond JE2 BE2.png|32px]] Added diamonds.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
*Unlike in ''Minecraft'', newly mined [[Wikipedia:Diamond|diamond]]s in real life are rough, cloudy stones. The largest, purest ones are polished into crystal-clear gemstones, while the rest are used in industry for cutting and grinding.
*Although diamonds themselves are not renewable, all tools, weapons, and armor made from diamonds can be acquired through [[trading]], and are therefore renewable. Other items crafted from diamonds are not renewable.
*In the April fools version [[Java Edition 2.0]], [[Diamond Chicken|diamond chickens]] can lay diamonds. This does not exist in newer versions, as this was a joke.
*The item forms of diamonds and [[Turtle Egg|turtle eggs]] have the same shape.

==Gallery==
<gallery>
File:DiamondOre.png|Naturally occurring diamonds.
File:MultipleOreBlobs.png|Multiple ore blobs.
File:Lava Diamond.png|Diamond ore near Lava.
File:Diamond ore blob.png|Another Diamond ore blob near Lava.
File:10 ore diamond blob.png|10 ore diamond blob.
File:Trading a diamond for an emerald.png|A blacksmith offering an [[emerald]] for a diamond.
File:Diamond Pendant Necklace JINX.jpg|Official diamond pendant made by [https://www.jinx.com JINX].
File:All Mine JINX.jpg|Official t-shirt artwork "All Mine" which features a diamond. Made by JINX
File:4 ways of viewing 12 diamonds in stone form.png|4 ways of viewing 12 diamonds in stone form
</gallery>

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

{{items}}

[[cs:Diamant]]
[[de:Diamant]]
[[el:Διαμάντι]]
[[es:Diamante]]
[[fr:Diamant]]
[[hu:Gyémánt]]
[[it:Diamante]]
[[ja:ダイヤモンド]]
[[ko:다이아몬드]]
[[nl:Diamant]]
[[pl:Diament]]
[[pt:Diamante]]
[[ru:Алмаз]]
[[th:เพชร]]
[[tr:Elmas]]
[[uk:Діамант]]
[[zh:钻石]]
[[Category:Non-renewable resources]]</li></ul>
build 1Added monster spawners.
build 2Added monster spawners to the creative inventory. The type of mob spawner can be changed using a spawn egg.
build 9Monster spawners now emit light.
Legacy Console Edition
TU1
{{Extension DPL}}<ul><li>[[Torchflower Seeds|Torchflower Seeds]]<br/>{{wip}}
{{Block
| image = <gallery>
Torchflower Age 0.png| Age 0
Torchflower Age 1.png| Age 1
Torchflower Age 2.png| Age 2
</gallery>
| image2 = Torchflower Seeds JE1.png
| transparent = Yes
| light = No
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| rarity = Common
|flammable=No
|lavasusceptible=No
}}

'''Torchflower seeds''' are seeds that have a chance to be dropped by [[Sniffer|sniffers]] when they finish digging.

== Obtaining ==
[[Sniffer]]s will occasionally bury their nose in the ground and start digging. Once the sniffer has finished digging, one torchflower seed will have a chance to be dropped on the floor as an item.

Sniffers can only dig for torchflower seeds in the following blocks:
*{{BlockLink|Dirt}}
*{{BlockLink|Grass Block}}
*{{BlockLink|Podzol}}
*{{BlockLink|Coarse Dirt}}
*{{BlockLink|Rooted Dirt}}
*{{BlockLink|Moss Block}}
*{{BlockLink|Mud}}
*{{BlockLink|Muddy Mangrove Roots}}
They cannot dig for torchflower seeds on [[mycelium]], which is intended.<ref>{{bug|MC-260259||Sniffers cannot dig nor find seeds on mycelium|WAI}}</ref>

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

Torchflower seeds can be {{control|placed}} on [[farmland]], where they grow through three stages. Breaking the torchflower crop before it matures drops the seed, while breaking the final stage produces one [[torchflower]] and does not yield the seed.

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.

Farmer [[villager]]s can plant torchflower seeds, but cannot harvest them after they have fully grown.<ref>{{bug|MC-263382|||WAI}}</ref>

=== Feeding ===
Torchflower seeds can be used to breed [[sniffer]]s and [[chicken]]s and reduce the remaining growth duration of snifflets and chicks by 10%. Also, if some torchflower seeds were fed to an injured sniffer, it will heal it by {{hp|2}} health points.

=== Taming ===
Torchflower seeds can be used to tame [[parrot]]s.

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

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Torchflower Crop
|spritetype=block
|nameid=torchflower_crop
|form=block
|blocktags=bee_growables, crops}}
{{ID table
|displayname=Torchflower Seeds
|spritetype=item
|nameid=torchflower_seeds
|form=item
|itemtags=villager_plantable_seeds
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Torchflower Crop
|spritetype=block
|nameid=torchflower_crop
|id=-567
|form=block
|translationkey=-}}
{{ID table
|displayname=Torchflower Seeds
|spritetype=item
|nameid=torchflower_seeds
|id=296
|form=item
|foot=1}}

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

{{/BS}}

== Achievements ==
{{Load achievements|Planting The Past}}

== Advancements ==
{{load advancements|A Seedy Place;Planting The Past;Little Sniffs}}

== History ==
{{History|java}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Torchflower Seeds JE1.png|32px]] Added torchflower seeds behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=1.19.4 Pre-release 1|Torchflower seeds can now be used to breed [[chicken]]s and tame [[parrot]]s.<ref>{{bug|MC-260035|||Fixed}}</ref>|Torchflower seeds are now next to other seeds in the [[Creative inventory]].|Placing torchflower seeds in farmland now gives the player the "A Seedy Place" [[advancement]].}}
{{History||1.20|snap=23w12a|[[Sniffer]]s can now be obtained in Survival, making torchflower seeds [[renewable]].|Torchflower seeds are now available without using the "Update 1.20" experimental datapack.}}
{{History|||snap=23w14a|Torchflower seeds can now be picked up by farmer [[villager]]s.|[[Sniffer]]s can now be tempted with torchflower seeds.}}
{{History|||snap=23w16a|[[Villager]]s can now plant torchflower seeds.}}
{{History|||snap=23w17a|The player now get the [[advancement]] "Little sniffs" when they feed a [[snifflet]] using torchflower seeds, "Planting the past" when they plant torchflower seeds on [[farmland]].}}

{{History|bedrock}}
{{History||Sniffer<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|[[File:Torchflower Seeds JE1.png|32px]] Added torchflower seeds behind the "[[Bedrock Edition 1.20.0|Sniffer]]" [[experimental]] toggle.}}
{{History||1.20.0|snap=beta 1.20.0.20|Torchflower seeds are now available without using the "Sniffer" experimental toggle.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* The final growth stage of the torchflower crop uses the same ID as the actual torchflower. This causes some side effects, such as the plant becoming offset and randomly jumping to the side.<ref>{{bug|MC-260472|resolution=wai}}</ref>
 
== Gallery ==
<gallery>
Torchflower Seeds stages.png|All the growth stages of torchflower seeds.
</gallery>

== Notes ==
{{notelist}}

== References ==
{{reflist}}

{{Blocks|upcoming}}
{{Items}}
[[Category:Plants]]
[[Category:Non-solid blocks]]

[[de:Fackelliliensamen]]
[[es:Semillas de plantorcha]]
[[ja:トーチフラワーの種]]
[[pt:Sementes de plantocha]]
[[zh:火把莲种子]]</li><li>[[Carrot|Carrot]]<br/>{{about|the natural food item|the golden food|Golden Carrot|the item for controlling saddled pigs|Carrot on a Stick}}
{{Item
| group = Age 0-1
| 1-1 = Carrots Age 0-1.png
| 1-2 = Carrots Age 0-1 BE.png
| group2 = Age 2-3
| 2-1 = Carrots Age 2-3.png
| 2-2 = Carrots Age 2-3 BE.png
| group3 = Age 4-6
| 3-1 = Carrots Age 4-6.png
| 3-2 = Carrots Age 4-6 BE.png
| group4 = Age 7
| 4-1 = Carrots Age 7.png
| 4-2 = Carrots Age 7 BE.png
| image2 = Carrot JE3 BE2.png
| renewable = Yes
| heals = {{hunger|3}}
| stackable = Yes (64)
}}
A '''carrot''' is a [[food]] [[item]] obtained from carrot crops that can be used to plant them, eaten or used as a crafting ingredient.

'''Carrot crops''' are planted in [[farmland]] and used to grow carrots.

== Obtaining ==

=== Breaking ===
{{See also|Fortune#Seeds}}
Fully grown carrot crops drop 2 to 5 carrots ({{frac|3|5|7}} per crop harvested on average). Yield can be increased using a tool enchanted with [[Fortune]], with Fortune III harvesting an average of {{frac|5|3|7}} carrots.

The yield is calculated by a binomial distribution: 2 drops are fixed, then a drop is attempted three times with a success rate of 57.14286% to yield the extra 0–3 drops. Each level of Fortune enchantment increases the number of attempts by one.

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

{| class="wikitable"
! Village style !! Chance
|-
| {{EnvSprite|plains-village}} Plains || 30%
|-
| {{EnvSprite|snowy-village}} Snowy || 10%
|}

=== Mob loot ===
[[Zombie]]s, [[husk]]s, and [[zombie villager]]s have a 2.5% ({{frac|1|40}}) chance of dropping either an [[iron ingot]], carrot, or [[potato]] when killed by a player or tamed wolf. This is increased by 1% ({{frac|1|100}}) per level of looting. This gives carrots the following chances of dropping:
* {{frac|1|120}} (about 0.83%)
* {{frac|7|600}} (about 1.17%) with Looting I
* {{frac|9|600}} (about 1.50%) with Looting II
* {{frac|11|600}} (about 1.83%) with Looting III

=== Chest loot ===
{{LootChestItem|carrot}}

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

To eat a carrot, press and hold {{control|use}} while the carrot is selected in the [[hotbar]]. Eating a carrot restores {{hunger|3}} [[hunger]] and 3.6 hunger [[Hunger#Mechanics|saturation]].

=== Farming ===
{{see also|Tutorials/Crop farming|title1 = Crop farming }}

Carrots can be [[farming|farmed]] and harvested on [[farmland]]. Planted carrots take 8 [[Block tick|stages]] to grow, and go through 4 visually distinct stages. Planted carrots 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 carrots 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.

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.

If {{cmd|gamerule mobGriefing}} is <code>true</code>, rabbits will find mature carrot [[crops]]{{only|je}} / carrot crops with growth stage greater than 1{{only|be}}. This reduces the growth stages by one, removing the crop completely when the growth stage reaches 0.

=== Breeding ===
Carrots can also be used to [[breed]] and attract [[pig]]s and [[rabbit]]s.

Villagers can pick up carrot items to become willing, which allow them to breed. Villagers require 12 carrots to become willing.

=== Trading ===
Novice-level Farmer villagers have a 25% ({{frac|1|4}}){{only|bedrock}} or 40% ({{frac|2|5}}){{only|java}} chance to buy 22 carrots for an emerald.

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

=== Composting ===
Placing a carrot into a [[composter]] has a 65% chance of raising the compost level by 1.

== Sounds ==

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

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

== Data values ==

=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showforms=y
|shownumericids=y
|generatetranslationkeys=y
|displayname=Carrots
|spritetype=block
|nameid=carrots
|id=141
|form=block
|translationkey=-}}
{{ID table
|displayname=Carrot
|spritetype=item
|nameid=carrot
|id=279
|form=item
|foot=1}}

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

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

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Carrot JE1.png|32px]] Added carrots. 
|[[File:Carrots Age 0-1 JE1.png|32px]] [[File:Carrots Age 2-3 JE1.png|32px]] [[File:Carrots Age 4-6 JE1.png|32px]] [[File:Carrots Age 7 JE1.png|32px]] Added carrot crops.
|Carrots can be obtained only as a rare [[drop]] from [[zombie]]s.}}
{{History|||snap=August 28, 2012|slink={{tweet|Dinnerbone|240428477856231424}}|[[Dinnerbone]] released an image of a [[saddle]]d [[pig]] being controlled with a [[carrot on a stick]]. [[Wheat]] was considered as a "fuel" along with carrots,<ref>{{Tweet|Dinnerbone|240188453789257728}}</ref> but Dinnerbone eventually decided on carrots.<ref>{{Tweet|Dinnerbone|240355810650247168}}</ref>}}
{{History|||snap=12w34a|Carrots can now be used to craft [[golden carrot]]s.}}
{{History|||snap=12w36a|Carrots can now be found in [[village]]s.
|Carrots are now used to breed [[pig]]s.
|Carrots are now used to craft [[carrot on a stick]].}}
{{History|||snap=12w37a|[[File:Carrot JE2 BE1.png|32px]] The texture of carrots has now been changed. The texture has been changed to singular carrot, with the tooltip changed to reflect this.}}
{{History||1.5|snap=13w04a|[[Bone meal]] now grows carrots by 1 stage instead of fully growing it. The [[player]] might not see it grow, because some stages look the same.}}
{{History||1.8|snap=14w02a|Carrots now restore {{hunger|3}} points and 3.6 hunger [[saturation]], instead of {{hunger|4}} and 4.8 hunger saturation.
|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].}}
{{History|||snap=14w04a|[[Farmer]] (profession) [[villager]]s now harvest fully grown carrots.
|Villagers can now be made willing using 12 carrots.}}
{{History|||snap=14w06a|[[File:Carrots Age 0-1 JE2.png|32px]] [[File:Carrots Age 2-3 JE2.png|32px]] [[File:Carrots Age 4-6 JE2.png|32px]] [[File:Carrots Age 7 JE2.png|32px]] Carrot crops are now a pixel higher - previously they were offset one pixel down as to match farmland's sunken model. 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]]<br>[[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]]<br>Carrot crops of all stages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Carrots Age 0-1 JE4.png|32px]] [[File:Carrots Age 2-3 JE4.png|32px]] [[File:Carrots Age 4-6 JE4.png|32px]] [[File:Carrots Age 7 JE4.png|32px]] Carrot crops now have models again.<ref>{{bug|MC-50232}}</ref> In addition, they are now offset downwards by one pixel once more.<ref>{{bug|MC-50155}}</ref>}}
{{History|||snap=14w25a|[[File:Carrots Age 0-1 JE5.png|32px]] [[File:Carrots Age 2-3 JE5.png|32px]] [[File:Carrots Age 4-6 JE5.png|32px]] [[File:Carrots Age 7 JE5.png|32px]] Carrot crops are now darker and subject to directional shading.}}
{{History|||snap=14w27a|[[File:Carrots Age 0-1 JE6.png|32px]] [[File:Carrots Age 2-3 JE6.png|32px]] [[File:Carrots Age 4-6 JE6.png|32px]] [[File:Carrots Age 7 JE6.png|32px]] Carrot crops are no longer subject to directional shading.
|Added [[rabbit]]s, which can be [[breeding|bred]] and/or tamed using carrots. Rabbits also grief carrot crops.
|Carrots are now used to craft [[rabbit stew]].}}
{{History|||snap=14w34a|Rabbits can no longer be tamed.}}
{{History||1.9|snap=15w38a|The [[drops|drop]] chances have now been slightly improved from an average of {{frac|2|3|5}} per [[crops|crop]] harvested to {{frac|2|5|7}}.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 141, and the item's 391.}}
{{History|||snap=18w11a|Carrots can now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]] The textures of carrot crops have now been changed.}}
{{History|||snap=18w47a|Carrots can now generate in the [[chest]]s of [[pillager outpost]]s.}}
{{History|||snap=19w03a|Placement and breaking [[sound]]s have now been added to carrots.
|Placing a carrot into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Carrots now have a 65% chance of increasing the compost level in a composter by 1.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate carrot crops.}}
{{History||1.17|snap=21w13a|[[File:Carrots Age 0-1 JE8.png|32px]] [[File:Carrots Age 2-3 JE8.png|32px]] [[File:Carrots Age 4-6 JE8.png|32px]] [[File:Carrots Age 7 JE8.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes, changing the carrot crop's appearance in the process.<ref>{{bug|MC-199242}}</ref>}}
{{History||1.18|snap=Pre-release 5|[[File:Carrots Age 7 JE9.png|32px]] A stray dark pixel has been removed from the texture of fully-grown carrots.<ref>{{bug|MC-226711}}</ref>}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.
|Carrots can be obtained by killing [[zombie]]s.}}
{{History|||snap=build 3|Carrots now have a chance to [[drops|drop]] when tilling [[grass block]]s.}}
{{History|||snap=build 4|Carrots are no longer dropped by tilling [[grass block]]s.}}
{{History||v0.9.0|snap=build 1|Carrot crops now naturally spawn in [[village]]s.
|Carrot now used to breed [[pig]]s.}}
{{History||v0.12.1|snap=build 1|Carrots now restore [[hunger]] instead of [[health]].
|Brown robed [[villager]]s can now harvest fully grown carrot crops.
|Carrots can now be used to craft [[golden carrot]]s.}}
{{History||v0.13.0|snap=build 1|Carrots can now be used to breed [[rabbit]]s.
|Carrots can now be used to craft [[rabbit stew]].}}
{{History||v0.15.0|snap=build 1|Carrots are now used to craft [[carrot on a stick]].}}
{{History||v0.16.2|Carrots can now be found in a [[chest]] inside the large house in [[snowy tundra]] and [[snowy taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|buy]] 15–19 carrots for 1 [[emerald]].
|Carrots can now be picked up by villagers and become willing.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Carrots can now be found inside of [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Carrots can now be found inside [[shipwreck]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Carrots can be found in the new [[pillager outpost]]s.
|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Carrots can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has now been changed, farmer [[villager]]s now have a 25% chance to [[trading|buy]] 22 carrots for an [[emerald]].}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate carrot crops.}}
{{History||?|[[File:Carrots Age 0-1 BE.png|32px]] [[File:Carrots Age 2-3 BE.png|32px]] [[File:Carrots Age 4-6 BE.png|32px]] [[File:Carrots Age 7 BE.png|32px]] Carrot crop planes use a mapping that results in very unnatural mirroring when viewed from certain angles, such as northwest.<ref>{{bug|MCPE-146936}}</ref>}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Carrot JE3 BE2.png|32px]] The texture of carrots has now been changed.
|[[File:Carrots Age 0-1 JE7.png|32px]] [[File:Carrots Age 2-3 JE7.png|32px]] [[File:Carrots Age 4-6 JE7.png|32px]] [[File:Carrots Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of carrot crops have now been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|Carrots can now be used to fill up [[composter]]s.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Carrot JE2 BE1.png|32px]] Added carrots.
|[[File:Carrots Age 0-1 JE6 BE1.png|32px]] [[File:Carrots Age 2-3 JE6 BE1.png|32px]] [[File:Carrots Age 4-6 JE6 BE1.png|32px]] [[File:Carrots Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added carrot crops.}}
{{History|foot}}

=== Carrots "item" ===
{{:Technical blocks/Carrots}}

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
AllSeeds.png|All the seeds that exist in the game (except [[nether wart]] and [[cocoa beans]]).
VillageGrowingCarrotsAndPotatoes.png|Carrots and [[potato]]es found growing naturally in a [[village]].
Carrots Growing.png|Carrots in multiple stages of growth.
Carrot Dungeon.jpg|A carrot that dropped from a zombie, just to the right of the [[spawner]].
Carrot SDGP.png|Carrot in the [[Super Duper Graphics Pack]].
</gallery>

== References ==
{{reflist}}

{{Items}}
{{blocks|vegetation}}

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

[[cs:Mrkev]]
[[de:Karotte]]
[[es:Zanahoria]]
[[fr:Carotte]]
[[hu:Sárgarépa]]
[[ja:ニンジン]]
[[ko:당근]]
[[lzh:胡蘿蔔]]
[[nl:Wortel]]
[[pl:Marchewka]]
[[pt:Cenoura]]
[[ru:Морковь]]
[[th:แคร์รอต]]
[[uk:Морква]]
[[zh:胡萝卜]]</li></ul>
Added monster spawners.

Issues

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

Trivia

  • Unlike most other solid blocks, the monster spawner supports texture with transparent areas, without showing what's behind.
  • When mining near a monster spawner that has no valid places to spawn, sometimes a monster will spawn immediately after a block is mined. It's speculated this might happen because the spawner gets a chance to spawn before the lighting calculation for the space the block occupied.
  • If a spawner is made to spawn a Giant, Ghast, or Iron Golem; the mob inside will be larger than the spawner and will appear to physically extend beyond the confines of the spawner block's sides.
  • The miniature mob inside the monster spawner is an actual mob of that type. Thus, if a spawner is configured to spawn Ender Dragons or Withers, their boss health bar is visible while looking at the spawner.

Gallery

See also

References