Minecraft Wiki
Advertisement
Crafting Table
This article describes content that may be included in a future update. 
This content has appeared in development versions, but the full update containing it has not been released yet.
Dark Oak Sapling
This article is a stub. 
You can help by expanding it.

Bartering with piglins is a great way for the player to get a lot of items. From gravel to Soul Speed books, many items can be obtained from bartering.

Piglins

Piglins are hostile mobs that spawn in crimson forests, nether wastes, and bastion remnants. Unlike most hostile mobs, they do not despawn in peaceful mode. Piglins are also armed with crossbows and gold swords. An easy way to make them friendly with you is to wear any piece of gold armor. It is recommended to use the boots section, which is the cheapest and leaves the other armor slots for more powerful armor. It is also a good idea to build a piglin farm away from zombified piglins, soul fire, soul torches, soul campfires, and soul lanterns, because they will run away from them. An exception is if they are caged up with blocks. These objects can also be used to lead piglins to a certain place. Also, piglin farms must be built in the nether, or else piglins will zombify.

Bartering

Not to be confused with Trading.
See also: Tutorials/Bartering farm
Minecraft Bartering Guide for Java Edition 1.16.2 to 1.18

A reference table of Piglin Bartering as of 1.16.2 and above. Bartered items may differ in Bedrock Edition.

Bartering is an action the player can perform with piglins to obtain various items.

Mechanics

<onlyinclude>To barter with a piglin, either throw by dropping a gold ingot near an adult piglin or use a gold ingot on it. After the piglin takes the gold ingot and examines it for six seconds in Java Edition or eight seconds in Bedrock Edition[1], it tosses a random item to the player. Piglin brutes ignore gold ingots and do not barter. Baby piglins take the ingot without giving anything in return, instead holding the ingot, which is dropped when killed.

Piglins pick up many other items that are made of gold; however, gold ingots are the only items that piglins accept for bartering. Baby piglins are incapable of bartering and treat gold ingots like any other gold item.

Hitting a piglin while it is examining a gold ingot causes it to "confiscate" the ingot; the piglin does not complete the barter. It cannot be bartered with again unless it puts another item in its inventory. Piglins who are killed in one hit before they finish examining always drop the ingot.

When a piglin is admiring a gold ingot, it can still be angered by the player breaking a container or a gold-related block nearby, although its behavior differs depending on the game edition. In Java Edition, the piglin finishes the barter on the original schedule, and only starts attacking the player once the barter finishes. In Bedrock Edition, the piglin immediately finishes the barter and starts attacking the player,[2] leading to a bartering transaction much shorter than the default 8 seconds.[3] This allows piglins in Bedrock Edition to barter rapidly when gold-related blocks are repeatedly broken nearby, or when a gold-related block is repeatedly pushed and pulled by pistons.

Piglin Admiring Item

A piglin looking at a gold ingot.

Bartering is controlled by the loot table minecraft:gameplay/piglin_bartering. If the game rule mobGriefing is false, piglins only barter when the player uses a gold ingot on them.

If a piglin is zombified into a zombified piglin before the bartering is complete, the newly zombified piglin drops the gold ingot.

The player can only barter with piglins, not piglin brutes or zombified piglins, even if the zombified piglin was a piglin that was zombified in the Overworld or the End.

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

Items bartered

The item the piglin throws can be one of the following:

Bartering items
Item given Quantity Chance Ingots needed
per item (average)
Enchanted Book
with Soul Speed (random level)
1 5459
(~1.09%)
91.8
Iron Boots
with Soul Speed (random level)
8459
(~1.74%)
57.375
Splash Potion of Fire Resistance
Potion of Fire Resistance
Water Bottle 10459
(~2.18%)
45.9
Iron Nugget 10–36 1.996
Ender Pearl 2–4 15.3
String 3–9 20459
(~4.36%)
3.825
Nether Quartz 5–12 2.7
Obsidian 1 40459
(~8.71%)
11.475
Crying Obsidian 1–3 5.7375
Fire Charge 1 11.475
Leather 2–4 3.825
Soul Sand 2–8 2.295
Nether Brick
Spectral Arrow[JE only]
Arrow[BE only]
6–12 1.275
Gravel 8–16 0.96
Blackstone

Bartering is the only renewable source of nether quartz, crying obsidian, soul sand, nether brick‌[JE only], gravel, blackstone, as well as the Soul Speed enchantment.

History

