Minecraft Wiki
Advertisement
Not to be confused with woodland mansion.

A pillager outpost is an assortment of structures inhabited by pillagers.

Generation[]

Pillager outposts are semi-rare structures, generating every several hundred to couple thousand blocks.[1] This makes them rarer than villages[2] but less rare than woodland mansions.

Pillager outposts can generate naturally in any village-generating biome, including:

Pillager outposts also generate in the following biomes, where villages do not spawn:

In Java Edition, pillager outposts never generate too close to, or within, villages. They can do so in Bedrock Edition as well as generate far away from villages.

In Java Edition, if an outpost spawns in the water or in the air (e.g., spawning near a savanna plateau), then a platform of grass (or sand), dirt, and stone spawns underneath it in a circular shape. This also applies to the smaller structures such as tents, targets, log piles, and cages. On occasion, the smaller structures still spawn in the air despite having a platform below them, depending on how high up they are.

In Bedrock Edition, pillager outposts generate with foundations similar to that of a woodland mansion: watchtowers use cobblestone, birch planks, and dark oak logs as their foundation; tents and cages generate dark oak planks as their foundation; log piles use horizontal dark oak logs as their foundation; and targets generate cobblestone as a foundation.

The outpost tower generates each time. Up to 4 other smaller structures may spawn around the periphery of the main outpost structure.

Eight extra air blocks also generate around the outpost.[3]

Mobs[]

AllayFace

IronGolemFace

PillagerFace

Allay Iron Golem Pillager

Iron golems and allays spawn only during the generation of the outpost structures. An iron golem has a 85% chance of spawning. Meanwhile, the allay has a 50% chance of spawning. These mobs spawn in cages. The iron golem can punch pillagers who are one block away from the fences of the cage.

Both regular pillagers and pillager captains can continuously spawn around the structure. Pillagers can still spawn if a player is inside the tower. In Java Edition they spawn in a 72×54×72 area centered on the top level of the watchtower, the same level as the chest. In Bedrock Edition, they spawn at or below a particular location in the outpost; specifically, they choose the northwest corner of the highest opaque block with a non-solid block on top.

In Java Edition, only pillagers may spawn within a pillager outpost spawn area. Pillagers may naturally spawn on any valid opaque block (except leaves) as long as the block light level is 8 or less. They cannot, however, spawn on blocks that emit a light level of 14 or greater. There is a 6% chance a pillager will spawn as a patrol leader.

In Java Edition, there are 15 jigsaw blocks that can generate the structures around the tower. Each structure has a 1 in 13 chance of being generated, including allay and iron golem cages. When generated, iron golem cages spawn one golem, and allay cages spawn two allays.

A total of eight pillagers, including the pillager captain, spawns in a pillager outpost.

Bad Omen[]

Upon killing an outpost captain, the player receives 1 level of the Bad Omen effect applied to them for 100 minutes (5 in-game days).

Structure[]

Main article: /Structure

A pillager outpost consists of a 4 level watchtower with other smaller structures around it.

Structure blocks can be used to manually load pieces of the pillager outpost from the /data/minecraft/structures/pillager_outpost folder in minecraft.jar. To do so, set a structure block to Load mode, enter pillager_outpost/<structure_name>, and press LOAD.

Structure name Description Consists of Images
pillager_outpost/watchtower A large tower with a loot chest on the top level.

347 Dark Oak Planks
290 Birch Planks
207 Cobblestone
144 Dark Oak Log
48 Dark Oak Fence
45 Dark Oak Slab
33 Cobblestone Stairs
16 Dark Oak Stairs
8 Cobblestone Wall
4 Cobblestone Slab
4 Torch
1 Chest (random loot)
8 Illager Banner Ominous Banner[JE only]/Illager Banner‌[BE only]

Pillager outpost watchtower
pillager_outpost/feature_cage1
pillager_outpost/feature_cage2
A wooden cage, with cage_2 having an iron golem.

24 Dark Oak Fence
12 Dark Oak Log
8 Dark Oak Stairs
4 Dark Oak Slab
0~1 Iron Golem

Pillager outpost feature cage1
pillager_outpost/feature_cage_with_allays A wooden cage, with some allays trapped inside.

28 Dark Oak Fence
12 Dark Oak Log
8 Dark Oak Stairs
4 Dark Oak Slab
0~3 Allay

pillager_outpost/feature_logs A pile of dark oak logs.

21 Dark Oak Log

Pillager outpost feature logs
pillager_outpost/feature_targets Two scarecrow-like targets.

6 Dark Oak Fence
2 Carved Pumpkin
2 Hay Bale

Pillager outpost feature targets
pillager_outpost/feature_tent1 A small tent made of wool, with a crafting table inside.

20 White Wool
10 Dark Oak Fence
1 Crafting Table

Pillager outpost feature tent1
pillager_outpost/feature_tent2 A small tent made of wool, with a crafting table and pumpkins inside.

20 White Wool
10 Dark Oak Fence
4 Pumpkin
1 Crafting Table

Pillager outpost feature tent2

Technical structures[]

Structure name Description Consists of Images
pillager_outpost/watchtower_overgrown Generated with a structure integrity of around 0.03 on top of a regular watchtower to add random mossy cobblestone and vines into the build.

347 Dark Oak Planks
290 Birch Planks
207 Mossy Cobblestone
144 Dark Oak Log
113 Vines
48 Dark Oak Fence
45 Dark Oak Slab
33 Mossy Cobblestone Stairs
16 Dark Oak Stairs
8 Mossy Cobblestone Wall
4 Mossy Cobblestone Slab
4 Torch
1 Chest (random loot)
8 Illager Banner Ominous Banner[JE only]/Illager Banner‌[BE only]

Pillager outpost watchtower overgrown
pillager_outpost/base_plate This generates first, to mark the locations of both watchtowers and each outer structure, using jigsaw blocks.

N/A

Pillager outpost base plate
pillager_outpost/feature_plate The horizontal jigsaw block connects to the base plate to determine its own location, while the vertical jigsaw block connects to an outer structure.

N/A

Pillager outpost feature plate

Loot[]

See also: Chest loot

In Java Edition, each pillager outpost chest contains items drawn from 6 pools, with the following distribution:

Item Stack Size [A] Weight [B] Chance [C] Avg.
per chest
[D]
Avg. # chests
to search
[E]
0–1× 2–3× 1–3× 2–3× 0–1× 0–1× 2–3× 1–3× 2–3× 0–1×
Dark Oak Log 2–311100.0%5.0001.0
Nothing[F] 13475.0%0.7501.3
Wheat 3–571772.5%4.1181.4
Bottle o' Enchanting 172260.9%0.7951.6
Carrot 3–551757.5%2.9411.7
Potato 2–551757.5%2.5741.7
Crossbow 11150.0%0.5002.0
Goat Horn[G] 11150.0%0.5002.0
Arrow 2–742239.1%2.0452.6
String 1–642239.1%1.5912.6
Tripwire Hook 1–332230.5%0.6823.3
Iron Ingot 1–332230.5%0.6823.3
Sentry Armor Trim Smithing Template 21425.0%0.5004.0
Enchanted Book[H] 112211.0%0.1149.1

