Minecraft Wiki
Advertisement

Swimming is a form of transportation that allows the player to move in water.

Control

Swimming is activated by pressing forwards while in water.

Sprint-swimming can also be activated. To do this, the player can press sprint for 1 block gap while moving, or double tap forwards. The player cannot sprint-swim if their hunger bar is at 6 (🍗🍗🍗) or below.

Usage

When swimming on the surface of still water, the player will move at 2.20 blocks per second. If the player is partially submerged in water, they will move at 1.97 blocks per second. The player will move at 1.81 blocks per second when swimming downstream underwater, and will move at a slower 0.39 blocks per second while swimming upstream underwater.

Sprint-swimming

Sprint-swimming allows the player to move at around 5.612 meters/second, which is 30 percent faster than the normal walking speed of around 4.317 m/s. The player can turn while sprint-swimming, which will slightly reduce their speed. Sprint-swimming will also increase the speed of flying in Creative mode. Although while sprint-swimming increases the field of vision like actual sprinting, it does not increase the entity's speed. However, one can accelerate by pressing the boost button ‌[Bedrock Edition only].

With sprinting while swimming, it is possible to swim across the water horizontally,[1] instead of the usual two blocks, though sprinting will not cause the player to swim higher.

Sprint-swimming will reduce the player's saturation, and once their saturation is 0 it will deplete the hunger bar at a rate of 12 every 40 meters, or 7 seconds.

Sprint-swimming, like sprinting, produces particles at the player's feet corresponding to the block type they are running on.[verify] Also, when a player attacks any mob (excluding squid, fish mobs, and turtles) while sprint-swimming, the mob suffers a larger knockback than usual.

Sprint-swimming, like normal sprinting, ends when the player collides with a solid block, sneaks, blocks or attacks a mob. If none of these happen, the player will automatically stop sprinting after 30 seconds.[note 1] Sprint-swimming will also end if the hunger bar lowers to 6 (🍗🍗🍗) or below.

  1. If sprint is held, sprint-swimming will last longer than 30 seconds.

History

classic
0.0.12a
{{Extension DPL}}<ul><li>[[Golden Carrot|Golden Carrot]]<br/>{{Item
| title = Golden Carrot
| image = Golden Carrot.png
| heals = {{hunger|6}}
| renewable = Yes
| stackable = Yes (64)
}}

A '''golden carrot''' is a valuable [[food]] item and [[brewing]] ingredient. It provides the second most saturation in the game, behind [[suspicious stew]] crafted with either a [[Flower|dandelion]] or [[Flower|blue orchid]].

==Obtaining==
=== Chest loot ===
{{LootChestItem|golden-carrot}}

=== Crafting ===
{{Crafting
|A1= Gold Nugget
|B1= Gold Nugget
|C1= Gold Nugget
|A2= Gold Nugget
|B2= Carrot
|C2= Gold Nugget
|A3= Gold Nugget
|B3= Gold Nugget
|C3= Gold Nugget
|Output= Golden Carrot
|type= Foodstuff
}}

=== Trading ===
Master-level farmer [[villager]]s have a 50% chance to sell 3 golden carrots for 3 [[emerald]]s {{in|bedrock}}, and always offer the same trade {{in|java}}.

== Usage ==
=== Food ===
To eat a golden carrot, press and hold {{control|use}} while it is selected in the hotbar. Eating one restores {{hunger|6}} and 14.4 [[Hunger#Mechanics|saturation points]]. 

=== Animal food ===
Golden carrots are used to tame, [[breed]], lead, grow, and heal [[horse]]s, [[donkey]]s, and [[mule]]s, and to breed, lead, and grow [[rabbit]]s.

=== Brewing ingredient ===
{{Brewing
  |showname=1
  |Golden Carrot
  |Potion of Night Vision
}}

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Golden Carrot
|spritetype=item
|nameid=golden_carrot
|id=283
|form=item
|foot=1}}

== Achievements ==
{{load achievements|Artificial Selection;Oooh, shiny!}}

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

== Video ==
{{Video note|this video is outdated; it does not mention that golden carrots can be used as animal food.}}

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

== History ==
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Golden Carrot JE1.png|32px]] Added golden carrots.
|The new [[Potion of Night Vision]] is brewed by adding a golden carrot to an [[Awkward Potion]].}}
{{History|||snap=12w36a|[[File:Golden Carrot JE2.png|32px]] The texture of golden carrots has been changed.}}
{{History|||snap=12w37a|[[File:Golden Carrot JE3 BE1.png|32px]] The texture of golden carrots has been changed in order to match the new [[carrot]] texture. The [[item]] sprite no longer has a dark outline.}}
{{History||1.6.1|snap=?|Golden carrots can now be used to tame, breed and heal horses and donkeys.}}
{{History||1.8|snap=?|Golden carrots can now be used to breed rabbits.}}
{{History|||snap=14w32a|Moved golden carrots from the Foodstuffs tab to the Brewing tab in the [[Creative inventory]].<ref name="gold carrot inventory">https://bugs.mojang.com/browse/MC-3664</ref>}}
{{History||1.8.1|snap=pre1|Rabbits now follow players holding golden carrots.<ref>{{bug|MC-70054|||Fixed}}</ref>}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 396.}}
{{History||1.14|snap=18w43a|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}
{{History|||snap=19w11a|Farmer [[villager]]s now [[trading|sell]] golden carrots.}}
{{History||1.16|snap=20w16a|Golden carrots can now be found in [[ruined portal]] chests.}}
{{History||1.16.2|snap=20w30a|Golden carrots can now be found in [[bastion remnant]] chests.}}
{{History||1.18|snap=experimental snapshot 6|Horses, donkeys and mules now follow players holding golden carrots.}}
{{History||1.19|snap=22w13a|Golden carrots may now be found in [[ancient city]] ice box [[chest]]s.
|A single golden carrot now generates in the [[chest]] in <code>ancient_city/city_center/city_center_2</code>.}}
{{History|||snap=22w14a|The golden carrot in the chest in <code>ancient_city/city_center/city_center_2</code> has been replaced with a [[golden apple]].}}


{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History||v0.13.0|snap=build 1| Golden carrots can now be used to feed [[rabbit]]s.}}
{{History||v0.15.0|snap=build 1|Golden carrots can now be used to feed [[horse]]s and [[donkey]]s.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Golden carrots can now be [[trading|bought]] from farmer [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|Trading has been changed, master-level farmer now has {{frac|1|3}} chance to sell golden carrots.}}
{{History||1.16.0|snap=beta 1.16.0.57|Golden carrots now generate in [[ruined portal]] chests.
|Golden carrots trade offering chance changed to 50%.}}

{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Golden Carrot JE4 BE2.png|32px]] The texture of golden carrots has been changed.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Golden Carrot JE3 BE1.png|32px]] Added golden carrots.}}
{{History|foot}}

== Issues ==
{{issue list}}

== See also ==
* [[Carrot]]
* [[Golden Apple]]

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--golden-carrot Taking Inventory: Golden Carrot] – Minecraft.net on September 6, 2022

{{items}}

[[cs:Zlatá mrkev]]
[[de:Goldene Karotte]]
[[es:Zanahoria dorada]]
[[fr:Carotte dorée]]
[[hu:Aranyrépa]]
[[ja:金のニンジン]]
[[ko:황금 당근]]
[[nl:Gouden wortel]]
[[pl:Złota marchewka]]
[[pt:Cenoura dourada]]
[[ru:Золотая морковь]]
[[uk:Золота морква]]
[[zh:金胡萝卜]]
[[Category:Renewable resources]]
[[Category:Food]]
[[Category:Brewing recipe]]</li><li>[[Stick|Stick]]<br/>{{for|other uses|Stick (disambiguation)}}
{{Item
| image = Stick.png
| renewable = Yes
| stackable = Yes (64)
}}

