Minecraft Wiki
Advertisement
Information icon
This feature is exclusive to Java Edition. 

The Far Lands (Java) were a terrain bug that occurred in versions of Minecraft up to Beta 1.7. They were caused by errors in the math that governs terrain generation, resulting in abnormal structures resembling excessively stretched-out terrain.

The X/Z Far Lands were fixed in Beta 1.8, so they do not exist without modifications to Minecraft. In addition, most of the distance effects were fixed. The Y Far Lands (aka the Sky Far Lands) were overlooked, but cannot be created in Vanilla 1.13 and above, due to the 'temporary' removal of customized world generation. The -Y Far Lands (also known as the Void Far Lands) are similar.

Technical

The Far Lands (Java Edition) were a terrain generation bug that occurred at ±12,550824 along the X and Z-axes prior to Beta 1.8, as well as the Y-axis (technically) before Java 1.13.

The Far Lands generate because of an integer overflow error within Minecraft. The noise map that draws Minecraft's height map increases by 171.103 for every block, causing an integer overflow at approximately ±12550824 (sometimes ±12550821.) Multiplying the aforementioned numbers results in the 32-bit signed integer max value, which when overflowed, results in a negative noise seed.

Location

On the X and Z axes, the Far Lands and Farther Lands initiate as they did in Beta 1.7 and below (±12550824), with an identical chance of offset at positive positions. However, due to the new height limits, they are actually 256 blocks tall, instead of 128. There is a world border at the 32-bit integer limit (2,147,483,647), which crashes the game upon approaching.

On the Y-axis, the Far Lands initiate at around twice the former number, which is therefore ±25,101,648. Since blocks cannot exist above y=256 or below y=0 in the vanilla game, to observe the Far Lands in their natural place, mods such as the Cubic Chunks mod must be used to allow terrain to generate in such positions.

The Farther Lands also generate at ±2,008,131,840 on the Y-axis, however, they cannot be generated without lowering the selector noise period.

Structure

File:Edges.png

The edge Far Lands and corner Far Lands, as well as their Farther variations, generate relatively identically to their pre-Beta 1.8 counterparts, but utilizing the entire height limit, causing them to generate all the way up to y=256, or in the case of infinitely high worlds as seen in the case of mods, until they reach the sky Far Lands at y=+25,101,648 (and equivalently the void Far Lands at y=-25,101,648).

The Fartherer and Farthest Lands also still exist in vanilla worlds, but are impossible to access without using manipulated customized world presets that set noise periods ridiculously low (coordinate scale extremely high).[1]

Sky Far Lands

This section describes content that exists only in outdated versions of Minecraft. 
The Customized world type was removed in 1.13, so the Sky Far Lands can no longer be generated without mods.
Far lands on Y

The Far Lands generating on an unmodded modern custom world, before 1.13. A high coordinate scale was also used to generate this, resulting in repetitive terrain.

The Far Lands generate at positive values of the Y-axis past y=25,101,648. Monoliths generate up to this point if the player can get them to generate.

Void Far Lands

Negativeylands

The Far Lands generating underground on a modded world.

The Far Lands generate at negative values of the Y-axis past y=-25,101,648.

These do not seem to be obtainable without using mods in the same way as the Sky Far Lands.

Since every air block outside of caves and other generated structures is replaced with water below y=63, the void Far Lands are filled with water.

Vertex Far Lands

When the Sky or Void Far Lands meet with the vanilla Corner Far Lands, many interesting terrain features can be sighted. The content of these intersections appears to vary throughout worlds, with some being completely blank, some completely solid, and some generating like regular Far Lands material. In some cases, exciting diagonal patterns with large absent chunks generate.[2]

The Fartherer Lands

Like the Farther Lands, at about ±4,294,967,296 times further from the initiation first set, the third set of Far Lands (furtherer from Far Lands, henceforth named "Fartherer Lands", alternatively "Furtherer Lands") generates once X/Z coordinates reach ±53,905,378,846,979,747 blocks away. Fartherer Lands generates well past the chunk overwrite limit (X/Z: >±34,359,738,368) and the block rendering limit (X/Z: >±2,147,483,647), thus it is impossible to see Fartherer Lands in game without modifying the noise scale.

The Fartherer Lands, without occlusion from any previous sets of Far Lands, generates a terrain that are stretched out to the extent that they are thinner and flatter than the Farther Lands, similar to transitioning Far Lands in Bedrock Edition. Due to how Fartherer Lands generates their terrain, the lands are reduced into flat panels, cuboids and strips of blocks (which was generating into some extent in Farther Lands, but exacerbated in Fartherer Lands). Because of this, Fartherer Lands marks the end of "Swiss cheese" terrain (solid wall and infinite tunnels) of both Far Lands and the Farther Lands.[3]

Corner Fartherer Lands are differentiated from the Corner Farther Lands that the space between layers is larger than both Corner Far Lands and Corner Farther Lands, and the boundary between Edge and Corner Fartherer Lands are smooth in comparison to the boundary between Edge and Corner Farther Lands.[4][5]

The Farthest Lands

These generate 80 times farther away than the Fartherer Lands, when X/Z coordinates reach ±4,312,430,307,758,379,832 and are a result of selector noise overflowing at the 64 bit limit. Like the Fartherer Lands, it is not possible to see The Farthest Lands in game without modifying the noise scale.

Experimentation with 1.12.2 Customized worlds (by multiplying the default 684.412 noise scale with 2^32, and then with 80 to cause them to show up at the regular Far Lands distance of 12550824.023) shows minimal, but still noticeable differences between the Fartherer and Farthest Lands. From these observations, the most noticeable difference between the Fartherer Lands and the Farthest Lands is that Farthest Lands generate highly repetitive terrain (especially in the Corner Farthest Lands, where the terrain repeats itself as you move further out), similar to Bedrock Edition Edge Far Lands past X/Z +6,275,412.[6][7]