Java Edition
1.16
{{Extension DPL}}<ul><li>[[Slimeball|Slimeball]]<br/>{{about|the item|the mob|Slime|the block constructed with slimeballs|Slime Block|other uses|Slime (disambiguation)}}
{{Item
| image = Slimeball.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''slimeball''' is a [[crafting]] ingredient commonly dropped by [[slime]]s, and can be sneezed out by [[panda]]s.

== Obtaining ==

=== Mob loot ===

==== Slimes ====
{{see also|Tutorials/Slime farming}}

If a [[slime]]'s size is 1, it drops 0–2 slimeballs when killed. The maximum number of slimeballs is increased by 1 per level of [[Looting]], for a maximum of 5 slimeballs with Looting III.

==== Pandas ====

Baby [[panda]]s have a {{frac|1|700}} chance of [[drop]]ping one slimeball when sneezing.

=== Crafting ===

{{Crafting
  |Slime Block
  |Output= Slimeball,9
  |type= Miscellaneous
}}

=== Trading ===

[[Wandering trader]]s sometimes offer to sell a slimeball for 4 [[emerald]]s.

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Breeding ===

Slimeballs can be used to breed [[frog]]s and reduce the remaining growth duration of [[tadpole]]s by 10%. Both also follow a player holding a slimeball.

==Video==
{{Video note|This video is outdated, as slimeballs can now also be used to craft [[lead]]s and [[slime block]]s, breed [[frog]]s, and can now be obtained from baby [[panda]]s and [[wandering trader]]s.}}
{{yt|J6oR3fdbbjY}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Slimeball
|spritetype=item
|nameid=slime_ball
|id=388
|form=item
|foot=1}}

==History==

{{History|java alpha}}
{{History||v1.0.11|[[File:Slimeball JE1 BE1.png|32px]] Added slimeballs, which are dropped from [[slime]]s. At the moment, they serve no purpose.}}
{{History|java beta}}
{{History||1.7|Slimeballs are now used to craft [[sticky piston]]s.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|Slimeballs are used to craft [[magma cream]].}}
{{History||1.6.1|snap=13w18a|[[Lead]]s, which were originally implemented in the [[13w16a]] snapshot, now have a [[crafting]] recipe that includes slimeballs.}}
{{History||1.8|snap=14w02a|Nine slimeballs are now used to [[crafting|craft]] a [[slime block]]. Slime blocks also act as storage [[block]]s, being able to craft back into 9 slimeballs.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 341.}}
{{History||1.14|snap=18w43a|[[File:Slimeball JE2 BE2.png|32px]] The texture of slimeballs has been changed.
|Slimeballs can now be obtained when a [[panda|baby panda]] sneezes.}}
{{History|||snap=19w05a|Slimeballs can now be bought from [[wandering trader]]s.}}
{{History||1.19|snap=22w11a|Slimeballs can now be used to breed [[frog]]s.}}

{{History|pocket alpha}}
{{History||v0.9.0|snap=build 1|[[File:Slimeball JE1 BE1.png|32px]] Added slimeballs. They are currently unobtainable and serve no purpose.}}
{{History||v0.12.1|snap=build 1|Added slimeballs to the [[creative]] [[inventory]].
|Slimeballs can now be obtained by killing [[slime]]s.
|Slimeballs are now used to craft [[magma cream]].}}
{{History||v0.14.0|snap=build 1|Slimeballs are now used to craft [[slime block]]s.}}
{{History||v0.15.0|snap=build 1|Slimeballs are now used to craft [[sticky piston]]s and [[lead]]s.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|Slimeballs can now be obtained when a [[panda|baby panda]] sneezes.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Slimeball JE2 BE2.png|32px]] The texture of slimeballs has been changed.
|Slimeballs can now be obtained via [[trading]] with [[wandering trader]]s.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Slimeball JE1 BE1.png|32px]] Added slimeballs.}}
{{History||xbox=TU3|Slimeballs are now used to craft [[sticky piston]]s.}}
{{History||xbox=TU5|Slimeballs are found in the Miscellaneous tab in the [[Creative inventory]].}}
{{History||xbox=TU9|Moved slimeballs to the Materials tab in the Creative inventory.}}
{{History||xbox=none|xbone=none|ps=1.83|wiiu=none|switch=none|Slimeballs can now be obtained when a [[panda|baby panda]] sneezes.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Slimeball JE2 BE2.png|32px]] The texture of slimeballs has been changed.}}

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

==Issues ==
{{issue list}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--slimeball Taking Inventory: Slimeball] – Minecraft.net on June 24, 2021

{{Items}}

[[Category:Renewable resources]]

[[cs:Sliz]]
[[de:Schleimball]]
[[es:Bola de slime]]
[[fr:Boule de Slime]]
[[hu:Nyálkagolyó]]
[[it:Palla di slime]]
[[ja:スライムボール]]
[[ko:슬라임볼]]
[[nl:Slijmbal]]
[[pl:Kula szlamu]]
[[pt:Bola de slime]]
[[ru:Слизь]]
[[th:ลูกเมือก]]
[[uk:Слизова кулька]]
[[zh:黏液球]]</li><li>[[Bamboo|Bamboo]]<br/>{{for|the plant feature|Bamboo (feature)}}
{{Distinguish|text = [[Sugar Cane]], which was colloquially known as Bamboo}}
{{Block
| image = <gallery>
Leafless Bamboo.png|Leafless
Small Leaves Bamboo.png|Small
Big Leaves Bamboo.png|Big
Leafless Old Bamboo.png|Leafless Old
Small Leaves Old Bamboo.png|Small Old
Big Leaves Old Bamboo.png|Big Old
</gallery>
| image2 = Bamboo Shoot.png<!--different infobox for this later down the line, like with pistons?-->
| image3 = Bamboo (item) JE1 BE1.png
| transparent = Yes
| light = No
| tool = Sword
| tool2 = Axe
| renewable = Yes
| stackable = Yes (64)
| flammable = '''Bamboo''': Yes (60)<br>'''Shoot''': No
| lavasusceptible = Yes
}}
'''Bamboo''' is a versatile, fast-growing, [[Bone Meal|bonemealable]] [[plant]] found primarily in [[jungle]]s, which is used for [[crafting]] (particularly [[scaffolding]] and [[Block of Bamboo|bamboo wood]]), [[smelting]] and [[breeding]] [[Panda|pandas]]. 

A '''bamboo shoot''' is the initial non-solid sapling form of planted bamboo.

== Obtaining ==
Bamboo shoots cannot be obtained through vanilla means. {{IN|bedrock}}, they can be obtained through [[add-on]]s or inventory editing. {{IN|java}}, they are completely unobtainable.

=== Breaking ===
Bamboo can be mined with any [[tool]], but a [[sword]] breaks the block [[instant mining|instantly]], even with [[Mining Fatigue]]. Flowing [[water]] also breaks bamboo shoots, but not mature bamboo stalks.

{{breaking row|Bamboo|Sword|sword=1|horizontal=1}}
{{notelist}}
=== Natural generation ===
Bamboo generates in widely scattered single shoots within [[jungle]] [[biome]]s. Bamboo generates much more densely in the [[bamboo jungle|bamboo variant]]s of jungles, covering large areas of the landscape. Bamboo does ''not'' generate in [[sparse jungle]]s.<ref>{{bug|MC-156638|||WAI}}</ref>

=== Mob loot ===
{{IN|java}}, a [[panda]] drops 1 bamboo when killed. [[Looting]] does not affect the drop rate.<ref>{{bug|MC-160006}}</ref>

{{IN|bedrock}}, a panda drops 0-2 bamboo when killed. Looting increases the drop by 1 per level.

=== Fishing ===
Bamboo can be found while [[fishing]] in [[jungle]] [[biome]]s as a junk [[item]].

=== Chest loot ===
{{LootChestItem|bamboo}}

== Usage ==
When broken, any bamboo [[block]] placed or grown above it is also broken. A bamboo block drops itself as an [[item]] if a [[piston]] pushes it or moves a block into its space. When bamboo is first placed as a shoot it's not solid and can be destroyed by water flowing into it. After growing at least one block taller it becomes solid and can't be destroyed by water. To transform a bamboo shoot into a solid bamboo block place another bamboo on top of it.

Unlike most plants, bamboo cannot be [[Composter#Composting|composted]].<ref>{{bug|MC-142452|||WAI}}</ref>

=== Farming ===
Bamboo can be planted on [[moss block]]s{{only|java|short=1}}, [[grass block]]s, [[dirt]], [[coarse dirt]], [[rooted dirt]], [[gravel]], [[mycelium]], [[podzol]], [[sand]], [[red sand]], [[suspicious sand]], [[suspicious gravel]], [[mud]], bamboo shoot, or on itself. At default random tick speed (3), each plant grows on average every {{convert|4096|ticks|seconds}}. When [[bone meal]] is {{control|used}} on it, it grows by 1–2 [[blocks]]. Bamboo can grow up to 12–16 blocks tall. The top of a bamboo plant requires a [[light]] level of 9 or above to grow.

Because bamboo breaks in almost the same way as [[sugar cane]]s, [[Tutorials/Sugar cane farming|a sugar cane farm]] can be easily adapted to this use. While water is not needed with such a farm, some spacing is recommended if the harvest is done manually as mature stalks are solid.

=== Pandas ===
Bamboo [[item]]s are eaten by [[panda]]s and can be used to speed up the growth of baby pandas. Bamboo can also be used to breed pandas when at least 8 [[block]]s of bamboo are within 5 blocks of the pandas, making the panda the only animal in the game to have extra breeding requirements. At this point, the [[player]] can feed them bamboo and they [[breeding|mate]] to have a baby.

=== Fuel ===
Bamboo can be used as fuel for [[smelting]]. Each bamboo item smelts 0.25 [[item]]s. Crafting two bamboo into a [[stick]] and using that as fuel is equivalent, smelting 0.5 items. 

Bamboo can be crafted into other items to increase its fuel efficiency.
* By crafting 9 bamboo into 2 [[bamboo planks]], 3 items can be smelted instead of 2.25, a 33.3% increase in efficiency.
** {{IN|bedrock}}, the fuel efficiency can be further doubled by crafting the bamboo planks into twice the amount of [[slab]]s.<ref>{{bug|MCPE-94368||Wooden slabs last for the same amount of time as planks in a furnace}}</ref>
* {{IN|java}}, by crafting 14 bamboo into 3 [[ladder]]s, 4.5 items can be smelted instead of 3.5, a 28.6% increase in efficiency.

=== Flower pots ===
Bamboo can be placed in a [[flower pot]], where it retains the design it has in its item form.

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

== Appearance ==
[[File:Bamboo stages.png|thumb|The different stages of bamboo growth.]]

The appearance of bamboo changes as it grows. When first placed, it takes the form of a small shoot, which has no [[hitbox]]. When it grows one [[block]] taller it grows to 2 pixels in length and width and the top block has leaves coming off it. At 3 blocks, the top 2 blocks have leaves and at 4 blocks the bamboo expands to 3×3 pixels. At 5 blocks tall, the top 3 blocks have leaves on them. As the bamboo grows, the leaves move up and stay at the top 3 blocks. Destroying a block of bamboo does not change the appearance of the blocks below it. Bamboo is oriented at a random position in the block that it is in.

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

=== Bamboo Shoot ===
{{Sound table/Block/Bamboo shoot}}

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Bamboo
|spritetype=block
|nameid=bamboo
|blocktags=bamboo_plantable_on}}
{{ID table
|displayname=Bamboo Shoot
|spritetype=block
|nameid=bamboo_sapling
|blocktags=bamboo_plantable_on
|form=block
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Bamboo
|spritetype=block
|nameid=bamboo
|id=418}}
{{ID table
|displayname=Bamboo Sapling
|spritetype=block
|nameid=bamboo_sapling
|id=419
|form=block
|translationkey=-
|foot=1}}

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

{{/BS}}

== Achievements ==
{{load achievements|Zoologist}}

== History ==
{{History||September 29, 2018|link={{tweet|minecraft|1046096508570009602}}|Bamboo is announced at [[MINECON Earth 2018]].}}
{{History|java}}
{{History||1.14|snap=18w43a|[[File:Leafless Bamboo JE1 BE2.png|32px]] [[File:Small Leaves Bamboo JE1 BE2.png|32px]] [[File:Big Leaves Bamboo JE1 BE2.png|32px]] [[File:Leafless Old Bamboo JE1 BE2.png|32px]] [[File:Small Leaves Old Bamboo JE1 BE2.png|32px]] [[File:Big Leaves Old Bamboo JE1 BE2.png|32px]] [[File:Bamboo Shoot JE1 BE1.png|32px]] Added bamboo.
|[[File:Bamboo (item) JE1 BE1.png|32px]] Bamboo as an [[item]] can be [[drops|dropped]] by bamboo and planted to grow bamboo.
|Added [[bamboo jungle]]s, where bamboo naturally generates.}}
{{History||1.16|snap=20w06a|"Bamboo Sapling" has been renamed to "Bamboo Shoot".}}
{{History|||snap=20w13a|Bamboo has been moved from the Miscellaneous tab to the Decoration Blocks tab in the [[Creative inventory]].<ref name="misc decoration">https://bugs.mojang.com/browse/MC-174434</ref>}}
{{History||1.17|snap=21w13a|Bamboo can now be planted on rooted dirt.}}
{{History|||snap=21w16a|Bamboo can now be planted on moss blocks.}}
{{History||1.18|snap=21w39a|Bamboo no longer generates underground.<ref>{{bug|MC-145376}}</ref><ref>{{bug|MC-214894}}</ref>}}
{{History||1.19|snap=22w15a|Bamboo can now be planted on mud.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Bamboo can now be used to craft [[bamboo planks]].}}
{{History|||snap=22w45a|Bamboo can no longer be used to craft bamboo planks.|Bamboo can now be used to craft a [[block of bamboo]].}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Bamboo can now be planted on [[suspicious sand]].}}
{{History||1.20|snap=23w14a|Bamboo can now be planted on [[suspicious gravel]].}}

{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Leafless Bamboo BE1.png|32px]] [[File:Small Leaves Bamboo BE1.png|32px]] [[File:Big Leaves Bamboo BE1.png|32px]] [[File:Leafless Old Bamboo BE1.png|32px]] [[File:Small Leaves Old Bamboo BE1.png|32px]] [[File:Big Leaves Old Bamboo BE1.png|32px]] [[File:Bamboo Shoot JE1 BE1.png|32px]] Added bamboo.
|[[File:Bamboo (item) JE1 BE1.png|32px]] Bamboo as an [[item]] can be [[drops|dropped]] by bamboo and planted to grow bamboo.}}
{{History||1.9.0|snap=beta 1.9.0.0|Bamboo can now generate in [[jungle]] [[biome]]s in single shoots.
|Added [[bamboo jungle]]s, where bamboo naturally generates.}}
{{History||1.12.0|snap=beta 1.12.0.3|[[File:Leafless Bamboo JE1 BE2.png|32px]] [[File:Small Leaves Bamboo JE1 BE2.png|32px]] [[File:Big Leaves Bamboo JE1 BE2.png|32px]] [[File:Leafless Old Bamboo JE1 BE2.png|32px]] [[File:Small Leaves Old Bamboo JE1 BE2.png|32px]] [[File:Big Leaves Old Bamboo JE1 BE2.png|32px]] The bamboo texture brightness has been updated to match {{el|je}}.<ref>{{bug|MCPE-42635}}</ref>}}
{{History||1.17.30|snap=beta 1.17.20.20|Swords now break bamboo instantly to match ''Java Edition''.<ref>{{bug|MCPE-64013}}</ref>}}
{{History||1.20.0|link=Bedrock Edition 1.20.0|snap=beta 1.19.50.21|Bamboo can now be used to craft [[bamboo planks]].}}
{{History|||snap=beta 1.19.60.20|Bamboo can no longer be used to craft bamboo planks.|Bamboo can now be used to craft a [[block of bamboo]].}}

{{History|console}}
{{History||xbox=none|xbone=none|ps=1.83|wiiu=none|switch=none|[[File:Leafless Bamboo JE1 BE2.png|32px]] [[File:Small Leaves Bamboo JE1 BE2.png|32px]] [[File:Big Leaves Bamboo JE1 BE2.png|32px]] [[File:Leafless Old Bamboo JE1 BE2.png|32px]] [[File:Small Leaves Old Bamboo JE1 BE2.png|32px]] [[File:Big Leaves Old Bamboo JE1 BE2.png|32px]] [[File:Bamboo Shoot JE1 BE1.png|32px]] Added bamboo.
|[[File:Bamboo (item) JE1 BE1.png|32px]] Bamboo as an [[item]] can be [[drops|dropped]] by bamboo and planted to grow bamboo.}}
{{History|foot}}

=== Bamboo shoot "item" ===
{{:Technical blocks/Bamboo Shoot}}

== Issues ==
{{Issue list}}

== Trivia ==
* Because bamboo grows quickly (on average 1 growth per 200 seconds), just 500 plants in an automatic farm produce more [[item]]s than a [[hopper]] can collect (2.5 items per second). A single hopper can move only enough items to keep 6.25 [[furnace]]s running.
* Bamboo is the fastest-growing plant in ''[[Minecraft]]'', which reflects its status as the fastest-growing plant known in real life.
* While bamboo cannot be composted in ''Minecraft'', it can be composted in real life.

== Gallery ==
<gallery>
File:PandaMinecon.png|The first image featuring bamboo, from [[MINECON Earth 2018]].
File:PandasEatingMinecon.jpg|A group of [[Panda|pandas]] eating bamboo, shown at [[MINECON Earth 2018]].
File:Growing bamboo BE.png|Planted bamboo growing.
File:Bamboo in tree.png|A bamboo shoot growing through a [[tree]].
File:Bamboo Jungle.png|Bamboo seen in a [[jungle]] [[biome]] variant.
File:Bamboo Jungle in Amplified world.png|Bamboo Jungle in an [[Amplified]] world in 1.19-rc2.
File:Naturalbamboo.png|Multiple naturally generated bamboo stems growing by a river.
File:Tall Bamboo.png|Grown Bamboo with three parts
File:Zuri Chopping Bamboo Pixel Art.png|[[Zuri]] chopping down bamboo for a baby panda.
File:Bamboo Wallpaper.png|Smartphone wallpaper of the aforementioned artwork, showing more of the treetops and bamboo.
File:Panda Packaging.jpg|Packing for the ''Diamond Level Panda'', modeled after bamboo.
</gallery>

==References==
{{Reflist}}

{{Blocks|vegetation}}

{{Items}}

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

[[cs:Bambus]]
[[de:Bambus]]
[[es:Bambú]]
[[fr:Bambou]]
[[it:Bambù]]
[[ja:竹]]
[[ko:대나무]]
[[pl:Bambus]]
[[pt:Bambu]]
[[ru:Бамбук]]
[[th:ไม้ไผ่]]
[[zh:竹子]]</li></ul>
20w07aAdded bartering.
20w09aSoul sand, mushrooms, crimson fungi, flint, rotten flesh, and raw porkchops have been removed from the possible barters.
Crying obsidian, string, Fire Resistance potions and splash potions, and netherite hoes have been added to the possible barters.
Barter chances have been tweaked.
Due to a bug, all barters give stacks of 1–5 items.[4]
20w10aBarters now give the correct amounts of items.
Warped nylium, warped fungus, and shroomlights have been removed from the possible barters.
Iron nuggets have been added to the list of barters and soul sand has been re-added.
Barter chances have been tweaked.
20w11aEnchanted books and iron boots with Soul Speed have been added to the possible barters.
20w13aItems enchanted with Soul Speed are now slightly more common.
20w20aNetherite hoes can no longer be obtained through bartering.
1.16.2
{{Extension DPL}}<ul><li>[[Torchflower Seeds|Torchflower Seeds]]<br/>{{wip}}
{{Block
| image = <gallery>
Torchflower Age 0.png| Age 0
Torchflower Age 1.png| Age 1
Torchflower Age 2.png| Age 2
</gallery>
| image2 = Torchflower Seeds JE1.png
| transparent = Yes
| light = No
| tool = N/A
| renewable = Yes
| stackable = Yes (64)
| rarity = Common
|flammable=No
|lavasusceptible=No
}}

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

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

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

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

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

Crops break if pushed by a [[piston]] or if their supporting farmland breaks or turns to dirt (i.e. by being trampled), dropping their usual drops.

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

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

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

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

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

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

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

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

{{/BS}}

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

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

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

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

== Issues ==
{{issue list}}

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

== Notes ==
{{notelist}}

== References ==
{{reflist}}

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

[[de:Fackelliliensamen]]
[[es:Semillas de plantorcha]]
[[ja:トーチフラワーの種]]
[[pt:Sementes de plantocha]]
[[zh:火把莲种子]]</li><li>[[Bottle of Entity|Bottle of Entity]]<br/>{{joke feature}}
{{exclusive|java}}
{{WIP}}
{{see also|Potion|Splash Potion}}
{{Item
|image=Bottle of Entity.png
|image2=Splash Bottle of Entity.png
|image3=Bottle of Void.png
|stackable= No
}}

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

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

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

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

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

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

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

{{items}}
{{Jokes}}

[[ja:Bottle of Entity]]
[[pt:Frasco de entidade]]
[[Category:Joke items]]</li></ul>
20w28aWater bottles, spectral arrows, and blackstone have been added to the possible barters.
Magma cream and glowstone dust have been removed from the possible barters.
Barter chances have been tweaked.
Many barters give fewer items.
Bedrock Edition
1.16.0
{{Extension DPL}}<ul><li>[[Photo|Photo]]<br/>{{exclusive|education}}
{{Item
| image = Photo EE2.png
| renewable = No (unless [[portfolio]] is available)
| stackable = 
}}

A '''photo''' is an [[item]] containing a picture taken with a [[camera]].<ref>{{cite|url=https://web.archive.org/web/20210925044841mp_/https://educommunity.minecraft.net/hc/en-us/articles/4407489082644-Feature-Walkthrough-Minecraft-Education-Edition-GOAT-Beta-version-1-17-30-| title = Feature Walkthrough Minecraft: Education Edition GOAT Beta (version 1.17.30)|website=Minecraft: Education Edition Support|date=September 24, 2021}}</ref><ref>{{cite|url=https://education.minecraft.net/en-us/blog/new-update-and-anniversary-for-mee| title = The GOAT Update Celebrates a Minecraft Milestone!|website=Minecraft: Education Edition|date=November 2, 2021}}</ref><ref>{{ytl|2Wd0J-EIfws|GOAT Release Playthrough|Minecraft: Education Edition|December 2, 2021}}</ref>

== Obtaining ==
A photo in a [[portfolio]] can be saved as a photo item by selecting the "Save to Inventory" button underneath it.

== Usage ==
Photos display an image when held in the hand or when placed in an [[item frame]], similarly to [[map]]s. Photos can have captions added to them by renaming them in an [[anvil]] or by adding a caption while they are in a portfolio. Photos can be added to [[book and quill]]s and portfolios by selecting the "Add Photo" button in the book and quill or portfolio.

== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Photo
|spritetype=item
|nameid=photo_item
|id=?
|form=item
|foot=1}}

== History ==
{{History|education}}
{{History||1.17.30|snap=1.17.30.2|[[File:Photo EE1.png|32px]] Added photos.}}
{{History||1.17.30|snap=release|[[File:Photo EE2.png|32px]] Changed photo texture.}}
{{History|foot}}

== Gallery ==
<gallery>
Photo Item 1.png|A photo being placed in an item frame.
Photo Item 2.png|A photo being saved from a portfolio.
Photo Item 3.png|A photo being added to a book and quill.
</gallery>

== References ==
{{Reflist}}

{{Items}}
{{Education Edition}}

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

[[ja:写真]]
[[pl:Zdjęcie]]
[[zh:相片]]</li><li>[[:Category:Dyes|Category:Dyes]]<br/>These are items that can be used to dye sheep, wool blocks, or combined to make other dyes.

[[Category:Items]]

[[es:Categoría:Tintes]]
[[fr:Catégorie:Teinture]]
[[hu:Kategória:Festékek]]
[[zh:Category:染料]]</li></ul>
beta 1.16.0.51Added bartering.
beta 1.16.0.57Updated the loot table to match Java Edition 20w13a. Previously, right-clicking the piglin would give the player obsidian or flint and steel, while dropping gold onto the ground would result in a Nether wart block
Piglins now "inspect" the gold ingot before giving the player an item, as opposed to giving the item instantly.
1.16.100
{{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>[[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>
beta 1.16.100.54Updated the loot table to match Java Edition 1.16.2. Arrows are used in place of spectral arrows.

Issues

Issues relating to "Tutorials/Bartering farm" are maintained on the bug tracker. Report issues there.

Trivia

  • Piglins sometimes pick up and equip iron boots enchanted with Soul Speed that they have just offered while bartering. A player wanting to obtain the iron boots without killing the piglin can induce the piglin to discard the iron boots by offering a pair of golden boots.

See also

References

  1. MCPE-99448 — Piglins need 8 seconds to barter, while they only need 6 in java
  2. MCPE-94099 — Piglins get angry when a player destroys a chest or a gold-related item while admiring a gold item
  3. MCPE-91275 — Piglin can skip bartering animation when being distracted by other activities
  4. MC-173165

Gold farming

You need to have a source of gold to run the farm, either from a zombified piglin farm or from another source, such as mining.

AFK Farming

An AFK farm is linked to a zombified piglin farm, then it can either travel with a water current or through a hopper system and drop out of a dropper or dispenser, and collects through a hopper system. To make the farm more effective, make a hopper organizer, as seen in this YouTube video.

Advertisement