A '''stick''' is an item used for [[crafting]] many [[tools]] and [[item]]s.

== Obtaining ==

=== Crafting ===

{{Crafting
|B2= Any Planks
|B3= Any Planks
|Output= Stick,4
|type= Material
|head=1
}}
{{Crafting
|B2= Bamboo
|B3= Bamboo
|Output= Stick
|type= Material
|foot=1
}}

=== Fishing ===

Sticks can be obtained as a "junk" item while [[fishing]].

=== Block loot ===

[[Dead bush]]es drop between 0–2 sticks when destroyed.

All [[Leaves|leaf]] types have a 2% chance to drop between 1-2 sticks when broken. Using a tool with [[Fortune]] increase these chances to 2.2%, 2.5%, and 3.3% for Fortune I, II, and III respectively.

=== Entity loot ===

[[Witch]]es have a chance of dropping 0–6 sticks upon death. This is increased by 3 per level of [[Looting]], for a chance of 0-15 sticks.

[[Boat]]s and [[Boat with Chest|boats with chest]]s drop 2 sticks when falling from exactly 12, 13, 49, 51, 111, 114, 198, 202, 310, or 315 blocks.<ref>{{bug|MC-119369}}</ref>.

=== Chest loot ===

{{LootChestItem|stick}}

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Fuel ===

When used as a [[furnace]] fuel, a stick smelts 0.5 [[item]]s.

=== Trading ===

Novice-level [[Trading#Fletcher|fletcher]] [[villager]]s have a {{frac|2|3}} chance to buy 32 sticks for an [[emerald]] in ''Java Edition'', and they always offer the trade in Bedrock Edition.

== Video ==

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

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Stick
|spritetype=item
|nameid=stick
|id=320
|form=item
|foot=1}}

== History ==

{{History|java indev}}
{{History||0.31|snap=20100129|[[File:Stick JE1 BE1.png|32px]] Added sticks.
|Sticks are used to craft [[sign]]s, [[torch]]es, [[sword]]s, [[pickaxe]]s, [[axe]]s and [[shovel]]s.}}
{{History|||snap=20100130|Sticks are now used to craft [[bow]]s and [[arrow]]s.}}
{{History||20100206|Sticks are now used to craft [[hoe]]s.}}
{{History||20100219|Sticks can be used as fuel for the newly added [[furnace]].}}
{{History||20100223|Sticks are now used to craft [[painting]]s.}}
{{History|java infdev}}
{{History||20100607|Sticks are now used to craft [[ladder]]s.}}
{{History||20100618|Sticks are now used to craft [[rail]]s.}}
{{History|java alpha}}
{{History||v1.0.1|Sticks are now used to craft [[redstone torch]]es and [[lever]]s.}}
{{History||v1.0.6|2 sticks now drops from breaking [[boat]]s.}}
{{History||v1.0.17|Sticks are now used to craft [[fence]]s.}}
{{History||v1.1.1|Sticks are now used to craft [[fishing rod]]s.}}
{{History|java beta}}
{{History||1.5|Sticks are now used to craft [[powered rail]]s.}}
{{History||1.8|snap=Pre-release|Sticks are now used to craft [[fence gate]]s.}}
{{History|java}}
{{History||1.2.4|snap=release|[[Spruce planks]], [[birch planks]], and [[jungle planks]] can now be used to craft sticks.}}
{{History||1.3.1|snap=12w16a|Sticks are found in the new [[bonus chest]]s.}}
{{History|||snap=12w22a|Sticks are now used to craft [[tripwire hook]]s.}}
{{History|||snap=12w27a|Sticks no longer drops from breaking [[boat]]s.|Instead, it needs to fall certain heights to drop 2 sticks.}}
{{History||1.4.2|snap=12w34a|Sticks are now used to craft [[item frame]]s.}}
{{History|||snap=12w38b|[[Witch]]es now have a chance to drop sticks.}}
{{History||1.5|snap=13w02a|Sticks are now used to craft [[activator rail]]s.}}
{{History||1.7.2|snap=13w36a|Sticks can be obtained as one of the "junk" [[item]]s by [[fishing]].}}
{{History|||snap=1.7.1|[[Acacia planks]] and [[dark oak planks]] can now be used to craft sticks.}}
{{History||1.8|snap=14w30a|Sticks are now used to craft [[banner]]s.}}
{{History|||snap=14w32a|Sticks are now used to craft [[armor stand]]s.}}
{{History||1.9|snap=15w31a|Sticks are now dropped by [[dead bush]]es.}}
{{History|||snap=15w44a|Sticks are now found in [[bonus chest]]s for more than double the average yield.}}
{{History||1.13|snap=17w47a|Sticks can now be found in 70.5% of bonus chests in stacks of 1–12.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 280.}}
{{History||1.14|snap=18w43a|Sticks can now be crafted from [[bamboo]].
|Sticks can now be used to craft [[crossbow]]s.
|Sticks are now [[drops|dropped]] by [[leaves]].}}
{{History|||snap=18w48a|Sticks can now be used to craft [[grindstone]]s.
|Sticks can now be found in [[chest]]s in [[village]] cartographer houses.}}
{{History|||snap=18w50a|Sticks can now be found in village fletcher houses and toolsmith houses.}}
{{History|||snap=19w02a|Sticks can now be used to craft [[campfire]]s.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|buy]] sticks.}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft sticks.
|Sticks can now be used to craft [[soul torch]]es.}}
{{History||1.17|snap=21w05a|Sticks are now dropped by [[azalea leaves]] and [[flowering azalea leaves]].}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft sticks.}}
{{History|||snap=22w13a|Sticks are now dropped by [[mangrove leaves]].}}
{{History||1.19.4|snap=23w07a|The [[crossbow]] and [[soul campfire]] recipes are no longer unlocked by sticks.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|Sticks are now dropped by [[cherry leaves]].
|Sticks can now be used to craft [[brush]]es.
|Sticks now drop when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History||1.20|snap=23w12a|The probability for the stick to generate in the [[suspicious sand]] in [[desert well]] has been changed from 1/7 to 1/8.}}