Another noticeable difference between the Fartherer Lands and the Farthest Lands is that Farthest Lands are considered to be unstable, and in some cases failed to generate, leaving only the ocean and the bedrock layer, like the Nothingness of the Bedrock Edition Far Lands.[8] For example, in a customized world preset, Farthest Lands begins to "disappear" from the topmost layer into bedrock layer (and disappears more slowly closer to the boundary of the Edge variations) as it moves away from the center of the world. Also in the same preset, the Farthest Lands appears to be different between +X/+Z, +X/-Z, -X/+Z and -X/-Z coordinates, one of which failed to generate.[9] As such, Farthest Lands stands out in comparison of previous sets of Far Lands, which generates more stable terrain.

Despite this, it is very likely that there are more, slightly different sets of Far Lands beyond the Farthest Lands.

Effects

Floating-point precision errors with entities and particles

TNT explosion snapped

A command-summoned TNT's explosion at 1,500,000,000 on both X and Z axis. The white and black smoke particles spawn in two different locations and different from the location of the TNT, due to floating-point precision errors.

Even in modern versions of Minecraft, the floating-point precision errors still exist, but only with translucent block rendering, natural snow generation and snowfall at extreme heights.

Darkness

Main article: Java Edition distance effects/Hard limits

In vanilla Minecraft 1.14, the lighting system ceases to work beyond 2^25 (X/Z ±33,554,432)[10] (though this distance is available only via editing source codes), however, it isn't like what would happen beyond X/Z=32,000,000 in older versions. Instead, everything abruptly becomes absolutely dark and ignores light sources. By pressing F3, it shows that the sky light level is 0, thus undead mobs do not burn when exposed to the sky. The chunks, however, are still solid and block physics still function. Night Vision can help to counteract the visual darkness; it is currently unknown whether the Conduit Power effect works or not.

History

Java Edition
1.8
{{Extension DPL}}<ul><li>[[Potato|Potato]]<br/>{{about|the raw potato|the cooked potato|Baked Potato|the potato that can inflict poison|Poisonous Potato}}
{{Item
| group = Age 0-1
| 1-1 = Potatoes Age 0-1.png
| 1-2 = Potatoes Age 0-1 BE.png
| group2 = Age 2-3
| 2-1 = Potatoes Age 4-6.png
| 2-2 = Potatoes Age 2-3 BE.png
| group3 = Age 4-6
| 3-1 = Potatoes Age 4-6.png
| 3-2 = Potatoes Age 4-6 BE.png
| group4 = Age 7
| 4-1 = Potatoes Age 7.png
| 4-2 = Potatoes Age 7 BE.png
| image = Potato JE3 BE2.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
}}

A '''potato''' is a [[food]] [[item]] obtained from potato crops that can be used to plant them, consumed raw or [[cook]]ed to make [[baked potato]]es.

'''Potato crops''' are planted in [[farmland]] and used to grow potatoes and, rarely, [[Poisonous Potato|poisonous potatoes]].

== Obtaining ==

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

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

Fully grown potato crops drop 2 to 5 potatoes ({{frac|3|5|7}} per crop harvested on average) and have a 2% chance of dropping an additional [[poisonous potato]]. Potato yield can be increased using a tool enchanted with [[Fortune]], with Fortune III harvesting an average of {{frac|5|3|7}} potatoes. [[Bone meal]] can be used to mature the potato to its last stage of growth.

The first two potatoes always drop, and then three more attempts are made to drop a potato with a success rate of 57.14286% to yield the extra 0–3 drops. Each level of Fortune enchantment increases the number of attempts by one.

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

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

== Usage ==

=== Farming ===
{{main|Tutorials/Crop farming}}
When farmed, potatoes require 8 [[Block tick|stages]] to grow. However, there are four ''visible'' stages due to having only four distinct textures: every two stages have the same texture, except that growth stage 7 keeps the same appearance as stages 5–6, so that only stage 8 has the final, mature appearance. Planted potatoes require a light level of 9 or greater to continue growing. If the light level is 7 or below, the crops instantly un-plant themselves ("pop off"). It is not possible to plant potatoes if the light level is too low.

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

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