In Java Edition 1.20.2, each pillager outpost chest contains items drawn from 6 pools, with the following distribution:

Item Stack Size [A] Weight [B] Chance [C] Avg.
per chest
[D]
Avg. # chests
to search
[E]
0–1× 2–3× 1–3× 2–3× 0–1× 0–1× 2–3× 1–3× 2–3× 0–1×
Dark Oak Log 2–311100.0%5.0001.0
Nothing[F] 13475.0%0.7501.3
Wheat 3–571772.5%4.1181.4
Bottle o' Enchanting 172260.9%0.7951.6
Carrot 3–551757.5%2.9411.7
Potato 2–551757.5%2.5741.7
Crossbow 11150.0%0.5002.0
Goat Horn[G] 11150.0%0.5002.0
Arrow 2–742239.1%2.0452.6
String 1–642239.1%1.5912.6
Tripwire Hook 1–332230.5%0.6823.3
Iron Ingot 1–332230.5%0.6823.3
Sentry Armor Trim Smithing Template 21425.0%0.5004.0
Enchanted Book[H] 112211.0%0.1149.1

In Bedrock Edition, each pillager outpost chest contains items drawn from 7 pools, with the following distribution:

Item Stack Size [A] Weight [B] Chance [C] Avg.
per chest
[D]
Avg. # chests
to search
[E]
0–1× 2–3× 1–3× 2–3× 0–1× 0–1× 2–3× 1–3× 2–3× 0–1×
Dark Oak Log 2–311100.0%5.0001.0
Nothing[F] 11341383.3%1.0831.2
Wheat 3–571772.5%4.1181.4
Enchanted Book[I] 12366.7%0.6671.5
Bottle o' Enchanting 172260.9%0.7951.6
Carrot 3–551757.5%2.9411.7
Potato 2–551757.5%2.5741.7
Crossbow 11150.0%0.5002.0
Goat Horn[G] 11150.0%0.5002.0
Arrow 2–742239.1%2.0452.6
String 1–642239.1%1.5912.6
Tripwire Hook 1–332230.5%0.6823.3
Iron Ingot 1–332230.5%0.6823.3
Sentry Armor Trim Smithing Template 21425.0%0.5004.0
Enchanted Book[H] 112211.0%0.1149.1
  1. a b c The size of stacks (or for unstackable items, number) of this item on any given roll.
  2. a b c The weight of this item relative to other items in the pool.
  3. a b c The odds of finding any of this item in a single chest.
  4. a b c The number of items expected per chest, averaged over a large number of chests.
  5. a b c The average number of chests the player should expect to search to find any of this item.
  6. a b c 'Nothing' does not refer to the chance of an empty chest. Instead, it refers to the chance that the random loot generator does not add any loot on a single roll.
  7. a b c Does not contain goat horn variants that drop from screaming goats.
  8. a b c All enchantments are equally probable, including treasure enchantments (except Soul Speed, and Swift Sneak), and any level of the enchantment is equally probable.
  9. Enchanted with a random level of Quick Charge.


History[]