{{History|pocket alpha}}
{{History||v0.2.0|[[File:Stick JE1 BE1.png|32px]] Added sticks. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.0|Sticks are now [[craft]]able.
|Sticks can be used to [[craft]] wooden and stone [[pickaxe]]s, [[axe]]s, [[sword]]s and [[shovel]]s, [[ladder]]s, [[torch]]es, [[fence]]s and [[fence gate]]s.}}
{{History||v0.3.2|Sticks are now used to craft iron, gold and diamond [[pickaxe]]s, [[axe]]s, [[sword]]s and [[shovel]]s.}}
{{History||v0.3.3|Sticks are now used to craft [[bow]]s.}}
{{History||v0.4.0|Sticks are now used to craft [[hoe]]s.}}
{{History||v0.5.0|Sticks are now used to craft [[painting]]s.}}
{{History||v0.6.0|Sticks are now used to craft [[sign]]s.}}
{{History||v0.8.0|snap=build 2|Sticks are now used to craft [[rail]]s and [[powered rail]]s.}}
{{History||v0.11.0|snap=build 1|Sticks are now used to craft [[fishing rod]]s.
|Sticks can now be found as a junk [[item]] from [[fishing]].}}
{{History||v0.12.1|snap=build 1|Sticks are now [[drops|dropped]] when [[dead bush]]es are [[breaking|destroyed]].}}
{{History||v0.13.0|snap=build 1|Sticks are now used to craft [[redstone torch]]es, [[lever]]s and [[tripwire hook]]s.}}
{{History||v0.14.0|snap=build 1|Added [[witch]]es, which have a chance of [[drops|dropping]] sticks.
|Sticks can now be used to craft [[item frame]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Sticks can now be used to craft [[armor stand]]s and [[banner]]s.
|Sticks can now generate inside [[bonus chest]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Sticks can now be used to craft [[sparkler]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Sticks can now be crafted from [[bamboo]].}}
{{History|||snap=beta 1.8.0.10|Sticks can now be used to craft [[crossbow]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Sticks can now be used to craft [[barrel]]s, [[grindstone]]s, and [[campfire]]s.
|[[Leaves]] now have a chance of [[drops|dropping]] 0-2 sticks when [[breaking|destroyed]].}}
{{History||1.11.0|snap=beta 1.11.0.1|Sticks can now be found in [[village]] toolsmith and fletcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Sticks can now be [[trading|sold]] to fletcher [[villager]]s.}}
{{History||1.16.0|snap=beta 1.16.0.51|Sticks can now be used to craft [[soul torch]]es.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.70|snap=beta 1.19.70.23|Sticks can now be used to craft [[brush]]es.
|Sticks now drop when brushing [[suspicious sand]] in [[desert well]]s.}}
{{History||1.20.10|snap=beta 1.20.10.20|Sticks are no longer used to craft barrels.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Stick JE1 BE1.png|32px]] Added sticks.}}
{{History|PS4}}
{{History||1.90|Sticks can now be [[drops|dropped]] by [[leaves]].}}

{{History|new3DS}}
{{History||0.1.0|[[File:Stick JE1 BE1.png|32px]] Added sticks.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==

* The stick is used in 49 recipes in ''Java Edition'', and 50 recipes in ''Bedrock Edition'', more than any other item in the game. [[Iron ingot]] takes second place with 35 recipes, and [[planks]] take third place with 34 recipes.
* To craft each recipe once, a player would need 111 sticks, including 1 for the [[redstone torch]] in an [[activator rail]], while using the extra tripwire hook for the [[crossbow]]. This would require 56 [[planks]], or 14 [[logs]], for the sticks, and an extra 29 planks for the [[tool|wooden tools]], [[tripwire hook]], [[signs]], [[fences]], [[fence gate]], [[grindstone]], and slabs for the [[barrel]]. This means that the player needs a total of 85 planks, or 22 logs, plus 6 more for the [[campfire]] and [[soul campfire]].

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--stick Taking Inventory: Stick] – Minecraft.net on April 2, 2020

{{Items}}

[[cs:Tyčka]]
[[de:Stock]]
[[es:Palo]]
[[fr:Bâton]]
[[hu:Bot]]
[[it:Bastone]]
[[ja:棒]]
[[ko:막대기]]
[[nl:Stok]]
[[pl:Patyk]]
[[pt:Graveto]]
[[ru:Палка]]
[[th:แท่งไม้]]
[[tr:Çubuk]]
[[uk:Палиця]]
[[zh:木棍]]
[[Category:Renewable resources]]</li></ul>
Added water, allowing the ability for the player to swim.
Java Edition
1.4.2
{{Extension DPL}}<ul><li>[[Nether Quartz|Nether Quartz]]<br/>{{About|the item|the ore|Nether Quartz Ore|the mineral block|Block of Quartz|other uses|Quartz}}
{{Item
| image = Nether Quartz.png
|type=
| renewable = Yes
| stackable = Yes (64)
}}

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

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

=== Mining ===

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

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

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

=== Bartering ===

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

== Usage ==

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

=== Trading ===

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

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

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

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

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

== History ==

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

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

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

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

== Issues ==

{{issue list}}

== Trivia ==

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

== References ==

{{reflist}}

{{items}}

[[Category:Renewable resources]]

[[cs:Netheritový křemen]]
[[de:Netherquarz]]
[[es:Cuarzo del Nether]]
[[fr:Quartz du Nether]]
[[hu:Alvilági kvarc]]
[[ja:ネザークォーツ]]
[[ko:네더 석영]]
[[nl:Netherkwarts]]
[[pl:Kwarc]]
[[pt:Quartzo do Nether]]
[[ru:Кварц Нижнего мира]]
[[uk:Пекельний кварц]]
[[zh:下界石英]]</li><li>[[Tag (item)|Tag (item)]]<br/>{{About|the April Fools item|the standard item used to rename mobs|Name Tag}}
{{wip}}
{{joke feature}}
{{exclusive|java}}
{{Item
| title = Tag
| image = Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
Tags and Bits are items exclusive to the [[Java Edition 23w13a or b|23w13a_or_b]] [[Easter eggs#April Fools|April Fools' joke]] snapshot from 2023. They are used to craft in-game representations of [[NBT format|NBT tags]].

==Obtaining==
A [[stonecutter]] can be used to cut a [[Name Tag|name tag]] into either 16 "Name" or 16 "Tag" items. These can be cut into 16 Bit items each.

{{Stonecutting
|head=1
|showdescription=1
|Name Tag
|Name, 16; Tag, 16
|description=The resulting "Name" items must be named in an [[anvil]].
}}
{{Stonecutting
|showdescription=
|Name; Tag
|Bit, 16
|foot=1
}}

To be able to proceed from here the <code>nbt_crafting</code> vote must be approved. Bits can be used in a crafting table to craft Left Curly, Right Curly, Left Square, and Right Square. In appears like these are the only tag items that can be crafted from Bits.

A [[Crafting Table|crafting table]] can be used to convert a "Tag" item into a "Byte Tag." The amount of [[stick]]s added to the crafting recipe specifies the value of the Byte, as a [[wikipedia:Signed number representations#Two's complement|signed 8-bit value]]. For example, a "Tag" and a full stack of sticks make a Byte with the value <code>64b</code>, while 255 sticks result in <code>-1b</code>. Only one of the sticks is consumed. Two Bytes can be crafted into a "Short Tag" (equivalent to 16 bit), two Shorts into an "Int Tag" (equivalent to 32 bit), and two Ints into a "Long Tag" (equivalent to 64 bit). Many other combinations that form either 16, 32, or 64 bit are possible. For example, two Shorts and an Int make a Long. When combining values, their digits are stuck together in the given order, e.g. <code>1b</code> and <code>0b</code> make <code>256s</code> (equivalent to 0100<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]). Undoing any of these crafting actions in e.g. a stonecutter is not possible.

"Float" and "Double Tags" can be crafted by adding one or two [[boat]]s to any numeric tag. A "String Tag" is crafted with a "Tag" and a piece of [[string]].

{{Crafting
|head=1
|showdescription=1
|A1= Bit;    ; Bit; Bit |B1=    ; Bit; Bit; Bit
|A2=    ; Bit; Bit;     |B2= Bit;    ;    ; Bit
|A3= Bit;    ; Bit; Bit |B3=    ; Bit; Bit; Bit
|Output= Right Curly; Left Curly; Left Square; Right Square
|ignoreusage=1
}}
{{Crafting
|Tag
|String
|Output= String Tag
|description=String tags must be named in an [[anvil]] to set their value.
|ignoreusage=1
}}
{{Crafting
|Tag; Tag;   Tag
|;    Stick; Stick, 64
|;    ;      Stick, 63
|Output= Byte Tag; Byte Tag; Byte Tag
|description=Only 1 stick is consumed. 128 and more sticks make [[wikipedia:Signed number representations#Two's complement|two's complements]]:
128 sticks = <code>-128b</code><br>
129 sticks = <code>-127b</code><br>
⋮<br>
254 sticks = <code>-2b</code><br>
255 sticks = <code>-1b</code>
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Byte Tag; Byte Tag
|Byte Tag; Byte Tag; Byte Tag
|        ; Byte Tag; Byte Tag
|        ; Byte Tag; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|        ;         ; Byte Tag
|Output= Short Tag; Int Tag; Long Tag
|description=Shorts and Ints can be combined the same way, even mixed.

Digits are appended, e.g. two <code>1b</code> tags make <code>257b</code> (0101<sub>16</sub> in [[wikipedia:Hexadecimal|hexadecimal]]).
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Float Tag; Float Tag; Float Tag; Float Tag
|ignoreusage=1
}}
{{Crafting
|Byte Tag; Short Tag; Int Tag; Long Tag
|Any Boat; Any Boat; Any Boat; Any Boat
|Any Boat; Any Boat; Any Boat; Any Boat
|Output= Double Tag; Double Tag; Double Tag; Double Tag
|ignoreusage=1
}}
{{Crafting
|Left Curly;  Left Curly
|Name;        Name
|Byte Tag;    Byte Tag
|Right Curly; Name |; Byte Tag | |; Name |; Byte Tag |; Right Curly
|Output= Compound Tag; Compound Tag
|description=Instead of Bytes any other tag can be used, including other compound tags.
|ignoreusage=1
}}
{{Crafting
|Left Square;  Left Square
|Byte Tag;     Byte Tag
|Right Square; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Byte Tag |; Right Square
|Output= List Tag; List Tag
|description=Instead of Bytes any other tag can be used, including other list tags.
|ignoreusage=1
}}
{{Crafting
|Compound Tag; List Tag
|Compound Tag; List Tag
|Output= Compound Tag; List Tag
|description=Up to 9 can be combined.

When compound tags contain identical names, only the latest of the corresponding values is used.
|ignoreusage=1
|foot=1
}}

"Name" and "String Tags" must be named in an [[anvil]] before they can be used. Unnamed Names and Strings always produce a "Sssyntax Error". None of the other tag items can be named.

All these items can be combined in a crafting table to form a short sequence of JSON code, as long as the resulting syntax is valid. For example: 
*A pair of Curlies that enclose a named "Name" item and some value, e.g. a Byte, create a "Compound Tag" with the content <code>{Example:0b}</code>.
**Because of the limited size of the crafting table only 3 name-value pairs can be put between Curlies at a time. Compound Tags of any length can be created by concatenating two or more Compound Tags.
**An empty pair of Curlies produces an empty Compound Tag with the content <code>{}</code>.
*A pair of Square brackets that enclose any number of values, e.g. 7 Bytes, create a "List Tag" with the content <code>[0b,0b,0b,0b,0b,0b,0b]</code>.
**Because of the limited size of the crafting table only 7 values can be put between Square brackets at a time. List Tags of any length can be created by concatenating two or more List Tags.
**An empty pair of Square brackets produces an empty List with the content <code>[]</code>.
**"Name" items cannot be used in a List.

The resulting Compound and List Tags can be used as values in other Compound and List Tags, as deeply nested as you want.

==Usage==
Tags appear to have no further functionality. They cannot be eaten or placed in the world, except in an item frame, as each other item can. However, Compound Tags with values like <code>{Enchantments:[{id:"minecraft:sharpness",lvl:127b}]}</code> will show the [[Enchanting|enchantment]] glint and actually act accordingly when used.<ref>https://www.reddit.com/r/Minecraft/comments/129xdyl/i_figure_out_how_the_nbtcrafting_in_the_vote/</ref> This appears to work with many weapon and tool [[Enchanting#Summary of enchantments by item|enchantments]].

In theory, an extremely lucky <code>replace_recipe_output</code> vote can change the crafting recipe for compound tags to output something else. When cheats are enabled you can test this with a command like <code>/vote rule minecraft:replace_recipe_output approve {key:"minecraft:compound_tag",value:"minecraft:netherite_sword"}</code>. However, as long as this vote is approved no other compound tag can be crafted. Use <code>/vote rule minecraft:replace_recipe_output repeal *</code> to undo all recipe replacements.

In combination with the <code>midas_touch</code> vote tag items can be converted into [[Gold Ingot|gold ingots]]. These retain their NBT data. When the world is loaded in another version of the game tag items disappear, but gold ingots persist.

==Trivia==
*This implies that a [[Name Tag|name tag]] is 128 bit.
*Compound and list tags are special in so far that the value they show in their [[tooltip]] is not merely a property of the item, but their ''actual'' [[NBT format|NBT data]]. This is also the reason why naming them is disabled as that would mess up the NBT data.
*The snapshot also contains an [[History of textures/Unused textures|unused texture]] for an {{ItemLink|End Tag}}.

==History==
{{History|java}}
{{History||23w13a_or_b|[[File:Tag.png|32px]] Added tags.}}
{{History|foot}}

==Gallery==
<gallery>
Tag.png|Tag
Bit.png|Bit
Byte Tag.png|Byte Tag
Double Tag.png|Double Tag
End Tag.png|End Tag
Float Tag.png|Float Tag
Int Tag.png|Int Tag
Left Curly.png|Left Curly
Left Square.png|Left Sqaure
List Tag.png|List Tag
Long Tag.png|Long Tag
Name (23w13a or b).png|Name
Right Curly.png|Right Curly
Right Square.png|Right Square
Short Tag.png|Short Tag
Sssyntax Error.png|Sssyntax Error
String Tag.png|String Tag
</gallery>

== References ==
{{reflist}}

{{items}}
{{jokes}}

[[pt:Tag (item)]]
[[Category:Joke items]]</li></ul>
12w38aChanged the sound when swimming in water.
1.13
{{Extension DPL}}<ul><li>[[Blaze Rod|Blaze Rod]]<br/>{{Item
| image = Blaze Rod.png
| renewable = Yes
| stackable = Yes (64)
}}

'''Blaze rods''' are [[item]]s exclusively obtained from [[blaze]]s. They act as a fuel for both brewing and [[smelting]], and are required to craft [[eye of ender|eyes of ender]] used to access to [[the End]].

== Obtaining ==

=== Mob loot ===
When killed by a player or tamed [[wolf]], a [[blaze]] has a 50% chance to drop a blaze rod. The [[Looting]] [[enchantment]] can increase the drops by one per level, for a maximum of 4 blaze rods. Blazes do not drop any blaze rods if killed by any other source.

== Usage ==

=== Crafting ingredient ===

{{crafting usage}}

=== Fuel ===

When used in a [[furnace]], a blaze rod lasts 120 seconds (12 items).

== Achievements ==
{{load achievements|Into Fire}}

== Advancements ==
{{load advancements|Into Fire}}

== Video ==
{{Video note|This video does not mention the crafting of [[End Rod]]s.|minor}}

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

== Data values ==
=== ID ===
{{el|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Blaze Rod
|spritetype=item
|nameid=blaze_rod
|form=item
|foot=1}}

{{el|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Blaze Rod
|spritetype=item
|nameid=blaze_rod
|id=423
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.}}
{{History|||snap=Beta 1.9 Prerelease 2|Blaze rods are now used to craft [[blaze powder]].}}
{{History|||snap=Beta 1.9 Prerelease 3|Blaze rods are now used to craft [[brewing stand]]s.}}
{{History||1.8|snap=14w07a|Blaze rods are now held similarly to [[tools]].}}
{{History||1.9|snap=15w44b|Blaze rods are now used to craft [[end rod]]s.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 369.}}

{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods. 
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Blaze rods are now used to craft [[end rod]]s.}}

{{History|console}}
{{History||xbox=TU7|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|Blaze rods are now used to craft [[end rod]]s.}}

{{History|New 3DS}}
{{History||0.1.0|[[File:Blaze Rod JE1 BE1.png|32px]] Added blaze rods.
|Blaze rods can be used to craft [[blaze powder]] and [[brewing stand]]s.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* As part of an official collaboration, blaze rods are included in a free add-on for the roleplaying game [https://en.wikipedia.org/wiki/Dungeons_%26_Dragons ''Dungeons and Dragons''].<ref>https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwj9uvqlwIT-AhV7LUQIHYlVDiwQFnoECBAQAQ&url=https%3A%2F%2Fwww.minecraft.net%2Fcontent%2Fdam%2Fgames%2Fminecraft%2Fsoftware%2FMinecraft-Monstrous-Compendium.pdf&usg=AOvVaw0aKOqpKAHSH11qgZhN_Bhx</ref> In the game, they are worth 100 gold pieces, create light, and can be broken to create an explosion.
* They are the spinning things surrounding the blaze's head

{{items}}

== References ==
{{Reflist}}

[[Category:Renewable resources]]

[[cs:Ohnivá hůl]]
[[de:Lohenrute]]
[[el:Οι ράβδοι των Blaze]]
[[es:Vara de blaze]]
[[fr:Bâton de Blaze]]
[[hu:Lángrúd]]
[[it:Verga di blaze]]
[[ja:ブレイズロッド]]
[[ko:블레이즈 막대]]
[[lzh:炎靈桿]]
[[nl:Blazestaf]]
[[pl:Płomienna różdżka]]
[[pt:Vara de blaze]]
[[ru:Огненный стержень]]
[[th:แท่งเบลซ]]
[[tr:Alaz Çubuğu]]
[[uk:Стрижень Блейза]]
[[zh:烈焰棒]]</li><li>[[Amethyst Shard|Amethyst Shard]]<br/>{{Item
| title = Amethyst Shard
| image = Amethyst Shard.png
| renewable = Yes
| stackable = Yes (64)
}}

An '''amethyst shard''' is a crystal ore obtained from mining a fully grown [[amethyst cluster]] or can be obtained from chests in [[Ancient City|ancient cities]].

== Obtaining ==

=== Mining ===
An [[amethyst cluster]] mined using a non-[[Silk Touch]], non-[[Fortune]] [[pickaxe]] drops 4 amethyst shards. When mined using any other tool, [[item]] or mechanism (such as [[explosion]]s or [[piston]]s) it drops 2 shards. The maximum amount of amethyst shards dropped can be increased with Fortune. Fortune I gives a {{frac|1|3}} chance for eight shards, averaging 5.33 shards; Fortune II gives a 25% chance (each) to give eight or 12 shards, averaging 7 shards, and Fortune III gives a 20% chance (each) to give 8, 12, or 16 shards, averaging 8.8 shards.

If the amethyst cluster in any of its growth stages is mined using a pickaxe enchanted with [[Silk Touch]], it drops itself rather than amethyst shards.

=== Chest loot ===
{{LootChestItem|amethyst-shard}} 

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

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

=== Allay duplication ===
If an amethyst shard is given to an [[allay]] that is currently dancing to an active [[jukebox]], the allay emits heart particles, consumes the amethyst shard and duplicates into another allay. After this, there is a 5 minute cool down until both allays can be duplicated like this again.



== Sounds ==
{{Edition|Java}}:
{{Sound table
|sound=Amethyst shimmer.ogg
|subtitle=Amethyst chimes
|source=neutral
|description=When an amethyst shard duplicates an allay
|id=block.amethyst_block.chime
|translationkey=subtitles.block.amethyst_block.chime
|volume=0.4
|pitch=1.0
|distance=16
|foot=1}}

{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|sound=Amethyst shimmer.ogg
|source=block
|description=When an amethyst shard duplicates an allay
|id=chime.amethyst_block
|volume=1.0
|pitch=0.5-1.7
|foot=1}}

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Amethyst Shard
|spritetype=item
|nameid=amethyst_shard
|form=item
|id=625
|foot=1}}

==History==
{{History||October 3, 2020|link={{ytl|DBvZ2Iqmm3M|t=23m14s}}|Amethyst shards are mentioned, but not shown at [[Minecraft Live 2020]].}}
{{History|java}}
{{History||1.17|snap=20w45a|[[File:Amethyst Shard JE1.png|32px]] Added amethyst shards.}}
{{History|||snap=20w46a|[[File:Amethyst Shard JE2 BE1.png|32px]] The texture for amethyst shards has changed.}}
{{History||1.19|snap=22w13a|Amethyst shards can now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.1|snap=22w24a|Amethyst shards can now be used to duplicate [[allay]]s.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w04a|Amethyst shards can now be used as an armor trim material.}}
{{History||1.20|snap=23w12a|Amethyst shards can now be used to craft [[calibrated sculk sensor]]s.}}

{{History|bedrock}}
{{History||1.17.0|snap=beta 1.17.0.50|[[File:Amethyst Shard JE2 BE1.png|32px]] Added amethyst shards.}}
{{History|||snap=beta 1.17.0.52|Amethyst shards are now available without enabling [[Experimental Gameplay]].}}
{{History||1.19.0|snap=beta 1.19.0.26|Amethyst shards can now be found in [[ancient city]] [[chest]]s.}}
{{History||1.19.10|snap=beta 1.19.10.22|Amethyst shards can now be used to duplicate allays.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.21|Amethyst shards can now be used as an armor trim material.}}
{{History|||snap=beta 1.19.80.22|Amethyst shards can now be used to craft calibrated sculk sensors.}}
{{History|foot}}

==Issues==
{{issue list}}

==Trivia==
* Although in real life {{w|amethyst}} is a variety of {{w|quartz}} like [[Nether Quartz|nether quartz]], the two resources are not interchangeable.
* besides netherite, amethyst is the only or to be attempted not from an ore in caves

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--amethyst-shard Taking Inventory: Amethyst Shard] – Minecraft.net on May 20, 2021

{{Items}}

[[Category:Renewable resources]]

[[de:Amethystscherbe]]
[[es:Fragmento de amatista]]
[[fr:Éclat d'améthyste]]
[[it:Scheggia di ametista]]
[[ja:アメジストの欠片]]
[[lzh:紫水玉片]]
[[pl:Odłamek ametystu]]
[[pt:Fragmento de ametista]]
[[ru:Осколок аметиста]]
[[uk:Уламок аметисту]]
[[zh:紫水晶碎片]]
[[Category:Ore]]</li></ul>
18w07aAdded the ability to sprint while in water, which causes the player to dive to the ground and swim much faster.
18w15aSprinting at the surface of water no longer makes the player swim, instead the player stays at the same altitude constantly.
Swimming through 1 block holes is now possible.[2]
18w19aAdded the Dolphin's Grace status effect, creating a new way for the player to swim faster.
Pocket Edition Alpha
0.1.0
{{Extension DPL}}<ul><li>[[:Category:Storage|Category:Storage]]<br/>Blocks and items used to '''store''' other blocks or items.

[[Category:Blocks]][[Category:Items]]

[[ja:カテゴリ:ストレージ]]
[[zh:Category:储物]]</li><li>[[Snowball|Snowball]]<br/>{{about|the throwable item|the enchantment in ''Minecraft Dungeons''|MCD:Snowball}}
{{ItemEntity
|image=Snowball.png
|renewable=Yes
|stackable=Yes (16)<br>
Yes (64){{upcoming|java Combat Tests}}
|size=Height: 0.25 Blocks<br>Width: 0.25 Blocks
}}

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

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

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

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

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

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

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

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

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

== Usage ==

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

== References ==
{{reflist}}

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

{{Items}}
{{entities}}

[[Category:Combat]]

[[cs:Sněhová koule]]
[[de:Schneeball]]
[[es:Bola de nieve]]
[[fr:Boule de neige]]
[[hu:Hógolyó]]
[[ja:雪玉]]
[[ko:눈덩이]]
[[nl:Sneeuwbal]]
[[pl:Śnieżka]]
[[pt:Bola de neve]]
[[ru:Снежок]]
[[th:บอลหิมะ]]
[[uk:Сніжок]]
[[zh:雪球]]</li></ul>
Added water and swimming.
Bedrock Edition
1.4
{{Extension DPL}}<ul><li>[[Light Blue Dye|Light Blue Dye]]<br/>{{Item
| image = Light_Blue_Dye_JE2_BE2.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Light blue dye''' is a [[Dyeing#Quasi-Primary|quasi-primary dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |showname=0
  |showdescription=1
  |Blue Orchid
  |Output=Light Blue Dye
  |type=Material
  |head=1
}}
{{Crafting
  |Blue Dye
  |White Dye
  |Output=Light Blue Dye,2
  |type=Material
}}
{{Crafting
  |Lapis Lazuli;Blue Dye;Lapis Lazuli
  |Bone Meal;Bone Meal;White Dye
  |Output=Light Blue Dye,2
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

=== Loot chest ===
{{#invoke:LootChest|base3|light-blue-dye}}

=== Trading ===

[[Wandering trader]]s sell 3 light blue dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

=== Loom ingredient ===
{{Banner loom usage|Light Blue Dye}}

=== Trading ===

Apprentice-level shepherd villagers have a 20%{{only|bedrock}} or {{frac|2|7}}{{only|java}} chance to buy 12 light blue dye for an emerald as part of their trades.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Light Blue Dye
|spritetype=item
|nameid=light_blue_dye
|aliasid=dye / 12
|id=407
|form=item
|translationkey=item.dye.lightBlue.name
|foot=1}}

== Video ==
{{yt|IPQzg-zPJgk}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Light Blue Dye JE1 BE1.png|32px]] Added light blue dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Light blue dye can be [[crafting|crafted]] with gunpowder to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History|||snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Light blue dye is now crafted using [[white dye|white]] and [[blue dye]]s, instead of [[bone meal]] and [[lapis lazuli]].
|[[File:Light_Blue_Dye_JE2_BE2.png|32px]] The texture of light blue dye has now been changed.}}
{{History|||snap=18w44a|Light blue dye can now change the text color on [[sign]]s to light blue.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells light blue dye.}}
{{History|||snap=19w11a|Light blue dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Light blue dye can now be used to craft [[light blue candle]]s.}}
{{History|||snap=21w19a|Light blue dye can no longer be used to craft light blue candles.}}
{{History|||snap=Pre-release 1|Light blue dye can now once again be used to craft light blue candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Light blue dye can now change the text color on [[hanging sign]]s to light blue.}}
{{History||1.20|snap=23w12a|Light blue dye can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w16a|Light blue dye 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]]; light blue dye now is in the common loot.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Light Blue Dye JE1 BE1.png|32px]] Added light blue dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Light blue dye is now craftable with [[lapis lazuli]] and [[bone meal]].
|Light blue dye can now be used to craft light blue wool.}}
{{History||v0.14.0|snap=build 1|Light blue dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Light blue dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Light dye can now be used to craft [[concrete powder]] and dye [[shulker box]]es and [[bed]]s.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Light blue dye can now be used to craft [[firework star]]s, [[stained glass]], and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Light blue dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Light blue dye can now be used to dye [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Light blue dye is now [[trading|sold]] by [[wandering trader]]s.
|Light blue dye can now be used to dye white [[carpet]]s.
|[[File:Light_Blue_Dye_JE2_BE2.png|32px]] The texture of light blue dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Light blue dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of light blue dye has been changed from <code>dye/12</code> to <code>light_blue_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Light Blue Dye JE1 BE1.png|32px]] Added light blue dye.}}
{{History|PS4}}
{{History||1.90|[[File:Light_Blue_Dye_JE2_BE2.png|32px]] The texture of light blue dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Light Blue Dye JE1 BE1.png|32px]] Added light blue dye.}}
{{History|foot}}

== Issues ==
{{issue list}}

{{Items}}

[[Category:Dyes]]

[[cs:Světle modré barvivo]]
[[de:Hellblauer Farbstoff]]
[[es:Tinte azul claro]]
[[fr:Teinture bleu clair]]
[[hu:Világoskék festék]]
[[ja:空色の染料]]
[[ko:하늘색 염료]]
[[nl:Lichtblauwe kleurstof]]
[[pl:Jasnoniebieski barwnik]]
[[pt:Corante azul-claro]]
[[ru:Светло-синий краситель]]
[[zh:淡蓝色染料]]
[[Category:Renewable resources]]</li><li>[[Magenta Dye|Magenta Dye]]<br/>{{Item
| image = Magenta Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Magenta dye''' is a [[Dye#Quasi-Primary|quasi-primary color dye]].

== Obtaining ==

=== Crafting ===

{{Crafting
  |head=1
  |showdescription=1
  |showname=0
  |Allium
  |Output=Magenta Dye
  |type=Material
}}
{{Crafting
  |Lilac
  |Output=Magenta Dye,2
  |type=Material
}}
{{Crafting
  |Purple Dye
  |Pink Dye
  |Output=Magenta Dye,2
  |type=Material
}}
{{Crafting
  |Blue Dye
  |Red Dye
  |Pink Dye
  |Output=Magenta Dye,3
  |type=Material
}}
{{Crafting
  |Lapis Lazuli
  |Red Dye
  |Pink Dye
  |Output=Magenta Dye,3
  |type=Material
  |description={{only|bedrock|education}}
}}
{{Crafting
  |Blue Dye
  |Red Dye
  |Red Dye
  |White Dye
  |Output=Magenta Dye,4
  |type=Material
}}
{{Crafting
  |Lapis Lazuli;Lapis Lazuli;Blue Dye
  |Red Dye;Red Dye;Red Dye
  |Red Dye;Red Dye;Red Dye
  |Bone Meal;White Dye;Bone Meal
  |Output=Magenta Dye,4
  |type=Material
  |description={{only|bedrock|education}}
  |foot=1
}}

=== Trading ===

[[Wandering trader]]s sell 3 magenta dye for an [[emerald]].

== Usage ==

{{dye usage}}

=== Crafting ingredient ===

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

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

=== Trading ===
Expert-level shepherd villagers have a {{frac|1|6}} chance to buy 12 magenta dye for an emerald.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Magenta Dye
|spritetype=item
|nameid=magenta_dye
|aliasid=dye / 13
|id=408
|form=item
|translationkey=item.dye.magenta.name
|foot=1}}

== Video ==
{{yt|IkaIFDQJNUU}}

== History ==

{{History|java beta}}
{{History||1.2|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|Added the ability to [[Armor#Dyeing|dye]] leather [[armor]] and [[wolf]] collars.}}
{{History||1.4.6|snap=12w49a|Magenta dye can now be [[crafting|crafted]] with [[gunpowder]] to create a [[firework star]].}} 
{{History||1.6.1|snap=13w19a|[[Stained clay]] can now be crafted.}}
{{history||1.7.2|snap=13w36a|With the addition of new [[flower]]s, many secondary and tertiary dyes are now primary [[dye]]s.}}
{{History||1.7.2|snap=13w41a|[[Stained glass]] can now be crafted.}}
{{History||1.8|snap=14w30a|Added [[banner]]s, which can be dyed.}}
{{History||1.11|snap=16w39a|Added [[shulker box]]es, which can be dyed.}}
{{History||1.12|snap=17w15a|Added ability to dye [[bed]]s.}}
{{History||1.13|snap=17w47a|The different data values for the <code>dye</code> ID have now been split up into their own IDs.
|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 351.}}
{{History||1.14|snap=18w43a|Magenta dye is now crafted using [[blue dye]] and [[white dye]], instead of [[lapis lazuli]] and [[bone meal]].
|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}
{{History|||snap=18w44a|Magenta dye can now change the text color on [[sign]]s to magenta.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sells magenta dye.}}
{{History|||snap=19w11a|Magenta dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Magenta dye can now be used to craft [[magenta candle]]s.}}
{{History|||snap=21w19a|Magenta dye can no longer be used to craft magenta candles.}}
{{History|||snap=Pre-release 1|Magenta dye can now once again be used to craft magenta candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Magenta dye can now change the text color on [[hanging sign]]s to magenta.}}

{{History|pocket alpha}}
{{History||v0.3.0|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.4.0|Magenta dye is now craftable with one [[lapis lazuli]], two [[rose red]]s, and one [[bone meal]].
|Magenta dye can now be used to craft magenta wool.}}
{{History||v0.6.0|Magenta dye can now be used to dye [[sheep]].}}
{{History||v0.8.0|snap=build 1|Magenta dye can now additionally be crafted with one [[purple dye]] and one [[pink dye]], or with one [[lapis lazuli]], one [[rose red]], and one pink dye.}}
{{History||v0.9.0|snap=build 11|Magenta dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Magenta dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Magenta dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Magenta dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Magenta dye can now be used to craft [[concrete powder]], colored [[bed]]s and dyed [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Magenta dye can now be used to craft [[firework star]]s, [[stained glass]] and patterns on [[banner]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Magenta dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Magenta dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Magenta dye is now [[trading|sold]] by [[wandering trader]]s.
|Magenta dye can now be used to dye white [[carpet]]s and regular [[glass pane]]s.
|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Magenta dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of magenta dye has been changed from <code>dye/13</code> to <code>magenta_dye</code>.}}

{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye.}}
{{History|PS4}}
{{History||1.90|[[File:Magenta Dye JE2 BE2.png|32px]] The texture of magenta dye has now been changed.}}

{{History|new 3ds}}
{{History||0.1.0|[[File:Magenta Dye JE1 BE1.png|32px]] Added magenta dye.}}
{{History|foot}}

== Issues ==
{{issue list}}

== References ==
{{reflist}}

{{Items}}

[[Category:Dyes]]

[[cs:Purpurové barvivo]]
[[de:Magenta Farbstoff]]
[[es:Tinte magenta]]
[[fr:Teinture magenta]]
[[hu:Bíborvörös festék]]
[[ja:赤紫色の染料]]
[[ko:자홍색 염료]]
[[nl:Magenta kleurstof]]
[[pl:Karmazynowy barwnik]]
[[pt:Corante magenta]]
[[ru:Сиреневый краситель]]
[[zh:品红色染料]]
[[Category:Renewable resources]]</li></ul>
beta 1.2.13.8Added the ability to sprint while in water, which causes the player to dive to the ground and swim much faster.
beta 1.2.20.1Players can now swim through 1x1 gaps.
1.5
{{Extension DPL}}<ul><li>[[Name Tag|Name Tag]]<br/>{{about|the item that gives names to mobs|the nameplate above a player's head|Player#Username}}
{{Item
| image = Name Tag.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''name tag''' is an [[item]] used to name [[mob]]s in the world and prevent them from despawning naturally.

== Obtaining ==

=== Chest loot ===

{{LootChestItem|name-tag}}

=== Fishing ===

Name tags can be caught from [[fishing]] as part of the treasure category with a {{frac|1|6}} chance after the 5% chance of being a treasure catch. The chance of catching treasure increases with the [[Luck of the Sea]] enchantment.

=== Trading ===

Master-level librarian [[villagers]] offer to sell a name tag for 20 [[emerald]]s as one of their available trades.

== Usage ==

To use a name tag, it must first be renamed with an [[anvil]], costing 1 [[experience]] level. 

If it is not renamed, it has no effect when used on a mob. After the name tag is renamed, the player can {{control|use}} it on a mob to give it the name given to the name tag from the anvil. Mobs and name tags can be renamed any number of times. Name tags with the same name are stackable. 

Once a mob is named, it keeps its name, and the name tag is consumed.

When a mob is named, it is excluded from the mob cap count.

Effects on various mobs:
* A named [[silverfish]] that goes into a block appears to lose its name because it is replaced by a newly generated unnamed silverfish when the block is broken.
* A baby (animal or villager) keeps its name when becoming an adult.
** A named [[villager]] keeps its name when transformed into a [[Zombie Villager|zombie villager]].
** A named zombie villager keeps its name when cured.
* [[Wandering Trader|Wandering trader]]s still despawn even if they are named, or in a [[minecart]] or [[boat]].
* A named [[wither]]'s boss bar displays its name instead of "Wither".
* Naming an [[ender dragon]] with commands also displays the name in the boss bar.

=== Limitations ===

Any mob can be named except for the [[ender dragon]] and [[player]]s.

A name tag can rename an [[armor stand]], though it does not show the nameplate above its head until <code>CustomNameVisible:1b</code> is set as an extra step.

{{control|Using|use}} a name tag on a villager renames the villager instead of opening the trading interface. A saddled pig is renamed instead of being ridden. Using a name tag on any other mob that can be interacted with performs the {{control|use}} action instead of being named. These mobs can be renamed if the player uses the name tag while crouching or standing in a [[nether portal]] because the portal suppresses the {{control|use}} action.

Once a name tag is used on a mob, it is impossible to remove the name of that mob without the use of commands or external modifications.

=== Behavior ===

Renamed mobs have their name displayed over their head in the same fashion as a mob named through a renamed [[spawn egg]]. Their names can be seen only if they are aimed at from four or fewer blocks away.

Mobs that are named using the name tag never despawn in the world, similar to tamed mobs.<ref>{{tweet|dinnerbone|327485109940916226}}</ref> The exceptions are [[wandering trader]]s or if the mob is hostile and the difficulty is switched to "[[Peaceful]]", causing any hostile mobs or any named hostile mobs to despawn immediately. 

If a renamed mob kills a player, the custom name is used in the death message in place of the mob type name. For instance, if a vindicator named "Johnny" kills a player, the death message is "Player was slain by Johnny". 

A renamed [[wither]] also has a renamed health bar, and the boss bar doesn't regenerate{{verify}}.

=== Easter eggs ===

* Any mob that receives the name "[[Easter eggs#Upside-down mobs|Dinnerbone]]" or "[[Easter eggs#Upside-down mobs|Grumm]]" is rendered upside down. This even includes the player in early versions of Bedrock Edition if the username is set to either of these and you are not signed into Xbox Live.
* Naming a [[sheep]] "[[Easter eggs#Jeb sheep|jeb_]]" causes its wool to fade between the dye colors, producing a rainbow effect. The [[wool]] that drops when the sheep is [[shear]]ed or killed is the original color of the sheep before the sheep was named.
* Naming a [[rabbit]] "[[Rabbit#Toast|Toast]]" causes it to have a special memorial skin of user xyzen420's girlfriend's [http://www.reddit.com/r/minecraftsuggestions/comments/27hjog/to_themogminer_my_bunny_is_missing_please_help_me/ missing rabbit].
* Naming a [[vindicator]] "Johnny" causes it to be aggressive and attack all [[mob]]s including the wither (except [[ghast]]s and other [[illager]]s). The hostility even extends to [[Ravager|ravagers]] in [[Java Edition|''Java Edition'']], as the "Johnny" vindicator can also attack the ravager while it's riding it.

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

{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Name Tag
|spritetype=item
|nameid=name_tag
|id=548
|form=item
|foot=1}}

== History ==

{{History|java}}
{{History||1.6.1|snap=13w16b|[[File:Name Tag JE1 BE1.png|32px]] Added name tags. They can now be found in [[dungeon]] [[chest]]s.}}
{{History|||snap=13w25a|A [[mob]] named "Dinnerbone" or "Grumm" now renders upside down.}}
{{History||1.7.2|snap=13w36a|Name tags can now rarely be acquired by [[fishing]], making them [[renewable resource|renewable]].}}
{{History||1.7.4|snap=13w48b|A sheep named "jeb_" now fades between the [[dye]] colors.}}
{{History||1.8|snap=14w02a|Name tags can now be [[trading|bought]] from librarian [[villager]]s, at 20–22 [[emerald]]s for 1 name tag.}}
{{History|||snap=14w27a|[[Rabbit]]s have been added and naming one "Toast" gives it a special memorial skin.}}
{{History||1.9|snap=15w44a|Added name tags to [[mineshaft]] [[chest]]s.
|The average yield of name tags in [[dungeon]] chests has been decreased.}}
{{History||1.11|snap=16w39a|Name tags can now be found in the new [[woodland mansion]] chests.
|Added [[vindicator]]s, which attack almost all mobs if named "Johnny".}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 421.}}
{{History||1.14|snap=18w43a|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Name tags now generate in [[ancient city]] chests.}}

{{History|pocket alpha}}
{{History||v0.15.0|snap=build 1|[[File:Name Tag JE1 BE1.png|32px]]  Added name tags, and a new "Name" Interact button.
|A [[mob]] named "Dinnerbone" or "Grumm" renders upside down.
|A [[sheep]] named "jeb_" fades between the [[dye]] colors.
|Naming a [[rabbit]] "Toast" gives it a special memorial skin.}}
{{History|pocket}}
{{History||1.0.4|snap=alpha 1.0.4.0|Name tags can now be [[trading|bought]] from librarian [[villager]]s for 20-22 [[emerald]]s as their last tier trade.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Naming a [[vindicator]] "Johnny" now makes it hostile to any [[mob]], except other [[illager]]s.
|Name tags can now be found in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Name tags can now be found in buried treasure [[chest]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.4|Name tags [[trading|sold]] by librarian [[villager]]s now cost 20 [[emerald]]s.}}

{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|PS4}}
{{History||1.90|[[File:Name Tag JE2 BE2.png|32px]] The texture of name tags has been changed.}}

{{History|3ds}}
{{History||0.1.0|[[File:Name Tag JE1 BE1.png|32px]] Added name tags.}}
{{History|foot}}

== Issues ==
{{issue list}}

== Trivia ==
* Name tags were added at the request of [https://www.youtube.com/user/paulsoaresjr/ Paulsoaresjr].<ref>{{tweet|paulsoaresjr|326865482839883777}}</ref><ref>{{tweet|Dinnerbone|326812168630722561}}</ref>
* A stack of up to 64 name tags can be renamed at once. The cost is 1 [[experience]] level per stack, regardless of how many name tags were stacked.
* To name a [[mob]] “Name Tag” the player must give the name tag a random name, then rename it back to “Name Tag”.
* A [[villager]] with a name tag turned into a [[zombie villager]] by a [[zombie]] with a name tag does not despawn, but a villager with a name tag turned into a zombie by a zombie without a name tag does despawn.
* It is impossible to have a rainbow [[sheep]] upside-down, because it is impossible for it to be named “Jeb_” and “Dinnerbone” at the same time.

== Gallery ==
<gallery>
NameTag2.png|To use a name tag, the [[player]] must first rename it using an [[anvil]].
NameTag1.png|A [[wolf]] that has been renamed using a name tag.
RenamedCreeper.png|A [[creeper]] renamed using the name tag.
RenamedWither.png|A [[Wither Boss|wither]] renamed using a name tag. The custom name takes place of "Wither" over the [[health bar]] as well.
YoYo.png|How to use "Grumm" and "Dinnerbone" name tag [[easter egg]] and [[lead]] to make another animal Yo-yo.
Grumm Horse.png|A [[horse]] using the "Grumm" or "Dinnerbone" easter egg to be rendered upside-down.
MineshaftNameTag.png|Name Tag found in a mineshaft chest.
Pocket Edition Name Tag.jpg|First image of a name tag in bedrock edition.
</gallery>

== See also ==
* [[Spawn Egg]]

== References ==
{{reflist}}

== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--name-tag Taking Inventory: Name Tag] – Minecraft.net on March 15, 2019

{{items}}

[[de:Namensschild]]
[[es:Etiqueta]]
[[fr:Étiquette]]
[[it:Targhetta]]
[[ja:名札]]
[[ko:이름표]]
[[nl:Naamkaartje]]
[[pl:Znacznik]]
[[pt:Etiqueta]]
[[ru:Бирка]]
[[zh:命名牌]]
[[Category:Renewable resources]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image = 
| image2 = 
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

;Calculating signal strength from items

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

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

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

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

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

;Calculating items from signal strength

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

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

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

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

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

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

;{{BlockLink|Cake}}

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

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

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

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

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

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

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

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

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

;{{BlockLink|End Portal Frame}}

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

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

;{{EntityLink|Item Frame}}

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

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

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

;{{BlockLink|Jukebox}}

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

;{{BlockLink|Lectern}}

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

;{{BlockLink|Respawn Anchor}}

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

;{{BlockLink|Sculk Sensor}}

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

;{{BlockLink|Chiseled Bookshelf}}

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

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

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

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

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

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

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

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

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

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

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

== Video ==

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

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

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

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

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

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

== Issues ==
{{issue list}}

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

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

== References ==
{{reflist}}

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

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

[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki>
beta 1.5.0.0Improved player swimming at the surface of water.
Legacy Console Edition
TU1CU1 1.0 Patch 1Added water and swimming.
TU31CU19 1.22 Patch 3Most mobs can now swim in water.
TU69 1.76 Patch 38Added the ability to sprint while in water, which causes the player to dive to the ground and swim much faster.

Issues

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

Trivia

  • Sprinting and jumping while under a 1 block gap high ceiling causes a player to move at a speed almost twice as fast as regular sprinting speed, but it will consume a hunger point every second.
    • This can be sped up even more by decreasing the ceiling height using water source or by sprinting on ice.
    • A similar effect occurs if the player sprints and rapidly hits swim at the same time on a set on fish mobs.

See also

References

Advertisement