The data pack system provides a way for players to further customize their Minecraft experience. Data packs can be used to override or add new advancements, dimensions, functions, loot tables, predicates, recipes, structures, tags and world generation settings without any code modification.
Usage
Data packs can be placed in the .minecraft/saves/(world)/datapacks folder of a world. Each data pack is either a sub-folder or a .zip file within the datapacks folder. After it is in the folder, a data pack is enabled for that world when the world is reloaded or loaded.
Data packs load their data based on the load order. This order can be seen and altered by using the /datapack command and is stored in the level.dat file.
Contents
Folder structure
|
More than one directory for different namespaces may exist under the data directory.
pack.mcmeta
A data pack is identified by Minecraft based on the presence of the pack.mcmeta file in the root directory of the data pack, which contains data in JSON format.
- The root object.
- pack: Holds the data pack information.
- description: A JSON text that appears when hovering over the data pack's name in the list given by the
/datapack listcommand. - pack_format: Pack version. If this number does not match the current required number, the data pack displays a warning and requires additional confirmation to load the pack. The current pack version is 5.
- description: A JSON text that appears when hovering over the data pack's name in the list given by the
- pack: Holds the data pack information.
pack.mcmeta used by the "vanilla" data pack in 1.15.2, as found in the client and official server jars
{
"pack": {
"pack_format": 5,
"description": "The default data for Minecraft"
}
}
data
This folder contains all the data under one or multiple namespaces. It can contain advancements, dimension, dimension_type, functions, loot_tables, predicates, structures, recipes and/or tags folders.
Each advancement, function, loot table, predicate, structure, recipe and tag file can be placed directly in their respective folder but sub-folders are also allowed.
Template
The folder structure of the vanilla data pack:
| List |
|---|
|
History
| Java Edition | |||||
|---|---|---|---|---|---|
1.13{{Extension DPL}}<ul><li>[[Nether Brick|Nether Brick]]<br/><!--Please do not change "nether brick" to "Nether brick". According to style guide, item names are not proper nouns and should not be capitalized.-->
{{about|the item|the block|Nether Bricks}}
{{Item
| title = Nether Brick
| image = Nether Brick.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''nether brick''' is an [[item]] made by [[smelting]] [[netherrack]] in a [[furnace]], and is used to craft the [[Nether Bricks|nether bricks]] block and its variants.
== Obtaining ==
=== Smelting ===
Nether brick can be smelted from netherrack.
{{smelting
|Netherrack
|Nether Brick
|0,1
}}
=== Bartering ===
[[Piglin]]s may [[barter]] 2 to 8 nether bricks when given a [[gold ingot]].
== Usage ==
=== Crafting ingredient ===
{{crafting usage|Nether Brick}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Nether Brick
|spritetype=item
|nameid=nether_brick
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Nether Brick
|spritetype=item
|nameid=netherbrick
|id=523
|form=item
|foot=1}}
== History ==
{{History|java}}
{{History||1.5|snap=13w01a|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||1.10|snap=16w20a|Nether brick items can now be used to craft [[red nether bricks]].}}
{{History||1.13|snap=17w47a|The ID of nether bricks has been changed from <code>netherbrick</code> to <code>nether_brick</code>.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 405.}}
{{History||1.14|snap=18w43a|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History||1.16|snap=20w07a|Nether bricks now have a {{frac|10|109}} (~9.17%) chance of being given by the new [[piglin]]s when [[bartering]], in a stack size of 1–4.}}
{{History|||snap=20w09a|Nether bricks now have a {{frac|20|226}} (~8.84%) chance of being given by piglins when bartering, in a stack size of 1–5.}}
{{History|||snap=20w10a|Nether bricks now have a {{frac|40|411}} (~9.73%) chance of being given by piglins when bartering, in a stack size of 4–16.}}
{{History||1.16.2|snap=20w28a|Nether bricks now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 2–8.}}
{{History|pocket alpha}}
{{History||v0.6.0|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||v0.16.0|snap=build 5|Added nether brick items to the [[Creative]] [[inventory]].<ref name="missing brick">{{Bug|MCPE-16556}}</ref>}}
{{History|pocket}}
{{History||1.1.3|snap=alpha 1.1.3.0|Nether brick items are now used to craft [[red nether bricks]].}}
{{History|bedrock}}
{{History||1.9.0|snap=beta 1.9.0.0|Nether brick items are now used to craft nether brick [[fence]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History||1.16.100|snap=beta 1.16.100.50|Nether bricks now can be used as fuel for a [[furnace]].<ref>{{bug|MCPE-114216}}</ref>}}
{{History|||snap=beta 1.16.100.54|Nether bricks now have a {{frac|40|459}} (~8.71%) chance of being given by piglins when bartering, in a stack size of 2–8 to match {{el|Java}}.}}
{{History||1.18.30|snap=beta 1.18.30.26|Nether bricks can no longer be used as fuel in a furnace.}}
{{History|console}}
{{History||xbox=TU9|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Nether Brick JE2 BE2.png|32px]] The texture of nether bricks has been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Nether Brick JE1 BE1.png|32px]] Added nether brick items.}}
{{History|foot}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
{{items}}
[[cs:Netheritová cihla]]
[[de:Netherziegel (Gegenstand)]]
[[es:Ladrillo del Nether]]
[[fr:Brique du Nether]]
[[hu:Alvilági tégla]]
[[ja:ネザーレンガ (アイテム)]]
[[ko:네더 벽돌 (아이템)]]
[[lzh:焱界磚]]
[[nl:Netherbaksteen (voorwerp)]]
[[pl:Netherowa cegła]]
[[pt:Tijolo do Nether]]
[[ru:Адский кирпич (предмет)]]
[[uk:Пекельна цегла (предмет)]]
[[zh:下界砖]]
[[Category:Renewable resources]]</li><li>[[Totem of Undying|Totem of Undying]]<br/>{{redirect|Totem}}
{{Item
| image = Totem_of_Undying_JE2_BE2.png
| renewable = Yes
| stackable = No
| rarity = Uncommon
|effects=: {{EffectLink|Absorption}} II (0:05)
: {{EffectLink|Regeneration}} II (0:45){{only|java|short=yes}}/ II (0:40){{only|bedrock|short=yes}}
: {{EffectLink|Fire Resistance}} I (0:40)
}}
A '''totem of undying''' is an uncommon [[combat]] item that can save holders from death. It is dropped by [[Evoker|evokers]], which spawn in [[woodland mansion]]s and [[raid]]s.
== Obtaining ==
=== Mob loot ===
Evokers always drop one totem of undying upon death. The drop rate is not affected by [[Looting]].
== Usage ==
[[File:Totem of Undying Animation.gif|alt=The totem animation in Java Edition.|thumb|Animation of the totem activating {{in|java}}.]]
[[File:Totem of Undying Bedrock Animation.gif|alt=The totem animation in Bedrock Edition.|thumb|Animation of the totem activating {{in|bedrock}}.]]
If the [[player]] is holding a totem of undying in their [[off-hand]] or main-hand slot and receives otherwise fatal [[damage]], the totem saves the player from [[death]]. The totem of undying must be in the player's hand (main hand or offhand) for it to work—it does not work if it is in the [[Heads-up display#Hotbar|hotbar]], unless selected. Any [[mob]] that can hold a totem of undying (in a hand or in the mouth) can use it while holding it.{{only|JE}} The totem can be used only once; it disappears after use. It does not save the player from death caused by [[void]] damage, the {{cmd|kill}} [[command]]s or even a [[tipped arrow]] with [[Instant Damage|harming]] effect damage.<ref>{{bug|MC-206307}}</ref>
== Effect ==
When activated, the totem of undying restores {{hp|1}}, removes all existing [[status effect]]s, then grants 40{{only|bedrock|short=1}} or 45{{only|java|short=1}} seconds<ref>{{bug|MCPE-90716}}</ref> of [[Regeneration]] II, 40 seconds of [[Fire Resistance]] I and 5 seconds of [[Absorption]] II. An animation shows the totem of undying appearing to hover in front of the [[player]]'s screen, similar to the animation seen when a player receives the [[Bad Omen]] or [[Hero of the Village]] effect{{only|bedrock|short=1}} or encounters an [[elder guardian]]. When killed by an [[Instant Damage]] tipped [[arrow]], the arrow's instant damage takes effect after the totem has been activated.
The totem of undying also works in [[Hardcore]] mode.
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Totem of Undying.ogg
|subtitle=Totem activates
|source=dependent
|description=When something dies, using a totem of undying
|id=item.totem.use
|translationkey=subtitles.item.totem.use
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Totem of Undying.ogg
|source=player
|description=When something dies, using a totem of undying
|id=random.totem
|volume=1.0
|pitch=1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Totem of Undying
|spritetype=item
|nameid=totem_of_undying
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Totem of Undying
|spritetype=item
|nameid=totem_of_undying
|aliasid=totem
|id=568
|form=item
|translationkey=item.totem.name
|foot=1}}
== Achievements ==
{{load achievements|Cheating Death}}
== Advancements ==
{{load advancements|Postmortal}}
== History ==
{{History||2016|[[File:Totem of Undying (pre-release).png|32px]] An early version of the totem of undying was seen during Minecon shortly before its reveal.}}
{{History|java}}
{{History||1.11|snap=16w39a|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History||1.11.1|snap=16w50a|The ID name has now been changed from <code>totem</code> to <code>totem_of_undying</code>.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 449.}}
{{History||1.14|snap=18w43a|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History|||snap=18w47a|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History||1.16.2|snap=20w28a|The totem of undying now gives the [[Fire Resistance]] II status effect for 40 seconds.}}
{{History|||snap=20w29a|The level of Fire Resistance given by the totem of undying is now reduced from II to I.<ref>{{bug|MC-194220}}</ref>}}
{{History||1.20.2|snap=23w31a|Totems of undying now trigger [[sculk sensor]]s when they activate.<ref>{{bug|MC-261427||Sculk sensors and calibrated sculk sensors don't detect totem of undying activating|Fixed}}</ref>}}
{{History|pocket}}
{{History||1.1.0|snap=alpha 1.1.0.0|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History||1.16.100|snap=beta 1.16.100.54|The level of Fire Resistance given by the totem of undying is now reduced from II to I.<ref>{{bug|MCPE-52364}}</ref>}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of totems of undying has been changed from <code>totem</code> to <code>totem_of_undying</code>.}}
{{History|console}}
{{History||xbox=TU54|xbone=CU44|ps=1.52|wiiu=Patch 24|switch=1.0.4|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History||xbox=TU56|xbone=CU48|ps=1.55|wiiu=Patch 26|switch=1.0.6|The totem of undying now applies [[Fire Resistance]] II when used.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Totem of Undying JE2 BE2.png|32px]] The texture of the totem of undying has been changed.}}
{{History||xbox=none|xbone=none|ps=1.91|wiiu=none|switch=none|The totem of undying is now [[renewable resource|renewable]] as [[evoker]]s now spawn in [[raid]]s.}}
{{History|new3ds}}
{{History||1.9.19|[[File:Totem of Undying JE1 BE1.png|32px]] Added totem of undying.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* If a [[mob]] holds a totem of undying, the mob also resurrects upon [[Health#Death|death]] and the [[sound]] effect plays. However, the animation does not appear.
* In the {{el|ds}}, the totem of undying can be put in any hotbar slot to activate it, due to the lack of an [[Dual wield|off-hand slot]] in that version.
* Being able to obtain totems of undying in [[raids]] without exploring [[woodland mansions]] is considered a "massive game play design flaw" by Mojang.<ref>{{ytl|YRPlscod34Y}}</ref>
== Gallery ==
<gallery>
File:Particle totem of undying.png|Screenshot of the totem of undying being used mid-animation after a [[drowned]] deals otherwise fatal damage to the player.
File:Totem of Undying activating.gif|Animation of the totem activating.
File:Totem animation in third person mode.png|The totem animation in third person mode.
</gallery>
== References ==
{{reflist}}
{{Items}}
[[de:Totem der Unsterblichkeit]]
[[fr:Totem d'immortalité]]
[[ja:不死のトーテム]]
[[ko:불사의 토템]]
[[lzh:保命符]]
[[nl:Totem der onsterfelijkheid]]
[[pl:Totem nieśmiertelności]]
[[pt:Totem da imortalidade]]
[[ru:Тотем бессмертия]]
[[th:Totem of Undying]]
[[zh:不死图腾]]
[[Category:Renewable resources]]</li></ul> | 17w43a | Added data packs. | |||
| 17w46a | Added /datapack, a command to control loaded data packs. | ||||
| 17w48a | Data packs can now load custom recipes. | ||||
| 17w49a | Tags can now be created with data packs. | ||||
| 17w49b | Tags can now be created for functions. | ||||
Functions tagged in tick now run every tick at the beginning of the tick. | |||||
| 18w01a | Added set_name function to loot tables.
| ||||
Functions tagged in load now run once after a (re)load. | |||||
| Crash reports now list what data packs are enabled. | |||||
1.14{{Extension DPL}}<ul><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image =
| image2 =
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).
== Obtaining ==
=== Natural generation ===
Redstone comparators generate in [[Ancient City|ancient cities]].
=== Breaking ===
A redstone comparator can be broken instantly with any [[tool]], or by hand, and drops itself as an item.
{{Breaking row|Redstone Comparator|horizontal=y}}
A redstone comparator is removed and dropped as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.
If [[lava]] flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.
=== Crafting ===
{{Crafting
|B1=Redstone Torch
|A2=Redstone Torch
|B2=Nether Quartz
|C2=Redstone Torch
|A3=Stone
|B3=Stone
|C3=Stone
|Output= Redstone Comparator
|type=Redstone
}}
== Usage ==
A redstone comparator can be placed on the top of any [[opaque]] block with a solid full-height top surface (including upside-down [[slab]]s and upside-down [[stairs]]). {{IN|be}}, a comparator can also be placed on [[wall]]s and fences. For more information about placement on transparent blocks, see [[Opacity/Placement]].
The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by {{control|using}} the comparator:
* Down and unpowered (indicating the comparator is in "comparison mode")
* Up and powered (indicating the comparator is in "subtraction mode")
The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from [[redstone dust]], [[block of redstone]], [[redstone repeater]]s, other comparators, and [[observer]]s in specific scenarios. The redstone comparator's front is its output.
It takes 1 [[redstone tick]] (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off.
Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a [[clock circuit|1-clock]] input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time will cause a redstone comparator to respond to 2 gametick pulses.
The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).
=== Maintain signal strength ===
A redstone comparator with no powered sides outputs the same signal strength as its rear input.
=== Compare signal strength ===
[[File:Comparators Explained.png|Comparators in comparison mode.|thumb]]
A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.
The formula for calculating the output signal strength is as follows:
<code>output = rear × [[Wikipedia:Iverson bracket|[]]'''''left''''' ≤ '''''rear''''' AND '''''right''''' ≤ '''''rear'''''[[Wikipedia:Iverson bracket|<nowiki>]]]</code>
{{-}}
=== Subtract signal strength ===
[[File:Redstone comparator.png|thumb|The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than B, it would output 0.]]
A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.
<code>output = max('''''rear''''' − max('''''left''', '''right'''''), 0)</code>
For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of ''max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0''.
If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of ''max(9 − max(2, 5), 0) = max(9−5, 0) = 4''.
=== Measure block state ===
{{Schematic | caption = A redstone comparator can measure the fullness of a chest, as well as other block states, even through an opaque block.
|rd-ew!|rc-w!|ch|SB|rc-e!|rd-ew!
}}
A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by an opaque block. However, {{in|je}}, if the opaque block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.<ref>{{bug|MC-64394}} (resolved as "Works As Intended")</ref>
[[Category:Java Edition specific information]]
{{-}}
==== Fullness of containers ====
{| class="wikitable floatright" style="margin-left: 0.5em; margin-right: 0; text-align: center;"
|+ Minimum Items for Container Signal Strength
|-
!Containers
!{{BlockSprite|Furnace|link=Furnace}}<br>{{BlockSprite|Blast Furnace|link=Blast Furnace}}<br>{{BlockSprite|Smoker|link=Smoker}}
!{{BlockSprite|Hopper|link=Hopper}}<br>{{EntitySprite|Minecart with Hopper|link=Minecart with Hopper}}<br>{{BlockSprite|Brewing Stand|link=Brewing Stand}}
!{{BlockSprite|Dispenser|link=Dispenser}}<br>{{BlockSprite|Dropper|link=Dropper}}
!{{BlockSprite|Chest|link=Chest}}<br>{{EntitySprite|Minecart with Chest|link=Minecart with Chest}}<br>{{BlockSprite|Shulker Box|link=Shulker Box}}<br>{{BlockSprite|Barrel|link=Barrel}}
![[Double Chest|{{Schematic|size=16|ch-s|-|ch-n}}
]]
!{{BlockSprite|Jukebox|link=Jukebox}}
|-
!Total Slots
!3!!5!!9!!27!!54!!1
|-
!Power Level
! colspan="5" |Number of Items
!Music Disc
|-
|0||0||0||0||0||0||No disc
|-
|1||1||1||1||1||1||"13"
|-
|2||14||23||42||1s 60||3s 55||"cat"
|-
|3||28||46||1s 19||3s 55||7s 46||"blocks"
|-
|4||42||1s 5||1s 60||5s 51||11s 37||"chirp"
|-
|5||55||1s 28||2s 37||7s 46||15s 28||"far"
|-
|6||1s 5||1s 51||3s 14||9s 42||19s 19||"mall"
|-
|7||1s 19||2s 10||3s 55||11s 37||23s 10||"mellohi"
|-
|8||1s 32||2s 32||4s 32||13s 32||27s||"stal"
|-
|9||1s 46||2s 55||5s 10||15s 28||30s 55||"strad"
|-
|10||1s 60||3s 14||5s 51||17s 23||34s 46||"ward"
|-
|11||2s 10||3s 37||6s 28||19s 19||38s 37||"11"
|-
|12||2s 23||3s 60||7s 5||21s 14||42s 28||"wait"
|-
|13||2s 37||4s 19||7s 46||23s 10||46s 19||"Pigstep"
|-
|14||2s 51||4s 42||8s 23||25s 5||50s 10||"Otherside"<br>"Relic"
|-
|15||3s||5s||9s||27s||54s||"5"
|}
A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.
Containers that can be measured by a comparator include:
* {{BlockLink|Furnace}}
* {{BlockLink|Blast Furnace}}
* {{BlockLink|Smoker}}
* {{BlockLink|Brewing Stand}}
* {{BlockLink|Hopper}}
* {{ItemLink|Minecart with Hopper}} on top of a [[detector rail]]
* {{BlockLink|Dispenser}}
* {{BlockLink|Dropper}}
* {{BlockLink|Chest}}
* {{BlockLink|Trapped Chest}}
* {{ItemLink|Minecart with Chest}} on top of a [[detector rail]]
* {{BlockLink|Barrel}}
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large chest
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large trapped chest
* {{BlockLink|Shulker Box}} (any color)
Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).
The ''Minimum Items for Container Signal Strength'' table (right) shows the minimum '''''full-stack-equivalent (FSE)''''' to produce different signal strengths from common containers. A '''''full-stack-equivalent''''' quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.
One may also consider the terms: '''c''umulative-weight''''' or '''''weighted-sum''''' instead of '''''full-stack-equivalent'''''.
Items that stack to a max of 16 ([[snowball]]s, [[sign]]s, [[ender pearl]]s, etc.), contribute +4 to the ''full-stack-equivalent'' for each unity (count of 1 item). Similarly, items that stack to 1 ([[minecart]], [[boat]], etc.) contribute +64, and items that stack to 64 contribute +1.
Example 1: 3 ender pearls will contribute a 3 x 4 = 12 ''full-stack-equivalent''.
Example 2: 16 ender pearls and 60 redstone dust contributes a 16x4 + 60x1 = 124 ''full-stack-equivalent''.
Example 3: 1 minecart and 60 redstone dust contributes a 1x64 + 60x1 = 124 ''full-stack-equivalent''.
Example 4: To produce a signal strength of 10 from a hopper, one requires a ''full-stack-equivalent'' of at least 3s + 14 = 206 but strictly less than than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.
When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has an opaque block, [[ocelot]], or [[cat]] above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.
;Calculating signal strength from items
:When a container is empty, the output is off.
:When it is not empty, the output signal strength is calculated as follows:
:<code>'''''signal strength''''' = floor(1 + (('''''sum of all slots' fullnesses''''') / ('''''number of slots in container''''')) × 14)</code>
:<code>fullness of a slot = '''''number of items in slot''''' / '''''max stack size for this type of item'''''</code>
:''Example:'' 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 ''full-stack-equivalent.'' This produces an output with a signal strength of 8:
<blockquote>
1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8
</blockquote>
;Calculating items from signal strength
:It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:
:<code>items required = max('''''desired signal strength''''', roundup(('''''total slots in container''''' × 64 / 14) × (desired signal strength − 1)))</code>
:''Example:'' To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:
<blockquote>
max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110
</blockquote>
{{-}}
==== Miscellaneous ====
[[File:Comparator storage.png|Comparators used to measure containers.|thumb]]
Some non-container blocks can also be measured by a redstone comparator:
;{{BlockLink|Beehive}} and {{BlockLink|Bee nest}}
: A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.
;{{BlockLink|Cake}}
: A cake outputs a signal strength relative to the amount of cake remaining. Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.
[[File:Cauldron Redstone Strength Values.png|Cauldron signal strength|thumb]]
;{{BlockLink|Cauldron}}
: A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava or powder snow is inside, the strength is always 3.
[[File:Composter Redstone Strength Values.png|Composter signal strength|thumb]]
;{{BlockLink|Composter}}
: A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.
;{{Anchor|CommandBlock}}{{BlockLink|Command Block}}
: A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the [[command]]'s success conditions: if a red error message is returned in the chat, the command was not successful.
: Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).
: A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).
;{{BlockLink|End Portal Frame}}
: An end portal frame outputs a full signal of 15 if it contains an [[eye of ender]] and zero otherwise.
[[File:Item frame and comparator.png|A comparator can measure the presence and rotation of an item frame's contents.|thumb]]
;{{EntityLink|Item Frame}}
: A comparator can measure the state of an [[item frame]]'s contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.
: For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.
: The comparator must be placed behind the block the item frame is attached to, facing away from the item frame. The block must be a full block, and the item frame cannot be submerged in water. Having a sign in the same block as the item frame will prevent the frame from sending a signal as well.{{only|java}}
;{{BlockLink|Jukebox}}
: A jukebox outputs a signal strength indicating which music disc is currently playing. See the ''Minimum Items for Container Signal Strength'' table above.
;{{BlockLink|Lectern}}
: A lectern outputs a signal strength that depends on what page the player is currently on. The calculation used is:
:<code>'''''signal strength''''' = floor(1 + (('''''current page''''' - 1) / ('''''number of pages in book''''' - 1)) × 14)</code>
:This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which will output a signal strength of 15.
:For example, a book with 15 pages will output a signal equal to the current page number. A book with 5 pages will output signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages will have the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
:
;{{BlockLink|Respawn Anchor}}
: A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.
;{{BlockLink|Sculk Sensor}}
: A sculk sensor outputs a signal strength depending on the type of vibration that is detected.
;{{BlockLink|Chiseled Bookshelf}}
: A chisled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
{{-}}
== Sounds ==
=== Generic ===
{{Edition|Java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}
=== Unique ===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Click.ogg
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to subtraction mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.55
|distance=16}}
{{Sound table
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to comparison mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.5
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Click.ogg
|source=block
|description=When a comparator is set to subtraction mode
|id=block.click
|volume=0.2
|pitch=0.55}}
{{Sound table
|source=block
|description=When a comparator is set to comparison mode
|id=block.click
|volume=0.2
|pitch=0.5
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Comparator
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-comparator
|spritetype=block
|nameid=unpowered_comparator
|id=149
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-comparator
|spritetype=block
|nameid=powered_comparator
|id=150
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-comparator
|spritetype=item
|nameid=comparator
|id=522
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=Comparator
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
=== Block data ===
A redstone comparator has a block entity associated with it that holds additional data about the block.
{{el|je}}:
{{see also|Block entity format}}
{{/BE}}
{{el|be}}:
: See [[Bedrock Edition level format/Block entity format]].
== Advancements ==
{{Load advancements|the power of books}}
== Video ==
<div style="text-align:center">{{yt|J7Z20Zzz3yU}}</div>
== History ==
{{info needed section|If {{bug|MC-50242}} also affected comparators?}}
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||November 24, 2012|link=https://youtube.com/watch?v=YG9RNyRhIow&t=6m56s|[[Jeb]] stated that there may be a "capacitor" in [[Minecraft]]. }}
{{History||December 27, 2012|link={{tweet|Dinnerbone|284388625595125760}}|[[Dinnerbone]] released [https://web.archive.org/web/20190710120115/https://imgur.com/a/FBKed pictures] of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.}}
{{History||January 2, 2013|link={{tweet|Dinnerbone|286428595423965184}}|Dinnerbone released one more [http://dinnerbone.com/media/uploads/2013-01/screenshots/2013-01-02_12.06.47.png picture] of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main [[block]].}}
{{History||1.5|snap=13w01a|[[File:Redstone Comparator (S) JE1.png|32px]] [[File:Powered Redstone Comparator (S) JE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.
|Redstone comparators have 0 delay.
At this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.}}
{{History|||snap=13w01b|A delay of 1 game tick ({{frac|1|2}} redstone tick) has now been added to redstone comparators to fix bugs.
|The ability to measure containers to redstone comparators has now been added.}}
{{History|||snap=13w02a|[[File:Redstone Comparator (S) JE2.png|32px]] [[File:Powered Redstone Comparator (S) JE2.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2.png|32px]] The appearance of redstone comparators has now been changed - the top texture has changed to show [[quartz]] in the middle and the sides now use the [[smooth stone]] texture rather than the smooth stone slab side texture.
|The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 [[item]] in the container.}}
{{History|||snap=13w02b|Redstone comparators now treat large [[chest]]s as a single container.}}
{{History|||snap=13w03a|Redstone comparators now output success count of [[command block]]s.
|Redstone comparators now measure container [[minecart]]s on [[detector rail]]s.}}
{{History|||snap=13w04a|Redstone comparators now measure [[jukebox]]es.}}
{{History|||snap=13w05a|Redstone comparators no longer cause constant [[block]] updates. The delay has now been made consistent, and side input no longer causes a pulse output.
|Block 150 (later <code>powered_comparator</code>) is no longer used; powered state is now represented by the 8s bit on block 149 (later <code>unpowered_comparator</code>).}}
{{History|||snap=13w05b|Redstone comparator delay has now been changed from 1 game tick (1/2 [[redstone]] tick) to 2 game ticks (1 redstone tick).}}
{{History|||snap=13w09c|The redstone signal strength from a redstone comparator next to a [[brewing stand]] with 3 [[water bottle]]s in it is now the same as one with 3 water bottles and 1 ingredient in it.}}
{{History||1.6.1|snap=13w18a|Redstone comparators now measure [[cauldron]]s and [[end portal frame]]s.}}
{{History||1.8|snap=14w04a|Redstone comparators now measure [[item frame]]s.}}
{{History|||snap=14w10a|The torches under redstone comparators have now been shortened, which has changed the underside appearance from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=14w25a|[[File:Redstone Comparator (S) JE3.png|32px]] [[File:Powered Redstone Comparator (S) JE3.png|32px]] [[File:Subtracting Redstone Comparator (S) JE3.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE3.png|32px]] The torches on comparators are now subject to ambient occlusion.
|Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through {{cmd|setblock}}.}}
{{History|||snap=14w25b|[[File:Subtracting Redstone Comparator (S) JE4.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE4.png|32px]] The powered front torch when in subtraction mode is now lower.
|Comparators set to subtract by hand now appear normally again.}}
{{History|||snap=14w28a|Redstone comparators now measure [[cake]]s.}}
{{History||1.9|snap=15w42a|With the addition of the [[blaze powder]] fuel slot, [[brewing stand]]s now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
{{{!}} class{{=}}"wikitable collapsible collapsed" data-description{{=}}"Original values"
! Original values
{{!}}-
{{!}}
*0: 0
*1: 1
*2: 19
*3: 37
*4: 55
*5: 1s 10
*6: 1s 28
*7: 1s 46
*8: 2s
*9: 2s 19
*10: 2s 37
*11: 2s 55
*12: 3s 10
*13: 3s 28
*14: 3s 46
*15: 4s
{{!}}}
}}
{{History|||snap=15w47a|Redstone comparators' side inputs now take power from [[redstone block]]s.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone comparator have now been merged into one ID: <code>comparator</code>.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 149 and 150, and the [[item]]'s 404.
|As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID.}}
{{History||1.14|snap=18w43a|[[File:Redstone Comparator (S) JE4.png|32px]] [[File:Powered Redstone Comparator (S) JE4.png|32px]] [[File:Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|||snap=19w02a|Redstone comparators now measure [[lectern]]s.}}
{{History|||snap=19w03a|Redstone comparators now measure [[composter]]s.}}
{{History|||snap=19w12b|Redstone comparators can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.15|snap=19w34a|Redstone comparators now measure how much honey is inside [[beehive|bee hive]]s and [[bee nest]]s.}}
{{History||1.16|snap=20w06a|The way to calculate the input signals of redstone comparators has now been changed.}}
{{History|||snap=20w11a|The changes to the way of calculating the input signals of redstone comparators from [[Java Edition 20w06a|20w06a]] have now been reverted.}}
{{History|||snap=20w16a|Redstone comparators now measure [[Pigstep music disc]]s in [[jukebox]]es.}}
{{History||1.17|snap=20w45a|Redstone comparators now measure [[lava cauldron]]s.}}
{{History|||snap=20w46a|Redstone comparators now measure [[Cauldron#Holding powder snow|powder snow cauldron]]s.}}
{{History||1.18|snap=21w41a|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.19|snap=22w13a|Redstone comparators now generate as part of [[ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Redstone comparators now measure [[chiseled bookshelves]].}}
{{History||1.20.2|snap=23w33a|Redstone comparators now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Redstone comparators now measure [[end portal frame]]s.}}
{{History||1.0.5|snap=alpha 1.0.5.0|Redstone comparators now output success count of [[command block]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone comparators now measure [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone comparators now measure [[jukebox]]es.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]]}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone comparators now measure [[smoker]]s, [[blast furnace]]s, [[lectern]]s and [[composter]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone comparators now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}
{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Redstone comparators can now measure [[item frame]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] Added redstone comparators.}}
{{History|foot}}
=== Redstone comparator "items" ===
{{:Technical blocks/Redstone Comparator}}
== Issues ==
{{issue list}}
== Trivia ==
* Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.<ref>{{bug|MC-51692|||WAI}}</ref>
== Gallery ==
<gallery>
Dinnerbone Comparator 1.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 2.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 3.png|Dinnerbone showing how comparators work.
Dinnerbone Comparators 1.png|A contraption incorporating comparators.
Dinnerbone Comparators 2.png|Comparators in action.
Dinnerbone Comparators 3.png|Output specific signals.
Dinnerbone Comparator Thing.png|Another comparator in use.
Item Frame Comparator.png|Rotating the torch in the item frame adjusts the comparator's output.
</gallery>
== References ==
{{reflist}}
{{Redstone}}
{{Blocks|Utility}}
{{Items}}
[[Category:Mechanics]]
[[Category:Block entities]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Non-solid blocks]]
[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li><li>[[Boat with Chest|Boat with Chest]]<br/>{{ItemEntity
|image=Oak Boat with Chest.png
|extratext = View [[#Gallery|all renders]]
|stackable=No
|renewable=Yes
|flammable=Yes
|size='''{{IN|Java}}:'''<br>
Height: 0.5625 Blocks<br>Width: 1.375 Blocks<br>
'''{{IN|Bedrock}}:'''<br>
Height: 0.455 Blocks<br>Width: 1.4 Blocks
|networkid='''[[JE]]''': 1
}}
{{for|other kinds of boats|Boat (disambiguation)}}
A '''boat with chest''' is a single [[chest]] occupying the passenger seat of a [[boat]], and functions as such. As it can still be driven it can be used to transport [[item]]s over bodies of water.
== Obtaining ==
A boat with chest can be directly retrieved by attacking it, as it drops itself in item form, along with its contents.
[[Tool]]s and [[weapon]]s with damage above 4 can instantly destroy a boat with chest in one hit.{{only|Java}}
=== Crafting ===
{{Crafting
|head= 1
|Chest
|Matching Boat
|Output= Matching Boat with Chest
|type= Transportation
|foot= 1
}}
== Usage ==
A boat with chest can be used for the transportation of players, mobs and items, or as fuel when [[smelting]].
=== Fuel ===
A boat with chest can be used as fuel in a [[furnace]], it lasts 60 seconds, smelting up to 6 items.
=== Transportation ===
{{main|Boat#Transportation}}
Boats with chests can carry only one entity while regular boats can carry up to two.
== Behavior ==
[[File:All boats with chests.png|alt=This photo shows all the types of boats with chests.|thumb|240px|All types of boats with chests.]]
{{main|Boat#Behavior}}
Boats with chests share most behaviors with boats.
=== Item storage ===
[[File:Boat with Chest GUI.png|thumb|176px|The GUI of a boat with chest.]]
The inventory of the boat with chest has the same amount of slots as a single chest. Its inventory can be accessed by {{Control|Sneak|text=sneaking}} and {{Control|interact|text=interacting}} with the boat with chest, {{control|interact|text=interacting}} with the part of the boat with chest that actually contains the chest while another player or entity is inside the boat, or by opening the player's {{Control|inventory}} while inside the boat. This means that the player cannot access armor slots without exiting the boat.
When a boat with chest moves above, underneath, or beside a [[hopper]], its inventory is filled or drained accordingly. Due to the size of its hitbox, a boat with chest can be placed above up to 9 hoppers, allowing it to evenly split its items nine ways.
=== Naming ===
{{IN|java}}, unlike most other storage devices, a boat with chest renamed in an [[anvil]] does not display the custom name in its GUI.<ref>{{bug|MC-249408||Boats with Chests lose their name when placed}}</ref>
=== Piglin ===
As with other chests, opening or breaking a boat with chest causes nearby piglin(s) to attack the player.
== Sounds ==
{{Edition|Java}}:
Boats with chests use the Friendly Creatures sound category for entity-dependent sound events.
{{Sound table
|sound=Boat paddle land1.ogg
|sound2=Boat paddle land2.ogg
|sound3=Boat paddle land3.ogg
|sound4=Boat paddle land4.ogg
|sound5=Boat paddle land5.ogg
|sound6=Boat paddle land6.ogg
|subtitle=Rowing
|source=neutral
|description=While a boat with chest is rowed on land
|id=entity.boat.paddle_land
|translationkey=subtitles.entity.boat.paddle_land
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Boat paddle water1.ogg
|sound2=Boat paddle water2.ogg
|sound3=Boat paddle water3.ogg
|sound4=Boat paddle water4.ogg
|sound5=Boat paddle water5.ogg
|sound6=Boat paddle water6.ogg
|sound7=Boat paddle water7.ogg
|sound8=Boat paddle water8.ogg
|subtitle=Rowing
|source=neutral
|description=While a boat with chest is rowed in water
|id=entity.boat.paddle_water
|translationkey=subtitles.entity.boat.paddle_water
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}
{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Swim1.ogg
|sound2=Swim2.ogg
|sound3=Swim3.ogg
|sound4=Swim4.ogg
|source=player
|description=While a boat with chest is rowed in water
|id=random.swim
|pitch=0.6-1.4
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Oak Boat with Chest
|spritetype=item
|spritename=oak-boat with chest
|nameid=oak_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Spruce Boat with Chest
|spritetype=item
|spritename=spruce-boat with chest
|nameid=spruce_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Birch Boat with Chest
|spritetype=item
|spritename=birch-boat with chest
|nameid=birch_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Jungle Boat with Chest
|spritetype=item
|spritename=jungle-boat with chest
|nameid=jungle_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Acacia Boat with Chest
|spritetype=item
|spritename=acacia-boat with chest
|nameid=acacia_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Dark Oak Boat with Chest
|spritetype=item
|spritename=dark-oak-boat with chest
|nameid=dark_oak_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Mangrove Boat with Chest
|spritetype=item
|spritename=mangrove-boat with chest
|nameid=mangrove_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Cherry Boat with Chest
|spritetype=item
|spritename=cherry-boat with chest
|nameid=cherry_chest_boat
|itemtags=chest_boats
|form=item}}
{{ID table
|displayname=Bamboo Raft with Chest
|spritetype=item
|spritename=bamboo-raft with chest
|nameid=bamboo_chest_raft
|itemtags=chest_boats
|form=item
|foot=1}}
{{ID table
|edition=java
|firstcolumnname=Boat with Chest
|generatetranslationkeys=y
|displayname=Entity
|spritetype=entity
|spritename=boat-with-chest
|nameid=chest_boat
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Oak Boat with Chest
|spritetype=item
|nameid=oak_chest_boat
|aliasid=chest_boat / 0
|id=646
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.oak.name}}
{{ID table
|displayname=Spruce Boat with Chest
|spritetype=item
|nameid=spruce_chest_boat
|aliasid=chest_boat / 1
|id=649
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.spruce.name}}
{{ID table
|displayname=Birch Boat with Chest
|spritetype=item
|nameid=birch_chest_boat
|aliasid=chest_boat / 2
|id=647
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.birch.name}}
{{ID table
|displayname=Jungle Boat with Chest
|spritetype=item
|nameid=jungle_chest_boat
|aliasid=chest_boat / 3
|id=648
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.jungle.name}}
{{ID table
|displayname=Acacia Boat with Chest
|spritetype=item
|nameid=acacia_chest_boat
|aliasid=chest_boat / 4
|id=650
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.acacia.name}}
{{ID table
|displayname=Dark Oak Boat with Chest
|spritetype=item
|nameid=dark_oak_chest_boat
|aliasid=chest_boat / 5
|id=651
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.big_oak.name}}
{{ID table
|displayname=Mangrove Boat with Chest
|spritetype=item
|nameid=mangrove_chest_boat
|aliasid=chest_boat / 6
|id=652
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.mangrove.name}}
{{ID table
|displayname=Cherry Boat with Chest
|spritetype=item
|nameid=cherry_chest_boat
|aliasid=chest_boat / 8
|id=658
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.cherry.name}}
{{ID table
|displayname=Bamboo Raft with Chest
|spritetype=item
|nameid=bamboo_chest_raft
|aliasid=chest_boat / 7
|id=662
|form=item
|itemtags=minecraft:chest_boat
|translationkey=item.chest_boat.bamboo.name
|foot=1}}
{{ID table
|edition=bedrock
|firstcolumnname=Form
|shownumericids=y
|generatetranslationkeys=y
|displayname=Entity
|spritetype=entity
|spritename=boat-with-chest
|nameid=chest_boat
|id=218
|foot=1}}
=== Entity data ===
Boat with chests have entity data associated with them that contain various properties of the entity.
{{el|java}}:
{{main|Entity format}}
{{/ED}}
{{el|bedrock}}:
: See [[Bedrock Edition level format/Entity format]].
== History ==
{{History||September 23, 2019|link={{ytl|Anv-lZc0pIM}}|The [[swamp]] was announced as a contender for the Biome Vote at [[MINECON Live 2019]]. Frogs, boats with chests, and mangrove trees were announced.}}
{{History||September 28, 2019|link={{ytl|UHoz0Q-LwUU}}|The swamp comes in second place in the Biome Vote, setting the release date of new swamp content further than new mountain content.}}
{{History||October 16, 2021|link={{ytl|w6zLprHHZOk|t=7085}}|[[File:Jungle Boat with Chest (pre-release).png|32px]] [[File:Dark Oak Boat with Chest (pre-release).png|32px]] Boats with chests were announced at [[Minecraft Live 2021]]. Only jungle and dark oak variants were shown.}}
{{History|java}}
{{History||1.19|snap=22w12a|[[File:Oak Boat with Chest JE1.png|32px]] [[File:Spruce Boat with Chest JE1.png|32px]] [[File:Birch Boat with Chest JE1.png|32px]] [[File:Jungle Boat with Chest JE1.png|32px]] [[File:Acacia Boat with Chest JE1.png|32px]] [[File:Dark Oak Boat with Chest JE1.png|32px]] [[File:Mangrove Boat with Chest JE1.png|32px]]<br>[[File:Oak Boat with Chest (item) JE1 BE1.png|32px]] [[File:Spruce Boat with Chest (item) JE1.png|32px]] [[File:Birch Boat with Chest (item) JE1 BE1.png|32px]] [[File:Jungle Boat with Chest (item) JE1 BE1.png|32px]] [[File:Acacia Boat with Chest (item) JE1 BE1.png|32px]] [[File:Dark Oak Boat with Chest (item) JE1 BE1.png|32px]] [[File:Mangrove Boat with Chest (item) JE1 BE1.png|32px]] Added boats with chests.
|Knob on chest is placed incorrectly 1 pixel up.}}
{{History|||snap=22w13a|[[File:Oak Boat with Chest JE2 BE1.png|32px]] [[File:Spruce Boat with Chest JE2 BE1.png|32px]] [[File:Birch Boat with Chest JE2 BE1.png|32px]] [[File:Jungle Boat with Chest JE2 BE1.png|32px]] [[File:Acacia Boat with Chest JE2 BE1.png|32px]] [[File:Dark Oak Boat with Chest JE2 BE1.png|32px]] [[File:Mangrove Boat with Chest JE2 BE1.png|32px]] Changed knob on chest position 1 pixel down to match [[Bedrock Edition]].
|Boats with chests can now be placed by [[dispenser]]s.}}
{{History|||snap=22w14a|Due to the addition of the [[mangrove tree]] and [[mangrove swamp]], make mangrove boat with chest obtainable and renewable.}}
{{History|||snap=22w15a|[[File:Oak Boat with Chest (item) JE2.png|32px]] [[File:Spruce Boat with Chest (item) JE2.png|32px]] [[File:Birch Boat with Chest (item) JE2.png|32px]] [[File:Jungle Boat with Chest (item) JE2.png|32px]] [[File:Acacia Boat with Chest (item) JE2.png|32px]] [[File:Dark Oak Boat with Chest (item) JE2.png|32px]] [[File:Mangrove Boat with Chest (item) JE2.png|32px]] Changed all boat with chest item textures.
|Now, the inventory can be accessed by {{control|using}} it directly when there is already a passenger inside of it.}}
{{History||October 15, 2022|link={{ytl|yZRXmHiEh7U&t}}|[[File:Bamboo Raft with Chest JE1 BE1.png|32px]] Bamboo rafts with chests were announced at [[Minecraft Live 2022]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|[[File:Bamboo Raft with Chest JE1 BE1.png|32px]] [[File:Bamboo Raft with Chest (item) JE1.png|32px]] Added bamboo rafts with chests behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=22w45a|[[File:Bamboo Raft with Chest (item) JE2 BE2.png|32px]] The item texture of the bamboo raft with chest has been changed.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Cherry Boat with Chest JE1.png|32px]] [[File:Cherry Boat with Chest (item) JE1.png|32px]] Added cherry boats with chests behind the [[Java Edition 1.20|Update 1.20 experimental datapack]].}}
{{History|||snap=1.19.4 Pre-release 2|[[File:Cherry Boat with Chest (item) JE2.png|32px]] The item texture of cherry boats with chests has now been changed.}}
{{History||1.20|snap=23w12a|Bamboo rafts with chests and cherry boats with chests are now available without using the "Update 1.20" experimental datapack.}}
{{History|bedrock}}
{{History||Wild Update<br>(Experimental)|link=Bedrock Edition 1.19.0|snap=beta 1.18.30.28|[[File:Oak Boat with Chest JE2 BE1.png|32px]] [[File:Spruce Boat with Chest JE2 BE1.png|32px]] [[File:Birch Boat with Chest JE2 BE1.png|32px]] [[File:Jungle Boat with Chest JE2 BE1.png|32px]] [[File:Acacia Boat with Chest JE2 BE1.png|32px]] [[File:Dark Oak Boat with Chest JE2 BE1.png|32px]]<br>[[File:Oak Boat with Chest (item) JE1 BE1.png|32px]] [[File:Spruce Boat with Chest (item) BE1.png|32px]] [[File:Birch Boat with Chest (item) JE1 BE1.png|32px]] [[File:Jungle Boat with Chest (item) JE1 BE1.png|32px]] [[File:Acacia Boat with Chest (item) JE1 BE1.png|32px]] [[File:Dark Oak Boat with Chest (item) JE1 BE1.png|32px]] Added boats with chests, missing mangrove type.
|Added unused translation keys for mangrove boat with chest.}}
{{History||1.19.0|snap=beta 1.19.0.20|Boats with chests are now available without enabling experimental gameplay.|[[File:Mangrove Boat with Chest JE2 BE1.png|32px]] [[File:Mangrove Boat with Chest (item) JE1 BE1.png|32px]] Added mangrove boats with chests.}}
{{History||1.19.0|snap=beta 1.19.0.26|[[File:Oak Boat with Chest (item) JE2.png|32px]] [[File:Spruce Boat with Chest (item) JE2.png|32px]] [[File:Birch Boat with Chest (item) JE2.png|32px]] [[File:Jungle Boat with Chest (item) JE2.png|32px]] [[File:Acacia Boat with Chest (item) JE2.png|32px]] [[File:Dark Oak Boat with Chest (item) JE2.png|32px]] [[File:Mangrove Boat with Chest (item) JE2.png|32px]] Changed all boat with chest item textures.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|[[File:Bamboo Raft with Chest JE1 BE1.png|32px]] [[File:Bamboo Raft with Chest (item) BE1.png|32px]] Added bamboo rafts with chests behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History|||snap=beta 1.19.60.20|[[File:Bamboo Raft with Chest (item) JE2 BE2.png|32px]] The item texture of the bamboo raft with chest has been changed to match ''[[Java Edition]]''.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|[[File:Cherry Boat with Chest JE1.png|32px]] [[File:Cherry Boat with Chest (item) JE2.png|32px]] Added cherry boats with chests behind the "[[Bedrock Edition 1.20|Next Major Update]]" [[experimental]] toggle.}}
{{History||1.20.0|snap=beta 1.20.0.21|Bamboo rafts with chests and cherry boats with chests are now available without using the "Next Major Update" experimental toggle.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* A [[chest]] is short enough that a boat with chest falls onto it rather than crashes into it.
* The chest texture is 12×12 pixels, rather than the 14×14 pixel texture the block uses. This is not the case with the [[minecart with chest]].
* Despite the minecart with chest using the Christmas texture, the boat with chest still uses the default chest texture during Christmas time.<ref>{{bug|MC-249378}}</ref>
== Gallery ==
=== Renders ===
<gallery>
Oak Boat with Chest.png|Oak Boat with Chest
Spruce Boat with Chest.png|Spruce Boat with Chest
Birch Boat with Chest.png|Birch Boat with Chest
Jungle Boat with Chest.png|Jungle Boat with Chest
Acacia Boat with Chest.png|Acacia Boat with Chest
Dark Oak Boat with Chest.png|Dark Oak Boat with Chest
Mangrove Boat with Chest.png|Mangrove Boat with Chest
Cherry Boat with Chest.png|Cherry Boat with Chest
Bamboo Raft with Chest.png|Bamboo Raft with Chest
Oak Boat with Chest (item) JE2.png|Oak Boat with Chest (item)
Spruce Boat with Chest (item) JE2.png|Spruce Boat with Chest (item)
Birch Boat with Chest (item) JE2.png|Birch Boat with Chest (item)
Jungle Boat with Chest (item) JE2.png|Jungle Boat with Chest (item)
Acacia Boat with Chest (item) JE2.png|Acacia Boat with Chest (item)
Dark Oak Boat with Chest (item) JE2.png|Dark Oak Boat with Chest (item)
Mangrove Boat with Chest (item) JE2.png|Mangrove Boat with Chest (item)
Cherry Boat with Chest (item) JE2.png|Cherry Boat with Chest (item)
Bamboo Raft with Chest (item) JE2 BE2.png|Bamboo Raft with Chest (item)
</gallery>
=== Concept Art ===
<gallery>
Bamboo Raft and Raft with Chest Concept Art.png|Ditto.
</gallery>
== References ==
{{reflist}}
{{Items}}
{{Entities}}
[[Category:In development]]
[[Category:In development Bedrock Edition]]
[[de:Boot mit Truhe]]
[[es:Barca con cofre]]
[[ja:チェスト付きのボート]]
[[ru:Лодка с сундуком]]
[[uk:Човен зі скринею]]
[[zh:运输船]]</li></ul></nowiki> | 18w43a | Tags can now be created for entity types. | |||
1.15{{Extension DPL}}<ul><li>[[Pufferfish (item)|Pufferfish (item)]]<br/>{{DISPLAYTITLE:Pufferfish}}
{{about|the food item|the mob|Pufferfish}}
{{Item
| title = Pufferfish
| image = File:Pufferfish_(item)_JE5_BE2.png
| renewable = Yes
| heals = {{hunger|1}}
| stackable = Yes (64)
|effects=: {{EffectLink|link=Hunger (effect)|Hunger}} III (0:15)
: {{EffectLink|Poison}} II (1:00)
: {{EffectLink|Nausea}} I (0:15){{only|JE}}
: {{EffectLink|Nausea}} II (0:15){{only|BE}}
}}
A '''pufferfish''' is a poisonous [[food]] item that is used to brew [[Potion of Water Breathing|Water Breathing potions]].
== Obtaining ==
=== Fishing ===
Pufferfish can be obtained through [[fishing]]. The pufferfish catch rate can be increased by [[Lure]], which reduces wait time generally.
<!--1-6 exp-->
{{IN|bedrock}}, pufferfish can be caught only when fishing outside [[jungle]] biomes and its variants (i.e. everywhere ''except'' in jungles).
=== Mob loot ===
==== Guardians and elder guardians ====
[[Guardian]]s and [[elder guardian]]s have a 2.5% chance of dropping a random fish upon death. This has a 13% chance of being pufferfish (0.325% chance of dropping a pufferfish). The chance of getting a fish can be increased by 1% per level of [[Looting]], but the type of fish is not affected.
==== Pufferfish ====
[[Pufferfish]] always drop 1 pufferfish in its item form when killed. This drop is not affected by the Looting enchantment.<ref>{{bug|MC-212795||Salmon & Fish mobs are not affected by Looting}}</ref>
== Usage ==
=== Food ===
Pufferfish restores {{hunger|1}} hunger and 0.2 [[Hunger#Mechanics|saturation]], but inflicts [[Hunger_(effect)|Hunger]] III for 15 seconds, [[Poison]] II for 1 minute, and [[Nausea]] I<sup>[''[[Java Edition|JE]] only'']</sup> or II<sup>[''[[Bedrock Edition|BE]] only'']</sup> for 15 seconds. Unlike [[rotten flesh]], it is not helpful to eat pufferfish while starving because they inflict more hunger than they earn.
===Brewing ingredient===
{{brewing
|Pufferfish
|Potion of Water Breathing
|head=1
}}
{{brewing
|Pufferfish
|Mundane Potion
|ingredients=Pufferfish + [[Water Bottle]]
|foot=1
}}
=== Trading ===
Master-level fisherman [[villager]]s buy 1~4{{only|bedrock|short=1}} or four{{only|java|short=1}} pufferfish for an [[emerald]].
=== Wolves ===
{{IN|Bedrock}}, pufferfish can be used to feed a [[wolf]], healing it by {{hp|1|mob=1}}, but only when the wolf is not at full health. Unlike other wolf food, pufferfish cannot be used to speed up the growth of baby wolves, and cannot be used to breed them.
== Sounds ==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Pufferfish
|spritetype=item
|nameid=pufferfish
|itemtags=fishes
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Pufferfish
|spritetype=item
|nameid=pufferfish
|id=267
|form=item
|foot=1}}
== Advancements ==
{{load advancements|A Furious Cocktail;How did we get here;Husbandry;A Balanced Diet;Fishy Business}}
== History ==
{{History|java}}
{{History||1.7.2|snap=13w36a|[[File:Pufferfish (item) JE1.png|32px]] Added pufferfish.
|Added potions of [[Water Breathing]], which can be [[brewing|brewed]] by adding a pufferfish to an [[Awkward Potion]].}}
{{History|||snap=13w43a|[[File:Pufferfish (item) JE2 BE1.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.8|snap=14w25a|Pufferfish is now obtainable as a rare drop from [[guardian]]s and [[elder guardian]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>fish</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 349.}}
{{History|||snap=18w08b|[[Pufferfish]] (and other [[fish]] types) has been added as a [[mob]], which [[drops|drop]] its item form when killed.
|[[File:Pufferfish (item) JE3 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.14|snap=18w43a|[[File:Pufferfish (item) JE4 BE1.png|32px]] The texture of pufferfish has accidentally been reverted.}}
{{History|||snap=18w43b|[[File:Pufferfish (item) JE5 BE2.png|32px]] The correct texture of pufferfish has been restored.}}
{{History|||snap=19w11a|Fisherman [[villager]]s now [[trading|buy]] pufferfish.}}
{{History||1.16.2|snap=Pre-release 2|The level of [[Nausea]] given by pufferfish has been reduced from II to I.<ref>{{bug|MC-196473}}</ref>}}
{{History||1.17|snap=20w46a|The level of [[Poison]] given by pufferfish has been reduced from IV to II.<ref>{{bug|MC-197276}}</ref>}}
{{History|pocket alpha}}
{{History||v0.11.0|snap=build 1|[[File:Pufferfish (item) JE2 BE1.png|32px]] Added pufferfish.}}
{{History||v0.12.1|snap=build 1|Pufferfish now restore [[hunger]] instead of [[health]].
|Pufferfish can now be used to make [[potion]] of Water Breathing.}}
{{History||v0.16.0|snap=build 1|Pufferfish is now dropped by [[guardian]]s and [[elder guardian]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|[[Pufferfish]] has been added as a [[mob]], which [[drops|drop]] its [[item]] form when killed.
|[[File:Pufferfish (item) JE5 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History||1.8.0|snap=beta 1.8.0.8|Pufferfish can now be used to feed [[ocelot]]s to gain their trust.}}
{{History||1.11.0|snap=beta 1.11.0.4|Pufferfish can now be [[trading|sold]] to fisherman [[villager]]s.}}
{{History||1.19.10|snap=beta 1.19.10.23|The strength of the [[poison]] effect has been decreased from IV to II.}}
{{History|console}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|[[File:Pufferfish (item) JE2 BE1.png|32px]] Added pufferfish.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[Pufferfish]] (and other [[fish]] types) has been added as a [[mob]], which [[drops|drop]] its [[item]] form when killed.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Pufferfish (item) JE5 BE2.png|32px]] The texture of pufferfish has been changed.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* The consumption of pufferfish inflicting the player with Nausea and Poison is based on reality. Real pufferfish contain the dangerous [[Wikipedia:Tetrodotoxin|tetrodotoxin]] within their organs, especially in the liver. Tetrodotoxin leads to quick death through respiratory paralysis. Muscle tissue and blood contain trace amounts. In East Asia, pufferfish are considered a delicacy known as [[Wikipedia:Fugu|fugu]], as small parts of the fish are actually edible. Any chef preparing fugu must have special licensing/certification to prepare this dish.
== Gallery ==
<gallery>
File:Eat Pufferfish.png|The result of eating pufferfish.
</gallery>
== See also ==
* [[Fishing]]
== References ==
{{Reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--pufferfish Taking Inventory: Pufferfish] – Minecraft.net on October 14, 2020
{{items}}
[[cs:Čtverzubec]]
[[de:Kugelfisch (Nahrung)]]
[[es:Pez globo (objeto)]]
[[fr:Poisson (nourriture)]]
[[it:Pesce palla (oggetto)]]
[[ja:フグ (アイテム)]]
[[ko:복어 (아이템)]]
[[nl:Kogelvis]]
[[pl:Rozdymka]]
[[pt:Baiacu (item)]]
[[ru:Иглобрюх (предмет)]]
[[th:ปลาปักเป้า (ไอเทม)]]
[[tr:Kirpi balığı]]
[[zh:河豚(物品)]]
[[Category:Food]]
[[Category:Brewing recipe]]
[[Category:Renewable resources]]</li><li>[[Potion|Potion]]<br/>{{about|the drinkable potions|the throwable potions|Splash Potion|the throwable potions that leave a lingering area of effect|Lingering Potion}}
{{Redirect|Potion of Water Breathing|the potion in Minecraft Dungeons|MCD:Potion of Water Breathing}}{{About|the mechanics of potions|instructions on how to brew potions, and their recipes|Brewing}}{{update|The texture for ''[[Bedrock Edition]]'' is different, please add it.
Some potions texture/color was changed as of 1.19.4 pre-release 3, please add them.}}
{{Item
| image = Water Bottle.png
| extratext = View [[#Potions|all potions]]
| renewable = '''Uncraftable, Luck{{only|je|short=y}}, Decay{{only|be|short=y}}''': No<br>'''All others''': Yes
| stackable = BE: No<br/>JE: No{{until|Java Combat Tests}}<br>Yes (16){{upcoming|Java Combat Tests}}
}}'''Potions''' are bottled substances designed to inflict [[effects]]. They are created by [[brewing]] and when drunk give the player an [[effect]] for a limited time. All potions are brewed from a '''water bottle''', which is considered a type of potion but has no effects.
== Obtaining ==
=== Mob loot ===
==== Witches ====
[[Witch]]es can drop potions of Healing, Fire Resistance, Swiftness, or Water Breathing if they die while drinking that potion.
==== Wandering traders ====
[[Wandering trader]]s have a chance to drop a Potion of Invisibility if they die while drinking the potion.
=== Fishing ===
[[Water bottle]]s can be [[fishing|fished]] up as junk items.
=== Brewing ===
{{main|Brewing}}
Almost all potions are obtained by [[brewing]].
The Potion of Luck{{only|java|short=1}} and the Potion of Decay{{only|bedrock|short=1}} cannot be brewed. A command to give a Luck Potion is {{cmd|give @s minecraft:potion{Potion:luck} }}, while a Potion of Decay can be obtained via {{cmd|give @s potion 1 36}}. Both are also available in the [[creative inventory]].
=== Chest loot ===
Two Health II potions can be found in the brewing stand on ships in [[end cities]], and one splash potion of Weakness can be found in a brewing stand in [[igloo]] basements.
{{In|Bedrock}}, the cauldron in a [[swamp hut]] contains a random potion.
{{LootChestItem|potion-of-regeneration,potion-of-water-breathing,potion-of-healing}}
=== Bartering ===
[[Piglin]]s may [[barter]] a potion or a splash potion of Fire Resistance when given a [[gold ingot]].
== Usage ==
Potions are used by pressing and holding {{control|use}} with the potion bottle in hand, as with all consumable items. When drunk they bestow the corresponding [[status effect]] to the player.
Drinking a potion while already under the effects of the same potion does not add onto the effect's duration, but simply resets it. A potion effect does not "downgrade" if a lower level is activated. For example, if a [[player]] has [[Regeneration]] II, drinking a regular potion of Regeneration does not have any effect.
Using a potion on a cauldron does not transfer the potion to the cauldron, but begins to play the drinking animation.{{only|java|short=1}}
=== Modifiers ===
{{main|Brewing}}
Potions can be modified in five ways.
# Brewing [[glowstone dust]] into certain potions will ''enhance'' their level of effect.
# Adding [[redstone]] will ''extend'' the duration of the effect.
# Brewing [[gunpowder]] into a potion makes it into a ''splash'' potion (area effect).
# Adding [[dragon's breath]] to a splash potion creates a [[lingering potion]] (area effect that lingers on the ground).
# Brewing a [[fermented spider eye]] into specific potions modifies their effect, usually inverting it, which is referred to as "corruption".
The modifications of Enhancement and Extension are mutually exclusive.
Enhancing most potions trades some of its duration for a bigger effect. For example, the base Regeneration works for 44 seconds whereas Regeneration II lasts for only 22 seconds but heals more per tick during that time.
Extending a potion generally makes it last {{frac|8|3}} as long as its base potion, so a duration of 3 minutes becomes 8 minutes.
==== Corruption ====
The usual result of corruption is to invert the potion's effect (for example Swiftness becomes Slowness). Interestingly, corrupting Poison (continuous damage effect) creates a Potion of Harming, an instant damage effect, instead of the continuous healing effect (regeneration) one would normally expect. Corrupting a Potion of Night Vision turns it into a Potion of Invisibility rather than an inverse effect that might be something like blindness.
Corrupting an extended or enhanced potion results in a corrupted potion with the same modifier, if it is supported by the corrupted effect. All of the "corrupted" potions except Harming can be extended, but it is the only one that can be enhanced. {{IN|bedrock}}, the corruption of Healing II or Poison II potions results in a potion of Harming I.
=== Base potions ===
Base potions are potions that have no effect when the player drinks them, but are necessary as the basis for other potions.
{| class="wikitable col-1-center col3-left" data-description="Base potions"
! Icon
! Name
! Use
|-
| {{Slot|Water Bottle|link=none}}
! Water Bottle
| the base for the Awkward Potion and Potions of Weakness
|-
| rowspan="3"| {{Slot|Water Bottle|link=none}}
! Awkward Potion
| The base for all other effect potions
|-
! Mundane Potion
| Only usable as an alternative base for Potion of Weakness{{only|bedrock}}
|-
! Thick Potion
| No use
|}
=== Effect potions ===
==== Potions with positive effects ====
{| class="wikitable col-1-center" data-description="Positive potions"
! Icon
! Name
! Duration
! Effect
! Description
|-
| rowspan="3" | {{Slot|Potion of Regeneration|link=none}}
! {{text anchor|Potion of Regeneration}}
| 0:45
| rowspan="3" | {{EffectLink|Regeneration}}
| Restores {{hp|18}} health over time, {{hp|1}} every 50 [[tick]]s (2.5 seconds).
|-
! Potion of Regeneration +
| 1:30{{only|java|short=1}}<br>2:00{{only|bedrock|short=1}}
| Restores {{hp|36}}{{only|java|short=1}} or {{hp|48}}{{only|bedrock|short=1}} health over time, {{hp|1}} every 50 ticks (2.5 seconds).
|-
! Potion of Regeneration II
| 0:22.5
| Restores {{hp|18}} health over time, {{hp|1}} every 25 ticks (1.25 seconds).
|-
| rowspan="3" | {{Slot|Potion of Swiftness|link=none}}
! {{text anchor|Potion of Swiftness}}
| 3:00
| rowspan="3" | {{EffectLink|Speed}}
| rowspan="2" | Increases speed and jump distance by 20% and increases FOV (6.6 meters per second sprinting).
|-
! Potion of Swiftness +
| 8:00
|-
! Potion of Swiftness II
| 1:30
| Increases speed and jump distance by 40% and increases FOV (8 meters per second sprinting).
|-
| rowspan="2" | {{Slot|Potion of Fire Resistance|link=none}}
! {{text anchor|Potion of Fire Resistance}}
| 3:00
| rowspan="2" | {{EffectLink|Fire Resistance}}
| rowspan="2" | Gives immunity to all heat-related damage.
|-
! Potion of Fire Resistance +
| 8:00
|-
| rowspan="2" | {{Slot|Potion of Healing|link=none}}
! {{text anchor|Potion of Healing}}
| Instant
| rowspan="2" | {{EffectLink|Instant Health}}
| Restores {{hp|4}} health.
|-
! Potion of Healing II
| Instant
| Restores {{hp|8}} health. (doubles with every additional level)
|-
| rowspan="2" | {{Slot|Potion of Night Vision|link=none}}
! {{text anchor|Potion of Night Vision}}
| 3:00
| rowspan="2" | {{EffectLink|Night Vision}}
| rowspan="2" | Visually brightens everything to a light level of 15, brightens up water with a blue shine, brightens up lava with an orange shine (other players cannot see the enhanced lighting without this effect).
|-
! Potion of Night Vision +
| 8:00
|-
| rowspan="3" | {{Slot|Potion of Strength|link=none}}
! {{text anchor|Potion of Strength}}
| 3:00
| rowspan="3" | {{EffectLink|Strength}}
| rowspan="2" | Increases melee damage by {{hp|3}}.{{only|java}}<br>Increases melee damage by 30% of the base damage and {{Hp|1}}.{{only|bedrock}}
|-
! Potion of Strength +
| 8:00
|-
! Potion of Strength II
| 1:30
| Increases melee damage by {{hp|6}} (+ {{hp|3}} per tier).{{only|java}}<br>Increases melee damage by 69% of the base damage and {{Hp|1.3}}.
For each level: (<math>BaseDamage\times1.3^{level}+{1.3^{level}-1\over0.3}</math>){{only|bedrock}}
|-
| rowspan="3" | {{Slot|Potion of Leaping|link=none}}
! {{text anchor|Potion of Leaping}}
| 3:00
| rowspan="3" | {{EffectLink|Jump Boost}}
| rowspan="2" | Allows the player to jump {{frac|1|2}} blocks higher and reduces fall damage.
|-
!Potion of Leaping +
| 8:00
|-
! Potion of Leaping II
| 1:30
| Further increases jump height to {{frac|2|1|2}} blocks and further reduces fall damage.
|-
| rowspan="2" | {{Slot|Potion of Water Breathing|link=none}}
! style="white-space:nowrap" | {{text anchor|Potion of Water Breathing}}
| 3:00
| rowspan="2" | {{EffectLink|Water Breathing}}
| rowspan="2" | Allows the entity to swim without drowning or needing to surface for air. The oxygen bar does not decrease when underwater.
|-
! Potion of Water Breathing +
| 8:00
|-
| rowspan="2" | {{Slot|Potion of Invisibility|link=none}}
! {{text anchor|Potion of Invisibility}}
| 3:00
| rowspan="2" | {{EffectLink|Invisibility}}
| rowspan="2" |
Makes player disappear from view. Mobs can detect and track the player only at close range, although the range increases when the player wears armor. The splash version make mobs or other players invisible. Some items are unaffected and so remain visible. These include: armor, items held in hand, arrows stuck into the player, a [[pig]]'s saddle, a [[llama]]'s carpet pattern, a [[shulker]]'s yellow head, and the glowing eyes of [[spider]]s, [[Phantom|phantoms]], and [[enderman|endermen]].
|-
! Potion of Invisibility +
| 8:00
|-
| rowspan="2" | {{Slot|Potion of Slow Falling|link=none}}
! {{text anchor|Potion of Slow Falling}}
| 1:30
| rowspan="2" | {{EffectLink|Slow Falling}}
| rowspan="2" | The mob/player falls at a much slower rate, and damage from hitting the ground is reduced to zero. A sprinting leap of almost 6 blocks becomes possible and farmland is not affected by the player falling onto it.
|-
! Potion of Slow Falling +
| 4:00
|-
| {{Slot|Potion of Luck|link=none}}
! {{text anchor|Potion of Luck}}<br>{{only|java|short=1}}{{only|Console|short=1}}
| 5:00
| {{EffectLink|Luck}}
| Increases the luck [[Attribute#Attributes for players|attribute]] by 1 point.
|}
==== Potions with negative effects ====
{| class="wikitable col-1-center" data-description="Negative potions"
! Icon
! Name
! Duration
! Effect
! Description
|-
| rowspan="3" | {{Slot|Potion of Poison|link=none}}
! {{text anchor|Potion of Poison}}
| 0:45
| rowspan="3" | {{EffectLink|Poison}}
| Causes up to {{hp|36|poisoned=1}} damage over time at a rate of 1 every 50 ticks, but does not reduce health below {{hp|1}}.
|-
! Potion of Poison +
| 1:30
| Causes up to {{hp|72|poisoned=1}}{{only|java|short=1}} or {{hp|96|poisoned=1}}{{only|bedrock|short=1}} damage over time, but does not reduce health below {{hp|1}}.
|-
! Potion of Poison II
| 0:21.6{{only|java|short=1}}<br>0:22.5{{only|bedrock|short=1}}
| Causes up to {{hp|38|poisoned=1}} damage over time, but does not reduce health below {{hp|1}}.
|-
| rowspan="2" | {{Slot|Potion of Weakness|link=none}}
! {{text anchor|Potion of Weakness}}
| 1:30
| rowspan="2" | {{EffectLink|Weakness}}
| rowspan="2" | Reduces melee damage by {{hp|4}}.{{only|java}}<br>Reduces melee damage by 20% of the base damage and {{hp|0.5}}.{{only|bedrock}}
|-
! Potion of Weakness +
| 4:00
|-
| rowspan="3" | {{Slot|Potion of Slowness|link=none}}
! {{text anchor|Potion of Slowness}}
| 1:30
| rowspan="3" | {{EffectLink|Slowness}}
| rowspan="2" | Slows players and mobs by 15%, to about 4.75 blocks per second sprinting.
|-
! Potion of Slowness +
| 4:00
|-
! Potion of Slowness IV<!--The IV is correct, it is not Slowness II-->
| 0:20
| Slows players and mobs by 60%, to about 2.25 blocks per second sprinting.
|-
| rowspan="2" |{{Slot|Potion of Harming|link=none}}
! {{text anchor|Potion of Harming}}
| Instant
| rowspan="2" | {{EffectLink|Instant Damage}}
| Damages {{hp|6}}.
|-
! Potion of Harming II
| Instant
| Damages {{hp|12}}. (doubles with every additional level)
|-
| {{Slot|Potion of Decay|link=none}}
! Potion of Decay<br>{{only|bedrock|short=1}}{{Anchor|Potion of Decay}}
| 0:40
| {{EffectLink|Wither|link=Wither (status effect)}}
| Damages {{hp|1|withered=1}} every second, making a total of {{hp|40|withered=1}} damage
|}
==== Potions with mixed effects ====
{| class="wikitable col-1-center col-2-center" data-description="Base potions"
! Icon
! Name
! Duration
! Effect
! Description
|-
| rowspan="3" | {{Slot|Potion of the Turtle Master|link=none}}
! {{text anchor|Potion of the Turtle Master}}
| style="text-align:center" | 0:20
| rowspan="3" | {{EffectLink|Slowness}}<br>{{EffectLink|Resistance}}
| rowspan="2" | Slows players and mobs by 60%, to about 2.25 blocks per second sprinting, and reduces their damage taken by 60%.
|-
! Potion of the Turtle Master +<br>
| 0:40
|-
! Potion of the Turtle Master II<br>
| 0:20
| Slows players and mobs by 90%, to about 0.5625 blocks per second sprinting, and reduces their damage taken by 80%.
|}
=== Uncraftable potion ===
{{IN|java}}, the Uncraftable Potion is a potion with no effect that is unobtainable in regular gameplay.
It is also available in splash potion and lingering potion forms, as well as for tipped arrows.
It can be obtained using the following command: {{cmd|give @s minecraft: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
! Effect
|-
| {{Slot|Uncraftable Potion|link=none}}
! Uncraftable Potion
| No effect
|}
=== Joke potions===
====[[Java Edition 15w14a]]====
{| class="wikitable col-1-center col-2-center" data-description="Base potions"
!Icon
!Name
!Duration
!Effect
! Description
|-
|{{Slot|Potion of Slowness Revision 1|link=none}}
!{{text anchor|Potion of Caring}}
| style="text-align:center" |Instant
|{{EffectLink|id=Slowness Revision 1|Caring}}
| rowspan="3" |Changes the mob AI to move toward the nearest mob as if it were to attack it.
|-
| rowspan="2" |{{Slot|Potion of Poison Revision 1|link=none}}
!{{text anchor|Potion of Caring}}
| style="text-align:center" |Instant
| rowspan="2" | {{EffectLink|id=Poison Revision 1|Caring}}
|-
! {{text anchor|Potion of Caring II}}
| style="text-align:center" |Instant
|-
| rowspan="2" |{{Slot|Potion of Weakness Revision 1|link=none}}
!{{text anchor|Potion of Sharing}}
| style="text-align:center" |1:30
| rowspan="2" |{{EffectLink|id=Weakness Revision 1|Sharing}}
| rowspan="2" |Drops items in a random amount of time, ranging from food to rare items like [[saddle]]s or [[diamond]]s.
|-
!{{text anchor|Potion of Sharing +}}
| style="text-align:center" |4:00
|}
==== [[Java Edition 23w13a_or_b]]====
{{Empty section}}
===Undead mobs===
The effects given by Potions of Healing and Harming are opposite on undead mobs, which includes skeletons and zombies. Potions of Healing cause harm, and Harming heals them. In addition, undead mobs are not affected by Poison or Regeneration.
{{IN|bedrock}}, hitting an undead mob with a Regeneration Potion will always register as Regeneration I, no matter the level of the used potion.
===Mud conversion===
Using a water bottle, splash water bottle, or lingering water bottle on [[dirt]], [[coarse dirt]], or [[rooted dirt]] will convert it into [[mud]], returning a glass bottle with it. This process can be automated with a [[dispenser]].
===Filling cauldrons with Potions===
{{IN|Bedrock|Legacy Console}} potion bottles may be used on a cauldron to fill it. Using a glass bottle on a cauldron filled with a potion drains it and fills the bottle. Potions cannot be combined in a cauldron, nor can they be mixed with water, but as an added bonus if you use a stack of arrows in a full cauldron you get a stack of tipped arrows. for 1 layer you get 16, 2 layers 32.
==Custom effects==
{{IN|java}}, potions can also be obtained with any status effect using {{cmd|give}} and the tag <code>CustomPotionEffects</code>, which is an array of effects for the potion. See [[Item format#Potion Effects]] for more information, and [[status effect]] for a list of effects and IDs.
==Sounds==
{{edition|java}}:
{{Sound table
|sound=Drink.ogg
|subtitle=Sipping
|source=player
|description=While a player is drinking a potion
|id=entity.generic.drink
|translationkey=subtitles.entity.generic.drink
|volume=0.5
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Witch drink1.ogg
|sound2=Witch drink2.ogg
|sound3=Witch drink3.ogg
|sound4=Witch drink4.ogg
|subtitle=Witch drinks
|source=hostile
|description=When a witch drinks a potion
|id=entity.witch.drink
|translationkey=subtitles.entity.witch.drink
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Wandering trader drink potion.ogg
|sound2=Drink.ogg
|subtitle=Wandering Trader drinks potion
|source=neutral
|description=While a [[wandering trader]] is drinking a potion to become invisible during nighttime
|id=entity.wandering_trader.drink_potion
|translationkey=subtitles.entity.wandering_trader.drink_potion
|volume=''varies'' <ref group=sound>0.35 for the first sound, 0.325 for the second sound</ref>
|pitch=0.9-1.0
|distance=16}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|subtitle=Bottle empties
|source=block
|description=When a water bottle is emptied
|id=item.bottle.empty
|translationkey=subtitles.item.bottle.empty
|volume=1.0
|pitch=1.0
|distance=16}}
{{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=block
|description=When a water bottle is filled
|id=item.bottle.fill
|translationkey=subtitles.item.bottle.fill
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Drink.ogg
|source=player
|description=When a player drinks a potion
|id=random.drink
|volume=0.35
|pitch=0.9-1.1}}
{{Sound table
|sound=Witch drink1.ogg
|sound2=Witch drink2.ogg
|sound3=Witch drink3.ogg
|sound4=Witch drink4.ogg
|source=hostile
|description=When a witch drinks a potion
|id=mob.witch.drink
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Wandering trader drink potion.ogg
|sound2=Drink.ogg
|source=neutral
|description=When a wandering trader drinks a potion to become invisible during nighttime
|id=mob.wanderingtrader.drink_potion
|volume=''varies'' <ref group=sound>0.7 for the first sound, 0.65 for the second sound</ref>
|pitch=0.8-1.2}}
{{Sound table
|rowspan=4
|sound=Water Splash Old.ogg
|source=block
|description=When a potion is placed in a cauldron<wbr><ref group=sound name=potionsplash>{{Bug|MCPE-174867}}</ref>
|id=cauldron.fillpotion
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When a potion is taken from a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.takepotion
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When water from a bottle is placed in a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.fillwater
|volume=0.1
|pitch=1.0}}
{{Sound table
|source=block
|description=When water from a bottle is taken from a cauldron<wbr><ref group=sound name=potionsplash/>
|id=cauldron.takewater
|volume=0.1
|pitch=1.0}}
{{Sound table
|sound=Bottle empty1.ogg
|sound2=Bottle empty2.ogg
|source=sound<!--bottle-->
|description=When a water bottle or potion is emptied<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.empty
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Bottle fill water1.ogg
|sound2=Bottle fill water2.ogg
|sound3=Bottle fill water3.ogg
|sound4=Bottle fill water4.ogg
|source=sound<!--bottle-->
|description=When a water bottle or potion is filled<wbr>{{Upcoming|BE 1.20.40}}
|id=bottle.fill
|volume=1.0
|pitch=1.0
|foot=1}}
==Data values==
===ID===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Potion
|spritetype=item
|nameid=potion
|form=item
|translationkey=item.minecraft.potion,item.minecraft.potion.effect.empty,item.minecraft.potion.effect.water,item.minecraft.potion.effect.mundane,item.minecraft.potion.effect.thick,item.minecraft.potion.effect.awkward,item.minecraft.potion.effect.night_vision,item.minecraft.potion.effect.invisibility,item.minecraft.potion.effect.leaping,item.minecraft.potion.effect.fire_resistance,item.minecraft.potion.effect.swiftness,item.minecraft.potion.effect.slowness,item.minecraft.potion.effect.water_breathing,item.minecraft.potion.effect.healing,item.minecraft.potion.effect.harming,item.minecraft.potion.effect.poison,item.minecraft.potion.effect.regeneration,item.minecraft.potion.effect.strength,item.minecraft.potion.effect.weakness,item.minecraft.potion.effect.levitation,item.minecraft.potion.effect.luck,item.minecraft.potion.effect.turtle_master,item.minecraft.potion.effect.slow_falling
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Potion
|spritetype=item
|nameid=potion
|id=426
|form=item
|translationkey=potion.emptyPotion.name,potion.mundane.name,potion.mundane.extended.name,potion.thick.name,potion.awkward.name,potion.nightVision.name,potion.invisibility.name,potion.jump.name,potion.fireResistance.name,potion.moveSpeed.name,potion.moveSlowdown.name,potion.heal.name,potion.harm.name,potion.poison.name,potion.regeneration.name,potion.damageBoost.name,potion.weakness.name,potion.wither.name,potion.turtleMaster.name,potion.slowFalling.name
|foot=1}}
=== Metadata===
{{IN|bedrock}}, potions use the following item data values to indicate the kind of potion:
{{/DV}}
===Item data===
====Java Edition====
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Potion}}
</div>
Normal potions use an NBT "Potion" tag to indicate the potion type. The values of the tag (to be prefixed with <code>minecraft:</code>) are:
{| class="wikitable sortable" style="text-align: center;" data-description="Potion NBT data"
!Potion
! Regular
!Level II
!Extended +
|-
| Uncraftable Potion
|anything except the below
|–
|–
|-
|Water Bottle
|{{code|water}}
|–
|–
|-
|Mundane Potion
|{{code|mundane}}
|–
|–
|-
| Thick Potion
|{{code|thick}}
|–
|–
|-
|Awkward Potion
|{{code|awkward}}
|–
|–
|-
| Night Vision
|{{code|night_vision}}
|–
|{{code|long_night_vision}}
|-
|Invisibility
|{{code|invisibility}}
|–
|{{code|long_invisibility}}
|-
|Leaping
|{{code|leaping}}
|{{code|strong_leaping}}
|{{code|long_leaping}}
|-
|Fire Resistance
|{{code|fire_resistance}}
|–
|{{code|long_fire_resistance}}
|-
|Swiftness
|{{code|swiftness}}
|{{code|strong_swiftness}}
|{{code|long_swiftness}}
|-
|Slowness
|{{code|slowness}}
|{{code|strong_slowness}}
|{{code|long_slowness}}
|-
|Water Breathing
|{{code|water_breathing}}
|–
|{{code|long_water_breathing}}
|-
| Instant Health
|{{code|healing}}
|{{code|strong_healing}}
|–
|-
| Harming
|{{code|harming}}
|{{code|strong_harming}}
|–
|-
|Poison
|{{code|poison}}
|{{code|strong_poison}}
|{{code|long_poison}}
|-
|Regeneration
|{{code|regeneration}}
|{{code|strong_regeneration}}
| {{code|long_regeneration}}
|-
|Strength
|{{code|strength}}
| {{code|strong_strength}}
|{{code|long_strength}}
|-
|Weakness
|{{code|weakness}}
|–
|{{code|long_weakness}}
|-
|Luck
|{{code|luck}}
|–
|–
|-
|The Turtle Master
|{{code|turtle_master}}
|{{code|strong_turtle_master}}
|{{code|long_turtle_master}}
|-
| Slow Falling
|{{code|slow_falling}}
|–
|{{code|long_slow_falling}}
|}
====Bedrock Edition====
:See [[Bedrock Edition level format/Item format]].
==Achievements==
{{load achievements|Local Brewery|Taste of your own Medicine}}
==Advancements==
{{Load advancements|Local Brewery;A Furious Cocktail;How Did We Get Here?;Husbandry}}
==History==
{{Info needed section|Potion of Weakness;Uncraftable Potion texture in JE 1.11}}
{{History|java beta}}
{{History||July 7, 2010|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/779956568/the-rationale-for-redstone|[[Brewing|Alchemy]] was first hinted by [[Notch]] when he explained why [[redstone ore]] disintegrates into "[[redstone|dust]]". He states that dust would be used later in potions.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 2|[[Jeb]] tweeted a screenshot showing potion durations and [[glass bottle]]s.<ref>{{tweet|jeb|118681103350501376|This will probably ->NOT<- be included in Beta 1.9, but it's a nice screenshot: http://i.imgur.com/oK2tE.png |September 28, 2011}}</ref>
|Potions are [[brewing|brewed]] using [[cauldron]]s<ref>{{tweet|jeb|119466949708222465|Potions are delayed because *add to cauldron, pick up, look at tooltip, pour back into cauldron, repeat* was extremely tedious|September 30, 2011}}</ref> by combining ingredients and other potions in cauldrons. Cauldrons, although they are functional and can be used to brew potions, are unavailable in this update.
|In total, there are 161 possible potion combinations and 2,653 different types of potions.<ref>{{tweet|jeb|120520408792432641|In the prerelease, there are 161 brewable unique potions. Unless we change it, there are 2,653 with all ingredients added.|October 3, 2011}}</ref>
|[[Jeb]] later tweeted that both [[Notch]] and he had come up with a different way to [[brewing|brew]] potions, which was revealed to be [[brewing stand]]s.<ref>{{tweet|jeb|119710836469149697|A quick discussion with @notch led me in on a new way of doing the potion brewing. Cauldron is out...|September 30, 2011}}</ref>}}
{{History|||snap=Beta 1.9 Prerelease 3|[[Brewing stand]]s have been implemented, which has replaced the (previously unimplemented) [[cauldron]]s' [[brewing]] functionality, so potions are now obtainable without mods. Potions Brewed in the previous version will now be glitched. Water Bottles have been added.}}
{{History||1.3.1|snap=12w21b|[[File:Water Bottle JE1 BE1.png|32px]] Water bottles have been added to the [[Creative inventory]].}}
{{History||1.3.1|snap=12w22a|[[File:Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Potion of Swiftness JE1 BE1.png|32px]] [[File:Potion of Slowness JE1 BE1.png|32px]] [[File:Potion of Healing JE1 BE1.png|32px]] [[File:Potion of Harming JE1 BE1.png|32px]] [[File:Potion of Poison JE1 BE1.png|32px]] [[File:Potion of Regeneration JE1 BE1.png|32px]] [[File:Potion of Strength JE1 BE1.png|32px]] [[File:Potion of Weakness JE1 BE1.png|32px]] Potions have been added to the [[Creative]] [[inventory]]. This includes extended-enhanced potions with both extended duration and enhanced effect for four potion effects.}}
{{History||1.4.2|snap=12w32a|[[File:Potion of Night Vision JE1 BE1.png|32px]] Added potion of [[Night Vision]]. However, it is [[brewing|unbrewable]] at the time.}}
{{History|||snap=12w38a|Added Healing and Harming potions to the Creative inventory.}}
{{History||1.5|snap=?|Extended-enhanced potions are no longer available in the Creative inventory for all four potion effects. {{info needed}}{{verify}}<!--only checked v1.4.7 and v1.5.2, but did not check any version in between, please check all-->}}
{{History|||snap=12w34a|[[File:Potion of Invisibility JE1 BE1.png|32px]] Added potions of [[Invisibility]].
|Potions of Night Vision are now [[brewing|brewable]].}}
{{History|||snap=12w38a|[[Witch]]es now cast potions at [[player]]s and can rarely [[drops|drop]] potions upon [[death]].}}
{{History|||snap=12w39a|Potions are now customizable using NBT editors or MCEdit.}}
{{History||1.6.1|snap=?|Potions of [[Weakness]] now reduce [[damage]] by half hearts, instead of 1 heart as it was before.}}
{{History|||snap=13w23a|Potions of [[Healing]] and [[Regeneration]] have been nerfed (by 33.3% and 50%).}}
{{History||1.7.2|snap=13w36a|[[File:Potion of Water Breathing JE1 BE1.png|32px]] Added potions of [[Water Breathing]].
|[[Water bottle]]s can now be obtained as one of the "junk" [[item]]s from [[fishing]].}}
{{History||1.8|snap=14w27a|[[File:Potion of Leaping JE1 BE1.png|32px]] Added potions of [[Leaping]].}}
{{History||1.8.1|snap=pre1|Potion of Leaping can now be extended.}}
{{History||1.9|snap=15w31a|Numeric IDs are no longer used for potions. Instead, an NBT "Potion" [[tag]] is used, e.g. {{cmd|give @p minecraft:potion 1 0 {Potion:"minecraft:swiftness"} }}. See [[/Before 1.9|here]] for the old numeric IDs. This means the order of potion effects have changed in the Creative inventory.
|Splash potions now have a separate data value and ID name.
|[[File:Water Bottle JE1 BE1.png|32px]] [[File:Water Bottle JE1 BE1.png|32px]] [[File:Water Bottle JE1 BE1.png|32px]] Added Mundane, Thick and Awkward potions to the [[creative]] [[inventory]].
|Mixed potions' colors now blend.}}
{{History|||snap=15w33a|Added [[lingering potion]]s, which are [[brewing|brewed]] with [[splash potion]]s and [[dragon breath]] after splash potions are brewed with potions and [[gunpowder]].
|The duration of potions of [[Poison]] has been extended, the duration of potions of [[Regeneration]] has been extended, and the duration of potions of [[Poison]] II has been reduced.
|Potion of [[Strength]] has been changed from 130% increase to 3-point increase.
|Potion of [[Weakness]] has been changed to 4-point decrease, was 0.5-point decrease.}}
{{History|||snap=15w44b|[[File:Uncraftable Potion JE1.png|32px]] Added the uncraftable potion.
|[[File:Potion of Luck JE1.png|32px]] Added potions of [[Luck]].}}
{{History||1.11|snap=16w33a|A [[water bottle]] is now able to add 1 water level to a [[cauldron]].}}
{{History|||snap=16w38a|The uncraftable potion is now magenta, has no glint, and is now obtained anytime a potion is specified with invalid or missing potion effect [[tag]]s.
|Due to the [[water bottle]] without tags being changed to the uncraftable potion, the [[brewing]] icon has also been changed to the uncraftable potion in [[creative]] [[inventory]].
|The uncraftable potion has been removed from the [[creative]] [[inventory]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 373.}}
{{History|||snap=18w07a|[[File:Potion of the Turtle Master JE1 BE1.png|32px]] Added potion of the Turtle Master, which gives Slowness IV and Resistance IV for 1 minute.
|Extended potions give both effects for 3 minutes.
|Level 2 potions give level VI of both effects for 1 minute.}}
{{History|||snap=18w14a|[[File:Potion of Slow Falling JE1 BE1.png|32px]] Added potions of [[Slow Falling]].}}
{{History|||snap=18w16a|Regular and extended potions of the Turtle Master now give only Resistance III.
|Level 2 potions of the Turtle Master now give only Resistance IV. This is because Resistance VI made the player invincible.}}
{{History||1.14|snap=18w43a|[[File:Potion of Night Vision JE2 BE2.png|32px]] [[File:Potion of Invisibility JE2 BE2.png|32px]] [[File:Potion of Leaping JE2 BE2.png|32px]] [[File:Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Potion of Swiftness JE2 BE2.png|32px]] [[File:Potion of Slowness JE2 BE2.png|32px]] [[File:Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Potion of Water Breathing JE2 BE2.png|32px]] [[File:Potion of Healing JE2 BE2.png|32px]] [[File:Potion of Harming JE2 BE2.png|32px]] [[File:Potion of Poison JE2 BE2.png|32px]] [[File:Potion of Regeneration JE2 BE2.png|32px]] [[File:Potion of Strength JE2 BE2.png|32px]] [[File:Potion of Weakness JE2 BE2.png|32px]] [[File:Potion of Luck JE2.png|32px]] [[File:Potion of Slow Falling JE2 BE2.png|32px]] [[File:Water Bottle JE2 BE2.png|32px]] [[File:Uncraftable Potion JE2.png|32px]]<br>[[File:Potion of Night Vision.gif|32px]] [[File:Potion of Invisibility.gif|32px]] [[File:Potion of Leaping.gif|32px]] [[File:Potion of Fire Resistance.gif|32px]] [[File:Potion of Swiftness.gif|32px]] [[File:Potion of Slowness.gif|32px]] [[File:Potion of the Turtle Master.gif|32px]] [[File:Potion of Water Breathing.gif|32px]] [[File:Potion of Healing.gif|32px]] [[File:Potion of Harming.gif|32px]] [[File:Potion of Poison.gif|32px]] [[File:Potion of Regeneration.gif|32px]] [[File:Potion of Strength.gif|32px]] [[File:Potion of Weakness.gif|32px]] [[File:Potion of Luck.gif|32px]] [[File:Potion of Slow Falling.gif|32px]] The textures of potions have been changed.}}
{{History|||snap=19w06a|[[Wandering trader]]s now drink [[Invisibility]] potions at [[night]] and [[milk bucket]]s at dawn.}}
{{History||1.16|snap=20w09a|[[Fire resistance]] potions can now be obtained through [[bartering]].}}
{{History||1.16.2|snap=20w28a|Water bottles can now be obtained through [[bartering]].|Potions and splash potions of Fire Resistance now have a {{frac|8|459}} (~1.74%) chance of being offered by [[piglin]]s when bartering.}}
{{History||1.18|snap=21w39a|Potions of Water Breathing can now generate in [[buried treasure]] chests.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Potions of Healing now generate in [[ancient city]] chests.}}
{{History|||snap=22w11a|Water bottles can now be used on [[dirt]], [[coarse dirt]], or [[rooted dirt]] to turn it into [[mud]].}}
{{History|||snap=22w13a|Potions of Healing no longer generate in [[ancient city]] [[chest]]s.|Potions of Regeneration may now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.4|snap=Pre-release 1|Potions no longer have an enchantment glint.}}
{{History|||snap=Pre-release 3|[[File:Potion of Night Vision JE3.png|32px]] [[File:Potion of Invisibility JE3.png|32px]] [[File:Potion of Leaping JE3.png|32px]] [[File:Potion of Fire Resistance JE3.png|32px]] [[File:Potion of Swiftness JE3.png|32px]] [[File:Potion of Slowness JE3.png|32px]] [[File:Potion of the Turtle Master JE3.png|32px]] [[File:Potion of Water Breathing JE3.png|32px]] [[File:Potion of Harming JE3.png|32px]] [[File:Potion of Poison JE3.png|32px]] [[File:Potion of Strength JE3.png|32px]] Changed colors of the following potions (all forms): 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 potion of [[Slow Falling]] has had its color tweaked to make it more distinguishable from the potion of [[Invisibility]].}}
{{History|java upcoming}}
{{History||Combat Tests|snap=Combat Test 7c|Potions with the same tags can now stack to 16.}}
{{History|||snap=Combat Test 8b|Potions (and liquid food) can now be drank faster (20 ticks, was 32 ticks).}}
{{History|upcoming java}}
{{History||Villager Trade Rebalance<br>(Experimental)|link=Java Edition 1.20.2|snap=23w31a|[[Wandering trader]]s now have a chance to [[trading|buy]] a water bottle or sell a potion of Invisibility.}}
{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Water Bottle JE1 BE1.png|32px]] [[File:Potion of Night Vision JE1 BE1.png|32px]] [[File:Potion of Invisibility JE1 BE1.png|32px]] [[File:Potion of Leaping JE1 BE1.png|32px]] [[File:Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Potion of Swiftness JE1 BE1.png|32px]] [[File:Potion of Slowness JE1 BE1.png|32px]] [[File:Potion of Water Breathing JE1 BE1.png|32px]] [[File:Potion of Healing JE1 BE1.png|32px]] [[File:Potion of Harming JE1 BE1.png|32px]] [[File:Potion of Poison JE1 BE1.png|32px]] [[File:Potion of Regeneration JE1 BE1.png|32px]] [[File:Potion of Strength JE1 BE1.png|32px]] [[File:Potion of Weakness JE1 BE1.png|32px]] Added potions.
|Water bottles, mundane, long mundane, thick, and awkward potions are all available in the Creative inventory.}}
{{History||v0.13.0|snap=build 1|Potions of [[Leaping]] are now obtainable in [[survival]].}}
{{History||v0.14.0|snap=build 1|Potions can now be used to fill 1/3 layer of [[cauldron]], filling cauldron with different [[liquids|liquid]] empties the cauldron.
|Using a [[glass bottle]] to a [[cauldron]] filled by a potion now fills the glass bottle with that potion.
|[[Swamp hut]]s now generate [[cauldron]]s filled with a random potion, making potions now obtainable in [[survival]] without [[brewing]].
|Potions of [[Healing]], [[Fire Resistance]], [[Water Breathing]] and [[Swiftness]] can now be obtained by killing [[witch]]es while they're drinking potions.}}
{{History||v0.16.0|snap=build 4|[[File:Potion of Decay BE1.png|32px]] Added potions of [[Wither (status effect)|Decay]].}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|2 Potions of [[Healing]] II can now be found in a [[brewing stand]] inside [[end ship]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Potions of [[Water Breathing]] and potions of [[Regeneration]] can now be found inside [[buried treasure]] chests.}}
{{History||1.5.0|snap=beta 1.5.0.4|[[File:Potion of the Turtle Master JE1 BE1.png|32px]] Added potions of the Turtle Master.}}
{{History||1.6.0|snap=beta 1.6.0.5|[[File:Potion of Slow Falling JE1 BE1.png|32px]] Added potions of [[Slow Falling]].}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Water Bottle JE2 BE2.png|32px]] [[File:Potion of Night Vision JE2 BE2.png|32px]] [[File:Potion of Invisibility JE2 BE2.png|32px]] [[File:Potion of Leaping JE2 BE2.png|32px]] [[File:Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Potion of Swiftness JE2 BE2.png|32px]] [[File:Potion of Slowness JE2 BE2.png|32px]] [[File:Potion of Water Breathing JE2 BE2.png|32px]] [[File:Potion of Healing JE2 BE2.png|32px]] [[File:Potion of Harming JE2 BE2.png|32px]] [[File:Potion of Poison JE2 BE2.png|32px]] [[File:Potion of Regeneration JE2 BE2.png|32px]] [[File:Potion of Strength JE2 BE2.png|32px]] [[File:Potion of Weakness JE2 BE2.png|32px]] [[File:Potion of Decay BE2.png|32px]] [[File:Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Potion of Slow Falling JE2 BE2.png|32px]] The textures of potions have been changed.}}
{{History||1.11.0|snap=beta 1.11.0.3|Potions of [[Invisibility]] can now be obtained by killing [[wandering trader]]s while they're drinking potions.}}
{{History||1.16.0|snap=beta 1.15.0.51|Added potions of [[Slowness]] IV, which can be brewed from potions of Slowness using glowstone dust.}}
{{History|||snap=beta 1.16.0.57|[[Fire resistance]] potions can now be obtained through [[bartering]].}}
{{History||1.16.100|snap=beta 1.16.100.54|Water Bottles can now be obtained through [[bartering]].|Potions and splash potions of Fire Resistance now have a {{frac|8|459}} (~1.74%) chance of being offered by [[piglin]]s when bartering.}}
{{History||1.19.80|snap=beta 1.19.80.21|Changed potion colors for the following potions: Fire Resistance, Harming, Invisibility, Leaping, Night Vision, Poison, Slowness, Strength, Swiftness, Turtle Master, and Water Breathing.
|Removed enchantment glint from splash potions.}}
{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Water Bottle JE1 BE1.png|32px]] [[File:Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Potion of Swiftness JE1 BE1.png|32px]] [[File:Potion of Slowness JE1 BE1.png|32px]] [[File:Potion of Healing JE1 BE1.png|32px]] [[File:Potion of Harming JE1 BE1.png|32px]] [[File:Potion of Poison JE1 BE1.png|32px]] [[File:Potion of Regeneration JE1 BE1.png|32px]] [[File:Potion of Strength JE1 BE1.png|32px]] [[File:Potion of Weakness JE1 BE1.png|32px]] Added potions.}}
{{History||xbox=TU8|Added the awkward potion to the [[Creative]] menu.}}
{{History||xbox=TU14|ps=1.04|[[File:Potion of Night Vision JE1 BE1.png|32px]] [[File:Potion of Invisibility JE1 BE1.png|32px]] Added potions of [[Night Vision]] and potions of [[Invisibility]].
|Awkward potion is no longer obtainable from the [[Creative inventory]].
|Extended-enhanced potions are now listed individually for four potion effects.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|[[File:Potion of Leaping JE1 BE1.png|32px]] [[File:Potion of Water Breathing JE1 BE1.png|32px]] Added potions of [[Jump Boost|Leaping]] and potions of [[Water Breathing]]. These are both available in four variants unlike ''Java'' and ''Bedrock'' where the latter group only added two variants of water breathing and three variants for leaping.}}
{{History||xbox=TU34|xbone=CU22|ps=1.25|wiiu=Patch 4|Removed two of the four types of water breathing potions and splash potions.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|[[File:Potion of Luck JE1.png|32px]] Added potions of [[Luck]].
|Added [[lingering potion]]s, which are [[brewing|brewed]] with [[splash potion]]s and [[dragon breath]] after splash potions are brewed with potions and [[gunpowder]].
|Removed all types of extended-enhanced potions for all five potion effects.
|Potions effects are now arranged more like ''Java Edition''.}}
{{History||xbox=TU69|xbone=none|ps=1.76|wiiu=Patch 38|switch=none|[[File:Potion of Decay BE1.png|32px]] [[File:Potion of the Turtle Master JE1 BE1.png|32px]] [[File:Potion of Slow Falling JE1 BE1.png|32px]] Added potions of [[Wither (status effect)|Decay]], Turtle Master, and [[Slow Falling]].}}
{{History||xbox=none|xbone=none|ps=1.83|wiiu=none|switch=none|Awkward potion is once again obtainable from the Creative inventory.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Water Bottle JE2 BE2.png|32px]] [[File:Potion of Night Vision JE2 BE2.png|32px]] [[File:Potion of Invisibility JE2 BE2.png|32px]] [[File:Potion of Leaping JE2 BE2.png|32px]] [[File:Potion of Fire Resistance JE2 BE2.png|32px]] [[File:Potion of Swiftness JE2 BE2.png|32px]] [[File:Potion of Slowness JE2 BE2.png|32px]] [[File:Potion of Water Breathing JE2 BE2.png|32px]] [[File:Potion of Healing JE2 BE2.png|32px]] [[File:Potion of Harming JE2 BE2.png|32px]] [[File:Potion of Poison JE2 BE2.png|32px]] [[File:Potion of Regeneration JE2 BE2.png|32px]] [[File:Potion of Strength JE2 BE2.png|32px]] [[File:Potion of Weakness JE2 BE2.png|32px]] [[File:Potion of Luck JE2.png|32px]] [[File:Potion of Decay BE2.png|32px]] [[File:Potion of the Turtle Master JE2 BE2.png|32px]] [[File:Potion of Slow Falling JE2 BE2.png|32px]] The textures of potions have been changed.}}
{{History|New 3DS}}
{{History||0.1.0|[[File:Water Bottle JE1 BE1.png|32px]] [[File:Potion of Night Vision JE1 BE1.png|32px]] [[File:Potion of Invisibility JE1 BE1.png|32px]] [[File:Potion of Leaping JE1 BE1.png|32px]] [[File:Potion of Fire Resistance JE1 BE1.png|32px]] [[File:Potion of Swiftness JE1 BE1.png|32px]] [[File:Potion of Slowness JE1 BE1.png|32px]] [[File:Potion of Healing JE1 BE1.png|32px]] [[File:Potion of Harming JE1 BE1.png|32px]] [[File:Potion of Poison JE1 BE1.png|32px]] [[File:Potion of Regeneration JE1 BE1.png|32px]] [[File:Potion of Strength JE1 BE1.png|32px]] [[File:Potion of Weakness JE1 BE1.png|32px]] Added potions.
|Water bottles, mundane, thick, and awkward potions are all available in the Creative inventory.}}
{{History||1.3.12|[[File:Potion of Decay BE1.png|32px]] Added potions of [[Wither (status effect)|Decay]].}}
{{History||1.7.10|Added [[lingering potion]]s, which are [[brewing|brewed]] with [[splash potion]]s and [[dragon breath]] after splash potions are brewed with potions and [[gunpowder]].}}
{{History|foot}}
<gallery>
Health_Potion.png|Thick Potion with status effects of Mining Fatigue (duration 4:00) and Instant Health II (duration 4:00).
Invisible_sheep.png|An invisible sheep. Its wool can still be seen.
New Potion Colors.png|The new potion colors.
</gallery>
==Issues==
{{issue list}}
==Trivia==
*A potion can reach a maximum tier of 127, but using the {{cmd|effect}} [[commands|command]], effect levels can reach 255.
*When a player drinks two potions by quickly switching to another potion immediately after drinking one, the second drinking animation is not shown.{{verify|type=current|Still in recent versions?}}
*A potion of [[Poison]] II lasts for 22.5 seconds, but it is displayed as 22 seconds because the [[item]] hover display shows rounded-down integer values.
*The "Local Brewery" [[advancement]] uses the Uncraftable Potion texture for its icon.
==Unused potions ==
''[[Bedrock Edition]]'' has [[History of textures/Unused textures#Unused potions|unused potion textures]] for several [[effect]]s, along with their [[Splash Potion#Unused splash potions|splash variants]]. These effects are: [[Absorption]], [[Blindness]], [[Haste]], [[Health Boost]], [[Hunger]], [[Mining Fatigue]], [[Nausea]], [[Resistance]], [[Saturation]], and [[Levitation]], as well as the [[Luck]] potion textures also present in [[Java Edition]]. These unused textures were added along with the other potion textures in [[Pocket Edition v0.12.1 alpha]], except for the potion of levitation, which was added in [[Pocket Edition 1.0.0]]. The textures were changed along with the other potion textures during the [[texture update]] in [[Bedrock Edition 1.10.0]]. Strangely, the potion of levitation texture is a duplicate of the splash potion of levitation texture.
<gallery>
Potion of Absorption BE2.png|Potion of Absorption
Potion of Blindness BE2.png|Potion of Blindness
Potion of Haste BE2.png|Potion of Haste
Potion of Health Boost BE2.png|Potion of Health Boost
Potion of Hunger BE2.png|Potion of Hunger
Potion of Mining Fatigue BE2.png|Potion of Mining Fatigue
Potion of Nausea BE2.png|Potion of Nausea
Potion of Resistance BE2.png|Potion of Resistance
Potion of Saturation BE2.png|Potion of Saturation
Potion of Levitation BE2.png|Potion of Levitation
</gallery>
==Gallery==
===Potions===
;Java Edition
<gallery>
Water Bottle.png|Water Bottle
Potion of Night Vision.png|Potion of Night Vision
Potion of Invisibility.png|Potion of Invisibility
Potion of Leaping.png|Potion of Leaping
Potion of Fire Resistance.png|Potion of Fire Resistance
Potion of Swiftness.png|Potion of Swiftness
Potion of Slowness.png|Potion of Slowness
Potion of the Turtle Master.png|Potion of the Turtle Master
Potion of Water Breathing.png|Potion of Water Breathing
Potion of Healing.png|Potion of Healing
Potion of Harming.png|Potion of Harming
Potion of Poison.png|Potion of Poison
Potion of Regeneration.png|Potion of Regeneration
Potion of Strength.png|Potion of Strength
Potion of Weakness.png|Potion of Weakness
Potion of Slow Falling.png|Potion of Slow Falling
Potion of Luck.png|Potion of Luck
Potion of Decay.png|Potion of Decay
Uncraftable Potion.png|Uncraftable Potion
</gallery>
===Screenshots===
<gallery>
OK2tE.png|Potion effects showing up in [[inventory]].
PotionBubbles.png|The bubbles emitted when a player drinks a potion.
Nightvision.png|The effect of night vision (left image is with night vision, right image is without).
NetherPotionEffect.png|The view when a player uses night vision in the Nether.
PotionTable.png|A brewing stand with a potion displayed next to it.
MinecraftPotionsClean.png|A guide to brewing before [[Java Edition 1.6.1|1.6]].
</gallery>
=== In other media===
<gallery>
File:Elixir (MCSM).png|The [[Minecraft Story Mode:Elixir|Elixir]], a unique potion featured in [[Minecraft Story Mode]].
File:Witch Potion (Dungeons).png|A potion thrown by a [[MCD:Witch|witch]], as depicted in [[Minecraft Dungeons]].
File:Strength Potion.png|A [[MCD:Strength Potion|strength potion]], as it appears in Minecraft Dungeons.
File:Swiftness Potion.png|A [[MCD:Swiftness Potion|Swiftness Potion]], as depicted in Minecraft Dungeons.
File:Potion of Water Breathing (MCD).png|A [[MCD:Potion of Water Breathing|Potion of Water Breathing]], as it appears in Minecraft Dungeons.
File:Bottle Lamp.jpg|An officially licensed bottle LED desk lamp.
File:Potion Bottle Bottle.jpg|A water bottle depicting many potions.
</gallery>
==See also==
*{{ItemLink|Glass Bottle}}
*{{ItemLink|Medicine}}
*{{ItemLink|Splash Potion}}
*{{ItemLink|Lingering Potion}}
==Notes==
<references group="note" />
==References==
{{reflist}}
==External links==
*[https://www.minecraft.net/en-us/article/taking-inventory--potion Taking Inventory: Potion] – Minecraft.net on May 11, 2022
*[http://potioncraft.net Minecraft Potions - A Visual Guide] (version 1.9)
{{items}}
{{effects}}
[[Category:Food]]
[[de:Trank]]
[[es:Poción]]
[[fr:Potion]]
[[hu:Bájital]]
[[it:Pozione]]
[[ja:ポーション]]
[[ko:물약]]
[[nl:Dranken]]
[[pl:Mikstury]]
[[pt:Poção]]
[[ru:Зелья]]
[[uk:Зілля]]
[[zh:药水]]</li></ul> | 19w38a | Added predicates folder where predicates can be defined. | |||
1.16{{Extension DPL}}<ul><li>[[Emerald|Emerald]]<br/>{{About|the item|the currency in ''Minecraft Dungeons''|MCD:Emerald|the skin|MCD:Emerald (skin)|the ore|Emerald Ore|the mineral block|Block of Emerald}}
{{Item
| image = Emerald.png
| renewable = Yes
| stackable = Yes (64)
| rarity = Common}}
'''Emeralds''' are rare minerals that are used primarily as the currency for [[trading]] with [[villager]]s and [[wandering trader]]s. Naturally-occurring emeralds are rarer than [[diamond]]s.
== Obtaining ==
=== Trading ===
{{main|Trading}}
Emeralds can be obtained by trading with [[villager]]s, since they are the currency that villagers use for trading. Villagers either buy or sell specific goods for emeralds.
=== Mining ===
[[Emerald ore]] drops one emerald when mined using an iron or better [[pickaxe]]. If the pickaxe is enchanted with [[Fortune]], it may drop an extra emerald per level of Fortune, up to a maximum of 4 emeralds with Fortune III. If the ore is mined using a pickaxe enchanted with [[Silk Touch]], it drops itself in ore form instead of an emerald.
=== Crafting ===
{{Crafting
|Block of Emerald
|Output= Emerald,9
|type= Material
}}
=== Smelting ===
{{Smelting
|Emerald Ore; Deepslate Emerald Ore
|Emerald
|1
}}
=== Natural generation ===
{{see also|Emerald Ore#Natural generation}}
Emeralds can generate in [[chest]]s in some [[village]] houses or other generated [[Generated structures|structures]].
{{needs update|inaccurate=1|section=1}}
{{LootChestItem|emerald}}
=== Drops ===
[[Vindicator]]s and [[evoker]]s drop 0–1 emeralds upon death. [[Looting]] increases the maximum emerald drop by one per level, for a maximum of 4 emeralds with Looting III.
[[Fox]]es that are holding emeralds also have a chance of 100% to drop the emerald they are holding upon death. Alternatively, the player can drop a food item to entice the fox to drop the emerald without killing it.
{{IN|bedrock}}, vindicators and [[pillager]]s spawned from [[raids]] can drop 0–1 emeralds. Depending on difficulty, vindicators and pillagers spawned from raids also have a chance of dropping additional emeralds. There is a 65% chance of dropping on easy and normal, and an 80% chance of dropping on hard. If this additional drop condition is met, different emerald counts can drop with different chances. There is a {{frac|10|39}} chance to drop an additional 0–1 emeralds, a {{frac|5|39}} chance to drop an additional 2–3, and a {{frac|2|39}} chance to drop an additional 4–5.
{{IN|bedrock}}, with Looting III, it is possible for a vindicator in a raid to drop up to 16 emeralds upon death (vindicator drops + raid drops + an additional drop<!-- emerald from 2/39 chance-->).
== Usage ==
=== Trading ===
{{main|Trading}}
Emeralds are primarily used as currency for [[trading]] with villagers and wandering traders. Trading is typically a faster way to obtain emeralds than by mining, as an emerald ore is rarer than a diamond ore.
=== Crafting ingredient ===
{{crafting usage}}
===Beacons===
Emeralds can be used to select powers from a [[beacon]]. The player must select one of the available powers and then insert an emerald into the item slot.
An emerald can be substituted for an [[iron ingot]], a [[gold ingot]], a [[diamond]] or a [[netherite ingot]] in a beacon.
=== Smithing ingredient ===
{{Smithing
|head=1
|ingredients=Any Armor Trim +<br/>Any Armor Piece + <br/>Emerald
|Any Armor Trim Smithing Template
|Netherite Chestplate
|Emerald
|Emerald Trim Netherite Chestplate
|showdescription=1
|description = All armor types can be used in this recipe,<br/>a netherite chestplate is shown as an example.
|tail=1
}}
;Trim color palette
The following color palette is shown on the designs on trimmed armor:
*{{TrimPalette|emerald}}
== Achievements ==
{{load achievements|The Haggler;Buy Low;Master Trader}}
== Advancements ==
{{load advancements|What a Deal!}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showitemtags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Emerald
|spritetype=item
|nameid=emerald
|itemtags=beacon_payment_items
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Emerald
|spritetype=item
|nameid=emerald
|id=512
|form=item
|foot=1}}
== History ==
{{History|java indev}}
{{History||0.31|snap=20100129|Added [[diamond]]s, referred to as emeralds in the code.}}
{{History|java}}
{{History||May 21, 2012|link={{tweet|jeb_|204619936616808451}}|[[File:Ruby pJE20120521.png|32px]] [[Jens Bergensten|Jeb]] released a screenshot of himself testing the [[trading]] system. At this time, what would become emeralds were [[History_of_textures/Unused_textures#Ruby|rubies]].<ref>http://www.minecraftforum.net/topic/1621716-15-new-blocksitems/#entry19977082</ref>}}
{{History||1.3.1|snap=12w21a|[[File:Emerald JE1 BE1.png|32px]] Added emeralds and [[emerald ore]].
|Emeralds can be [[trading|traded]] with [[villager]]s in exchange for different [[item]]s.
|Added [[desert temple]]s, with a hidden [[chest]] room and loot containing emeralds.
|[[File:Ruby JE1 BE1.png|32px]] The texture of [[History_of_textures/Unused_textures#Ruby|rubies]] can be found in the (at this time unused) file {{cd|items.png}}.<ref name="en_US 12w21">Snapshot 12w21a/b ''lang/en_US.lang'': '''item.ruby.name=Ruby'''</ref>}}
{{History|||snap=12w22a|[[Block of emerald]] has now been added, which is [[crafting|crafted]] from nine emeralds and can be placed as a decorative [[block]].
|Added [[jungle temple]]s, which contain loot [[chest]]s with emeralds.}}
{{History||1.4.2|snap=12w32a|As [[zombie villager]]s can now spawn and be cured, emeralds can now still be obtained in [[trading|trades]] even if [[generated structures]] are disabled.}}
{{history||1.9|snap=15w31a|Emeralds now generate in [[end city]] ship [[chest]]s.}}
{{history|||snap=15w43a|Emeralds now generate in [[igloo]] basement chests.}}
{{history|||snap=15w44a|The average yield of emeralds in [[desert temple]] chests has now been increased.}}
{{History||1.11|snap=16w39a|Added [[vindicator]]s and [[evoker]]s, which drop emeralds if killed by a player.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 388.}}
{{History|||snap=18w09a|Emeralds can now generate in the loot [[chest]]s of [[underwater ruins]].}}
{{History|||snap=18w10a|Emeralds can now generate in [[buried treasure]] chests.}}
{{History|||snap=18w11a|Emeralds can now generate in the chests of [[shipwreck]]s.}}
{{History||1.14|snap=18w43a|[[File:Emerald JE2 BE2.png|32px]] The texture of emeralds has now been changed.
|Added [[pillager]]s, which can [[drops|drop]] emeralds.}}
{{History|||snap=18w46a|Pillagers no longer drop emeralds.}}
{{History|||snap=18w48a|Emeralds now generate in chests in [[village]] tanneries, fisher cottages and plains village houses.}}
{{History|||snap=18w49a|Emeralds now generate in chests in [[village]] shepherd houses, mason houses, butcher shops, and savanna and snowy village houses.}}
{{History|||snap=18w50a|Emeralds now generate in chests in [[village]] fletcher houses, temples, and desert and taiga village houses.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with emeralds in their mouths.}}
{{History|||snap=19w08a|[[File:Emerald JE3 BE3.png|32px]] The texture of emeralds has now been changed, once again and it looks smaller.}}
{{History||1.17|snap=21w13a|The unused [[History_of_textures/Unused_textures#Ruby|rubies]] texture was removed.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Emeralds can now be used as an armor trim material.}}
{{History|||snap=23w07a|Emeralds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s or [[desert well]]s.}}
{{History||1.20|snap=23w12a|The probability for the emerald to generate in the [[suspicious sand]] in [[desert temple]] and in [[desert well]] has been changed from 1/7 to 1/8.|Emerald can now be found in [[suspicious gravel]] and [[suspicious sand]] in cold and warm [[ocean ruins]] and in [[trail ruins]].}}
{{History|||snap=23w16a|Emerald no longer generates in [[suspicious sand]] in [[trail ruins]].|Due to the split of the archaeological loot tables for the suspicious gravel within the [[trail ruins]]; emerald now is in the common loot.}}
{{History|pocket alpha}}
{{History||v0.9.0|snap=build 1|[[File:Emerald JE1 BE1.png|32px]] Added emeralds.}}
{{History|||snap=build 5|Emeralds can now be used to craft [[blocks of emerald]].}}
{{History||v0.13.0|snap=build 1|Emeralds can now be found inside [[desert temple]] [[chest]]s.}}
{{History||v0.15.0|snap=build 1|Added [[jungle temple]]s, which contain loot chests with emeralds.}}
{{History||v0.16.0|snap=build 1|Emeralds can now be used to power [[beacon]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Emeralds can now be found in [[end city]] ship [[chest]]s.
|Emeralds can now be found in [[igloo]] basement chests.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Emeralds are now used as "currency" for [[villager]] [[trading]].}}
{{History||1.1.0|snap=alpha 1.1.0.0|Added [[evoker]]s and [[vindicator]]s, which [[drops|drop]] emeralds when killed.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Emeralds can now be found in some [[shipwreck]] [[chest]]s.}}
{{History|||snap=beta 1.2.20.1|Emeralds can now be found inside [[underwater ruins]] chests.}}
{{History||1.10.0|snap=beta 1.10.0.3|Emeralds can now be used to [[trading|buy]] items from [[wandering trader]]s.
|Emeralds can now be found in [[plains]] [[village]] house and tannery [[chest]]s.
|[[File:Emerald JE2 BE2.png|32px]] The texture of emeralds has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Emeralds can now be found in [[village]] [[chest]]s other than [[plains]].}}
{{History|||snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn from [[raid]]s can now [[drops|drop]] bonus emeralds.}}
{{History|||snap=beta 1.11.0.5|[[File:Emerald JE3 BE3.png|32px]] The texture of emeralds has now been changed, once again.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] emeralds.}}
{{History||Next Major Update<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Emeralds now drop when brushing [[suspicious sand]] in [[desert pyramid]]s or [[desert well]]s.}}
{{History|||snap=beta 1.19.80.21|Emeralds can now be used as an armor trim material.}}
{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Emerald JE1 BE1.png|32px]] Added emeralds.}}
{{History|Ps4}}
{{History||1.90|[[File:Emerald JE2 BE2.png|32px]] The texture of emeralds has now been changed.}}
{{History|new3DS}}
{{History||0.1.0|[[File:Emerald JE1 BE1.png|32px]] Added emeralds.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
Villager trading preview.png|The first image of the trading system released by [[Jeb]]. What would become emeralds can be seen in the [[inventory]] space.
Emerald Ore 12w21a.png|A wall of [[emerald ore]] utilizing a previous texture in snapshot [[12w21a]].
Room of Emeralds.png|All forms of emeralds in one photo: emerald (in the form of [[emerald block|block]], [[emerald ore|ore]] and the emerald itself).
</gallery>
==Trivia==
*The [[History_of_textures/Unused_textures#Ruby|ruby]] was going to be the [[villager]] currency but was changed to emeralds before the update's release.
== References ==
{{Reflist}}
{{Items}}
[[Category:Renewable resources]]
[[cs:Smaragd]]
[[de:Smaragd]]
[[es:Esmeralda]]
[[fr:Émeraude]]
[[hu:Smaragd]]
[[it:Smeraldo]]
[[ja:エメラルド]]
[[ko:에메랄드]]
[[nl:Smaragd]]
[[pl:Szmaragd]]
[[pt:Esmeralda]]
[[ru:Изумруд]]
[[th:มรกต]]
[[tr:Zümrüt]]
[[uk:Смарагд]]
[[zh:绿宝石]]</li><li>[[Spyglass|Spyglass]]<br/>{{Item
| title = Spyglass
| image = Spyglass.png
| durability =
| rarity = Common
| renewable = Yes
| stackable = No
}}
A '''spyglass''' is a [[tool]] used to zoom in on distant objects.
== Obtaining ==
=== Crafting ===
{{Crafting
|B1=Amethyst Shard
|B2=Copper Ingot
|B3=Copper Ingot
|Output=Spyglass
|type=Tool
}}
== Usage ==
[[File:Steve scoping Spyglass.png|right|100px]] [[File:Alex scoping Spyglass.png|right|100px]]
To use a spyglass, the player selects it from the hotbar and clicks {{control|use}} while looking in the desired direction.
Spyglasses are used to zoom in on a specific location in the player's field of view (FOV). The spyglass changes the FOV to {{frac|1|10}} of the FOV set in [[options]]. By default, the FOV is set to 70° in ''Java Edition'' and 60° in Bedrock Edition, resulting in an FOV of 7° in ''Java Edition'' and 6° in Bedrock Edition through the spyglass. The player's FOV can be set from 30° to 110°, so the spyglass FOV can range from 3° to 11°. Regardless of the situation, or status effects the player has, using the Spyglass always shows a FOV {{frac|1|10}} of the FOV set in [[options]].
A square vignette is applied when in use, similar to the effect when wearing a [[carved pumpkin]]. Pressing {{key|F1}} removes the vignette,{{only|java}}<ref>{{bug|MC-203575||The spyglass overlay goes away when pressing F1|WAI}}</ref><ref>{{bug|MCPE-125869||Spyglass's overlay don't go away even if the player toggles Hide GUI on/ Pressing F1|}}</ref> similar to a carved pumpkin.
Hazy distant objects remain hazy when viewed in the spyglass. Mobs too distant to render also do not render in the spyglass. The spyglass shows a magnified view of what the player already sees.
The player is slowed down while watching through the spyglass. When the player uses the spyglass continuously for {{convert|1|minute|game tick}}, the interface is automatically closed.
If the player has a certain effect on their screen like [[fire]], the spyglass does not remove that effect on the player's screen.
[[File:Spyglass Zooming.gif|thumb|center|A spyglass being used to zoom in on a [[block of gold]] starting from normal FOV (70°).]]
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Spyglass use.ogg
|subtitle=Spyglass expands
|source=player
|description=When a player uses a spyglass
|id=item.spyglass.use
|translationkey=subtitles.item.spyglass.use
|volume=0.5
|pitch=''varies'' <ref group=sound>Can be 1.15, 1.33, 1.4, or 1.55</ref>
|distance=16}}
{{Sound table
|sound=Spyglass stop.ogg
|subtitle=Spyglass retracts
|source=player
|description=When a player stops using a spyglass
|id=item.spyglass.stop_using
|translationkey=subtitles.item.spyglass.stop_using
|volume=0.5
|pitch=''varies'' <ref group=sound>Can be 1.0, 0.8, or 0.9</ref>
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Spyglass use.ogg
|source=player
|description=When a player uses a spyglass
|id=item.spyglass.use
|volume=0.5
|pitch=1.15-1.55}}
{{Sound table
|sound=Spyglass stop.ogg
|source=player
|description=When a player stops using a spyglass
|id=item.spyglass.stop_using
|volume=0.5
|pitch=0.8-1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Spyglass
|spritetype=item
|nameid=spyglass
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Spyglass
|spritetype=item
|nameid=spyglass
|form=item
|foot=1|id=626}}
== Advancements ==
{{load advancements|Is it a Bird?;Is it a Balloon?;Is it a Plane?}}
== History ==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=25m21s}}|[[File:Spyglass JE1.png|32px]]<!-- [[File:Spyglass scope (pre-release).png|32px]]--> Spyglasses are revealed at [[Minecraft Live 2020]]. They were originally named "telescopes" and had an oval vignette.}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Spyglass JE1.png|32px]] Added spyglasses.
|[[File:Spyglass scope JE1.png|32px]] The scope texture is currently a circle with glare spots.}}
{{History|||snap=20w46a|[[File:Spyglass scope JE2.png|32px]] The scope texture is now a [[glass]] square with a [[copper]] border.}}
{{History|||snap=20w48a|[[File:Spyglass JE2 BE1.png|32px]] The spyglass is now a 3D model instead of a flat sprite.
|[[File:Spyglass (texture) JE2.png|32px]] The texture of the spyglass has changed.
|A spyglass in use is anchored better to the player's "eye" when viewed in 3rd person.}}
{{History|||snap=21w05a|Copper ingots are now renewable via [[drowned]], making spyglasses renewable.}}
{{History|||snap=21w10a|[[File:Spyglass (item) JE3 BE1.png|32px]] Spyglasses have a new texture in the inventory. The 3D model is still used in the hand, similar to [[tridents]].}}
{{History||1.17.1|snap=Pre-release 1|[[File:Spyglass (texture) JE3.png|32px]] The texture of the spyglass model has changed.}}
{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Spyglass JE2 BE1.png|32px]] [[File:Spyglass (item) JE3 BE1.png|32px]] Added spyglasses.}}
{{History|||snap=beta 1.17.0.52|Spyglasses are now available without enabling [[experimental gameplay]].}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Trivia ==
*If {{command|item replace}} is used to place a spyglass on a player's head, the item appears stuck to the center of the player's face.
== Gallery ==
<gallery>
Villager Spyglass.png|Spying on [[villager]]s through a spyglass.
After using the spyglass at FOV 30 F1.png|Hiding the HUD removes the spyglass overlay.
Panda eating a spyglass.png|When eaten by a [[panda]], spyglasses cause [[missing texture]] particles to be produced.<ref>{{bug|MC-206684}}</ref>
JE 1.17 Development Telescope.jpg|The spyglass was originally called the telescope.
JE 1.17 Development Telescope 2.jpg|The telescope's overlay was originally round instead of square.
File:Ari Spyglass.jpg|How the spyglass looks in the third person.
Steve scoping Spyglass JE1.png|Steve using a spyglass before its 3D model was added.
Alex scoping Spyglass JE1.png|Alex using a spyglass before its 3D model was added.
File:Mangrove Portal.jpg|An [[allay]] peeking into view of [[Noor]]’s spyglass.
</gallery>
== References ==
{{Reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--spyglass Taking Inventory: Spyglass] – Minecraft.net on February 17, 2022
{{Items}}
[[Category:Renewable resources]]
[[de:Fernrohr]]
[[es:Catalejo]]
[[fr:Longue-vue]]
[[it:Cannocchiale]]
[[ja:望遠鏡]]
[[pl:Luneta]]
[[pt:Luneta]]
[[ru:Подзорная труба]]
[[zh:望远镜]]</li></ul> | 20w22a | Slightly changed data pack loading to prevent custom data packs from crashing. | |||
| If data pack reload fails, changes are not applied and the game continues using previous data. | |||||
| Changes to data pack list are stored only after successful reload. | |||||
| If existing data packs prevent the world from loading, the game gives an option to load the world in safe mode, which loads only vanilla data pack. | |||||
Added --safeMode option for servers to load only with vanilla data pack. | |||||
| Game now detects any critical data pack issues, such as required tags being missing, and prevent the world from being loaded. | |||||
| Pre-release 1 | Data packs can now be loaded before the world is created. | ||||
| Data packs can now add and change dimensions and dimension types. | |||||
| Upcoming Java Edition | |||||
| 20w28a | Custom worlds now support custom biomes and can now be used in custom dimension generators. | ||||
Datapacks can now customize world generation in the worldgen folder | |||||
Issues
Issues relating to "Data pack" are maintained on the bug tracker. Report issues there.
See also
- Add-on
- Advancements
- Dimension
- Function
- Loot table
- Recipe
- Structure
- Tag
- Predicates
- Tutorials/Installing a data pack
- Tutorials/Creating a data pack
- Resource Pack
- Tutorials/Creating a resource pack
| Components |
| ||
|---|---|---|---|
| Data packs | |||
| Tutorials | |||