Java Edition
1.14
{{Extension DPL}}<ul><li>[[Glowstone Dust|Glowstone Dust]]<br/>{{Item
| image = Glowstone Dust.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}
'''Glowstone dust''' is an [[item]] obtained from mining [[glowstone]], and is mainly used to create [[potion]]s with increased strength and decreased duration.

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

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

=== Trading ===

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

{{Items}}

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

[[de:Glowstonestaub]]
[[es:Polvo de piedra luminosa]]
[[fr:Poudre lumineuse]]
[[hu:Izzókő-por]]
[[ja:グロウストーンダスト]]
[[ko:발광석 가루]]
[[nl:Gloeisteenstof]]
[[pl:Jasnopył]]
[[pt:Pó de pedra luminosa]]
[[ru:Светокаменная пыль]]
[[tr:Işık Taşı Tozu]]
[[uk:Пил світлокаменю]]
[[zh:荧石粉]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Calculating signal strength from items

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

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

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

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

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

;Calculating items from signal strength

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

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

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

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

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

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

;{{BlockLink|Cake}}

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

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

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

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

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

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

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

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

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

;{{BlockLink|End Portal Frame}}

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

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

;{{EntityLink|Item Frame}}

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

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

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

;{{BlockLink|Jukebox}}

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

;{{BlockLink|Lectern}}

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

;{{BlockLink|Respawn Anchor}}

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

;{{BlockLink|Sculk Sensor}}

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

;{{BlockLink|Chiseled Bookshelf}}

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

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

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

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
18w47aAdded pillager outposts.
18w47bReduced the amount of pillagers that spawn around outposts.
18w50aRaid captains can now spawn in outposts.
1.18
{{Extension DPL}}<ul><li>[[Gold Ingot|Gold Ingot]]<br/>{{About|the item|the ore|Gold Ore|the mineral block|Block of Gold|the nugget|Gold Nugget}}
{{Item
| image = Gold Ingot.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''gold ingot''' is a [[metal]] ingot used to craft various [[item]]s, and also used as currency for [[bartering]] with [[piglin]]s.

== Obtaining ==
Gold ingots are mainly obtained by smelting [[raw gold]], [[gold ore]] and [[nether gold ore]], or just mining nether gold ore, dropping gold nuggets. Gold generates more frequently in [[badlands]] biomes.

=== Crafting ===
{{Crafting
|head=1
|showname=0
|Block of Gold
|Output=Gold Ingot,9
|type=Material
}}

{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget 
|A2= Gold Nugget
|B2= Gold Nugget
|C2= Gold Nugget 
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget 
|Output= Gold Ingot
|type= Material
|foot=1
}}

=== Smelting ===
{{see also|Gold Ore#Natural generation}}

{{Smelting
|head=1
|Gold Ore;Nether Gold Ore;Deepslate Gold Ore
|Gold Ingot
|1
}}

{{Smelting
|foot=1
|Raw Gold
|Gold Ingot
|1
}}

=== Mob loot ===

[[Zombified piglin]]s have a 2.5% ({{frac|1|40}}) chance of dropping a gold ingot if killed by a player or tamed wolf. The chance is increased by 1% per level of [[Looting]], for a maximum of 5.5% with Looting III.

=== Chest loot ===
{{LootChestItem|gold-ingot}}

== Usage ==

=== Crafting ingredient===

As a material for weapons, tools, and armor, gold is not a straight upgrade from iron (except in the case of [[Horse Armor|horse armor]]). Gold has a higher mining speed and enchantability than any other material, but attack power and durability is less.

{{crafting usage}}

=== Trading ===

Apprentice-level cleric [[Villager|villagers]] buy 3 gold ingots for an [[emerald]] as part of their trade.

=== Repairing ===

Golden [[helmet]]s, [[chestplate]]s, [[leggings]], [[boots]], [[sword]]s, [[pickaxe]]s, [[axe]]s, [[hoe]]s and [[shovel]]s can be [[item repair|repaired]] with gold ingots in an [[anvil]].

=== Bartering ===
{{main|Bartering}}
[[Piglin]]s throw the player [[Bartering#Mechanics|item(s)]] if the player throws or {{ctrl|uses}} a gold ingot on them.

=== Beacons ===

Gold ingots can be used to select powers from a [[beacon]]. The player must select one of the available powers, and then insert an ingot in the item slot. 

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

=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Gold Ingot
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Gold Ingot
|Gold 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|gold ingot}}
*{{TrimPalette|gold ingot|darker=1}} (a darker color palette is used when a golden armor piece is trimmed using a gold ingot).

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

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Gold Ingot
|spritetype=item
|nameid=gold_ingot
|itemtags=beacon_payment_items, piglin_loved
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gold Ingot
|spritetype=item
|nameid=gold_ingot
|id=306
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100128|[[File:Gold Ingot JE1.png|32px]] Added gold ingots.}}
{{History|||snap=20100129|[[File:Gold Ingot JE2 BE1.png|32px]] The texture of gold ingots has been changed.
|Gold ingots can be [[smelting|smelted]] from [[gold ore]] with [[flint and steel]] and [[drops|drop]] 3-5 gold ingots.
|Gold ingots can be used to craft [[gold block]]s.
|[[Gold block]]s now require 9 gold ingots (3×3) instead of 4 (2×2) to be [[crafting|crafted]], making them much more expensive.}}
{{History|||snap=20100130|Gold ingots can now be used to craft gold [[sword]]s, [[shovel]]s, [[pickaxe]]s and [[axe]]s.}}
{{History||20100206|Gold ingots are now used to [[crafting|craft]] gold [[hoe]]s.}}
{{History||?|Smelting gold ore now drops 1 gold ingot (down from 3-5).}}
{{History||20100218|Gold ingots are now used to craft gold [[helmet]]s, [[chestplate]]s, [[leggings]] and [[boots]].}}
{{history|java alpha}}
{{History||v1.2.0|snap=<nowiki>?|slink=:Category:Information needed requiring unarchived version|Gold ingots are now used to craft [[clock]]s.}}
{{History|java beta}}
{{History||1.5|Gold ingots are now used to craft [[powered rail]]s.}}
{{History||1.8|snap=Pre-release|Gold ingots can now be found in the new [[stronghold]] storerooms and [[mineshaft]] [[chest]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Gold ingots can be crafted from [[gold nuggets]], which are dropped by [[Zombified Piglin|zombie pigmen]], making gold a [[renewable resource]].}}
{{History|||snap=Beta 1.9 Prerelease 3|Gold ingots can now be found in the new [[stronghold]] altar [[chest]]s.}}
{{History|||snap=Beta 1.9 Prerelease 4|Gold ingots are now used to craft [[gold nugget]]s.}}
{{History||1.1|snap=12w01a|Gold ingots can now be found in [[village]] blacksmith chests.}}
{{History||1.2.1|snap=12w06a|Zombie pigmen now rarely drop gold ingots.}}
{{History||1.3.1|snap=12w21a|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing gold ingots.
|All types of [[villager]]s now [[trading|buy]] 8–9 gold ingots for 1 [[emerald]], as a fallback trade in case no trades were generated for that villager.}}
{{History|||snap=12w22a|Added [[jungle temple]]s, which contain loot chests with gold ingots.}}
{{History||1.5|snap=13w01a|Gold ingots are now used to craft light [[weighted pressure plate]]s.}}
{{History||1.6.1|snap=13w16a|Gold ingot is now used to craft golden [[horse armor]].}}
{{History|||snap=13w18a|Gold ingot is no longer used to craft golden [[horse armor]].|Gold ingots are now found in [[nether fortress]] [[chest]]s.}}
{{History|||snap=13w23a|Gold ingots are now used to craft normal [[golden apple]]s.}}
{{History||1.8|snap=14w02a|[[Trading]] has been changed: only cleric [[villager]]s now [[trading|buy]] 8–10 gold ingots for 1 [[emerald]], as a legitimate trade.}}
{{History||1.9|snap=15w31a|Gold ingots can now be found in [[end city]] [[chest]]s.}}
{{History|||snap=15w43a|The average yield of gold ingots in [[nether fortress]] chest has been decreased.}}
{{History|||snap=15w44a|The average yield of gold ingots in [[mineshaft]] and [[desert temple]] chests has been decreased.
|Gold ingots have been added to [[dungeon]] [[chest]]s.}}
{{History||1.11|snap=16w39a|Gold ingots are now found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 266.}}
{{History|||snap=18w10a|Gold ingots now generate in [[buried treasure]] chests.}}
{{History|||snap=18w11a|Gold ingots can now be obtained as a [[drops|drop]] from [[drowned]].
|Gold ingots now generate in [[shipwreck]] chests.}}
{{History||1.14|snap=18w43a|[[File:Gold Ingot JE3.png|32px]] The texture of gold ingots has been changed.}}
{{History|||snap=18w44a|[[File:Gold Ingot JE4 BE2.png|32px]] The texture of gold ingots has been changed, once again.}}
{{History|||snap=18w50a|Gold ingots now generate in chests in [[village]] toolsmith houses and temples.}}
{{History||1.16|snap=20w06a|Gold ingots are now used to craft [[netherite ingot]]s.}}
{{History|||snap=20w07a|Gold ingots can now be used to [[bartering|barter]] with [[piglin]]s.}}
{{History|||snap=20w11a|Gold ingots can now be [[smelting|smelted]] from [[nether gold ore]].}}
{{History|||snap=20w16a|Gold ingots now generate in [[bastion remnants]] and [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|The average yield of gold ingots from bastion remnant chests has been slightly increased.}}
{{History||1.17|snap=21w05a|Drowneds no longer drop gold ingots, and instead drop [[copper ingot]]s.}}
{{History|||snap=21w08a|Gold ingots can now be smelted from [[deepslate gold ore]].}}
{{History|||snap=21w14a|Gold ingots can now be smelted from [[raw gold]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Gold ingots can now be used as an armor trim material.}}
{{History|||snap=23w05a|Gold ingots can now be trimmed with gold [[armor]].}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Gold Ingot JE2 BE1.png|32px]] Added gold ingots. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.2|Gold ingots are now obtainable by [[smelting]] gold ore in a [[furnace]].
|Gold ingots can be used to craft [[blocks of gold]], gold [[pickaxe]]s, [[axe]]s, [[sword]]s and [[shovel]]s.}}
{{History||v0.4.0|Gold ingots are now used to [[crafting|craft]] gold [[hoe]]s.}}
{{History||v0.6.0|Gold ingots are now used to craft gold [[armor]].}}
{{History||v0.8.0|snap=build 1|Gold ingots are now used to craft [[clock]]s.}}
{{History|||snap=build 2|Gold ingots are now used to craft [[powered rail]]s.}}
{{History||v0.9.0|snap=build 1|Gold ingots can now be found in blacksmith [[chest]]s in [[village]]s, [[stronghold]] altar chests and [[dungeon]] chests.}}
{{History||v0.12.1|snap=build 1|Gold ingots are now used to craft [[gold nugget]]s and [[golden apple]]s.
|Gold ingots are now found in [[nether fortress]] chests.}}
{{History||v0.13.0|snap=build 1|Gold ingots are now used to [[crafting|craft]] light [[weighted pressure plate]]s.
|Gold ingots now generate inside of hidden chest rooms in [[desert temple]]s.}}
{{History||v0.14.0|snap=build 1|Gold ingots are now found in [[minecart with chest]]s that generate in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Gold ingots can now be found in [[jungle temple]] [[chest]]s.}}
{{History||v0.16.0|snap=build 4|Gold ingots can now be used to power [[beacon]]s.}}
{{History|pocket edition}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gold ingots can now be found in [[end city]] ship chests and [[stronghold]] storerooms.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Added [[trading]], cleric [[villager]]s now [[trading|buy]] 8–10 gold ingots for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gold ingots are now found in [[woodland mansion]] [[chest]]s.}}
{{history|bedrock}}
{{History||1.4.0|snap=beta 1.2.13.8|Added [[drowned]], which rarely [[drops|drop]] gold ingots.}}
{{History|||snap=beta 1.2.14.2|Gold ingots can now be found inside [[buried treasure]] [[chest]]s and [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Gold ingots can now be found in [[plains]] [[village]] weaponsmith chests.
|[[File:Gold Ingot JE4 BE2.png|32px]] The texture of gold ingots has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Gold ingots can now be found in [[desert]] village temple [[chest]]s and village toolsmith chests.
|Gold ingots can now be found in [[savanna]], [[taiga]], [[snowy taiga]], [[snowy tundra]] and desert village weaponsmith chests.}}
{{History|||snap=beta 1.11.0.4|Cleric [[villager]]s now [[trading|buy]] 3 gold ingots for one [[emerald]].}}
{{History||1.16.0|snap=beta 1.16.0.51|Gold ingots are now used to craft [[netherite ingot]]s.
|Gold ingots can now be used to [[bartering|barter]] with [[piglin]]s.}}
{{History|||snap=beta 1.16.0.57|Gold ingots can now be [[smelting|smelted]] from [[nether gold ore]].
|Gold ingots now be found in [[ruined portal]] and [[bastion remnants]] chests.}}
{{History||1.16.210|snap=beta 1.16.210.57|Gold ingots can no longer be obtained as a [[drops|drop]] from [[drowned]].}}
{{History||1.17.0|snap=beta 1.16.230.52|Gold ingots can now be smelted from [[deepslate gold ore]].}}
{{History|||snap=beta 1.17.0.50|Gold ingots can now be smelted from [[raw gold]].}}
{{History||1.19.80|snap=beta 1.19.80.21|Gold ingots 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:Gold Ingot JE2 BE1.png|32px]] Added gold ingots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Gold Ingot JE4 BE2.png|32px]] The texture of gold ingots has been changed.}}

{{History|new3DS}}
{{History||0.1.0|[[File:Gold Ingot JE2 BE1.png|32px]] Added gold ingots.}}
{{History|foot}}

== Issues ==

{{issue list}}

== Trivia ==

*Gold ingots are the only ingots in the game used alongside another [[item]] to [[crafting|craft]] another type of ingot; in this case, it is used with [[netherite scrap]] to craft a [[netherite ingot]].

== See also ==

*{{BlockLink|Block of Gold}}
*{{ItemSprite|Golden Chestplate}} [[Golden Armor]]
*{{ItemLink|Gold Nugget}}
*{{BlockLink|Gold Ore}}
*[[Ore]]s

{{Items}}

[[cs:Zlatý ingot]]
[[de:Goldbarren]]
[[es:Lingote de oro]]
[[fr:Lingot d'or]]
[[hu:Aranyrúd]]
[[ja:金インゴット]]
[[ko:금괴]]
[[nl:Goudstaaf]]
[[pl:Sztabka złota]]
[[pt:Barra de ouro]]
[[ru:Золотой слиток]]
[[uk:Золотий зливок]]
[[zh:金锭]]
[[Category:Renewable resources]]</li><li>[[Wheat|Wheat]]<br/>{{About||the artifact in ''Minecraft Dungeons''|Minecraft Dungeons:Wonderful Wheat|the seed|Wheat Seeds}}
{{Item
| image = Wheat.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Wheat''' is an [[item]] primarily obtained by harvesting fully-grown [[Wheat Seeds|wheat crops]]. It is used for [[crafting]] as well as to feed certain animals.

== Obtaining ==

=== Natural generation ===

{{LootChestItem|wheat}}

=== Farming ===

{{main|Tutorials/Crop farming}}

When a fully-grown wheat crop is harvested, it drops 1 wheat and 1 to 4 [[wheat seeds]] ({{frac|2|5|7}} per crop harvested on average). A wheat crop has a total of eight stages (0-7) from the time it is planted until it can be harvested. If a crop is harvested before it is fully grown, it just drops one seed. Wheat needs light to grow; a seed is destroyed if planted without light. Harvesting with a [[Fortune]]-enchanted tool increases the number of seeds dropped but does not increase the yield of wheat.

=== Crafting ===

{{Crafting
|Hay Bale
|Output= Wheat,9
|type= Material
}}

=== Drops ===
A [[fox]] sometimes spawns holding wheat, which it always drops upon death. Alternatively, the player can drop a [[food]] item, causing the fox to drop the wheat.

== Usage ==

=== Food ===

[[File:New Cattle.png|thumb|Using wheat to lead a cow.]]
When wheat is held, it causes nearby [[cow]]s, [[sheep]], [[goat]]s and [[mooshroom]]s to follow the player, until either the player stops holding the wheat or goes too far away from the animal, thus leading them to lose interest.

Wheat may be used to [[breed]] cows, sheep, goats, and mooshrooms by first herding two of them together and then {{control|using}} the wheat on them to begin "Love Mode."

Wheat can heal a [[horse]] {{hp|1}} health or lower its temper by 3% when attempting to tame it. It can also decrease the time it takes for a foal to grow by 20 seconds.

Similarly, wheat can heal a [[llama]] {{hp|2}} health, and it decreases the time it takes a baby llama to grow by 10 seconds.

=== Crafting ingredient ===

{{crafting usage}}

=== Trading ===

Novice-level farmer [[Villager|villagers]] have a 25%{{only|bedrock}} or 40%{{only|java}} chance to buy 20 wheat for one [[emerald]].

=== Composting ===
Placing wheat into a [[composter]] has a 65% chance of raising the compost level by 1. A stack of wheat yields an average of 5.94 [[bone meal]].

== Achievements ==
{{load achievements|Bake Bread;The Lie;Repopulation}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Wheat
|spritetype=item
|nameid=wheat
|id=334
|form=item
|foot=1}}

== Video ==

{{Video note|the narrator demonstrates at 0:56 that walking over wheat can destroy the crop and un-till the land. This is outdated: since version {{Version link|JE 1.1}}, wheat can be destroyed only by a player or mob jumping on it or falling on it.}}

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

== History ==

{{History|java indev}}
{{History||20100206|[[File:Wheat JE1 BE1.png|32px]] Wheat has been added.
|Wheat can be used to craft [[bread]].}}
{{History||20100223|Bread now requires 3 wheat (1 row of 3) instead of 6 (2 rows of 3) to be crafted.}}
{{History|java infdev}}
{{History||20100625-2|Wheat can now be found in the new [[dungeon]] [[chest]]s.}}
{{History|java beta}}
{{History||1.2|Wheat can now be used to craft [[cake]].}}
{{History||1.4|Wheat can now be used to craft [[cookie]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Wheat can now be used in [[breeding]].}}
{{History||1.3.1|snap=12w21a|Wheat can now be [[trading|sold]] to farmer [[villager]]s, at 18–21 wheat for 1 [[emerald]].}}
{{History||1.4.2|snap=12w36a|[[Chicken]]s and [[pig]]s no longer use wheat to [[breeding|breed]].}}
{{History||1.6.1|snap=13w16a|[[Horse]]s can now be healed by being fed wheat.
|Foals can now have their growth increased by being fed wheat.}}
{{History|||snap=13w17a|[[Horse]]s can now have their tempers lowered with wheat.}}
{{History|||snap=13w18a|Nine wheat can now be crafted to make a [[hay bale]].}}
{{History||1.8|snap=14w02a|Trading has been changed: farmer [[villager]]s now [[trading|buy]] 18–22 wheat for 1 [[emerald]].}}
{{history||1.9|snap=15w43a|Wheat may now be found in [[igloo]] basement chests.}}
{{history|||snap=15w44a|The average yield of wheat in [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Wheat can now be found in the new [[woodland mansion]] chests.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 296.}}
{{History|||snap=18w09a|Wheat can now generate in the chests of [[underwater ruins]].}}
{{History|||snap=18w11a|Wheat can now generate in [[shipwreck]] chests.}}
{{History||1.14|snap=18w43a|[[File:Wheat JE2 BE2.png|32px]] The texture of wheat has been changed.}}
{{History|||snap=18w47a|Wheat can now generate inside of loot chests on top of [[pillager outpost]]s.}}
{{History|||snap=18w49a|Wheat can now generate in chests in [[village]] butcher and shepherd houses.}}
{{History|||snap=18w50a|Wheat can now generate in chests in desert [[village]] houses.}}
{{History||1.14|snap=19w03a|Placing wheat into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Wheat now has a 65% chance of increasing the compost level in a composter by 1.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with wheat in their mouths.}}
{{History||1.17|snap=21w13a|Wheat can now be used to breed [[goat]]s.}}
{{History||1.19|snap=22w11a|Wheat can now be used to craft [[packed mud]].}}
{{History||1.20|snap=23w12a|Wheat can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Wheat no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], wheat is now common loot.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Wheat JE1 BE1.png|32px]] Added wheat. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Wheat is now obtainable via farming and can be used to craft [[bread]].}}
{{History||v0.7.0|Wheat can now be used to craft [[cake]].}}
{{History||v0.8.0|snap=build 1|Wheat can now be used to breed [[cow]]s and [[sheep]].
|Wheat can now be used to craft [[hay bale]]s.}}
{{History||v0.9.0|snap=build 1|Wheat [[crop]]s now naturally spawn in [[village]]s.
|Wheat can now be used to craft [[cookie]]s.}}
{{History||v0.15.0|snap=build 1|Wheat can now be used to grow, increase tame and heal [[horse]]s, [[donkey]]s and [[mule]]s.}}
{{History||v0.16.2|Wheat can now be found in the [[chest]]s inside of large houses in [[ice plains]] and [[cold taiga]] [[village]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Wheat can now be found in [[igloo]] basement chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Farmer [[villager]]s now [[trading|buy]] 18–22 wheat for 1 [[emerald]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Wheat can now be found in the new [[woodland mansion]] chests.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Wheat can now be found inside [[shipwreck]] chests.}}
{{History|||snap=beta 1.2.20.1|Wheat can now be found inside [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Wheat can now be found in [[pillager outpost]] chests.
|[[File:Wheat JE2 BE2.png|32px]] The texture of wheat has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Wheat can now be found in [[desert]] [[village]] house chests, village shepherd and butcher house chests.
|Wheat can now be used to fill up [[composter]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has changed, farmer [[villager]]s now have a 25% chance to buy 20 wheat for one [[emerald]] as part of their first tier trade.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can drop wheat.}}

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

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

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
Wheat SDGP.png|Wheat in the [[Super Duper Graphics Pack]].
File:Field of Wheat.jpg|[[Steve]] and [[Kai]] in a field of wheat crops.<ref>https://www.instagram.com/p/CumuJleg6Ij/</ref>
</gallery>

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--wheat Taking Inventory: Wheat] – Minecraft.net on April 21, 2022
{{Items}}

[[Category:Plants]]
[[Category:Food]]

[[cs:Pšenice]]
[[de:Weizen]]
[[es:Trigo]]
[[fr:Blé]]
[[hu:Búza]]
[[it:Grano]]
[[ja:小麦]]
[[ko:밀]]
[[nl:Tarwe]]
[[pl:Pszenica]]
[[pt:Trigo]]
[[ru:Пшеница]]
[[th:ข้าวสาลี]]
[[uk:Пшениця]]
[[zh:小麦]]
[[Category:Renewable resources]]</li></ul></nowiki>
Experimental Snapshot 1Pillager outposts now generate in the newly added mountain meadows biome.
experimental snapshot 3Pillager outposts now generate in all the new mountain biomes.
1.19
{{Extension DPL}}<ul><li>[[Bookshelf|Bookshelf]]<br/>{{About|the bookshelf used with an enchanting table|the bookshelf that can hold books|Chiseled Bookshelf}}
{{Block
|image=Bookshelf.png
|transparent=No
|light=No
|tool=Axe
|renewable=Yes
|stackable=Yes (64)
|flammable=Yes (30)
|lavasusceptible=Yes
}}
'''Bookshelves''' are [[blocks]] that improve [[enchanting|enchantments]] applied with an [[enchanting table]] when placed around one, up to a maximum of fifteen bookshelves, at the expense of [[Enchanting/Levels|level]] requirement.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{Issue list}}

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

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

== References ==
{{Reflist}}

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

{{Blocks|Building}}

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

[[cs:Knihovna]]
[[de:Bücherregal]]
[[es:Librería]]
[[fr:Bibliothèque]]
[[hu:Könyvespolc]]
[[it:Libreria]]
[[ja:本棚]]
[[ko:책장]]
[[nl:Boekenkast]]
[[pl:Biblioteczka]]
[[pt:Estante de livros]]
[[ru:Книжные полки]]
[[th:ชั้นหนังสือ]]
[[uk:Книжкова полиця]]
[[zh:书架]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Calculating signal strength from items

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

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

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

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

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

;Calculating items from signal strength

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

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

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

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

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

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

;{{BlockLink|Cake}}

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

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

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

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

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

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

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

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

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

;{{BlockLink|End Portal Frame}}

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

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

;{{EntityLink|Item Frame}}

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

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

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

;{{BlockLink|Jukebox}}

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

;{{BlockLink|Lectern}}

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

;{{BlockLink|Respawn Anchor}}

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

;{{BlockLink|Sculk Sensor}}

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

;{{BlockLink|Chiseled Bookshelf}}

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

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

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

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
22w13aAllays can now spawn in cages.
22w17aGoat horns now generate in pillager outpost chests.
1.20
(Experimental)
23w04aSentry armor trims are now found in pillager outpost chests.
23w05aIncreased the chance of finding sentry armor trims in pillager outposts chests from 20% to 25%.
Sentry armor trims now always generate two templates in a pillager outpost chest when found.
23w07aPillager outposts now generate in cherry groves.
Upcoming Java Edition
Villager Trade Rebalance
(Experimental)
1.20.2 Pre-release 1Quick Charge enchanted books now have a higher chance of generating in pillager outpost chest loot.
Bedrock Edition
1.10.0
{{Extension DPL}}<ul><li>[[Minecart with Command Block|Minecart with Command Block]]<br/>{{ItemEntity
|renewable=No
|stackable=No
|size=Height: 0.7 Blocks<br>Width: 0.98 Blocks
|image=Minecart with Command Block.gif
|image2=Minecart with Command Block BE.gif
|invimage1=Minecart with Command Block
|networkid=10
|drops={{drop|Item|Minecart|1}}
|health={{hp|6}}
|rarity=Epic
}}

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

== Obtaining ==

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

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

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

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

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

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

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

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

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

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

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

== Issues ==

{{issue list}}

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

==References==
{{Reflist}}

{{Items}}

{{Entities}}

[[de:Befehlsblocklore]]
[[fr:Wagonnet à bloc de commande]]
[[it:Carrello da miniera]]
[[ja:コマンドブロック付きのトロッコ]]
[[nl:Mijnkar met opdrachtblok]]
[[pl:Wagonik z blokiem poleceń]]
[[pt:Carrinho de mina com bloco de comando]]
[[ru:Вагонетка с командным блоком]]
[[uk:Вагонетка з командним блоком]]
[[zh:命令方块矿车]]</li><li>[[Copper Horn|Copper Horn]]<br/>{{About|the removed item|the current item|Goat Horn}}
{{outdated feature|edition=bedrock}}
{{Item
| renewable = Yes
| stackable = No
}}

A '''copper horn''' was an [[item]] crafted from a [[goat horn]] and [[copper ingots]].

== Obtaining ==
=== Crafting ===
{{Crafting
 |ignoreusage=1
 |A2=Copper Ingot
 |B2=Goat Horn
 |B3=Copper Ingot
 |C2=Copper Ingot
 |Output=Copper Horn
}}

=== Natural generation ===
Copper horns were found in pillager outpost chests.

== Usage ==
Copper horns were used to play sounds. They took one second to use and had a four second cooldown. There were ten variations of copper horns, and each of them played three different sounds: when looking up, crouching, or neither of those. In total, there were thirty different sounds that could be played using copper horns. The sound a copper horn plays based on multiple conditions, which are in order as follows:
* If crouching, the bass tune was played.
* Else, if looking up (by 45 degrees), the harmony tune was played.
* Else, the melody tune was played.

== Sounds ==
Sound names in the item tooltip are created using the harmony, melody, and bass sounds in that order.

=== Harmony ===
{{Sound table
|type=bedrock
|sound=harmony0.ogg
|description="Great" ("Great Sky Falling")
|source=hostile
|id=horn.call.0
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony1.ogg
|description="Old" ("Old Hymn Resting")
|source=hostile
|id=horn.call.1
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony2.ogg
|description="Pure" ("Pure Water Desire")
|source=hostile
|id=horn.call.2
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony3.ogg
|description="Humble" ("Humble Fire Memory")
|source=hostile
|id=horn.call.3
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony4.ogg
|description="Dry" ("Dry Urge Anger")
|source=hostile
|id=horn.call.4
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony5.ogg
|description="Clear" ("Clear Temper Journey")
|source=hostile
|id=horn.call.5
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony6.ogg
|description="Fresh" ("Fresh Nest Thought")
|source=hostile
|id=horn.call.6
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony7.ogg
|description="Secret" ("Secret Lake Tear")
|source=hostile
|id=horn.call.7
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony8.ogg
|description="Fearless" ("Fearless River Gift")
|source=hostile
|id=horn.call.8
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=harmony9.ogg
|description="Sweet" ("Sweet Moon Love")
|source=hostile
|id=horn.call.9
|volume=1.0
|pitch=1.0
|foot=1}}

=== Melody ===
{{Sound table
|type=bedrock
|sound=melody0.ogg
|description="Sky" ("Great Sky Falling")
|source=hostile
|id=horn.melody.0
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody1.ogg
|description="Hymn" ("Old Hymn Resting")
|source=hostile
|id=horn.melody.1
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody2.ogg
|description="Water" ("Pure Water Desire")
|source=hostile
|id=horn.melody.2
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody3.ogg
|description="Fire" ("Humble Fire Memory")
|source=hostile
|id=horn.melody.3
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody4.ogg
|description="Urge" ("Dry Urge Anger")
|source=hostile
|id=horn.melody.4
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody5.ogg
|description="Temper" ("Clear Temper Journey")
|source=hostile
|id=horn.melody.5
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody6.ogg
|description="Nest" ("Fresh Nest Thought")
|source=hostile
|id=horn.melody.6
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody7.ogg
|description="Lake" ("Secret Lake Tear")
|source=hostile
|id=horn.melody.7
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody8.ogg
|description="River" ("Fearless River Gift")
|source=hostile
|id=horn.melody.8
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=melody9.ogg
|description="Moon" ("Sweet Moon Love")
|source=hostile
|id=horn.melody.9
|volume=1.0
|pitch=1.0
|foot=1}}

=== Bass ===
{{Sound table
|type=bedrock
|sound=bass0.ogg
|description="Falling" ("Great Sky Falling")
|source=hostile
|id=horn.bass.0
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass1.ogg
|description="Resting" ("Old Hymn Resting")
|source=hostile
|id=horn.bass.1
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass2.ogg
|description="Desire" ("Pure Water Desire")
|source=hostile
|id=horn.bass.2
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass3.ogg
|description="Memory" ("Humble Fire Memory")
|source=hostile
|id=horn.bass.3
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass4.ogg
|description="Anger" ("Dry Urge Anger")
|source=hostile
|id=horn.bass.4
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass5.ogg
|description="Journey" ("Clear Temper Journey")
|source=hostile
|id=horn.bass.5
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass6.ogg
|description="Thought" ("Fresh Nest Thought")
|source=hostile
|id=horn.bass.6
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass7.ogg
|description="Tear" ("Secret Lake Tear")
|source=hostile
|id=horn.bass.7
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass8.ogg
|description="Gift" ("Fearless River Gift")
|source=hostile
|id=horn.bass.8
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=bass9.ogg
|description="Love" ("Sweet Moon Love")
|source=hostile
|id=horn.bass.9
|volume=1.0
|pitch=1.0
|foot=1}}

==Data Values==
===ID===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Copper Horn
|spritetype=item
|nameid=copper_horn
|form=item
|foot=1}}

== History ==
{{h|bedrock}}
{{h||Vanilla Experiments<br>(experimental)|link=1.18.30|snap=beta 1.18.30.26|[[File:Copper Horn BE1.png|32px]]Added copper horns.}}
{{h|||snap=beta 1.18.30.28|[[File:Copper Horn BE2.png|32px]]Changed the texture of copper horns.}}
{{h||1.19.0|snap=beta 1.19.0.24|Removed copper horns.}}
{{h|foot}}

== Trivia ==
* Copper horns were removed from the game as they didn't live up to the developers' design goals, and as such are no longer supported.<ref>{{cite|url=https://feedback.minecraft.net/hc/en-us/articles/5540500564365| title = Minecraft Beta & Preview - 1.19.0.24/25|website=feedback.minecraft.net|date=April 14, 2022}}</ref>
* This is the first item in {{el|be}} to have been completely removed instead of just made unobtainable. This is likely due to the fact it never made it out of [[experimental gameplay]].
** If a world that contained this item is loaded into a newer version, the horn will disappear upon loading.

== References ==
{{reflist}}

{{Items}}
{{Removed features}}

[[Category:Renewable resources]]

[[de:Ziegenhorn]]
[[es:Cuerno de cobre]]
[[fr:Corne de chèvre]]
[[it:Corno di capra]]
[[lzh:銅號]]
[[pl:Kozi róg]]
[[pt:Chifre de cobre]]
[[ru:Козий рог]]
[[zh:铜制号角]]</li></ul>
beta 1.10.0.3Added pillager outposts, which are available only through Experimental Gameplay.
Pillager outposts generate with black banners on them.
1.11.0
{{Extension DPL}}<ul><li>[[:Category:Education Edition items|Category:Education Edition items]]<br/>[[Category:Education Edition]]
[[Category:Items]]</li><li>[[Snowball|Snowball]]<br/>{{about|the throwable item|the enchantment in ''Minecraft Dungeons''|MCD:Snowball}}
{{ItemEntity
|image=Snowball.png
|renewable=Yes
|stackable=Yes (16)<br>
Yes (64){{upcoming|java Combat Tests}}
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}

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

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

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

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

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

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

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

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

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

== Usage ==

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

== References ==
{{reflist}}

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

{{Items}}
{{entities}}

[[Category:Combat]]

[[cs:Sněhová koule]]
[[de:Schneeball]]
[[es:Bola de nieve]]
[[fr:Boule de neige]]
[[hu:Hógolyó]]
[[ja:雪玉]]
[[ko:눈덩이]]
[[nl:Sneeuwbal]]
[[pl:Śnieżka]]
[[pt:Bola de neve]]
[[ru:Снежок]]
[[th:บอลหิมะ]]
[[uk:Сніжок]]
[[zh:雪球]]</li></ul>
beta 1.11.0.1Pillager outpost now generate with gray banners on them.
Pillager outpost are rarer.
Outpost captains spawn in pillager outpost watchtower.
beta 1.11.0.3Fully implemented pillager outposts, separate from Experimental Gameplay.
Pillager outpost now generate with pillager banner, instead of a gray banner.
Caves & Cliffs
(experimental)
beta 1.17.40.20Pillager outposts now generate in all the new mountain biomes.
Wild Update
(experimental)
beta 1.18.30.22Allays will sometimes spawn in a cage, similarly to iron golems.
Vanilla Experiments
(experimental)
beta 1.18.30.26Copper horns as well as goat horns have been added to the loot pool.
beta 1.19.0.24Copper horns have been removed, therefore can no longer generate in chests.
PlayStation 4 Edition
1.91
{{Extension DPL}}<ul><li>[[Nether Star|Nether Star]]<br/>{{Distinguish|Firework Star}}
{{Item
| image = Nether Star.gif
| renewable = Yes
| stackable = Yes (64)
| rarity = Uncommon
}}
The '''Nether Star''' is a rare item [[drops|dropped]] by the [[wither]] that is used solely to [[Crafting|craft]] [[Beacon]]s.

== Obtaining ==

=== Mob loot ===

The nether star can be obtained only by defeating the [[Wither]] [[Mob#Boss mobs|boss]], which is created using [[Soul sand]] and [[Head|Wither Skeleton Skulls]]. One nether star is dropped each time; the dropped amount is not affected by the [[Looting]] enchantment. {{IN|java}}, nether stars dropped by withers take 10 minutes to despawn and are immune to explosions. {{IN|bedrock}}, nether star items never despawn, neither by time nor by explosions.

== Usage ==

The nether star has the same animated glint as [[enchanted]] items, [[potion]]s, and [[end crystal]]s.

A dropped nether star item cannot be destroyed by [[explosion]]s. However, it can still be destroyed by a falling [[anvil]],‌{{only|java}} [[fire]], [[lava]], [[cacti]], or [[the Void]].

It is used to [[Crafting|craft]] a [[beacon]].

=== Crafting ingredient ===

{{crafting usage|match=start}}

== Achievements ==
{{load achievements|The beginning;The beginnig?.}}

== Advancements ==
{{load advancements|Withering Heights}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Nether Star
|spritetype=item
|nameid=nether_star
|aliasid=netherstar
|id=518
|form=item
|translationkey=item.netherStar.name
|foot=1}}

== Video ==

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

== History ==

{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Nether Star JE1.png|32px]] The texture of the nether star has been added.}}
{{History|||snap=12w36a|[[File:Nether Star JE1.gif|32px]] Added nether stars.
|Nether stars are [[drops|dropped]] by the [[wither]].}}
{{History|||snap=12w37a|[[File:Nether Star JE2 BE1.gif|32px]] The texture of nether stars has been changed so that they no longer have a dark outline.}}
{{History||1.4.6|snap=12w49a|[[Drops|Dropped]] nether stars can no longer be destroyed by [[explosion]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 399.}}
{{History||1.14|snap=18w43a|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}
{{History||1.16|snap=20w07a|Nether star has become a [[renewable resource]], as [[soul sand]], one of the blocks used to construct withers, is now renewable through [[bartering]].}}

{{History|pocket alpha}}
{{History||v0.16.0|snap=build 4|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Nether Star.gif|32px]] The texture of nether stars has been changed.}}

{{History|New 3DS}}
{{History||1.3.12|[[File:Nether Star JE2 BE1.gif|32px]] Added nether stars.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Gallery ==

<gallery>
File:Nether Star JE3 BE2.png|The nether star without enchanted animated glint.
File:Star Drop.png|The nether star dropped by the wither.
File:Wither, left- Nether Star, right.png|A wither to the left, and a nether star to the right.
</gallery>

== References ==
{{reflist}}

==External Links==
*[https://www.minecraft.net/en-us/article/taking-inventory--nether-star Taking Inventory: Nether Star] – Minecraft.net on May 11, 2023

{{Items}}

[[cs:Netheritová hvězda]]
[[de:Netherstern]]
[[es:Estrella del Inframundo]]
[[fr:Étoile du Nether]]
[[hu:Alvilági csillag]]
[[it:Stella del Nether]]
[[ja:ネザースター]]
[[ko:네더의 별]]
[[nl:Netherster]]
[[pl:Netherowa gwiazda]]
[[pt:Estrela do Nether]]
[[ru:Звезда Нижнего мира]]
[[tr:Nether Yıldızı]]
[[uk:Зірка Незеру]]
[[zh:下界之星]]
[[Category:Renewable resources]]</li><li>[[Bowl|Bowl]]<br/>{{Item
| image = Bowl.png‎
| renewable = Yes
| stackable = Yes (64)
}}
'''Bowls''' are containers that can hold certain [[food]]s.

== Obtaining ==
=== Crafting ===
{{Crafting
|A2= Any Planks
|C2= Any Planks     
|B3= Any Planks
|Output= Bowl,4
|type= Material
}}

=== Fishing ===
Bowls can be obtained as a "junk" item while [[fishing]].

=== Eating ===
A bowl containing food becomes an empty bowl when the food is eaten. 

=== Mob loot ===
When a [[turtle]] is killed by a [[Thunderstorm#Lightning|lightning bolt]], it drops 1 bowl.<ref name=BowlReport>{{Cite bug|MC|125562|Turtles drop bowls when killed by lightning|date=February 16, 2018}}</ref><ref>{{Cite bug|MCPE|57038| Turtles killed by lightning drop Bowls.|date=November 17, 2019}}</ref>

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Mooshrooms ===

{{control|use|text=Using}} a bowl on a [[mooshroom]] turns the bowl into [[mushroom stew]] or [[suspicious stew]]. The stew can then be consumed immediately and the process repeated, making this an excellent way to quickly restore depleted [[hunger]] and [[saturation]] with almost no cost or effort.

=== Fuel ===
Bowls can be used as a fuel in [[furnace]]s, smelting 0.5 items per bowl {{in|je}}, and 1 item per bowl {{in|be}}.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Bowl
|spritetype=item
|nameid=bowl
|id=321
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100130|[[File:Bowl JE1 BE1.png|32px]] Added bowls.
|Bowls are used to craft [[mushroom soup]].}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|Added [[mooshroom]]s, which can be {{control|use|text=milked}} with a bowl.}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft bowls.}}
{{History||1.7.2|snap=13w36a|Bowls can now be obtained as one of the "junk" [[item]]s by [[fishing]].}}
{{History|||snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft bowls.}}
{{History||1.8|snap=14w27a|Bowls are now used to craft [[rabbit stew]].}}
{{History||1.9|snap=15w31a|Bowls are now used to craft [[beetroot soup]].}}
{{History||1.11|snap=16w33a|Bowls can now be used to fuel [[furnace]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 281.}}
{{History|||snap=18w07a|[[Turtles]] drop 0 to 1 bowls if killed by [[lightning]].<ref name=BowlReport/>}}
{{History||1.14|snap=18w43a|[[File:Bowl JE2 BE2.png|32px]] The texture of bowls has now been changed.
|Bowls are now used to craft [[suspicious stew]].}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft bowls.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft bowls.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Bowl JE1 BE1.png|32px]] Added bowls. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.0|Bowls are now [[craft]]able. They still serve no purpose.}}
{{History||v0.4.0|Bowls are now used to craft [[mushroom stew]].}}
{{History||v0.5.0|Bowls now appear in the [[nether reactor]].}}
{{History||v0.8.0|snap=build 2|Bowls are now used to craft [[beetroot soup]].}}
{{History|||snap=build 7|Bowls can now be used as fuel in a [[furnace]].}}
{{History||v0.9.0|snap=build 1|Added bowls to [[creative]] mode.
|[[Mooshroom]]s can now be "milked" to obtain [[mushroom stew]].}}
{{History||v0.12.1|snap=build 1|Bowls are no longer available from the [[nether reactor]].}}
{{History||v0.13.0|snap=build 1|Bowls are now used to craft [[rabbit stew]].}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Bowl JE2 BE2.png|32px]] The texture of bowls has now been changed.}}
{{History||1.13.0|snap=beta 1.13.0.9|Bowls can now be used to craft [[suspicious stew]].}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Bowl JE1 BE1.png|32px]] Added bowls.}}
{{History||xbox=TU9|Bowls now stack to 64.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Bowl JE2 BE2.png|32px]] The texture of bowls has now been changed.}}

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