=== Food ===
To eat a potato, press and hold {{control|use}} while it is selected in the [[hotbar]]. Eating a potato restores {{hunger|1}} hunger and 0.6 [[Hunger#Mechanics|saturation]].

=== Breeding ===
[[Pig]]s follow and can be [[bred]] by a player holding a potato.

[[Villager]]s can pick up potato items to become willing, which allow them to breed. Villagers require 12 potatoes to become willing.

=== Smelting ingredient ===
{{Smelting
|showname=1
|Potato
|Baked Potato
|0.35
}}

=== Trading ===
Novice-level farmer villagers have a 25%{{only|bedrock}} or 40%{{only|java}} chance to buy 26 potatoes for an [[emerald]] as part of their trade.

=== Composting ===
Placing a potato into a [[composter]] has a 65% chance of raising the compost level by 1. This is less efficient than composting with [[Baked Potato|baked potatoes]], which has a higher success chance of 85%.

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

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

== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Potatoes
|spritetype=block
|nameid=potatoes
|blocktags=bee_growables, crops
|form=block}}
{{ID table
|displayname=Potato
|spritetype=item
|nameid=potato
|form=item
|foot=1}}

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Potatoes
|spritetype=block
|nameid=potatoes
|id=142
|form=block}}
{{ID table
|displayname=Potato
|spritetype=item
|nameid=potato
|id=280
|form=item
|foot=1}}

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

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

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Potato JE1 BE1.png|32px]] Added potatoes.
|[[File:Potatoes Age 0-1 JE1.png|32px]] [[File:Potatoes Age 2-3 JE1.png|32px]] [[File:Potatoes Age 4-6 JE1.png|32px]] [[File:Potatoes Age 7 JE1.png|32px]] Added potato crops.}}
{{History|||snap=12w36a|Potatoes can now be found in [[village]]s.}}
{{History||1.5|snap=13w09b|The [[Fortune]] enchantment now works when harvesting potatoes.<ref>{{bug|MC-1680}}</ref>}}
{{History||1.8|snap=14w02a|Potatoes can now be [[trading|sold]] to farmer [[villager]]s, at 15–19 potatoes for 1 [[emerald]].}}
{{History|||snap=14w04a|Farmer villagers now harvest fully grown potatoes.
|Villagers can now be made willing using 12 potatoes.}}
{{History|||snap=14w06a|[[File:Potatoes Age 0-1 JE2.png|32px]] [[File:Potatoes Age 2-3 JE2.png|32px]] [[File:Potatoes Age 4-6 JE2.png|32px]] [[File:Potatoes Age 7 JE2.png|32px]] Potato crops are now a pixel higher - previously they were offset one pixel down as to match farmland's sunken model. This is likely an accidental result of model conversion.}}
{{History|||snap=14w10a|[[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]] [[File:Missing Model JE2.png|32px]]<br>[[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]] [[File:Missing Model (anisotropic filtering) JE2.png|32px]]<br>Potato crops of all stages [[Missing model|no longer have a model]].}}
{{History|||snap=14w10b|[[File:Potatoes Age 0-1 JE4.png|32px]] [[File:Potatoes Age 2-3 JE4.png|32px]] [[File:Potatoes Age 4-6 JE4.png|32px]] [[File:Potatoes Age 7 JE4.png|32px]] Potato crops now have models again.<ref>{{bug|MC-50232}}</ref> In addition, they are now offset downwards by one pixel once more.<ref>{{bug|MC-50155}}</ref>}}
{{History|||snap=14w25a|[[File:Potatoes Age 0-1 JE5.png|32px]] [[File:Potatoes Age 2-3 JE5.png|32px]] [[File:Potatoes Age 4-6 JE5.png|32px]] [[File:Potatoes Age 7 JE5.png|32px]] Potato crops are now darker and subject to directional shading.}}
{{History|||snap=14w27a|[[File:Potatoes Age 0-1 JE6.png|32px]] [[File:Potatoes Age 2-3 JE6.png|32px]] [[File:Potatoes Age 4-6 JE6.png|32px]] [[File:Potatoes Age 7 JE6.png|32px]] Potato crops are no longer subject to directional shading.}}
{{History||1.9|snap=15w31a|Potatoes can now be used to lead and breed [[pig]]s.}}
{{History|||snap=15w38a|The [[drop]] chances of potatoes has now been slightly improved from average {{frac|2|3|5}} per potato crop harvested to {{frac|2|5|7}}.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 142, and the item's 392.}}
{{History|||snap=18w11a|Potatoes now have a chance of generating in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Potato JE2.png|32px]] The texture of potatoes has been changed.
|[[File:Potatoes Age 0-1 JE7.png|32px]] [[File:Potatoes Age 2-3 JE7.png|32px]] [[File:Potatoes Age 4-6 JE7.png|32px]] [[File:Potatoes Age 7 JE7.png|32px]] The textures of potato crops have been changed.}}
{{History|||snap=18w47a|Potatoes now generate in [[pillager outpost]] chests.}}
{{History|||snap=18w48a|Potatoes can now be found in chests in [[plains]] village houses.}}
{{History|||snap=18w49a|Potatoes can now be found in chests in [[snowy tundra|snowy]] village houses.}}
{{History|||snap=18w50a|Potatoes can now be found in chests in [[taiga]] village houses.
|[[File:Potato JE3 BE2.png|32px]] The texture of potatoes has been changed, once again.}}
{{History|||snap=19w03a|Added placement and new breaking [[sound]]s to potatoes.
|Placing a potato into the new [[composter]] has a 50% chance of raising the compost level by 1.}}
{{History|||snap=19w05a|Potatoes now have a 65% chance of increasing the compost level in a composter by 1.}}
{{History||1.15|snap=19w34a|[[Bee]]s can now pollinate potato crops.}}
{{History||1.17|snap=21w13a|[[File:Potatoes Age 0-1 JE8.png|32px]] [[File:Potatoes Age 2-3 JE8.png|32px]] [[File:Potatoes Age 4-6 JE8.png|32px]] [[File:Potatoes Age 7 JE8.png|32px]] The "crop" template model has changed such that pixels appear in the same physical positions on opposite sides of texture planes, changing the potato crop's appearance in the process.<ref>{{bug|MC-199242}}</ref>}}

{{History|pocket alpha}}
{{History||v0.8.0|snap=build 1|[[File:Potato JE1 BE1.png|32px]] Added potatoes.
|[[File:Potatoes Age 0-1 JE6 BE1.png|32px]] [[File:Potatoes Age 2-3 JE6 BE1.png|32px]] [[File:Potatoes Age 4-6 JE6 BE1.png|32px]] [[File:Potatoes Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added potato crops.
|Potatoes are a rare [[drops|drop]] from killing [[zombie]]s.}}
{{History|||snap=build 3|Potatoes now have a chance to drop when tilling [[grass block]]s.}}
{{History|||snap=build 4|Potatoes are no longer dropped from tilling grass blocks.}}
{{History||v0.9.0|snap=build 1|Potato crops now naturally spawn in [[village]]s.
|Potatoes can now be used to lead and breed [[pig]]s.}}
{{History||v0.12.1|snap=build 1|Potatoes now restore [[hunger]] instead of [[health]].
|Farmer (profession) [[villager]]s now plant and harvest potatoes.}}
{{History||v0.16.2|Potatoes can now be found in the [[chest]] inside large houses in [[ice plains]] and [[cold taiga]] [[village]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|Potatoes can now be found in [[pillager outpost]]s and [[plains]] [[village]] houses.
|[[File:Potato JE3 BE2.png|32px]] The texture of potatoes has been changed.
|[[File:Potatoes Age 0-1 JE7.png|32px]] [[File:Potatoes Age 2-3 JE7.png|32px]] [[File:Potatoes Age 4-6 JE7.png|32px]] [[File:Potatoes Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of potato crops have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Potatoes can now be used to fill up [[composter]]s.
|Potatoes can now be found in [[taiga]], [[snowy taiga]] and [[snowy tundra]] village house [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|[[Trading]] has now been changed, farmer [[villager]]s now have a 25% chance to [[trading|buy]] 26 potatoes for an [[emerald]].}}
{{History||1.14.0|snap=beta 1.14.0.1|[[Bee]]s can now pollinate potato crops.}}
{{History||?|[[File:Potatoes Age 0-1 BE.png|32px]] [[File:Potatoes Age 2-3 BE.png|32px]] [[File:Potatoes Age 4-6 BE.png|32px]] [[File:Potatoes Age 7 BE.png|32px]] Potato crop planes use a mapping that results in very unnatural mirroring when viewed from certain angles, such as northwest.<ref>{{bug|MCPE-146936}}</ref>}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Potato JE1 BE1.png|32px]] Added potatoes.
|[[File:Potatoes Age 0-1 JE6 BE1.png|32px]] [[File:Potatoes Age 2-3 JE6 BE1.png|32px]] [[File:Potatoes Age 4-6 JE6 BE1.png|32px]] [[File:Potatoes Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added potato crops.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Potato JE3 BE2.png|32px]] The texture of potatoes has been changed.
|[[File:Potatoes Age 0-1 JE7.png|32px]] [[File:Potatoes Age 2-3 JE7.png|32px]] [[File:Potatoes Age 4-6 JE7.png|32px]] [[File:Potatoes Age 7 JE7.png|32px]]{{verify|Correct models?}} The textures of potato crops have been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Potato JE1 BE1.png|32px]] Added potatoes.
|[[File:Potatoes Age 0-1 JE6 BE1.png|32px]] [[File:Potatoes Age 2-3 JE6 BE1.png|32px]] [[File:Potatoes Age 4-6 JE6 BE1.png|32px]] [[File:Potatoes Age 7 JE6 BE1.png|32px]]{{verify|Correct models?}} Added potato crops.}}
{{History|foot}}

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

== Issues ==
{{issue list}}

== Gallery ==
<gallery>
AllSeeds.png|All the seeds that exist in the game (except [[Pitcher Plant|seeds fr]][[Torchflower Seeds|om 1.20,]] [[nether wart]] and [[cocoa beans]]).
VillageGrowingCarrotsAndPotatoes.png|[[Carrot]]s and potatoes found growing naturally in a [[village]].
File:Hot Potato.jpeg|Official render of a potato to celebrate National Potato Day.<ref> https://twitter.com/Minecraft/status/1692969488617029859?s=20| Hot potato! @ a friend to toss it.</ref>
</gallery>

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--potato Taking Inventory: Potato] – Minecraft.net on December 16, 2021

{{items}}
{{blocks|vegetation}}

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

[[cs:Brambora]]
[[de:Kartoffel]]
[[es:Patata]]
[[fr:Pomme de terre]]
[[hu:Burgonya]]
[[it:Patata]]
[[ja:ジャガイモ]]
[[ko:감자]]
[[nl:Aardappel]]
[[pl:Ziemniak]]
[[pt:Batata]]
<br />
[[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>
14w17aAdded customized world generation. This made it possible to create the Sky Far Lands, as well as the Fartherer Lands and Farthest Lands, without editing the source code.
1.13
{{Extension DPL}}<ul><li>[[Gold Nugget|Gold Nugget]]<br/>{{About|the nugget|the block that can drop nuggets|Gilded Blackstone|the ore|Gold Ore|the ingot form|Gold Ingot|the mineral block|Block of Gold}}
{{Item
| image = Gold Nugget.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Gold nuggets''' are items used to make [[gold ingot]]s and other various golden items. One gold nugget is effectively worth one-ninth of a gold ingot.

== Obtaining ==

=== Mob loot ===

[[Zombified Piglin|Zombified piglin]]s, when killed, may drop 0-1 gold nuggets. When killed using a weapon enchanted with [[Looting]], they may drop an additional gold nugget per level of Looting used, up to a maximum of 4.

=== Crafting ===

{{Crafting
|Gold Ingot
|Output= Gold Nugget, 9
|type= Material
}}

=== Smelting ===

{{Smelting
|Golden Sword; {Any golden tools}; {Any golden armor}; Golden Horse Armor
|Gold Nugget
|0,25
}}

=== Chest loot ===

{{LootChestItem|gold-nugget}}

=== Mining ===

[[Nether gold ore]] mined using a [[pickaxe]] drops 2-6 gold nuggets. If the pickaxe is enchanted with [[Fortune]], it has a 33.3% chance to multiply the drops by 2, Fortune II has a 25% chance to multiply the drops by 2 or 3 and Fortune III has a 20% chance each to multiply the drops by 2, 3, or 4 for a maximum possible drop of 24 golden nuggets. The average drop rate for a Fortune III pickaxe is 8.8, while the drop rate for a [[Silk Touch]] pickaxe is a single ingot, or a flat rate of 9. It is slightly more efficient to mine with a Silk Touch pickaxe. 

[[Gilded Blackstone|Gilded blackstone]] mined using a pickaxe has a 10% chance to drop 2-5 gold nuggets. If the pickaxe is enchanted with Fortune I, the chance gold nuggets drop is increased 14.29%, Fortune II increases the drop chance to 25%, and Fortune III guarantees the drop.

== Usage ==

Gold nuggets can be used to craft a [[golden carrot]] or [[glistering melon]] for brewing. Also, gold nuggets can be combined with gunpowder and dye to create a [[firework star]] that bursts in a star-shaped explosion. 

[[Piglin]]s instantly pick up any gold nuggets that are within 1 [[block]] of them. Unlike other gold-related items, they do not intentionally seek out gold nuggets to pick up and only pick them up if they walk near it. Unlike gold ingots, gold nuggets picked up are dropped upon the piglin's death. 

=== Crafting ingredient ===

{{crafting usage}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gold Nugget
|spritetype=item
|nameid=gold_nugget
|id=425
|form=item
|foot=1}}

== History ==

{{History|Java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Gold Nugget JE1.png|32px]] Added gold nuggets.
|Gold nuggets are [[drops|dropped]] by [[zombie pigmen]].
|Gold nuggets can be used to craft [[gold ingot]]s.
|Gold nuggets currently do not have a mouseover name.}}
{{History|||snap=Beta 1.9 Prerelease 2|Gold nuggets now have a mouseover name.}}
{{History|||snap=Beta 1.9 Prerelease 4|Gold nuggets are now used to craft [[glistering melon]]s.
|Gold nuggets can now be [[crafting|crafted]] from a single [[gold ingot]].}}
{{History||1.1|snap=release|Normal [[golden apple]]s are now crafted with gold nuggets.}}
{{History||1.3.1|snap=1.3|[[File:Gold Nugget JE2 BE1.png|32px]] The texture of gold nuggets has been changed.}}
{{History||1.4.2|snap=12w34a|Gold nuggets are now used to craft [[golden carrot]]s.}}
{{History||1.4.6|snap=12w49a|Gold nuggets can now be used to craft a [[firework star]] for a star shaped effect on a [[firework rocket|firework]].}}
{{History||1.6.1|snap=13w23a|Gold nuggets can no longer be used to [[crafting|craft]] a [[golden apple]].}}
{{History||1.9|snap=15w43a|Gold nuggets may now be found among the loot in [[igloo]] basement [[chest]]s.}}
{{History||1.11.1|snap=16w50a|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 371.}}
{{History|||snap=18w09a|Gold nuggets can now be found in [[underwater ruins]] loot [[chest]]s.}}
{{History|||snap=18w11a|Gold nuggets now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}
{{History|||snap=18w48a|Gold nuggets can now be found in chests in [[plains]] [[village]] houses.}}
{{History|||snap=18w49a|Gold nuggets can now be found in chests in [[savanna]] village houses.}}
{{History||1.16|snap=20w12a|[[Nether gold ore]] now [[drops]] 2-6 gold nuggets, affected by [[Fortune]].}}
{{History|||snap=20w15a|[[Gilded blackstone]] now has 10% chance to drop 2-5 gold nuggets. Only the drop chance is affected by [[Fortune]].}}
{{History|||snap=20w16a|Gold nuggets now generate in [[bastion remnant]]s and [[ruined portal]] chests.}}
{{History|||snap=Pre-release 1|Gold nuggets can now be used to distract [[piglin]]s.}}
{{History|||snap=Pre-release 3|Gold nuggets can no longer be used to distract [[piglin]]s.}}
{{History||1.20|snap=23w12a|Gold nuggets can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Gold nuggets no longer generate in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for suspicious gravel within [[trail ruins]], gold nuggets are now common loot.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets. |Gold nuggets can be used to craft [[glistering melon]]s, [[gold ingot]]s and [[golden carrot]]s.|[[Gold ingot]]s can now be [[crafting|crafted]] into 9 gold nuggets.|[[Zombie pigmen]] now [[drops|drop]] gold nuggets upon being killed.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gold nuggets can now be found inside [[igloo]] basement [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Gold nuggets can now be used to craft [[firework star]]s.}}
{{History||1.4.0|snap=beta 1.2.14.2|Gold nuggets can now be found in some [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Gold nuggets can now be found in [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|The gold nugget can now be found in [[plains]] [[village]] house chests.|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|The gold nugget can now be found in [[savanna]] village house [[chest]]s.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[Nether gold ore]] now [[drops]] 2-6 gold nuggets.|[[Gilded blackstone]] now has 10% chance to drop 2-5 gold nuggets.}}
{{History||1.16.100|snap=beta 1.16.100.50|Gold nuggets can now be used as fuel for a [[furnace]].<ref>{{bug|MCPE-114216}}</ref>}}
{{History||1.18.30|snap=beta 1.18.30.26|Gold nuggets can no longer be used as fuel for a furnace.}}

{{History|Legacy Console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets.}}
{{History||xbox=TU53|xbone=CU43|ps=1.49|wiiu=Patch 23|switch=1.0.3|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Gold Nugget JE3 BE2.png|32px]] The texture of gold nuggets has been changed.}}

{{History|3DS}}
{{History||0.1.0|[[File:Gold Nugget JE2 BE1.png|32px]] Added gold nuggets.}}
{{History||1.9.19|Gold nuggets can now be [[smelting|smelted]] from golden [[tool]]s and [[armor]].}}
{{History|foot}}

== Issues ==

{{issue list}}

== See also ==

* [[Iron Nugget]]
* [[Gold]]

{{Items}}

[[cs:Zlatý nuget]]
[[de:Goldklumpen]]
[[es:Pepita de oro]]
[[fr:Pépite d'or]]
[[hu:Aranyrög]]
[[it:Pepita d'oro]]
[[ja:金塊]]
[[ko:황금 조각]]
[[nl:Goudklompje]]
[[pl:Bryłka złota]]
[[pt:Pepita de ouro]]
[[ru:Кусочек золота]]
[[uk:Золотий самородок]]
[[zh:金粒]]
[[Category:Renewable resources]]</li><li>[[Lingering Potion|Lingering Potion]]<br/>{{about|throwable potions that leave a lingering area of effect|the throwable potions without a lingering effect|Splash Potion|the drinkable potions|Potion}}
{{Item
| image = <gallery>
Lingering Water Bottle.png | Water Bottle
Uncraftable Lingering Potion.png | Uncraftable
</gallery>
| extratext = View [[#Gallery|all renders]]
| renewable = Uncraftable, Luck{{only|java|short=1}}, Decay{{only|bedrock|short=1}}: No<br>
All others: Yes
| stackable = No
}}

'''Lingering potions''' are variants of [[splash potion]]s that can be thrown to leave clouds with [[status effect]]s that linger on the ground in an area. 

== Obtaining ==

=== Brewing ===
{{main|Brewing}}

{{brewing
  |Dragon's Breath
  |Any Lingering Potion
  |ingredients=[[Dragon's Breath]] + <br>Any [[Splash Potion]]
}}

== Usage ==

=== Creating area effect clouds ===
Lingering potions are thrown, like [[splash potion]]s, by {{control|using}} them. On impact they explode, creating a cloud. The cloud is made of the potion particles corresponding to the potion that was thrown.  

The cloud starts with a radius of 3 blocks, decreasing to 0 over the course of 30 seconds. During the cloud's existence, any player or mob that walks into it after the first second gets the corresponding status effect; this decreases the radius by a {{frac|1|2}} block immediately, reducing the cloud's lifespan by 5 seconds.

For effects with duration, the duration applied by the cloud is {{frac|1|4}} that of the corresponding [[potion]]. For effects without duration such as healing or harming, the potency of the effect is {{frac|1|2}} that of the corresponding potion.

The effect may be applied consecutively if the player or mob remains in the cloud. For example, a player throwing the Lingering Potion of Healing II straight down consumes the cloud within a few seconds while being healed 5 times for a total of {{hp|20}} health. As far as healing is concerned, this makes the lingering potion much more powerful than the regular or splash potion, provided that the player is away from other mobs or players.

Lingering potions can also be thrown out of [[dispenser]]s like splash potions.

=== Lingering water bottle ===
Like the [[Splash potion#Splash water bottles|splash water bottle]], a lingering water bottle puts out fire and damages endermen and blazes by {{hp|1}}. It creates no effect cloud.

==== Mud ====

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

=== Crafting ingredient ===

{{crafting usage|Lingering Potion, Lingering Water Bottle|match=any}}

=== Filling cauldrons ===

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

=== Uncraftable lingering potion ===

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

It can be obtained using the following command: {{cmd|give @s minecraft:lingering_potion{Potion:"minecraft:empty"} }}. It is also obtained any time a potion has invalid or missing potion effect tags, and thus serves as a placeholder.

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

== Custom effects ==

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

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

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

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

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

=== Item data ===

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

=== Thrown potion ===
{{Entity
| title = Thrown lingering potion
| networkid = '''[[JE]]''': 73
}}

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

{{edition|bedrock}}:
{{ID table
|shownumericids=y
|generatetranslationkeys=bedrock
|displayname=Lingering Potion
|spritetype=entity
|nameid=lingering_potion
|id=101
|foot=1}}

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

{{:Splash Potion/ED}}

=== Area Effect Cloud ===

{{Entity
| title = Area Effect Cloud
| image = Area Effect Cloud.png 
|imagesize=290px
}}
==== ID ====
{{edition|java}}:
{{ID table
|generatetranslationkeys=java
|displayname=Area Effect Cloud
|spritetype=entity
|nameid=area_effect_cloud
|foot=1}}

{{edition|bedrock}}:
{{ID table
|shownumericids=y
|generatetranslationkeys=bedrock
|displayname=Area Effect Cloud
|spritetype=entity
|nameid=area_effect_cloud
|id=95
|foot=1}}

==== Entity data ====
{{see also|Chunk format}}

The cloud that is created when: lingering potions are thrown; [[creeper]]s with potion effects explode; [[Ender Dragon#Dragon_Fireball|dragon fireballs]] hit the ground, is an entity, which has entity data that defines the properties of the entity.

{{/ED}}

==Advancements==

{{Load advancements|Zombie Doctor;A Furious Cocktail;How Did We Get Here?;Bullseye}}

== History ==
{{Info needed section|Lingering Potion of Decay; Lingering Potion of Weakness; Uncraftable Lingering Potion}}
{{History|java}}
{{History||1.9|snap=15w33a|[[File:Lingering Potion of Night Vision JE1 BE1.png|32px]] [[File:Lingering Potion of Invisibility JE1 BE1.png|32px]] [[File:Lingering Potion of Leaping JE1 BE1.png|32px]] [[File:Lingering Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Lingering Potion of Swiftness JE1 BE1.png|32px]] [[File:Lingering Potion of Slowness JE1 BE1.png|32px]] [[File:Lingering Potion of Water Breathing JE1 BE1.png|32px]] [[File:Lingering Potion of Healing JE1 BE1.png|32px]] [[File:Lingering Potion of Harming JE1 BE1.png|32px]] [[File:Lingering Potion of Poison JE1 BE1.png|32px]] [[File:Lingering Potion of Regeneration JE1 BE1.png|32px]] [[File:Lingering Potion of Strength JE1 BE1.png|32px]] [[File:Lingering Potion of Weakness JE1 BE1.png|32px]] [[File:Lingering Potion of Luck JE1.png|32px]] Added lingering potions.
|[[File:Lingering Water Bottle JE1 BE1.png|32px]] [[File:Lingering Water Bottle JE1 BE1.png|32px]] [[File:Lingering Water Bottle JE1 BE1.png|32px]] [[File:Lingering Water Bottle JE1 BE1.png|32px]] Added lingering water bottle, and Mundane, Thick, and Awkward lingering potions.}}
{{History|||snap=15w33c|The bug where the [[player]] could not place [[splash potion]]s in the [[brewing stand]] has been fixed. This now allows for easier creation of lingering potions.}}
{{History|||snap=16w06a|Lingering potions can now be used to craft [[tipped arrow]]s.}}
{{History||1.11|snap=16w32a|The [[entity]] ID has been changed from {{code|AreaEffectCloud}} to {{code|area_effect_cloud}}.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 441.}}
{{History|||snap=18w07a|[[File:Lingering Potion of the Turtle Master JE1 BE1.png|32px]] Added the lingering potions of the Turtle Master.}}
{{History|||snap=18w14a|[[File:Lingering Potion of Slow Falling JE1 BE1.png|32px]] Added lingering potions of [[Slow Falling]].}}
{{History||1.14|snap=18w43a|[[File:Lingering Water Bottle JE2 BE2.png|32px]] [[File:Lingering Potion of Night Vision JE2 BE2.png|32px]] [[File:Lingering Potion of Invisibility JE2 BE2.png|32px]] [[File:Lingering Potion of Leaping JE2 BE2.png|32px]] [[File:Lingering Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Lingering Potion of Swiftness JE2 BE2.png|32px]] [[File:Lingering Potion of Slowness JE2 BE2.png|32px]] [[File:Lingering Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Lingering Potion of Water Breathing JE2 BE2.png|32px]] [[File:Lingering Potion of Healing JE2 BE2.png|32px]] [[File:Lingering Potion of Harming JE2 BE2.png|32px]] [[File:Lingering Potion of Poison JE2 BE2.png|32px]] [[File:Lingering Potion of Regeneration JE2 BE2.png|32px]] [[File:Lingering Potion of Strength JE2 BE2.png|32px]] [[File:Lingering Potion of Weakness JE2 BE2.png|32px]] [[File:Lingering Potion of Luck JE2.png|32px]] [[File:Lingering Potion of Slow Falling JE2 BE2.png|32px]] The textures of lingering potions have been changed.}}
{{History||1.19|snap=22w11a|Lingering water bottles can be {{control|used}} on [[dirt]], [[coarse dirt]], or [[rooted dirt]] to turn it into [[mud]].}}
{{History||1.19.3|snap=22w43a|Lingering water bottles can now extinguish burning entities.<ref>{{bug|MC-189911|||Fixed}}</ref>}}
{{History||1.19.4|snap=Pre-release 1|Lingering potions no longer have an enchantment glint.}}
{{History|||snap=Pre-release 3|[[File:Lingering Potion of Night Vision JE3.png|32px]] [[File:Lingering Potion of Invisibility JE3.png|32px]] [[File:Lingering Potion of Leaping JE3.png|32px]] [[File:Lingering Potion of Fire Resistance JE3.png|32px]] [[File:Lingering Potion of Swiftness JE3.png|32px]] [[File:Lingering Potion of Slowness JE3.png|32px]] [[File:Lingering Potion of the Turtle Master JE3.png|32px]] [[File:Lingering Potion of Water Breathing JE3.png|32px]] [[File:Lingering Potion of Harming JE3.png|32px]] [[File:Lingering Potion of Poison JE3.png|32px]] [[File:Lingering Potion of Strength JE3.png|32px]] Changed colors of the following lingering potions: Night Vision, Invisibility, Leaping, Fire Resistance, Swiftness, Slowness, Turtle Master, Water Breathing, Harming, Poison, Strength, Resistance.}}
{{History||1.20|snap=23w12a|Wither [[effect]] particle colors have been adjusted to make them more distinguishable.
|The lingering potion of [[Slow Falling]] has had its color tweaked to make it more distinguishable from the lingering potion of [[Invisibility]].}}

{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|[[File:Lingering Water Bottle JE1 BE1.png|32px]] [[File:Lingering Potion of Night Vision JE1 BE1.png|32px]] [[File:Lingering Potion of Invisibility JE1 BE1.png|32px]] [[File:Lingering Potion of Leaping JE1 BE1.png|32px]] [[File:Lingering Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Lingering Potion of Swiftness JE1 BE1.png|32px]] [[File:Lingering Potion of Slowness JE1 BE1.png|32px]] [[File:Lingering Potion of Water Breathing JE1 BE1.png|32px]] [[File:Lingering Potion of Healing JE1 BE1.png|32px]] [[File:Lingering Potion of Harming JE1 BE1.png|32px]] [[File:Lingering Potion of Poison JE1 BE1.png|32px]] [[File:Lingering Potion of Regeneration JE1 BE1.png|32px]] [[File:Lingering Potion of Strength JE1 BE1.png|32px]] [[File:Lingering Potion of Weakness JE1 BE1.png|32px]] [[File:Lingering Potion of Decay BE1.png|32px]] Added lingering potions.
|Lingering water bottles, mundane, long mundane, thick, and awkward lingering potions are all available in the Creative inventory.}}
{{History|bedrock}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Lingering Potion of the Turtle Master JE1 BE1.png|32px]] Added lingering potions of the Turtle Master.}}
{{History||1.6.0|snap=beta 1.6.0.5|[[File:Lingering Potion of Slow Falling JE1 BE1.png|32px]] Added lingering potions of [[Slow Falling]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Lingering Water Bottle JE2 BE2.png|32px]] [[File:Lingering Potion of Night Vision JE2 BE2.png|32px]] [[File:Lingering Potion of Invisibility JE2 BE2.png|32px]] [[File:Lingering Potion of Leaping JE2 BE2.png|32px]] [[File:Lingering Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Lingering Potion of Swiftness JE2 BE2.png|32px]] [[File:Lingering Potion of Slowness JE2 BE2.png|32px]] [[File:Lingering Potion of Water Breathing JE2 BE2.png|32px]] [[File:Lingering Potion of Healing JE2 BE2.png|32px]] [[File:Lingering Potion of Harming JE2 BE2.png|32px]] [[File:Lingering Potion of Poison JE2 BE2.png|32px]] [[File:Lingering Potion of Regeneration JE2 BE2.png|32px]] [[File:Lingering Potion of Strength JE2 BE2.png|32px]] [[File:Lingering Potion of Weakness JE2 BE2.png|32px]] [[File:Lingering Potion of Decay BE2.png|32px]] [[File:Lingering Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Lingering Potion of Slow Falling JE2 BE2.png|32px]] The textures of lingering potions have been changed.}}
{{History||1.19.80|snap=beta 1.19.80.21|Changed potion colors for the following lingering potions: Fire Resistance, Harming, Invisibility, Leaping, Night Vision, Poison, Slowness, Strength, Swiftness, Turtle Master, and Water Breathing.
|Removed enchantment glint from lingering potions.}}

{{History|console}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|switch=1.0.1|[[File:Lingering Water Bottle JE1 BE1.png|32px]] [[File:Lingering Potion of Night Vision JE1 BE1.png|32px]] [[File:Lingering Potion of Invisibility JE1 BE1.png|32px]] [[File:Lingering Potion of Leaping JE1 BE1.png|32px]] [[File:Lingering Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Lingering Potion of Swiftness JE1 BE1.png|32px]] [[File:Lingering Potion of Slowness JE1 BE1.png|32px]] [[File:Lingering Potion of Water Breathing JE1 BE1.png|32px]] [[File:Lingering Potion of Healing JE1 BE1.png|32px]] [[File:Lingering Potion of Harming JE1 BE1.png|32px]] [[File:Lingering Potion of Poison JE1 BE1.png|32px]] [[File:Lingering Potion of Regeneration JE1 BE1.png|32px]] [[File:Lingering Potion of Strength JE1 BE1.png|32px]] [[File:Lingering Potion of Weakness JE1 BE1.png|32px]] [[File:Lingering Potion of Luck JE1.png|32px]] Added lingering potions.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[File:Lingering Potion of Decay BE1.png|32px]] [[File:Lingering Potion of the Turtle Master JE1 BE1.png|32px]] [[File:Lingering Potion of Slow Falling JE1 BE1.png|32px]] Added lingering potions of the [[Wither (effect)|Decay]], [[Slow Falling]], and Turtle Master.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Lingering Water Bottle JE2 BE2.png|32px]] [[File:Lingering Potion of Night Vision JE2 BE2.png|32px]] [[File:Lingering Potion of Invisibility JE2 BE2.png|32px]] [[File:Lingering Potion of Leaping JE2 BE2.png|32px]] [[File:Lingering Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Lingering Potion of Swiftness JE2 BE2.png|32px]] [[File:Lingering Potion of Slowness JE2 BE2.png|32px]] [[File:Lingering Potion of Water Breathing JE2 BE2.png|32px]] [[File:Lingering Potion of Healing JE2 BE2.png|32px]] [[File:Lingering Potion of Harming JE2 BE2.png|32px]] [[File:Lingering Potion of Poison JE2 BE2.png|32px]] [[File:Lingering Potion of Regeneration JE2 BE2.png|32px]] [[File:Lingering Potion of Strength JE2 BE2.png|32px]] [[File:Lingering Potion of Weakness JE2 BE2.png|32px]] [[File:Lingering Potion of Luck JE2.png|32px]] [[File:Lingering Potion of Decay BE2.png|32px]] [[File:Lingering Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Lingering Potion of Slow Falling JE2 BE2.png|32px]] The textures of lingering potions have been changed.}}

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

== Issues ==

{{issue list}}

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

== Gallery ==
<gallery>
Lingering Water Bottle.png|Water Bottle
Lingering Potion of Night Vision.png|Night Vision
Lingering Potion of Invisibility.png|Invisibility
Lingering Potion of Leaping.png|Leaping
Lingering Potion of Fire Resistance.png|Fire Resistance
Lingering Potion of Swiftness.png|Swiftness
Lingering Potion of Slowness.png|Slowness
Lingering Potion of the Turtle Master.png|Turtle Master
Lingering Potion of Water Breathing.png|Water Breathing
Lingering Potion of Healing.png|Healing
Lingering Potion of Harming.png|Harming
Lingering Potion of Poison.png|Poison
Lingering Potion of Regeneration.png|Regeneration
Lingering Potion of Strength.png|Strength
Lingering Potion of Weakness.png|Weakness
Lingering Potion of Slow Falling.png|Slow Falling
Lingering Potion of Luck.png|Luck
Lingering Potion of Decay.png|Decay
Uncraftable Lingering Potion.png|Uncraftable
</gallery>

=== Screenshots ===
<gallery>
Transparent Area Effect Cloud Image.png|Just area affect cloud particles
</gallery>

== See also ==

* {{ItemLink|Glass Bottle}}
* {{ItemLink|Potion}}
* {{ItemLink|Splash Potion}}

{{Items}}
{{Entities}}

[[Category:Combat]]

[[de:Verweiltrank]]
[[fr:Potion persistante]]
[[ko:잔류형 물약]]
[[ja:残留ポーション]]
[[pl:Trwałe miotane mikstury]]
[[pt:Poção prolongada]]
[[ru:Оседающие зелья]]
[[uk:Осідаючі зілля]]
[[zh:滞留药水]]</li></ul>
18w06aRemoved customized worlds. Thus, the Sky Far Lands, Fartherer Lands, and Farthest Lands can no longer be created without modifications.

Trivia

The End

The End was implemented after the Far Lands were removed, meaning that the End Far Lands never generated naturally. However, if the Far Lands were re-added through modifications prior to 1.9, the End Far Lands would generate. Obsidian pillars would appear throughout the Far Lands. In more recent versions, end cities and chorus trees are generated.

References

  1. "It is also worth noting that the Far Lands terrain itself is not due to improper float casts, but rather due to integer overflow (a double value is cast to an int; the fix casts it to a long and ANDs it with 16777215 to limit the value before casting (which could also be 255 since the noise only has 256 steps)."u/TheMasterCaver on Reddit, November 5, 2018
  2. "Minecraft Stops Here. Please Turn Around!" – AntVenom on YouTube, January 20, 2018
  3. "This was done by taking mainNoiseScale X and Z and dividing it by 232 then teleporting to the usual Farther Lands location 1,004,065,920"u/DCMeGaMaxX on Reddit
  4. Corner Fartherer Lands screenshot from GitHub
  5. https://www.reddit.com/r/Minecraft/comments/fmvxni/you_can_generate_the_xz_far_lands_in_unmodded/
  6. "I used a customized preset to bring these far lands closer to spawn since they would originaly spawn 4.3 quintillion blocks away. These are called the "farthest lands" according to the wiki, and these are not removed from the game"u/DCMeGaMaxX on Reddit
  7. "F A R" – Wifies on YouTube, December 1, 2020 (at 10:25 mark)
  8. "Pretty sure if you multiply 684.412 with 232 and set that as your coordinate scale you can get the Fartherer Lands at the usual Far Lands position. The Farthest Lands are a lot more unstable though and I rarely ever get them to show up."u/MuzikBike on Reddit
  9. "WHAT HAPPENED to THIS MINECRAFT WORLD?!" – AntVenom on YouTube, February 18, 2017 (at 1:52 mark)
  10. MC-194878
Advertisement