== Issues ==
{{issue list}}

== Trivia ==
* {{in|be}}, bowls are actually more fuel efficient than [[stick]]s. If 6 wood planks are crafted into 8 bowls, 8 items can be [[smelt]]ed; but if those are crafted into 12 sticks, only 6 items can be smelted. This can be useful when the player only has access to Nether wood types, which cannot be used as fuel.

== See also ==
* [[Mushrooms]]

== References ==
{{reflist}}

== External Links ==
* {{Mcnet|taking-inventory--bowl|Taking Inventory: Bowl|April 25, 2019}}

{{Items}}

[[Category:Renewable resources]]

[[cs:Miska]]
[[de:Schüssel]]
[[es:Cuenco]]
[[fr:Bol]]
[[hu:Tál]]
[[it:Ciotola]]
[[ja:ボウル]]
[[ko:그릇]]
[[nl:Kom]]
[[pl:Miska]]
[[pt:Tigela]]
[[ru:Миска]]
[[th:ชาม]]
[[uk:Миска]]
[[zh:碗]]</li></ul>
Added pillager outposts.

Issues[]

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

Gallery[]

Odd generation[]

References[]

  1. https://chunkbase.com/apps/pillager-outpost-finder
  2. https://chunkbase.com/apps/village-finder
  3. MC-139711 — Jigsaw block creates holes in the ground when generating pillager outposts
Advertisement