Flying technologies are technologies that make the use of elytra, commands, slime blocks, or other sources to move a player, entity or structure in the air, liquids, or solid blocks.
Piston flying machines
The slime block based flying technologies use the clever placement of pistons, blocks of redstone, observers and slime blocks to make an engine, which will move the structure. This is another way of legitimate flying in Survival mode, other than using an elytra. The two main components of slime block flying machines are the engine and the splitter.
Expandable flying machine with a 2-way engine and multiple splitters (each carrying 2 TNT Duplicators). These technologies use the fact that slime blocks will move adjacent movable blocks, including other slime blocks, when pushed or pulled.
Engines
A simple flying engine. The central piston is the only sticky piston used in this configuration.
Engines are mechanical parts of slime-block based flying machines used to move them.
Engines divide into semi- and fully-automatic. The semi-automatic engines need player's intervention to move it, generally updating a piston (like using flint and steel on it or rapidly placing tripwire against it).
The fully-automatic engines are capable of automating the above issue, like by a piston next to it that extends and pushes the moving construction. However, to stop such an engine, something must be in the way so that it can no longer move, this may be in the form of a mechanism in the machine or some other immovable obstacle.
Engines can also differ in available directions and speed. Some can only move in a single direction. They are the most simple and most common engines.
Multi-directional engines
More rarely, engines can move in multiple directions. They have multiple piston mechanisms, each for movement into a separate direction. Such engines are often large and complex and require stations to reliably switch directions.
A 6-way engine that requires dedicated stations.
A 4-way engine (2 vertical directions) that switches directions upon contact with a few blocks.
Compact 2-way engine
A 2-way engine can be made with as few as 6 blocks – 2 Observers, 2 Slime Blocks, and 2 Sticky Pistons. Note that there is more than one way to make such an engine.
Its direction of flight depends on which observer is updated first. Note that in the diagram shown, each observer directly powers a slime block while its face faces up.
Diagonal engine
Some engines can move diagonally by moving alternately along 2 axes.
Oblique engine
Slime block "knightships" (displacement (2m,m)) and "camelships" (displacement (3m,m)) can also be constructed, and further oblique flying machines are almost certainly possible to construct.
Turbo-charged engines
Slime-block engine A. Breaking the sign starts the engine.
Engine A is a high-speed single-direction engine. It fits into 2×2×6 dimensions and uses 14 blocks.
Note 1: This does not work in Java Edition 1.13 or Bedrock Edition (unless an observer-using variant is invented)
Splitters
Splitters are mechanical parts of a fully-automatic flying machine used to push an independent part of a large flying structure. A single piston only can push or pull up to 12 blocks. Splitters split a structure into multiple independent push-able parts (hence the name).
One-way splitters
A one-way splitter has 2 parts: a normal piston in the rear, and a slime block (or more) with a power source in the front with space between them.
Once the rear part with the piston is pushed, the piston will be activated by a power source from the front part. It will push the slime block (and thus the next part of the flying contraption and its splitters), which pulls the power source with it. The piston will then deactivate and prepare for another push.
Some simple engines are just made of looped splitters, such that, at any given time one piston is always powered (in these machines it is important to place the redstone blocks last).
A 1-wide splitter. The piston will be powered by quasi-connectivity.
An example of how splitters can be used to create more complex structures such as this train.
Two-way splitters
A two-way splitter consists of an observer powering at least one sticky piston which pushes or pulls a part of the flying contraption. This is possible only in Java Edition because it's the only version where sticky pistons (upon receiving a short redstone pulse) can push a block and then retract quickly without pulling it back.
This type of splitter will either continuously pull or push depending on whether the part it's supposed to move is initially retracted or not. If the part is initially retracted and the splitter is continuously pulled, the sticky piston will continuously pull the part. On the other hand, if the part is one block away ("not retracted") and the splitter is continuously pushed, the sticky piston will continuously push the part. This mechanism necessitates a switch within the flying machine to independently retract and extend the splitters before flight, because otherwise, the engine will most likely be unable to push due to the "stuck" retracted splitters adding extra load to the engine's pistons.
Drivable flying machines
Falling hazard
Often due to lag, slime engines can bug allowing the player to fall through the machine. This can be solved by placing the player in a vehicle such as a minecart or by standing on top of a honey block.[needs testing]
Braking method
Starting the engine of a flying machine often involves updating a piston or observer. Braking, on the other hand, isn't as straightforward to do in survival because a piston-immovable block must be present to stop the engine. A reliable braking method that was first popularized by SethBling is to attach a noteblock (or any similar redstone component movable by pistons) to the "face" of an observer that powers a piston. The piston is placed on the front of the engine, and since extended pistons cannot be pushed by other pistons, activating the noteblock at the right time will stop the engine.
Brake component extension
By using sticky pistons instead of pistons for the braking components, they also become 2-way splitters. These can be used to carry extra blocks, such as holders for minecarts/minecart chests, passenger roofs, TNT duplicators, etc.
A modified version of the previous machine, with minecart chests and a roof attached to the 2 two-way spliiters.
A compact 4-way drivable flying machine that carries minecarts and minecart chests on its splitters. Flies North-South or East-West, depending on the placement of the two splitter pistons and two engine observers.
Bedrock engine designs
Flying machines are much more restricted in Bedrock Edition due to the lack of quasi-connectivity and other piston behaviors. In Java Edition, a sticky piston powered with a 1 tick pulse will drop the block it is carrying. The absence of these behaviors makes it difficult to create complex flying machines.
Simple engine
These are a basic flying machine designs. Removing the block of redstone, or placing obsidian in front of the observer, will cause the machine to stop. The shown examples will move to the viewer's left.
Multi-directional engine
This design is multi-directional but it does require a return station to change the direction. The observers are 1 block higher than everything else and have slime blocks below them. The return station is only an example, anything that pushes the machine over so that the other sticky piston is unable to pull the terracotta should work. It may help to watch the video below to see some more examples.
Splitters
Bedrock Edition users can create a one-way splitter with an observer powering a piston. Pushing the two updates the observer which powers the piston, which then pushes.
Command based methods
Commands can also be used for flying entities or structures. Most commands based flying machines use command blocks so that when the player turns on an input, it activates certain command blocks. Unlike piston based technologies, however, these cannot be legitimately made in survival as command blocks require set up by an operator in creative mode.
/tp command
Using the /tp command, entities can be teleported in a specific direction in small repeated increments, to exhibit a smooth flying. With clever command usage, movement can be controlled by various means such as holding a specific item
/clone command
Using the /clone command, it is possible to more easily move structures by cloning them and teleporting entities in it with /tp. It can be accomplished by cloning a structure relative to an entity with /execute. The entity, in turn, can be controlled by some other means.
/summon command
Using the /summon command, it is possible to lift an entity with explosions, somewhat similar to real life rockets. This can be done by spawning instantly detonating creepers or TNT below an entity. However, there is a multitude of disadvantages, including:
- It is noisy and potentially laggy compared to most other types of flying.
- This method is destructive to the terrain. Using creepers without mobgriefing enabled could solve this.
- Damage to the entity being flown. This can be partially solved with Blast Protection or status effects.
/data (merge/modify) [entity] command
Using the /data command (1.13+), it is possible to change the velocities applied to an entity rideable by the player, such as minecart or boat.
The equivalent command for versions below 1.13 is the /entitydata command.
/gamemode command
The easiest way to fly is to just turn yourself to creative mode or spectator mode with /gamemode creative or /gamemode spectator
With elytra
The simplest and probably the best way to fly in survival mode without cheats is by using an elytra. Using elytra, the player can glide to their destination with ease. Firework rockets or a Riptide trident can be used to extend and speed up the flight.
History
| Java Edition | |||||
|---|---|---|---|---|---|
1.4.2{{Extension DPL}}<ul><li>[[Beetroot Soup|Beetroot Soup]]<br/>{{for|other uses|Soup}}
{{Item
| title = Beetroot Soup
| image = Beetroot Soup.png
| renewable = Yes
| heals = {{hunger|6}}
| stackable = No
}}
'''Beetroot soup''' is an unstackable [[food]] item.
== Obtaining ==
=== Crafting ===
{{Crafting
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Beetroot
|Bowl
|Output=Beetroot Soup
|type=Foodstuff
}}
=== Natural generation ===
{{LootChestItem|beetroot-soup}}
== Usage ==
Beetroot soup can be eaten to restore {{hunger|6}} [[hunger]] points and 7.2 [[Hunger#Mechanics|saturation]], the same as [[cooked chicken]] and [[mushroom stew]]. After eating, the empty [[bowl]] remains, similarly to mushroom stew and [[rabbit stew]].
== Sounds ==
{{Sound table/Entity/Food}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Beetroot Soup
|spritetype=item
|nameid=beetroot_soup
|id=286
|form=item
|foot=1}}
== Advancements ==
{{load advancements|Husbandry;A Balanced Diet}}
== History ==
{{History|java}}
{{History||1.9|snap=15w31a|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 436.}}
{{History||1.14|snap=18w43a|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History|||snap=18w49a|Beetroot soup can now be found in [[chest]]s in [[snowy tundra]] [[village]] houses.}}
{{History|pocket alpha}}
{{History||November 14, 2013|link={{tweet|jbernhardsson|400902957782147072}}|[[Johan Bernhardsson]] posts an image of beetroot soup.}}
{{History||v0.8.0|snap=build 2|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup. It is not obtainable in the Creative inventory.}}
{{History||v0.9.0|snap=build 1|Beetroot soup now requires 6 [[beetroot]]s instead of 4.}}
{{History||v0.12.1|snap=build 12|Beetroot soup now restores {{hunger|6}} instead of {{health|8}}.}}
{{History||v0.13.0|snap=build 3|Beetroot soup can now be stacked.}}
{{history|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Beetroot soup has been added to the Creative inventory.<ref name="missing beetroot soup">{{Bug|MCPE-13804}}</ref>}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History||1.11.0|snap=beta 1.11.0.1|Beetroot soup can now be found in [[snowy tundra]] [[village]] house [[chest]]s.}}
{{History|console}}
{{History||xbox=TU43|xbone=CU33|ps=1.36|switch=1.0.1|wiiu=Patch 13|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Beetroot Soup JE2 BE2.png|32px]] The texture of beetroot soup has been changed.
|The recipe for beetroot soup is now shapeless.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Beetroot Soup JE1 BE1.png|32px]] Added beetroot soup.
|Beetroot soup is not available within the [[Creative inventory]].}}
{{History||?|Added beetroot soup to the Creative inventory.{{info needed|Which update did this occur?}}}}
{{History|foot}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
{{Items}}
[[Category:Food]]
[[Category:Renewable resources]]
[[de:Borschtsch]]
[[es:Estofado de remolacha]]
[[fr:Soupe de betteraves]]
[[it:Zuppa di barbabietole]]
[[ja:ビートルートスープ]]
[[ko:비트 수프]]
[[nl:Bietensoep]]
[[pl:Barszcz]]
[[pt:Ensopado de beterraba]]
[[ru:Свекольный суп]]
[[th:ซุปบีทรูท]]
[[uk:Борщ]]
[[zh:甜菜汤]]</li><li>[[Glow Stick|Glow Stick]]<br/>{{stub}}
{{education feature}}
{{Item
| image = White Glow Stick.png
| extratext = View [[#Gallery|all renders]]
| renewable = No
| durability = 95
| stackable = No
}}
'''Glow sticks''' are [[Chemistry Update|chemistry]]-related [[item]]s, which can be lit up in the player's hand for a limited time.
== Obtaining ==
{{iN|be}}, glow sticks cannot be obtained by the {{cmd|give}} command. They also cannot be obtained in [[Survival]]. Cheats must be enabled to obtain glow sticks in [[Survival]] mode, or in [[Education Edition]].
=== Crafting ===
{{Crafting
|showdescription=1
|ingredients=[[Polyethylene]] +<br>[[Hydrogen Peroxide]] +<br>Matching [[Dye]] +<br>[[Luminol]]
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= White Dye; Orange Dye; Magenta Dye; Light Blue Dye; Yellow Dye; Lime Dye; Pink Dye; Gray Dye; Cyan Dye; Purple Dye; Blue Dye; Brown Dye; Green Dye; Red Dye
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= Matching Glow Stick
|description={{only|bedrock|education}}
|type= Miscellaneous
}}
<div style="display:none">
<!--
This is so the pre-Village & Pillage dyes can have dye-related crafting recipes show on their respective pages.
They don't need to be displayed on this page because they already intuitively list "Any Matching Dye".
-->
{{Crafting
|showdescription=1
|ingredients=[[Polyethylene]] +<br>[[Hydrogen Peroxide]] +<br>Matching [[Dye]] +<br>[[Luminol]]
|A1= Polyethylene
|B1= Hydrogen Peroxide
|C1= Polyethylene
|A2= Polyethylene
|B2= Bone Meal; Lapis Lazuli; Cocoa Beans
|C2= Polyethylene
|A3= Polyethylene
|B3= Luminol
|C3= Polyethylene
|Output= White Glow Stick; Blue Glow Stick; Brown Glow Stick
|description={{only|bedrock|Education}}
|type= Miscellaneous
}}
</div>
== Usage ==
While equipped, [[player]]s can {{control|use}} glow sticks to shake them, causing them to appear bright regardless of the [[light]] level. This is only an aesthetic change, as no light is emitted to the surrounding area. A particle effect is visible until the durability runs out. The glowstick's durability depletes while lit{{Info needed}}, in both Survival and Creative modes.
== Sounds ==
{{Sound table
|type=bedrock
|sound=Flint and steel click.ogg
|source=block
|description=While a glowstick is being activated
|id=fire.ignite
|volume=1.0
|pitch=0.5/0.7
|foot=1}}
== Data values ==
=== ID ===
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Glow Stick
|spritename=glow-sticks
|spritetype=item
|nameid=glow_stick
|id=601
|form=item
|translationkey=item.glow_stick.black.name,item.glow_stick.red.name,item.glow_stick.green.name,item.glow_stick.brown.name,item.glow_stick.blue.name,item.glow_stick.purple.name,item.glow_stick.cyan.name,item.glow_stick.silver.name,item.glow_stick.gray.name,item.glow_stick.pink.name,item.glow_stick.lime.name,item.glow_stick.yellow.name,item.glow_stick.lightBlue.name,item.glow_stick.magenta.name,item.glow_stick.orange.name,item.glow_stick.white.name
|foot=1}}
===Metadata===
{{/DV}}
===Item data===
See [[Bedrock Edition level format/Item format]].
== History ==
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.20.1|[[File:White Glow Stick.png|32px]] [[File:Orange Glow Stick.png|32px]] [[File:Magenta Glow Stick.png|32px]] [[File:Light Blue Glow Stick.png|32px]] [[File:Yellow Glow Stick.png|32px]] [[File:Lime Glow Stick.png|32px]] [[File:Pink Glow Stick.png|32px]] [[File:Gray Glow Stick.png|32px]] [[File:Cyan Glow Stick.png|32px]] [[File:Purple Glow Stick.png|32px]] [[File:Blue Glow Stick.png|32px]] [[File:Brown Glow Stick.png|32px]] [[File:Green Glow Stick.png|32px]] [[File:Red Glow Stick.png|32px]] Added glow sticks.}}
{{History||1.14.60|snap=?|Making a glow stick results in an edible item called {{code|item.glow_stick.black.name}}.}}
{{History||?|Making a glow stick results in correct items again.
|Making a glow stick with dye has been made an upgrade{{info needed|what is this supposed to mean?}}
|Putting 2 glow sticks in a Crafting Table now outputs a correct glow stick.}}
{{History||1.17.0|snap=?|[[File:Missing Glow Stick.png|32px]] Two black glow sticks, using the [[missing texture]] if Education Edition is disabled, now generate in fake end portal rooms in [[mansion]]s instead of [[ender pearl]]s.}}
{{h||1.18.0|snap=beta 1.18.0.21|Glow sticks no longer generate in [[woodland mansion]]s.}}
{{History|education}}
{{History||1.0.27|[[File:White Glow Stick.png|32px]] [[File:Orange Glow Stick.png|32px]] [[File:Magenta Glow Stick.png|32px]] [[File:Light Blue Glow Stick.png|32px]] [[File:Yellow Glow Stick.png|32px]] [[File:Lime Glow Stick.png|32px]] [[File:Pink Glow Stick.png|32px]] [[File:Gray Glow Stick.png|32px]] [[File:Cyan Glow Stick.png|32px]] [[File:Purple Glow Stick.png|32px]] [[File:Blue Glow Stick.png|32px]] [[File:Brown Glow Stick.png|32px]] [[File:Green Glow Stick.png|32px]] [[File:Red Glow Stick.png|32px]] Added glow sticks.}}
{{History|foot}}
== Gallery ==
<gallery>
White Glow Stick.png|
Orange Glow Stick.png|
Magenta Glow Stick.png|
Light Blue Glow Stick.png|
Yellow Glow Stick.png|
Lime Glow Stick.png|
Pink Glow Stick.png|
Gray Glow Stick.png|
Cyan Glow Stick.png|
Purple Glow Stick.png|
Blue Glow Stick.png|
Brown Glow Stick.png|
Green Glow Stick.png|
Red Glow Stick.png|
</gallery>
== Trivia ==
* The glowing reaction of [[Wikipedia:Luminol|Luminol]] during oxidation exists in real life. It is used for detecting blood in crime scenes.
* Players cannot enchant glowsticks with Unbreaking or Mending, despite it having durability.
* The black and light gray glow sticks use the same texture as the red glow stick.{{verify|It seems they use the missing texture instead. Was this the case beforehand, and they only started using the missing texture later?}}
== Issues ==
{{issue list}}
{{items}}
{{Education Edition}}
[[Category:Non-renewable resources]]
[[Category:Education Edition items]]
[[de:Knicklicht]]
[[ja:ケミカルライト]]
[[ko:발광봉]]
[[pt:Graveto Brilhante]]
[[ru:Химический источник света]]
[[zh:荧光棒]]</li></ul> | 12w32a | Added command blocks, which can run commands, including the /tp command. | |||
1.7.2{{Extension DPL}}<ul><li>[[Feather|Feather]]<br/>{{about|a item|a enchantent|Feather Falling}}
{{Item
| image = Feather.png
| stackable = Yes (64)
| renewable = Yes
}}
'''Feathers''' are items dropped by [[chicken]]s and [[parrot]]s, as well as tamed [[cats]] as morning gifts.
== Obtaining ==
=== Mob loot ===
Adult [[chicken]]s drop 0–2 feathers upon death. The maximum is increased by 1 per level of [[Looting]], for a maximum of 0–5 with Looting III.
[[Parrot]]s drop 1–2 feathers upon death. The maximum is increased by 1 per level of Looting, for a maximum of 1–5 with Looting III.
A [[fox]] sometimes spawns holding a feather, which always drops upon death. Alternatively, the player can drop a [[food]] item, causing the fox to drop the feather in favor of the food.
=== Natural generation ===
{{LootChestItem|feather}}
=== Cat gifts ===
{{main|Cat#Gifts}}
Tamed [[cat]]s have a 70% chance of giving the [[player]] a "morning gift", and the gift has a 16.13% chance to be a feather.
== Usage ==
=== Helmet ===
<div style='float:right'></div>
While a feather cannot be equipped in the head slot in [[Survival]] mode, equipping it using commands causes it to appear completely upright unlike other items.
[[File:Steve wearing Feather.png|75px]]
[[File:Alex wearing Feather.png|75px]]
=== Crafting ingredient ===
{{crafting usage}}
=== Trading ===
Expert-level fletcher [[villager]]s buy 24 feathers for an [[emerald]] as part of their trade.
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Feather
|spritetype=item
|nameid=feather
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Feather
|spritetype=item
|nameid=feather
|id=327
|form=item
|foot=1}}
== History ==
{{History|java indev}}
{{History||0.31|snap=20100130|[[File:Feather JE1.png|32px]] Added feathers.|Feathers can be used to [[craft]] [[arrow]]s.
|Feathers are [[drop]]ped by every [[mob]] in quantities of 0 to 2.}}
{{History||20100206|[[File:Feather JE2 BE1.png|32px]] The feather's texture has been changed; it is now not as straight anymore.}}
{{History||20100219|[[Zombie]]s are now the only [[mob]] that can drop feathers. This was a placeholder as [[Notch]] has stated he currently doesn't know what else they should drop.<ref>{{tweet|notch|21723172931895296}}</ref>}}
{{History|java alpha}}
{{History||v1.0.14|[[Chicken]]s now [[drop]] 0–2 feathers upon death.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|[[Zombie]]s now drop [[rotten flesh]], instead of feathers.
|[[Chicken]]s are now the only source of feathers.}}
{{History|java}}
{{History||1.3.1|snap=12w17a|Feathers are now used to craft [[book and quill]]s.}}
{{History||1.4.6|snap=12w49a|Feathers are now used to craft a [[firework star]] with a burst effect.}}
{{History||1.12|snap=17w13a|[[Parrot]]s now [[drop]] feathers.}}
{{History||1.13|snap=17w47a|Prior to ''[[The Flattening]]'', this [[item]]'s numeral ID was 288.}}
{{History|||snap=18w11a|Feathers now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w43a|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.}}
{{History|||snap=18w44a|[[Cat]]s now offer feathers as [[Cat#Gifts|gift]]s.}}
{{History|||snap=18w48a|Feathers can now be found in chests in plains [[village]] houses.}}
{{History|||snap=18w50a|Feathers can now be found in chests in fletcher houses.}}
{{History|||snap=19w07a|Added [[fox]]es, which sometimes spawn with feather in their mouths.}}
{{History|||snap=19w11a|Fletcher [[villager]]s now [[trading|buy]] feathers.}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=1.19.4 Pre-release 1|Feathers can now be used to craft [[brush]]es.}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Feather JE2 BE1.png|32px]] Added feathers. They are currently unobtainable and serve no purpose.}}
{{History||v0.3.3|Chickens now drop 0–2 feathers upon death.|Feathers can now be used to [[craft]] [[arrow]]s.}}
{{History||v0.5.0|Feathers can now be obtained after activating the [[nether reactor]].}}
{{History||v0.11.0|snap=build 1|[[Zombie]]s now drop [[rotten flesh]], instead of feathers.}}
{{History||v0.12.1|snap=build 1|Feathers are no longer available from the [[nether reactor]].}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Feathers can now be used to craft [[book and quill]]s.|Added [[parrot]]s, which [[drop]] feathers.|Feathers can now be used as an ingredient to craft a [[firework star]].}}
{{History||1.4.0|snap=beta 1.2.14.2|Feathers can now be found in [[shipwreck]] [[chest]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Feathers can now be given as a gift to the [[player]] by tamed [[cat]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.|Feathers can now be found in the new [[plains]] [[village]] house.}}
{{History||1.11.0|snap=beta 1.11.0.1|Feathers can now be found in village fletcher [[chest]]s.}}
{{History|||snap=beta 1.11.0.4|Feathers can now be [[trading|sold]] to fletcher [[villager]]s.}}
{{History||1.13.0|snap=beta 1.13.0.1|Added [[fox]]es, which can [[drops|drop]] feathers.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.80|snap=beta 1.19.80.20|Feathers can now be used to craft [[brush]]es.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|[[File:Feather JE2 BE1.png|32px]] Added feathers.}}
{{History|Ps4}}
{{History||1.90|[[File:Feather JE3 BE2.png|32px]] The texture of feathers has been changed.}}
{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Feather JE2 BE1.png|32px]] Added feathers.}}
{{History|foot}}
== Issues ==
{{issue list}}
== References ==
{{reflist}}
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--feather Taking Inventory: Feather] – Minecraft.net on March 3, 2019
{{Items}}
[[Category:Renewable resources]]
[[cs:Pírko]]
[[de:Feder]]
[[es:Pluma]]
[[fr:Plume]]
[[hu:Toll]]
[[it:Piuma]]
[[ja:羽根]]
[[ko:깃털]]
[[nl:Veer]]
[[pl:Pióro]]
[[pt:Pena]]
[[ru:Перо]]
[[uk:Перо]]
[[zh:羽毛]]</li><li>[[Flower Pot|Flower Pot]]<br/>{{more images|The potted cherry sapling texture has been change in 1.19.4-pre2.}}
{{For|other uses|Pot}}
{{Block
| image = Flower Pot.png
| image2 = Potted Poppy.png
| extratext = View [[#Gallery|all renders]]
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
}}
A '''flower pot''' is a decorative [[block]] that can contain flowers, bamboo, saplings, cacti, mushrooms, fungi, and other reasonably small plants.
== Obtaining ==
=== Natural generation ===
Flower pots naturally generate in [[witch hut]]s where they contain a red [[mushroom]], the basement of [[igloo]]s where they contain a [[cactus]], and in [[woodland mansion]]s, where they contain birch [[sapling]]s, dark oak saplings, dandelions, poppies, blue orchids, alliums, azure bluets, red and white tulips, and oxeye daisies.
Flower pots containing a dandelion can be found in some [[plains]] and [[savanna]] [[village]] houses. Flower pots containing a cactus or a dead bush can be found in some [[desert]] village houses. Flower pots containing a spruce sapling can be found in [[taiga]] village mason houses. Flower pots containing a poppy can be found in taiga village churches.
=== Breaking ===
Flower pots can be mined instantly using any [[tool]] or without a tool.
A flower pot drops itself as an [[item]] (any [[plant]] or [[mushroom]] in it separately) when pushed by a [[piston]] or washed away with [[water]].
[[Lava]] can flow into the space of a flower pot, destroying it.
=== Chest loot ===
{{LootChestItem|flower-pot}}
=== Crafting ===
{{Crafting
|A2= Brick
|C2= Brick
|B3= Brick
|Output= Flower Pot
|type= Decoration block
}}
== Usage ==
A flower pot can be used to hold [[mushroom]]s, [[Fungus|fungi]], and various [[plant]]s. Plants that can be {{control|placed}} in a pot include any one block high [[flower]]s, [[sapling]]s, [[fern]]s, [[dead bush]]es, [[cacti]], [[bamboo]], [[azalea]]s, [[mangrove propagule]], and [[roots]].
Plants can be removed by using the interact button.
{{IN|je}}, flower pots can be placed on any block, or over [[air]].<ref>{{bug|MC-127036|||WAI}}</ref>
{{IN|be}}, they must be placed on top of a full-[[block]] top surface, or the top of a [[fence]], stone [[wall]], or [[hopper]]. They cannot be placed on [[slab]]s and [[stairs]] unless those blocks are upside-down. Pots may also be placed on an upward facing trapdoor. If the trapdoor is opened, the pot will break.
Flower pots are {{frac|3|8}} of a block high and can be stepped on. It is not possible to walk from the top of a flower pot onto a full sized block without jumping. It is possible to jump from a flower pot onto a fence.
The plant or fungus can be removed from the flower pot by pressing the {{control|use}} control. This places the item directly back into the player's inventory.<ref>{{bug|MC-169496|||WAI}}</ref>
They can be used to display cacti and wither roses without inheriting their damaging properties.<ref>{{bug|MC-2241|||WAI}}</ref><ref>{{bug|MC-138024|||WAI}}</ref>
Potted [[Fungus|warped fungus]] can be used to repel [[hoglin]]s.
== Sounds ==
{{Sound table/Block/Normal}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showblocktags=y
|showforms=y
|generatetranslationkeys=y
|displayname=Flower Pot
|spritetype=block
|nameid=flower_pot
|blocktags=flower_pots
|translationkey=block.minecraft.flower_pot,item.minecraft.flower_pot}}
{{ID table
|displayname=Potted Dandelion
|spritetype=block
|nameid=potted_dandelion
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Poppy
|spritetype=block
|nameid=potted_poppy
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Blue Orchid
|spritetype=block
|nameid=potted_blue_orchid
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Allium
|spritetype=block
|nameid=potted_allium
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Azure Bluet
|spritetype=block
|nameid=potted_azure_bluet
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Red Tulip
|spritetype=block
|nameid=potted_red_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Orange Tulip
|spritetype=block
|nameid=potted_orange_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted White Tulip
|spritetype=block
|nameid=potted_white_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Pink Tulip
|spritetype=block
|nameid=potted_pink_tulip
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Oxeye Daisy
|spritetype=block
|nameid=potted_oxeye_daisy
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Cornflower
|spritetype=block
|nameid=potted_cornflower
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Lily of the Valley
|spritetype=block
|nameid=potted_lily_of_the_valley
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Wither Rose
|spritetype=block
|nameid=potted_wither_rose
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Oak Sapling
|spritetype=block
|nameid=potted_oak_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Spruce Sapling
|spritetype=block
|nameid=potted_spruce_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Birch Sapling
|spritetype=block
|nameid=potted_birch_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Jungle Sapling
|spritetype=block
|nameid=potted_jungle_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Acacia Sapling
|spritetype=block
|nameid=potted_acacia_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Dark Oak Sapling
|spritetype=block
|nameid=potted_dark_oak_sapling
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Red Mushroom
|spritetype=block
|nameid=potted_red_mushroom
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Brown Mushroom
|spritetype=block
|nameid=potted_brown_mushroom
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Fern
|spritetype=block
|nameid=potted_fern
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Dead Bush
|spritetype=block
|nameid=potted_dead_bush
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Cactus
|spritetype=block
|nameid=potted_cactus
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Bamboo
|spritetype=block
|nameid=potted_bamboo
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Azalea
|spritetype=block
|nameid=potted_azalea_bush
|blocktags=flower_pots
|spritename=potted azalea bush
|form=block}}
{{ID table
|displayname=Potted Flowering Azalea
|spritetype=block
|nameid=potted_flowering_azalea_bush
|blocktags=flower_pots
|spritename=potted flowering azalea bush
|form=block}}
{{ID table
|displayname=Potted Crimson Fungus
|spritetype=block
|nameid=potted_crimson_fungus
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Warped Fungus
|spritetype=block
|nameid=potted_warped_fungus
|blocktags=flower_pots, hoglin_repellents
|form=block}}
{{ID table
|displayname=Potted Crimson Roots
|spritetype=block
|nameid=potted_crimson_roots
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Warped Roots
|spritetype=block
|nameid=potted_warped_roots
|blocktags=flower_pots
|form=block}}
{{ID table
|displayname=Potted Mangrove Propagule
|spritetype=block
|nameid=potted_mangrove_propagule
|blocktags=flower_pots
|form=block
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Flower Pot
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Block
|spritename=flower-pot
|spritetype=block
|nameid=flower_pot
|id=140
|form=block
|itemform=item.flower_pot
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=flower-pot
|spritetype=item
|nameid=flower_pot
|id=514
|form=item
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{IN|be}}, flower pots use the following block states:
{{/BS}}
=== Block data ===
{{IN|bedrock}}, flower pot has a block entity associated with it that holds additional data about the block.
See [[Bedrock Edition level format/Block entity format]].
== Achievements ==
{{load achievements|Pot Planter}}
== History ==
{{History||August 16, 2012|link={{tweet|Dinnerbone|236062188555624448}}|[[Dinnerbone]] tweeted the first image of flower pots.}}
{{History|java}}
{{History||1.4.2|snap=12w34a|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Rose JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Dead Bush JE1.png|32px]]<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.
|At this point, plants inside of pots rendered much like they do outside of flower pots, not being subject to directional shading.}}
{{History|||snap=12w40a|A potted [[red mushroom]] can now be found on one window of a [[witch hut]]. This changed to an empty pot in a far later unknown version,{{info needed}} but returned again afterward.{{info needed}}}}
{{History||1.7.2|snap=13w36a|[[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] Allium, azure bluet, oxeye daisies, blue orchids, red tulips, orange tulips, white tulips and pink tulips can now be placed in flower pots.
|[[File:Potted Poppy JE1.png|32px]] As the rose has been replaced with the poppy, the potted rose is also now replaced with the potted poppy as a result.
|Flower pots can no longer use data values because more than 15 plants can be potted, it now has a [[block entity]] instead.
|[[File:Potted Green Shrub.png|32px]] [[File:Potted Cobweb JE1.png|32px]] Due to the tile entity handling, it is now possible to place any [[block]] inside of a flower pot via NBT editors. However, at this point, with the ones possible in vanilla [[survival]] aside, only [[grass]], [[shrub|green shrub]]s, and [[cobweb]]s actually render.
|[[File:Potted Grass JE1.png|32px]] Potted grass now exists can be placed in flower pots using [[commands]].
|[[File:Potted Grass (no tint) JE1.png|32px]] [[File:Potted Fern (no tint) JE1.png|32px]] Potted shrubs, grass, and ferns must now have block data value 11 to display biome colors, otherwise rendering as default/gray.}}
{{History|||snap=13w37a|Added {{cmd|setblock}}, allowing for the aforementioned potted plants to be obtained without map editing.}}
{{History|||snap=13w43a|[[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]] Acacia sapling and dark oak saplings can now be placed in flower pots.}}
{{History||1.8|snap=14w06a|Many more blocks (almost all full cubes) placed into a flower pot by modifying the block entity now render, if in somewhat buggy fashion, as the texture is in a cross shape. {{LoadPage|Flower Pot/1.8 development gallery/14w06a|Click show to display all of the applicable blocks.|b}}
|[[File:Potted Cactus JE2.png|32px]] Potted cacti now appear as a cross formed of their bottom texture inside of a pot.<ref>{{bug|MC-47469}}</ref>}}
{{History|||snap=14w06b|Further blocks now render in flower pots than did in the previous snapshot. {{LoadPage|Flower Pot/1.8 development gallery/14w06b|Click show to display all of the applicable blocks.|b}}
|[[File:Potted Cactus JE3.png|32px]] The accidental potted cactus model change has been reverted.}}
{{History|||snap=14w07a|[[File:Potted Iron Trapdoor.png|32px]] The newly added [[iron trapdoor]] also renders in flower pots when created with commands.}}
{{History|||snap=14w17a|[[File:Flower Pot JE2.png|32px]] [[File:Potted Dandelion JE2.png|32px]] [[File:Potted Allium JE2.png|32px]] [[File:Potted Azure Bluet JE2.png|32px]] [[File:Potted Oxeye Daisy JE2.png|32px]] [[File:Potted Blue Orchid JE2.png|32px]] [[File:Potted Poppy JE2.png|32px]] [[File:Potted Red Tulip JE2.png|32px]] [[File:Potted Orange Tulip JE2.png|32px]] [[File:Potted White Tulip JE2.png|32px]] [[File:Potted Pink Tulip JE2.png|32px]] [[File:Potted Red Mushroom JE2.png|32px]] [[File:Potted Brown Mushroom JE2.png|32px]] [[File:Potted Oak Sapling JE2.png|32px]] [[File:Potted Birch Sapling JE2.png|32px]] [[File:Potted Spruce Sapling JE2.png|32px]] [[File:Potted Jungle Sapling JE2.png|32px]] [[File:Potted Acacia Sapling JE2.png|32px]] [[File:Potted Dark Oak Sapling JE2.png|32px]] [[File:Potted Cactus JE4.png|32px]] [[File:Potted Fern JE2.png|32px]] [[File:Potted Dead Bush JE2.png|32px]] The flower pot model and rendering has changed. The insides are now subject to directional shading, rather than being fully lit, much like the changes made to [[hopper]]s and [[cauldron]]s in 14w10a. In addition, the outer face (as well as the cuboids comprising the cactus in potted cactus) are no longer subject to ambient occlusion. The potted cactus also now uses the side texture on the top face, rather than the top texture.
|Invalid blocks no longer render inside flower pots. This also includes cobweb and grass.}}
{{History|||snap=14w25a|[[File:Potted Dandelion JE3.png|32px]] [[File:Potted Allium JE3.png|32px]] [[File:Potted Azure Bluet JE3.png|32px]] [[File:Potted Oxeye Daisy JE3.png|32px]] [[File:Potted Blue Orchid JE3.png|32px]] [[File:Potted Poppy JE3.png|32px]] [[File:Potted Red Tulip JE3.png|32px]] [[File:Potted Orange Tulip JE3.png|32px]] [[File:Potted White Tulip JE3.png|32px]] [[File:Potted Pink Tulip JE3.png|32px]] [[File:Potted Red Mushroom JE3.png|32px]] [[File:Potted Brown Mushroom JE3.png|32px]] [[File:Potted Oak Sapling JE3.png|32px]] [[File:Potted Birch Sapling JE3.png|32px]] [[File:Potted Spruce Sapling JE3.png|32px]] [[File:Potted Jungle Sapling JE3.png|32px]] [[File:Potted Acacia Sapling JE3.png|32px]] [[File:Potted Dark Oak Sapling JE3.png|32px]] [[File:Potted Fern JE3.png|32px]] [[File:Potted Dead Bush JE3.png|32px]] Potted cross shaped objects are now affected by directional shading.<ref>{{bug|MC-129826}}</ref>}}
{{History||1.9|snap=15w43a|A potted cactus can now be found on a table in [[igloo]] basements.}}
{{History||1.11|snap=16w32a|The block entity ID of flower pots has been changed from <code>FlowerPot</code> to <code>flower_pot</code>.}}
{{History|||snap=16w39a|Potted plants can now be removed from flower pots by pressing {{control|use}}.
|Flower pots now generate in [[woodland mansion]]s.}}
{{History||1.13|snap=17w47a|The different block states for the <code>flower_pot</code> ID have been split up into their own IDs.
|Flower pots are no longer block entities.
|Prior to [[1.13/Flattening|''The Flattening'']], this block's numeral ID was 140, and the item's was 390.}}
{{History||1.14|snap=18w43a|[[File:Flower Pot JE3.png|32px]] [[File:Potted Dandelion JE4.png|32px]] [[File:Potted Poppy JE4.png|32px]] [[File:Potted Allium JE4.png|32px]] [[File:Potted Azure Bluet JE4.png|32px]] [[File:Potted Oxeye Daisy JE4.png|32px]] [[File:Potted Blue Orchid JE4.png|32px]] [[File:Potted Red Tulip JE4.png|32px]] [[File:Potted Orange Tulip JE4.png|32px]] [[File:Potted White Tulip JE4.png|32px]] [[File:Potted Pink Tulip JE4.png|32px]] [[File:Potted Red Mushroom JE4.png|32px]] [[File:Potted Brown Mushroom JE4.png|32px]] [[File:Potted Oak Sapling JE4.png|32px]] [[File:Potted Birch Sapling JE4.png|32px]] [[File:Potted Spruce Sapling JE4.png|32px]] [[File:Potted Jungle Sapling JE4.png|32px]] [[File:Potted Acacia Sapling JE4.png|32px]] [[File:Potted Dark Oak Sapling JE4.png|32px]] [[File:Potted Cactus JE5.png|32px]] [[File:Potted Fern JE4.png|32px]] [[File:Potted Dead Bush JE4.png|32px]] <br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots and their contained plants have been changed.
|[[File:Potted Cornflower JE1 BE1.png|32px]] [[File:Potted Lily of the Valley JE1 BE1.png|32px]] [[File:Potted Wither Rose JE1 BE1.png|32px]] [[File:Potted Bamboo JE1 BE1.png|32px]] Cornflower, lily of the valley, wither rose and [[bamboo]] can now be placed in flower pots.}}
{{History|||snap=18w44a|[[File:Potted Cactus JE6.png|32px]] The texture of potted cacti has been changed.}}
{{History|||snap=18w47b|[[File:Potted Poppy JE5.png|32px]] The texture of potted poppies has been changed.}}
{{History|||snap=18w49a|Flower pots can now be found in [[chest]]s in [[village]] mason houses.}}
{{History|||snap=19w11a|Flower pots have become [[renewable resource|renewable]], as mason [[villager]]s now [[trading|sell]] [[brick]]s.}}
{{History||1.16|snap=20w06a|The model of flower pots has been fixed and has been given an underside, which has changed the model from [[File:Flower Pot UNKVER2 (facing NWU).png|32px]] to [[File:Flower Pot UNKVER3 (facing NWU).png|32px]].}}
{{History|||snap=20w09a|[[File:Potted Crimson Fungus JE1 BE1.png|32px]] [[File:Potted Warped Fungus JE1 BE1.png|32px]] [[File:Potted Crimson Roots JE1 BE1.png|32px]] [[File:Potted Warped Roots JE1 BE1.png|32px]] Crimson and warped [[fungi]] and crimson and warped [[roots]] can now be placed in flower pots.
|The model for potted plants has been fixed, so the bottom face now renders,<ref>{{bug|MC-170842}}</ref> which has changed the model from [[File:Potted Dandelion UNKVER1 (facing NWU).png|32px]] [[File:Potted Poppy UNKVER1 (facing NWU).png|32px]] [[File:Potted Allium UNKVER1 (facing NWU).png|32px]] [[File:Potted Azure Bluet UNKVER1 (facing NWU).png|32px]] [[File:Potted Oxeye Daisy UNKVER1 (facing NWU).png|32px]] [[File:Potted Blue Orchid UNKVER1 (facing NWU).png|32px]] [[File:Potted Red Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Orange Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted White Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Pink Tulip UNKVER1 (facing NWU).png|32px]] [[File:Potted Red Mushroom UNKVER1 (facing NWU).png|32px]] [[File:Potted Brown Mushroom UNKVER1 (facing NWU).png|32px]] [[File:Potted Oak Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Birch Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Spruce Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Jungle Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Acacia Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Dark Oak Sapling UNKVER1 (facing NWU).png|32px]] [[File:Potted Cactus UNKVER1 (facing NWU).png|32px]] [[File:Potted Fern UNKVER1 (facing NWU).png|32px]] [[File:Potted Dead Bush UNKVER1 (facing NWU).png|32px]] [[File:Potted Cornflower UNKVER1 (facing NWU).png|32px]] [[File:Potted Lily of the Valley UNKVER1 (facing NWU).png|32px]] [[File:Potted Wither Rose UNKVER1 (facing NWU).png|32px]] [[File:Potted Bamboo UNKVER1 (facing NWU).png|32px]] to [[File:Potted Dandelion UNKVER2 (facing NWU).png|32px]] [[File:Potted Poppy UNKVER2 (facing NWU).png|32px]] [[File:Potted Allium UNKVER2 (facing NWU).png|32px]] [[File:Potted Azure Bluet UNKVER2 (facing NWU).png|32px]] [[File:Potted Oxeye Daisy UNKVER2 (facing NWU).png|32px]] [[File:Potted Blue Orchid UNKVER2 (facing NWU).png|32px]] [[File:Potted Red Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Orange Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted White Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Pink Tulip UNKVER2 (facing NWU).png|32px]] [[File:Potted Red Mushroom UNKVER2 (facing NWU).png|32px]] [[File:Potted Brown Mushroom UNKVER2 (facing NWU).png|32px]] [[File:Potted Oak Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Birch Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Spruce Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Jungle Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Acacia Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Dark Oak Sapling UNKVER2 (facing NWU).png|32px]] [[File:Potted Cactus UNKVER2 (facing NWU).png|32px]] [[File:Potted Fern UNKVER2 (facing NWU).png|32px]] [[File:Potted Dead Bush UNKVER2 (facing NWU).png|32px]] [[File:Potted Cornflower UNKVER2 (facing NWU).png|32px]] [[File:Potted Lily of the Valley UNKVER2 (facing NWU).png|32px]] [[File:Potted Wither Rose UNKVER2 (facing NWU).png|32px]] [[File:Potted Bamboo UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=20w11a|[[File:Potted Bamboo UNKVER3 (facing NWU).png|32px]] An unneeded face has been removed from potted bamboo to solve a z-fighting issue.<ref>{{bug|MC-173156}}</ref>}}
{{History|||snap=Pre-release 3|[[File:Potted Cactus JE7.png|32px]] [[File:Potted Cactus UNKVER3 (facing NWU).png|32px]] The model of the potted cacti has been changed. The top face now uses the top texture of cactus, rather than the side texture and the bottom face has been changed to the top texture of the flower pot.}}
{{History||1.16.2|snap=20w28a|[[File:Potted Cactus UNKVER4 (facing NWU).png|32px]] The model of the potted cactus no longer has a hole in the bottom, although the texture is stretched.}}
{{History||1.17|snap=Pre-release 1|[[File:Potted Azalea JE1 BE1.png|32px]] [[File:Potted Flowering Azalea JE1 BE1.png|32px]][[Azalea]] and flowering azalea can now be placed in flower pots.
|[[File:Potted Flowering Azalea (plant texture) JE1.png|32px]] Potted flowering azalea has own unused plant texture but uses normal variant for consistency with flowering azalea: [[File:Potted Flowering Azalea (bottom) JE1 BE1.png|32px]] [[File:Flowering Azalea (bottom) JE2 BE2.png|32px]]}}
{{History||1.19|snap=22w11a|[[File:Potted Mangrove Propagule JE1.png|32px]] [[Mangrove propagule]]s can now be placed in flower pots.}}
{{History|||snap=22w18a|[[File:Potted Mangrove Propagule JE2.png|32px]] The western element of the flower pot in potted mangrove propagules has been deleted.<ref name="mc-251355">{{bug|MC-251355}}</ref>}}
{{History|||snap=Pre-release 1|[[File:Potted Mangrove Propagule JE1.png|32px]] The aforementioned western element has been restored.<ref name="mc-251355"/>}}
{{History||1.20<br>(Experimental)|link=1.19.4|snap=23w07a|[[File:Potted Torchflower JE1.png|32px]] [[File:Potted Cherry Sapling JE1.png|32px]] [[Torchflower]]s and [[cherry sapling]]s can now be placed in flower pots.}}
{{History|||snap=1.19.4-pre2|Changed the texture of potted cherry saplings.}}
{{History||1.20|snap=23w12a|Potted torchflower and cherry sapling are now available without using the "Update 1.20" experimental datapack.|Flower pot can now be found in [[suspicious gravel]] and [[suspicious sand]] in [[trail ruins]].}}
{{History|||snap=23w13a|[[File:Potted Flowering Azalea JE2.png|32px]] Flowering azalea now uses own plant texture, changing appearance from [[File:Potted Flowering Azalea (bottom) JE1 BE1.png|32px]] to [[File:Potted Flowering Azalea (bottom) JE2.png|32px]] and breaking consistency with flowering azalea.<ref>{{bug|MC-230916}}</ref>}}
{{History|||snap=23w16a|Flower pot 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]]; flower pot now is in the common loot.}}
{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History||v0.14.0|snap=build 1|Flower pots now generate in [[witch hut]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Flower pots now generate in [[igloo]] basements.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Flower pots now generate naturally in [[woodland mansion]]s.}}
{{History|bedrock}}
{{History||1.8.0|snap=beta 1.8.0.8|[[File:Potted Bamboo JE1 BE1.png|32px]]{{verify|Is this how they really look in BE?}} [[Bamboo]] can now be placed in flower pots.}}
{{History||1.9.0|snap=beta 1.9.0.0|[[File:Potted Cornflower BE.jpg|32px]] [[File:Potted Lily of the Valley BE.jpg|32px]] Cornflower and lily of the valley can now be placed in flower pots.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Flower Pot BE.jpg|32px]] [[File:Potted Dandelion BE.jpg|32px]] [[File:Potted Poppy BE.jpg|32px]] [[File:Potted Allium BE.jpg|32px]] [[File:Potted Azure Bluet BE.jpg|32px]] [[File:Potted Oxeye Daisy BE.jpg|32px]] [[File:Potted Blue Orchid BE.jpg|32px]] [[File:Potted Red Tulip BE.jpg|32px]] [[File:Potted Orange Tulip BE.jpg|32px]] [[File:Potted White Tulip BE.jpg|32px]] [[File:Potted Pink Tulip BE.jpg|32px]] [[File:Potted Red Mushroom BE.jpg|32px]] [[File:Potted Brown Mushroom BE.jpg|32px]] [[File:Potted Oak Sapling BE.jpg|32px]] [[File:Potted Birch Sapling BE.jpg|32px]] [[File:Potted Spruce Sapling BE.jpg|32px]] [[File:Potted Jungle Sapling BE.jpg|32px]] [[File:Potted Acacia Sapling BE.jpg|32px]] [[File:Potted Dark Oak Sapling BE.jpg|32px]] [[File:Potted Cactus BE.png|32px]] [[File:Potted Fern BE.jpg|32px]]<br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots have been changed.
|Flower pots now generate in the new [[village]]s.}}
{{History||1.11.0|snap=beta 1.11.0.1|Flower pots can now be found in [[village]] mason [[chest]]s.}}
{{History||1.13.0|snap=beta 1.13.0.9|[[File:Potted Wither Rose JE1 BE1.png|32px]] [[Wither rose]]s can now be placed in flower pots.}}
{{History||1.16.0|snap=beta 1.15.0.51|Potted plants can now be removed from flower pots by pressing {{control|use}}.}}
{{History|||snap=beta 1.16.0.51|[[File:Potted Crimson Fungus JE1 BE1.png|32px]] [[File:Potted Warped Fungus JE1 BE1.png|32px]] [[File:Potted Crimson Roots JE1 BE1.png|32px]] [[File:Potted Warped Roots JE1 BE1.png|32px]] Crimson and warped [[fungi]] and crimson and warped [[roots]] can now be placed in flower pots.}}
{{History||1.17.10|snap=beta 1.17.10.21|[[File:Potted Azalea JE1 BE1.png|32px]] [[File:Potted Flowering Azalea JE1 BE1.png|32px]] [[Azalea]] and flowering azalea can now be placed in flower pots.}}
{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|switch=1.0.1|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]] [[File:Potted Dead Bush JE3.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Flower Pot BE.png|32px]] [[File:Potted Dandelion BE.png|32px]] [[File:Potted Poppy BE.png|32px]] [[File:Potted Allium BE.png|32px]] [[File:Potted Azure Bluet BE.png|32px]] [[File:Potted Oxeye Daisy BE.png|32px]] [[File:Potted Blue Orchid BE.png|32px]] [[File:Potted Red Tulip BE.png|32px]] [[File:Potted Orange Tulip BE.png|32px]] [[File:Potted White Tulip BE.png|32px]] [[File:Potted Pink Tulip BE.png|32px]] [[File:Potted Red Mushroom BE.png|32px]] [[File:Potted Brown Mushroom BE.png|32px]] [[File:Potted Oak Sapling BE.png|32px]] [[File:Potted Birch Sapling BE.png|32px]] [[File:Potted Spruce Sapling BE.png|32px]] [[File:Potted Jungle Sapling BE.png|32px]] [[File:Potted Acacia Sapling BE.png|32px]] [[File:Potted Dark Oak Sapling BE.png|32px]] [[File:Potted Cactus BE.png|32px]] [[File:Potted Fern BE.png|32px]]<br>[[File:Flower Pot (item) JE2 BE2.png|32px]] The textures of flower pots have been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Flower Pot JE1.png|32px]] [[File:Potted Dandelion JE1.png|32px]] [[File:Potted Red Mushroom JE1.png|32px]] [[File:Potted Brown Mushroom JE1.png|32px]] [[File:Potted Oak Sapling JE1.png|32px]] [[File:Potted Birch Sapling JE1.png|32px]] [[File:Potted Spruce Sapling JE1.png|32px]] [[File:Potted Jungle Sapling JE1.png|32px]] [[File:Potted Cactus JE1.png|32px]] [[File:Potted Fern JE1.png|32px]] [[File:Potted Allium JE1.png|32px]] [[File:Potted Azure Bluet JE1.png|32px]] [[File:Potted Oxeye Daisy JE1.png|32px]] [[File:Potted Blue Orchid JE1.png|32px]] [[File:Potted Poppy JE1.png|32px]] [[File:Potted Red Tulip JE1.png|32px]] [[File:Potted Orange Tulip JE1.png|32px]] [[File:Potted White Tulip JE1.png|32px]] [[File:Potted Pink Tulip JE1.png|32px]] [[File:Potted Acacia Sapling JE1.png|32px]] [[File:Potted Dark Oak Sapling JE1.png|32px]]{{verify|Are these models the ones used in this version?}}<br>[[File:Flower Pot (item) JE1 BE1.png|32px]] Added flower pots.}}
{{History|foot}}
<gallery>
Suggestion for itemframes.png|Original Reddit image suggesting item frames and flower pots.
FlowerPot.png|The first image of flower pots, released by [[Dinnerbone]].
Pots 1-100.png|An [[Java Edition 14w06a|14w06a]] example of some of the blocks that can be placed inside of flower pots, and their rendering.
Pots 1-100b.png|The same arrangement as prior in [[Java Edition 14w06b|14w06b]].
</gallery>
=== Flower pot "item" ===
{{:Technical blocks/Flower Pot}}
== Gallery ==
=== Renders ===
; Flowers
<gallery>
Potted Dandelion.png |
Potted Poppy.png |
Potted Blue Orchid.png |
Potted Allium.png |
Potted Azure Bluet.png |
Potted Red Tulip.png |
Potted Orange Tulip.png |
Potted White Tulip.png |
Potted Pink Tulip.png |
Potted Oxeye Daisy.png |
Potted Cornflower.png |
Potted Lily of the Valley.png |
Potted Wither Rose.png |
Potted Torchflower.png
</gallery>
; Saplings
<gallery>
Potted Oak Sapling.png |
Potted Spruce Sapling.png |
Potted Birch Sapling.png |
Potted Jungle Sapling.png |
Potted Acacia Sapling.png |
Potted Dark Oak Sapling.png |
Potted Azalea.png |
Potted Flowering Azalea.png |
Potted Mangrove Propagule.png |
Potted Cherry Sapling.png
</gallery>
; Mushrooms
<gallery>
Potted Red Mushroom.png |
Potted Brown Mushroom.png |
Potted Crimson Fungus.png |
Potted Warped Fungus.png |
</gallery>
; Roots and bushes
<gallery>
Potted Crimson Roots.png |
Potted Warped Roots.png |
Potted Fern.png |
Potted Dead Bush.png |
Potted Cactus.png |
Potted Cactus BE.png |
Potted Bamboo.png
</gallery>
=== Other ===
<gallery>
FiveFlowerPots.png | Five flower pots in a player-created village.
</gallery>
== Issues ==
{{issue list}}
== Trivia ==
* The flower pot is based on a suggestion from Reddit, like [[ender chest]]s and [[item frame]]s.<ref>{{tweet|dinnerbone|235747041286975488|My next task is going to be flower pots.|August 15, 2012}}</ref>
* Flower pots break [[falling block]]s.
* If a plant that has been [[Name Tag|named]] is put in a flower pot, the plant loses its name.
* The inside of the flower pot in ''Java Edition'' uses the center 4x4 pixels of the dirt texture while Bedrock Edition uses the center 6x6.
==References==
{{Reflist}}
{{Blocks|Utility}}
{{items}}
[[Category:Manufactured blocks]]
[[Category:Storage]]
[[Category:Generated structure blocks]]
[[Category:Non-solid blocks]]
[[Category:Utility blocks]]
[[cs:Květináč]]
[[de:Blumentopf]]
[[es:Maceta]]
[[fr:Pot de fleurs]]
[[hu:Virágcserép]]
[[it:Vaso da fiori]]
[[ja:植木鉢]]
[[ko:화분]]
[[nl:Bloempot]]
[[pl:Doniczka]]
[[pt:Vaso]]
[[ru:Цветочный горшок]]
[[zh:花盆]]
[[uk:Квітковий горщик]]</li></ul> | 13w37a | Added /setblock command, which can place blocks, albeit not yet useful for flying contraptions. | |||
| 13w39a | Added minecarts with command blocks. They can run the /setblock command, to rebuild a structure on the fly. | ||||
1.8{{Extension DPL}}<ul><li>[[Shield|Shield]]<br/>{{Item
| image = Shield.png
| image2 = White Shield.png
| extratext = View [[#Gallery|all renders]]
| durability = 336
| renewable = Yes
| stackable = No
}}
A '''shield''' is a tool used for protecting the [[player]] against attacks.
== Obtaining ==
=== Crafting ===
{{Crafting
|head=1
|showname=0
|A1=Any Planks <!-- the recipe changed in 15w37a, do not change it to the old recipe without reason -->
|B1=Iron Ingot
|C1=Any Planks
|A2=Any Planks
|B2=Any Planks
|C2=Any Planks
|B3=Any Planks
|Output=Shield
|type=Combat
}}
{{Crafting
|ignoreusage=1
|Shield
|Matching Banner
|A2=Shield
|B2=Banner
|Output=Matching Shield
|type=combat
|foot=1
}}
=== Repairing ===
{{Crafting
|ignoreusage=1
|showdescription=1
|Damaged Shield
|Damaged Shield
|Output=Shield
|description= The durability of the two shields is added together, plus an extra 5% durability. The repaired shield has no pattern.
|type= Combat
}}
Shields may also be repaired on an [[anvil]] by using [[planks]] or another shield. Shields repaired on anvils retain their pattern.
=== Trading ===
Journeyman-level armorer [[villager]]s have {{frac|1|3}}{{only|Bedrock|short=1}}/{{frac|2|5}}{{only|Java|short=1}} chance of selling a shield for 5 [[emerald]]s as their sixth trade.
== Usage ==
Despite using iron in its crafting recipe, it cannot be smelted into [[iron nugget]]s.<ref>{{bug|MC-111738}}</ref>
=== Defense ===
Shields are used for [[blocking]] incoming attacks. {{control|Using}}{{Only|Java|short=1}} or {{Control|sneaking}}{{Only|Bedrock|short=1}} causes a player to slow to a [[sneaking]] pace, and after {{convert|5|ticks|seconds}}<ref>{{bug|MC-100949||Shield blocking is delayed}}</ref>, attacks coming from in front of the player are blocked, dealing no damage. When the shield blocks an attack of {{hp|3}} or stronger, it takes durability damage equal to the strength of the attack rounded up.
Most blocked projectiles that carry status effects (such as [[Shulker#Shulker bullet|shulker bullets]]{{only|java|short=1}}, flaming [[arrow]]s, or tipped arrows) do not affect the blocker. [[Trident]]s & arrows can be deflected into other targets. Knockback from melee attacks and projectiles is prevented, while knockback from [[explosion]]s, [[hoglin]], and [[ravager]] attacks are significantly reduced.
The shield directionally blocks all attacks coming from within the FOV of the direction the wielder is facing, providing a full hemisphere of coverage to them. If the wielder faces straight up, they are likely to miss their blocks.<ref>{{bug|MC-109101||Shields do not block damage while the player faces straight up}}</ref><!--straight down fix: MC-92019-->
Mobs that deal continuous contact damage such as the slime, magma cube, and blaze rapidly drain the shield's durability for as long as the shielded player remains within the mob's hitbox.<ref>{{bug|MC-169167}}</ref><ref>{{bug|MCPE-119451}}</ref>
Blockable attacks include:
*Melee attacks, except by a warden, axe-wielding mobs or by a sprinting player wielding an axe, however even without sprinting an axe still greatly decreases the durability
** Status effects do not carry through to the blocker{{only|java|short=1}}.
*Normal, tipped, and spectral [[arrow]]s
** Arrows other than [[Piercing]] are totally deflected and can hit other targets.
** Status effects do not carry through to the blocker{{only|java|short=1}}.
***This can be used to damage the attacker or another mob down there.
*[[Flame|Flaming arrows]]
** Burning does not carry through to the blocker{{only|java|short=1}}.
*[[Trident]]s
*[[Snowball]]s and [[egg]]s
*Spines from [[pufferfish]]
*Bullets from [[shulker]]s
** The levitation effect does not carry through to the blocker{{only|java|short=1}}.
*Spit from [[llama]]s
*[[Fireball]]s, such as from [[blaze]]s and [[fire charge]]s
** Burning does not carry through to the blocker.
*Direct hits from [[ghast]] [[fireball]]s
** These still cause environmental damage.
*All explosions{{only|JE|short=1}}
*Explosion damage from [[creeper]]s
*[[TNT]] that another player lit
*[[Ravager]] headbutts
** These still knock the blocker back by about 3 blocks.
** Blocking these strikes can stun the ravager for a moment, and it roars afterward.
*Ravager roars are blocked but still knock back the blocker.
*[[Bee]] stings are blocked, but bees continuously attack until the player stops blocking and the player is stung.
*Beam attacks from [[guardian]]s or [[elder guardian]]s (only reduces damage by 50%)
They cannot block:
*Arrows from a [[crossbow]] enchanted with [[Piercing]]
** This does not reduce the shield's durability.
*[[Status effect]]s from tipped arrows or shulker bullets {{only|bedrock|short=1}} <ref>{{bug|MCPE-52904}}</ref>
** Direct projectile damage is blocked, but the effect still carries through.
*Status effects from splash/lingering [[potion]]s, [[evoker]]s' fangs, or breath from the [[ender dragon]]
*Beam attacks from [[guardian]]s or [[elder guardian]]s, or the [[warden]]'s sonic boom attack
*TNT that the blocking player lit themselves{{only|BE|short=1}}
*TNT that a [[Redstone (disambiguation)|redstone mechanism]] lit{{only|BE|short=1}}
*[[Fall damage]], including that from [[ender pearl]]s
** This also includes when the player rides an [[entity]] that died due to fall damage.
*Strikes from a warden or any [[axe]]-wielding mob (e.g., [[vindicator]]s, [[piglin brute]]s, [[zombie]]s after disabling players shield they attack another time immediately)
** Such strikes disable being able to use shields for 5 seconds.
=== Applying patterns ===
[[File:Cyan Shield Screenshot.png|250px|thumb|A custom shield.]]
Shields can be decorated by applying a [[banner]].
{{Crafting
|showdescription=1
|Shield
|Matching Banner
|Output=Matching Shield; Ominous Shield
|B2link=Banner
|Olink=Shield
|type=Combat
|description=Applies the banner pattern to the shield. The banner is consumed.<br>The shield must have no preexisting patterns.<br>Does not change existing durability or enchantments on the shield.
}}
Unlike with [[banner]]s, shields cannot be repainted or washed in a [[cauldron]]. Shields have only half the resolution of banners, making patterns look slightly different. In the game files, the pattern textures can be found in a separate directory called entity/shield.
{{IN|java}}, shields with patterns can also be obtained using the same commands as banners, except <code>banner</code> has to be replaced with <code>shield</code>.
=== Enchantments ===
A shield can receive the following [[enchantments]], but only through an [[anvil]]:
{| class="wikitable col-2-center"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Unbreaking]]
|III
|{{Inventory slot|Anvil}}
|-
|[[Mending]]
|I
|{{Inventory slot|Anvil}}
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|}
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|subtitle=Shield blocks
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|translationkey=subtitles.item.shield.block
|volume=1.0
|pitch=0.8-1.2
|distance=16}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|subtitle=Gear equips
|source=player
|description=When a shield is placed in the offhand slot
|id=item.armor.equip_generic
|translationkey=subtitles.item.armor.equip
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|sound=Random break.ogg
|subtitle=Item breaks
|source=player
|description=When a shield's durability is exhausted
|id=item.shield.break
|translationkey=subtitles.entity.item.break
|volume=0.8
|pitch=0.8-1.2
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Shield block1.ogg
|sound2=Shield block2.ogg
|sound3=Shield block3.ogg
|sound4=Shield block4.ogg
|sound5=Shield block5.ogg
|source=player
|description=When an attack is blocked using a shield
|id=item.shield.block
|volume=0.7
|pitch=1.0}}
{{Sound table
|sound=Equip generic1.ogg
|sound2=Equip generic2.ogg
|sound3=Equip generic3.ogg
|sound4=Equip generic4.ogg
|sound5=Equip generic5.ogg
|sound6=Equip generic6.ogg
|source=player
|description=When a shield is placed in the offhand slot<wbr>{{Upcoming|BE 1.20.30}}<wbr><ref group=sound>{{Bug|MCPE-168039}}</ref>
|id=armor.equip_generic
|volume=1.0
|pitch=1.0}}
{{Sound table
|sound=Random break.ogg
|source=player
|description=When a shield's durability is exhausted
|id=random.break
|volume=1.0
|pitch=0.9
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Shield
|spritetype=item
|nameid=shield
|form=item
|translationkey=item.minecraft.shield, item.minecraft.shield.white, item.minecraft.shield.orange, item.minecraft.shield.magenta, item.minecraft.shield.light_blue, item.minecraft.shield.yellow, item.minecraft.shield.lime, item.minecraft.shield.pink, item.minecraft.shield.gray, item.minecraft.shield.light_gray, item.minecraft.shield.cyan, item.minecraft.shield.purple, item.minecraft.shield.blue, item.minecraft.shield.brown, item.minecraft.shield.green, item.minecraft.shield.red, item.minecraft.shield.black
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Shield
|spritetype=item
|nameid=shield
|id=355
|form=item
|translationkey=item.shield.name, item.shield.white.name, item.shield.orange.name, item.shield.magenta.name, item.shield.lightBlue.name, item.shield.yellow.name, item.shield.lime.name, item.shield.pink.name, item.shield.gray.name, item.shield.silver.name, item.shield.cyan.name, item.shield.purple.name, item.shield.blue.name, item.shield.brown.name, item.shield.green.name, item.shield.red.name, item.shield.black.name
|foot=1}}
== Advancements ==
{{load advancements|Not Today}}
== History ==
{{History||July 10, 2011|link=http://minetimes.wordpress.com/2011/07/10/interview-mit-jeb-ihr-konntet-die-fragen-stellen/|During an interview, [[Jeb]] says that "shields for the left arm" might be added.}}
{{History|java}}
{{History||1.9|snap=15w33c|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Added shields.
|Shields replace the [[blocking]] functionality of [[sword]]s, although blocking more [[damage]].
|The current [[crafting]] recipe of shields includes [[wool]], producing 16 possible colored shields. There currently isn't a blank, uncolored shield.
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Matching Wool |B1=Any Planks
|A2=Matching Wool |B2=Any Planks |C2=Iron Ingot
|A3=Matching Wool |B3=Any Planks
|Output=Matching Shield
|ignoreusage=1
}}
{{!}}}
|Any of the colored base shields can be [[crafting|crafted]] with a [[banner]] of the same base color, to produce a patterned shield.
}}
{{History|||snap=15w34c|When an attack is blocked by a shield, the attacker now may be knocked back.
|Being attacked with an [[axe]] now may disable shield use for 5 seconds.}}
{{History|||snap=15w37a|The [[crafting]] recipe of shields has been changed to 6 [[planks]] and 1 [[iron ingot]].
{{{!}} class{{=}}"collapsible collapsed" data-description{{=}}"Recipe"
! Recipe
{{!}}-
{{!}}
{{Crafting
|A1=Any Planks |B1=Iron Ingot |C1=Any Planks
|A2=Any Planks |B2=Any Planks |C2=Any Planks
|B3=Any Planks
|Output=Shield
|ignoreusage=1
}}
{{!}}}
|[[File:Shield JE1.png|22px]] Crafting a shield now produces a base wooden shield that can be crafted together with any [[banner]].
|The cooldown of shields has been reduced from 0.5s to 0.25s.
|Blocking with shields now prevents some side effects.{{verify}}
|[[Arrow]]s now ricochet off shields.}}
{{History|||snap=15w44a|Shields can now be repaired by combining with other shields. This removes any [[banner]] that had been applied.}}
{{History|||snap=15w45a|Crafting a banner onto a shield now consumes the banner.}}
{{History|||snap=15w47b|Added shield blocking [[sound]]s.}}
{{History|||snap=16w07a|Added more variation of shield blocking sounds.}}
{{History|||snap=pre1|The [[durability]] of shields has been increased from 181 to 337.}}
{{History||1.10|snap=16w21a|Shields can now be equipped by [[dispenser]]s.}}
{{History||1.11|snap=16w33a|[[Crafting]] a shield with a banner no longer changes the durability, nor does it remove [[enchanting|enchantments]] from it.}}
{{History|||snap=16w35a|Shields now block 100% of [[damage]]/[[knockback]]/debuffs dealt in melee combat.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 442.}}
{{History||1.13.2|snap=release|Shields now properly block attacks when the player is facing down.<ref>{{bug|MC-92019|||Fixed}}</ref>}}
{{History||1.14|snap=18w43a|[[File:Shield JE2 BE1.png|22px]] The texture of shields has been changed.
|Shields no longer knockback attackers when they block due to a bug with rework of the blocking mechanic with the introduction of the ravager.<ref>{{bug|MC-147694}}</ref>}}
{{History|||snap=19w11a|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.14.3|snap=Pre-Release 3|Shields blocking flaming [[arrow]]s no longer put the [[player]] on [[fire]].}}
{{History||1.16|snap=20w06a|[[Crimson planks]] and [[warped planks]] can now be used to craft shields.}}
{{History||1.19|snap=22w11a|[[Mangrove planks]] can now be used to craft shields.}}
{{History||1.19.3|snap=22w43a|Shields can now properly block all explosions.}}
{{History||1.19.4|snap=23w06a|A sound is now played when a shield is placed into the offhand slot.}}
{{History|upcoming java}}
{{History||Combat Tests|snap=1.14.3 - Combat Test|Critical hits now bypass shields.
|The warm-up delay has been removed from shields.
|When in the off-hand, shields now activate when [[sneaking]].}}
{{History|||snap=Combat Test 2|Shields now protect against critical attacks again.
|Shields can only be activated when the weapon is charged to 200%.}}
{{History|||snap=Combat Test 3|A "Shield Indicator" option that displays when the shield is active, similar to the attack indicator, has been added.
|An option to hide shields when active has been added.
|The arc of available protection of shields has been decreased to 100 degrees instead of 180 degrees.}}
{{History|||snap=Combat Test 4|An option to disable shields being activated by pressing {{ctrl|crouch}} has been added.
|The option to hide the shield has been removed.}}
{{History|||snap=Combat Test 6|Shields now protect up to 5 [[damage]] for melee attacks (still 100% against projectiles).
|Shields activate instantly regardless if the weapon is charged, similar to Combat test 1.
|Shields now recover faster after an attack.}}
{{History|||snap=Combat Test 7c|Shields now add a 50% knockback resistance when active.
|Shields now protect against 100% [[explosions|explosion]] damage.}}
{{History|||snap=Combat Test 8c|The knockback calculations for shields have been fixed.{{Info needed}}
|Crouch-shielding while jumping has been disabled.
|Shields with [[banner]]s are now temporarily stronger than normal shields (10 absorption instead of 5, and better knockback resistance) to test different shield types.}}
{{History|bedrock}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Shield JE2 BE1.png|22px]] Added shields.
|Shields cannot be customized with [[banner]]s.
|Shields are activated by [[sneaking|crouching]] or mounting [[mob]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|Shields can now be [[trading|bought]] from armorer [[villager]]s.}}
{{History||1.16.210|snap=beta 1.16.210.51|Now grants partial knockback protection from the [[goat]] ram attack.}}
{{History||1.16.220|snap=beta 1.16.220.50|[[Mob]]s that pick up shields now place them to their off-hand.}}
{{History||1.18.30|snap=beta 1.18.30.26|Being attacked with an [[axe]] now may disable shield use. This was not mentioned in the official changelog.<ref>{{tweet|kingbdogz|1504505321884196872|We missed a change in recent changelogs for the Bedrock beta that you may like - we have now made a parity fix that makes shields get disabled for 5 seconds when attacked by an Axe-wielding mob or player. We will make sure to list this properly in the next beta :)|March 17, 2022}}</ref>}}
{{History||1.20.0|snap=beta 1.20.0.20|[[File:White Shield.png|22px]] [[File:Light Gray Shield.png|22px]] [[File:Gray Shield.png|22px]] [[File:Black Shield.png|22px]] [[File:Brown Shield.png|22px]] [[File:Red Shield.png|22px]] [[File:Orange Shield.png|22px]] [[File:Yellow Shield.png|22px]] [[File:Lime Shield.png|22px]] [[File:Green Shield.png|22px]] [[File:Cyan Shield.png|22px]] [[File:Light Blue Shield.png|22px]] [[File:Blue Shield.png|22px]] [[File:Purple Shield.png|22px]] [[File:Magenta Shield.png|22px]] [[File:Pink Shield.png|22px]] Shields can now be customized using a banner.}}
{{History|PS4}}
{{History||1.90|[[File:Shield JE1.png|22px]] Added shields.
|Shields do not have [[banner]] application features.}}
{{History|foot}}
== Issues ==
{{issue list|-wither}}
== Gallery ==
<gallery>
Shield.png|Shield
White Shield.png|White Shield
Light Gray Shield.png|Light Gray Shield
Gray Shield.png|Gray Shield
Black Shield.png|Black Shield
Brown Shield.png|Brown Shield
Red Shield.png|Red Shield
Orange Shield.png|Orange Shield
Yellow Shield.png|Yellow Shield
Lime Shield.png|Lime Shield
Green Shield.png|Green Shield
Cyan Shield.png|Cyan Shield
Light Blue Shield.png|Light Blue Shield
Blue Shield.png|Blue Shield
Purple Shield.png|Purple Shield
Magenta Shield.png|Magenta Shield
Pink Shield.png|Pink Shield
</gallery>
=== Screenshots ===
<gallery>
JebShield.png|One of the first images of shields. [[Jeb]] wearing diamond armor while holding a creeper-emblazoned shield during [[MineCon]] 2015.
Jeb Crafting Shield.png|Jeb crafting a shield.
Player with Shield.png|Player holding the default shield.
Shield Block.png|A player blocking with a shield.
ShieldFirstPerson.png|Blocking with a shield as seen in first person.
Enchanted Shield (item).gif|An enchanted shield as seen in the [[inventory]].
-ominous- shield.png|A shield with the [[ominous banner]] on it as seen in the inventory.
Kai-Shield.jpg|An image of [[Kai]] wielding a banner with a shield, used to announce the feature on [[Bedrock Edition]].
Bedrock-Shields.jpg
</gallery>
== References ==
{{reflist}}
== External Links ==
* [https://www.minecraft.net/en-us/article/taking-inventory--shield Taking Inventory: Shield] – Minecraft.net on July 25, 2019
{{Items}}
[[Category:Combat]]
[[Category:Renewable resources]]
[[de:Schild (Kampf)]]
[[fr:Bouclier]]
[[it:Scudo]]
[[ja:盾]]
[[ko:방패]]
[[nl:Schild]]
[[pl:Tarcza]]
[[pt:Escudo]]
[[ru:Щит]]
[[th:โล่]]
[[zh:盾牌]]</li><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image =
| image2 =
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).
== Obtaining ==
=== Natural generation ===
Redstone comparators generate in [[Ancient City|ancient cities]].
=== Breaking ===
A redstone comparator can be broken instantly with any [[tool]], or by hand, and drops itself as an item.
{{Breaking row|Redstone Comparator|horizontal=y}}
A redstone comparator is removed and dropped as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.
If [[lava]] flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.
=== Crafting ===
{{Crafting
|B1=Redstone Torch
|A2=Redstone Torch
|B2=Nether Quartz
|C2=Redstone Torch
|A3=Stone
|B3=Stone
|C3=Stone
|Output= Redstone Comparator
|type=Redstone
}}
== Usage ==
A redstone comparator can be placed on the top of any [[opaque]] block with a solid full-height top surface (including upside-down [[slab]]s and upside-down [[stairs]]). {{IN|be}}, a comparator can also be placed on [[wall]]s and fences. For more information about placement on transparent blocks, see [[Opacity/Placement]].
The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by {{control|using}} the comparator:
* Down and unpowered (indicating the comparator is in "comparison mode")
* Up and powered (indicating the comparator is in "subtraction mode")
The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from [[redstone dust]], [[block of redstone]], [[redstone repeater]]s, other comparators, and [[observer]]s in specific scenarios. The redstone comparator's front is its output.
It takes 1 [[redstone tick]] (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off.
Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a [[clock circuit|1-clock]] input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time will cause a redstone comparator to respond to 2 gametick pulses.
The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).
=== Maintain signal strength ===
A redstone comparator with no powered sides outputs the same signal strength as its rear input.
=== Compare signal strength ===
[[File:Comparators Explained.png|Comparators in comparison mode.|thumb]]
A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.
The formula for calculating the output signal strength is as follows:
<code>output = rear × [[Wikipedia:Iverson bracket|[]]'''''left''''' ≤ '''''rear''''' AND '''''right''''' ≤ '''''rear'''''[[Wikipedia:Iverson bracket|<nowiki>]]]</code>
{{-}}
=== Subtract signal strength ===
[[File:Redstone comparator.png|thumb|The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than B, it would output 0.]]
A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.
<code>output = max('''''rear''''' − max('''''left''', '''right'''''), 0)</code>
For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of ''max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0''.
If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of ''max(9 − max(2, 5), 0) = max(9−5, 0) = 4''.
=== Measure block state ===
{{Schematic | caption = A redstone comparator can measure the fullness of a chest, as well as other block states, even through an opaque block.
|rd-ew!|rc-w!|ch|SB|rc-e!|rd-ew!
}}
A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by an opaque block. However, {{in|je}}, if the opaque block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.<ref>{{bug|MC-64394}} (resolved as "Works As Intended")</ref>
[[Category:Java Edition specific information]]
{{-}}
==== Fullness of containers ====
{| class="wikitable floatright" style="margin-left: 0.5em; margin-right: 0; text-align: center;"
|+ Minimum Items for Container Signal Strength
|-
!Containers
!{{BlockSprite|Furnace|link=Furnace}}<br>{{BlockSprite|Blast Furnace|link=Blast Furnace}}<br>{{BlockSprite|Smoker|link=Smoker}}
!{{BlockSprite|Hopper|link=Hopper}}<br>{{EntitySprite|Minecart with Hopper|link=Minecart with Hopper}}<br>{{BlockSprite|Brewing Stand|link=Brewing Stand}}
!{{BlockSprite|Dispenser|link=Dispenser}}<br>{{BlockSprite|Dropper|link=Dropper}}
!{{BlockSprite|Chest|link=Chest}}<br>{{EntitySprite|Minecart with Chest|link=Minecart with Chest}}<br>{{BlockSprite|Shulker Box|link=Shulker Box}}<br>{{BlockSprite|Barrel|link=Barrel}}
![[Double Chest|{{Schematic|size=16|ch-s|-|ch-n}}
]]
!{{BlockSprite|Jukebox|link=Jukebox}}
|-
!Total Slots
!3!!5!!9!!27!!54!!1
|-
!Power Level
! colspan="5" |Number of Items
!Music Disc
|-
|0||0||0||0||0||0||No disc
|-
|1||1||1||1||1||1||"13"
|-
|2||14||23||42||1s 60||3s 55||"cat"
|-
|3||28||46||1s 19||3s 55||7s 46||"blocks"
|-
|4||42||1s 5||1s 60||5s 51||11s 37||"chirp"
|-
|5||55||1s 28||2s 37||7s 46||15s 28||"far"
|-
|6||1s 5||1s 51||3s 14||9s 42||19s 19||"mall"
|-
|7||1s 19||2s 10||3s 55||11s 37||23s 10||"mellohi"
|-
|8||1s 32||2s 32||4s 32||13s 32||27s||"stal"
|-
|9||1s 46||2s 55||5s 10||15s 28||30s 55||"strad"
|-
|10||1s 60||3s 14||5s 51||17s 23||34s 46||"ward"
|-
|11||2s 10||3s 37||6s 28||19s 19||38s 37||"11"
|-
|12||2s 23||3s 60||7s 5||21s 14||42s 28||"wait"
|-
|13||2s 37||4s 19||7s 46||23s 10||46s 19||"Pigstep"
|-
|14||2s 51||4s 42||8s 23||25s 5||50s 10||"Otherside"<br>"Relic"
|-
|15||3s||5s||9s||27s||54s||"5"
|}
A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.
Containers that can be measured by a comparator include:
* {{BlockLink|Furnace}}
* {{BlockLink|Blast Furnace}}
* {{BlockLink|Smoker}}
* {{BlockLink|Brewing Stand}}
* {{BlockLink|Hopper}}
* {{ItemLink|Minecart with Hopper}} on top of a [[detector rail]]
* {{BlockLink|Dispenser}}
* {{BlockLink|Dropper}}
* {{BlockLink|Chest}}
* {{BlockLink|Trapped Chest}}
* {{ItemLink|Minecart with Chest}} on top of a [[detector rail]]
* {{BlockLink|Barrel}}
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large chest
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large trapped chest
* {{BlockLink|Shulker Box}} (any color)
Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).
The ''Minimum Items for Container Signal Strength'' table (right) shows the minimum '''''full-stack-equivalent (FSE)''''' to produce different signal strengths from common containers. A '''''full-stack-equivalent''''' quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.
One may also consider the terms: '''c''umulative-weight''''' or '''''weighted-sum''''' instead of '''''full-stack-equivalent'''''.
Items that stack to a max of 16 ([[snowball]]s, [[sign]]s, [[ender pearl]]s, etc.), contribute +4 to the ''full-stack-equivalent'' for each unity (count of 1 item). Similarly, items that stack to 1 ([[minecart]], [[boat]], etc.) contribute +64, and items that stack to 64 contribute +1.
Example 1: 3 ender pearls will contribute a 3 x 4 = 12 ''full-stack-equivalent''.
Example 2: 16 ender pearls and 60 redstone dust contributes a 16x4 + 60x1 = 124 ''full-stack-equivalent''.
Example 3: 1 minecart and 60 redstone dust contributes a 1x64 + 60x1 = 124 ''full-stack-equivalent''.
Example 4: To produce a signal strength of 10 from a hopper, one requires a ''full-stack-equivalent'' of at least 3s + 14 = 206 but strictly less than than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.
When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has an opaque block, [[ocelot]], or [[cat]] above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.
;Calculating signal strength from items
:When a container is empty, the output is off.
:When it is not empty, the output signal strength is calculated as follows:
:<code>'''''signal strength''''' = floor(1 + (('''''sum of all slots' fullnesses''''') / ('''''number of slots in container''''')) × 14)</code>
:<code>fullness of a slot = '''''number of items in slot''''' / '''''max stack size for this type of item'''''</code>
:''Example:'' 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 ''full-stack-equivalent.'' This produces an output with a signal strength of 8:
<blockquote>
1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8
</blockquote>
;Calculating items from signal strength
:It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:
:<code>items required = max('''''desired signal strength''''', roundup(('''''total slots in container''''' × 64 / 14) × (desired signal strength − 1)))</code>
:''Example:'' To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:
<blockquote>
max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110
</blockquote>
{{-}}
==== Miscellaneous ====
[[File:Comparator storage.png|Comparators used to measure containers.|thumb]]
Some non-container blocks can also be measured by a redstone comparator:
;{{BlockLink|Beehive}} and {{BlockLink|Bee nest}}
: A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.
;{{BlockLink|Cake}}
: A cake outputs a signal strength relative to the amount of cake remaining. Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.
[[File:Cauldron Redstone Strength Values.png|Cauldron signal strength|thumb]]
;{{BlockLink|Cauldron}}
: A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava or powder snow is inside, the strength is always 3.
[[File:Composter Redstone Strength Values.png|Composter signal strength|thumb]]
;{{BlockLink|Composter}}
: A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.
;{{Anchor|CommandBlock}}{{BlockLink|Command Block}}
: A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the [[command]]'s success conditions: if a red error message is returned in the chat, the command was not successful.
: Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).
: A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).
;{{BlockLink|End Portal Frame}}
: An end portal frame outputs a full signal of 15 if it contains an [[eye of ender]] and zero otherwise.
[[File:Item frame and comparator.png|A comparator can measure the presence and rotation of an item frame's contents.|thumb]]
;{{EntityLink|Item Frame}}
: A comparator can measure the state of an [[item frame]]'s contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.
: For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.
: The comparator must be placed behind the block the item frame is attached to, facing away from the item frame. The block must be a full block, and the item frame cannot be submerged in water. Having a sign in the same block as the item frame will prevent the frame from sending a signal as well.{{only|java}}
;{{BlockLink|Jukebox}}
: A jukebox outputs a signal strength indicating which music disc is currently playing. See the ''Minimum Items for Container Signal Strength'' table above.
;{{BlockLink|Lectern}}
: A lectern outputs a signal strength that depends on what page the player is currently on. The calculation used is:
:<code>'''''signal strength''''' = floor(1 + (('''''current page''''' - 1) / ('''''number of pages in book''''' - 1)) × 14)</code>
:This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which will output a signal strength of 15.
:For example, a book with 15 pages will output a signal equal to the current page number. A book with 5 pages will output signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages will have the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
:
;{{BlockLink|Respawn Anchor}}
: A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.
;{{BlockLink|Sculk Sensor}}
: A sculk sensor outputs a signal strength depending on the type of vibration that is detected.
;{{BlockLink|Chiseled Bookshelf}}
: A chisled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
{{-}}
== Sounds ==
=== Generic ===
{{Edition|Java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}
=== Unique ===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Click.ogg
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to subtraction mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.55
|distance=16}}
{{Sound table
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to comparison mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.5
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Click.ogg
|source=block
|description=When a comparator is set to subtraction mode
|id=block.click
|volume=0.2
|pitch=0.55}}
{{Sound table
|source=block
|description=When a comparator is set to comparison mode
|id=block.click
|volume=0.2
|pitch=0.5
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Comparator
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-comparator
|spritetype=block
|nameid=unpowered_comparator
|id=149
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-comparator
|spritetype=block
|nameid=powered_comparator
|id=150
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-comparator
|spritetype=item
|nameid=comparator
|id=522
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=Comparator
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
=== Block data ===
A redstone comparator has a block entity associated with it that holds additional data about the block.
{{el|je}}:
{{see also|Block entity format}}
{{/BE}}
{{el|be}}:
: See [[Bedrock Edition level format/Block entity format]].
== Advancements ==
{{Load advancements|the power of books}}
== Video ==
<div style="text-align:center">{{yt|J7Z20Zzz3yU}}</div>
== History ==
{{info needed section|If {{bug|MC-50242}} also affected comparators?}}
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||November 24, 2012|link=https://youtube.com/watch?v=YG9RNyRhIow&t=6m56s|[[Jeb]] stated that there may be a "capacitor" in [[Minecraft]]. }}
{{History||December 27, 2012|link={{tweet|Dinnerbone|284388625595125760}}|[[Dinnerbone]] released [https://web.archive.org/web/20190710120115/https://imgur.com/a/FBKed pictures] of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.}}
{{History||January 2, 2013|link={{tweet|Dinnerbone|286428595423965184}}|Dinnerbone released one more [http://dinnerbone.com/media/uploads/2013-01/screenshots/2013-01-02_12.06.47.png picture] of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main [[block]].}}
{{History||1.5|snap=13w01a|[[File:Redstone Comparator (S) JE1.png|32px]] [[File:Powered Redstone Comparator (S) JE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.
|Redstone comparators have 0 delay.
At this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.}}
{{History|||snap=13w01b|A delay of 1 game tick ({{frac|1|2}} redstone tick) has now been added to redstone comparators to fix bugs.
|The ability to measure containers to redstone comparators has now been added.}}
{{History|||snap=13w02a|[[File:Redstone Comparator (S) JE2.png|32px]] [[File:Powered Redstone Comparator (S) JE2.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2.png|32px]] The appearance of redstone comparators has now been changed - the top texture has changed to show [[quartz]] in the middle and the sides now use the [[smooth stone]] texture rather than the smooth stone slab side texture.
|The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 [[item]] in the container.}}
{{History|||snap=13w02b|Redstone comparators now treat large [[chest]]s as a single container.}}
{{History|||snap=13w03a|Redstone comparators now output success count of [[command block]]s.
|Redstone comparators now measure container [[minecart]]s on [[detector rail]]s.}}
{{History|||snap=13w04a|Redstone comparators now measure [[jukebox]]es.}}
{{History|||snap=13w05a|Redstone comparators no longer cause constant [[block]] updates. The delay has now been made consistent, and side input no longer causes a pulse output.
|Block 150 (later <code>powered_comparator</code>) is no longer used; powered state is now represented by the 8s bit on block 149 (later <code>unpowered_comparator</code>).}}
{{History|||snap=13w05b|Redstone comparator delay has now been changed from 1 game tick (1/2 [[redstone]] tick) to 2 game ticks (1 redstone tick).}}
{{History|||snap=13w09c|The redstone signal strength from a redstone comparator next to a [[brewing stand]] with 3 [[water bottle]]s in it is now the same as one with 3 water bottles and 1 ingredient in it.}}
{{History||1.6.1|snap=13w18a|Redstone comparators now measure [[cauldron]]s and [[end portal frame]]s.}}
{{History||1.8|snap=14w04a|Redstone comparators now measure [[item frame]]s.}}
{{History|||snap=14w10a|The torches under redstone comparators have now been shortened, which has changed the underside appearance from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=14w25a|[[File:Redstone Comparator (S) JE3.png|32px]] [[File:Powered Redstone Comparator (S) JE3.png|32px]] [[File:Subtracting Redstone Comparator (S) JE3.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE3.png|32px]] The torches on comparators are now subject to ambient occlusion.
|Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through {{cmd|setblock}}.}}
{{History|||snap=14w25b|[[File:Subtracting Redstone Comparator (S) JE4.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE4.png|32px]] The powered front torch when in subtraction mode is now lower.
|Comparators set to subtract by hand now appear normally again.}}
{{History|||snap=14w28a|Redstone comparators now measure [[cake]]s.}}
{{History||1.9|snap=15w42a|With the addition of the [[blaze powder]] fuel slot, [[brewing stand]]s now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
{{{!}} class{{=}}"wikitable collapsible collapsed" data-description{{=}}"Original values"
! Original values
{{!}}-
{{!}}
*0: 0
*1: 1
*2: 19
*3: 37
*4: 55
*5: 1s 10
*6: 1s 28
*7: 1s 46
*8: 2s
*9: 2s 19
*10: 2s 37
*11: 2s 55
*12: 3s 10
*13: 3s 28
*14: 3s 46
*15: 4s
{{!}}}
}}
{{History|||snap=15w47a|Redstone comparators' side inputs now take power from [[redstone block]]s.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone comparator have now been merged into one ID: <code>comparator</code>.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 149 and 150, and the [[item]]'s 404.
|As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID.}}
{{History||1.14|snap=18w43a|[[File:Redstone Comparator (S) JE4.png|32px]] [[File:Powered Redstone Comparator (S) JE4.png|32px]] [[File:Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|||snap=19w02a|Redstone comparators now measure [[lectern]]s.}}
{{History|||snap=19w03a|Redstone comparators now measure [[composter]]s.}}
{{History|||snap=19w12b|Redstone comparators can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.15|snap=19w34a|Redstone comparators now measure how much honey is inside [[beehive|bee hive]]s and [[bee nest]]s.}}
{{History||1.16|snap=20w06a|The way to calculate the input signals of redstone comparators has now been changed.}}
{{History|||snap=20w11a|The changes to the way of calculating the input signals of redstone comparators from [[Java Edition 20w06a|20w06a]] have now been reverted.}}
{{History|||snap=20w16a|Redstone comparators now measure [[Pigstep music disc]]s in [[jukebox]]es.}}
{{History||1.17|snap=20w45a|Redstone comparators now measure [[lava cauldron]]s.}}
{{History|||snap=20w46a|Redstone comparators now measure [[Cauldron#Holding powder snow|powder snow cauldron]]s.}}
{{History||1.18|snap=21w41a|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.19|snap=22w13a|Redstone comparators now generate as part of [[ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Redstone comparators now measure [[chiseled bookshelves]].}}
{{History||1.20.2|snap=23w33a|Redstone comparators now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Redstone comparators now measure [[end portal frame]]s.}}
{{History||1.0.5|snap=alpha 1.0.5.0|Redstone comparators now output success count of [[command block]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone comparators now measure [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone comparators now measure [[jukebox]]es.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]]}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone comparators now measure [[smoker]]s, [[blast furnace]]s, [[lectern]]s and [[composter]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone comparators now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}
{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Redstone comparators can now measure [[item frame]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] Added redstone comparators.}}
{{History|foot}}
=== Redstone comparator "items" ===
{{:Technical blocks/Redstone Comparator}}
== Issues ==
{{issue list}}
== Trivia ==
* Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.<ref>{{bug|MC-51692|||WAI}}</ref>
== Gallery ==
<gallery>
Dinnerbone Comparator 1.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 2.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 3.png|Dinnerbone showing how comparators work.
Dinnerbone Comparators 1.png|A contraption incorporating comparators.
Dinnerbone Comparators 2.png|Comparators in action.
Dinnerbone Comparators 3.png|Output specific signals.
Dinnerbone Comparator Thing.png|Another comparator in use.
Item Frame Comparator.png|Rotating the torch in the item frame adjusts the comparator's output.
</gallery>
== References ==
{{reflist}}
{{Redstone}}
{{Blocks|Utility}}
{{Items}}
[[Category:Mechanics]]
[[Category:Block entities]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Non-solid blocks]]
[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki> | 14w02a | Added the @e selector, to target entities. They can be suspended in the air by rapid running of /tp. | |||
| 14w03a | Added the /clone command, which can clone structures.
| ||||
| The target selectors can now target players or entities in a 3D area. | |||||
| 14w07a | Added the /execute command, which can run other commands relative to an entity, including rebuilding structures or propelling that entity with explosions. | ||||
| 14w18a | The first flying technology available in Survival mode was made, employing slime blocks which can now move blocks being moved by pistons. | ||||
| 14w20a | /clone now has an option to move the structure (clone it and remove the original). | ||||
| 14w26a | Added /entitydata, which can change entities' velocity. | ||||
1.9{{Extension DPL}}<ul><li>[[Compass|Compass]]<br/>{{About|the item used to point to the world spawn or to a lodestone|the item used to point to the location of the player's last death|Recovery Compass}}
{{Item
| image = Compass.gif
| image2 = Lodestone Compass.gif
| renewable = Yes
| stackable = '''Compass:''' Yes (64)<br>'''Lodestone Compass:''' No
}}
A '''compass''' is an item used to point to the world spawn or to a [[lodestone]].
== Obtaining ==
=== Crafting ===
{{Crafting
|B1= Iron Ingot
|A2= Iron Ingot |B2= Redstone Dust |C2= Iron Ingot
|B3= Iron Ingot
|Output= Compass
|type= Tool
}}
=== Chest loot ===
{{LootChestItem|compass}}
=== Trading ===
{{IN|java}}, expert-level librarian [[villager]]s have a 50% chance to sell a single compass for 4 [[emerald]]s.
{{IN|bedrock}}, expert-level librarian villagers have a {{frac|1|3}} chance to sell a single compass for 4 emeralds.
== Usage ==
Normally, the compass' needle points toward the world [[Spawn#World spawn|spawn point]]. The compass points to spawn when viewed in any way, including as a dropped [[Item (entity)|item]], in a player's hand, in an inventory or the crafting table, or in an [[item frame]]. The direction the needle points to is relative to the player who is viewing it.
In [[the Nether]] or [[the End]], the compass' needle spins and points in random directions.
The compass can be used on a [[lodestone]], after which it is named lodestone compass by default and points to that lodestone as long as the compass is in the same dimension as the lodestone, but if the compass is taken to a different dimension, it spins randomly, as a normal compass would in the Nether or the End. If the lodestone is destroyed, it also spins randomly, even if the lodestone is replaced afterward. However, if a lodestone compass is placed in storage, the lodestone can be broken and replaced without the compass losing the attunement, as long as the compass remains in storage while the lodestone is missing.
A lodestone compass appears [[enchanting|enchanted]], similar to the [[Enchanted Golden Apple|enchanted golden apple]].
Using {{cmd|setworldspawn}} to change the world spawn also changes where the compass points.
=== Crafting ingredient ===
{{crafting usage|Compass, Compass.gif}}
=== Anvil usage ===
{{:Map/BE|position}}
=== Trading ===
A single compass can be sold to a journeyman-level cartographer villager for 1 [[emerald]].{{only|java}}
A single compass can be sold to an expert-level cartographer villager for 1 emerald as their sixth trade.{{only|bedrock}}
A compass is also part of the cost of [[explorer map]]s:
* An ocean explorer map and{{only|java|short=1}}/or{{only|bedrock|short=1}} a woodland explorer map can be bought from a journeyman-level cartographer for 12 emeralds and one compass, as part of their fifth trade.{{only|bedrock}}
* {{IN|java}}, apprentice-level cartographer villagers offer to sell an ocean explorer map for 13 emeralds and a compass, and journeyman-level cartographer villagers offer to sell a woodland explorer map for 14 emeralds and one compass.
=== Enchantments ===
A compass can receive the following [[enchantment]]s:
{|class="wikitable col-2-center col-3-right"
|+
!Name
!Max Level
![[Enchanting|Method]]
|-
|[[Curse of Vanishing]]
|I
|{{Inventory slot|Anvil}}
|-
|}
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Lodestone lock1.ogg
|sound2=Lodestone lock2.ogg
|source=player
|subtitle=Lodestone Compass locks onto Lodestone
|description=When a compass is used on a lodestone
|id=item.lodestone_compass.lock
|translationkey=subtitles.item.lodestone_compass.lock
|volume=1.0
|pitch=''varies'' <ref group=sound>Can be 0.85 or 0.95 for each sound</ref>
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Lodestone lock1.ogg
|sound2=Lodestone lock2.ogg
|source=block
|description=When a compass is used on a lodestone
|id=lodestone_compass.link_compass_to_lodestone
|volume=1.0
|pitch=0.85-0.95
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Compass
|spritetype=item
|nameid=compass
|form=item
|translationkey=item.minecraft.compass,item.minecraft.lodestone_compass
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Compass
|spritetype=item
|nameid=compass
|id=391
|form=item}}
{{ID table
|displayname=Lodestone Compass
|spritename=lodestone-compass-be
|spritetype=item
|nameid=lodestone_compass
|aliasid=lodestonecompass
|id=602
|form=item
|translationkey=item.lodestonecompass.name
|foot=1}}
=== Item data ===
{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Compasses}}
</div>
{{el|bedrock}}:
: See [[Bedrock Edition level format/Item format]].
== Advancements ==
{{load advancements|Country Lode}}
== History ==
{{History|java alpha}}
{{History||v1.1.0|[[File:Compass JE1.gif|32px]] Added compasses.
|They have 102 visually distinct frames due to how the texture is generated - see the section below.}}
{{History|java beta}}
{{History||1.8|snap=Pre-release|Compasses can now be found in library [[chest]]s in the new [[strongholds]].}}
{{History|java}}
{{History||1.3.1|snap=12w21a|Librarian [[villager]]s now [[trading|sell]] 1 compass for 10–11 [[emerald]]s, making them [[renewable]].}}
{{History||1.4.2|snap=12w34a|Since the mapping system has been changed, a compass can now be used to [[crafting|craft]] an empty [[map]].}}
{{History||1.5|snap=13w02a|[[File:Compass JE2 BE2.gif|32px]] Compasses now, instead of splitting two textures, use the new animation feature included in texture packs. As a result, they are considerably less precise, having only 29 visually distinct frames. }}
{{History||1.8|snap=14w02a|Librarian villagers now sell 1 compass for 10–12 emeralds.}}
{{History||1.9|snap=15w31a|Compasses are now broken up into individual textures, instead of having every individual frame on one vertical strip like with animated textures.}}
{{History|||snap=15w43a|The average yield of compasses in [[stronghold]] library [[chest]]s has been increased.}}
{{History||1.11|snap=16w39a|Cartographer [[villager]]s have been added, who [[trading|buy]] compasses as their tier 2 trade.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 345.}}
{{History|||snap=18w11a|Compasses can now generate in [[shipwreck]] [[chest]]s.}}
{{History||1.14|snap=18w48a|Compasses can now generate in chests in [[village]] cartographer houses.}}
{{History||1.16|snap=20w13a|[[File:Lodestone Compass JE1.gif|32px]] Compasses can now be used on [[lodestone]]s to make them point to the stones.
|Compasses now point to the center of the spawn point block, instead of its north-west corner.}}
{{History|||snap=20w14a|Compasses now have the <code>LodestonePos</code>, <code>LodestoneDimension</code>, and <code>LodestoneTracked</code> data fields. If <code>LodestoneTracked</code> is zero, the game skips checking for a lodestone in the specified position.
|Compasses can now have the [[Curse of Vanishing]] [[enchantment]] on them.}}
{{History|||snap=20w19a|Compasses no longer work in the [[recipe book]].<ref>{{bug|MC-116293}}</ref>}}
{{History|||snap=20w22a|Compasses no longer work in the villager trading GUI.<ref>{{bug|MC-182888}}</ref>}}
{{History||1.17|snap=20w48a|[[File:Compass JE3.gif|32px]] [[File:Lodestone Compass JE2.gif|32px]] The textures of compass and lodestone compass have been changed.}}
{{History||1.19|snap=22w13a|Compasses may now be found in [[ancient city]] [[chest]]s.}}
{{History|||snap=22w14a|Compasses can now used to craft [[recovery compass]]es.}}
{{History|pocket alpha}}
{{History||v0.2.0|[[File:Compass BE1.png|32px]] Added compasses.
|Compasses currently have no function or legitimate method of obtaining them.}}
{{History||v0.8.0|snap=build 1|[[File:Compass JE2 BE2.gif|32px]] Added animated texture to compasses.
|Compasses are now functional and [[crafting|craftable]]. They have been added into the Creative Inventory.}}
{{History||v0.14.0|snap=build 1|Compasses must now be added to a [[map]] using an [[anvil]] to add the location marker.}}
{{History|pocket}}
{{History||1.0.0|snap=?|[[Windows 10 Edition]] can now use the [[anvil]], as well as the [[crafting table]], to apply position markers, with compasses just as [[Pocket Edition]] can in general.}}
{{History||1.0.4|snap=alpha 1.0.4.0|Librarian [[villager]]s now [[trading|sell]] 1 compass for 10–12 [[emerald]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.3|Cartographer villagers have been added, who [[trading|buy]] compasses as part of their tier 2 trade.
|Compasses used with emeralds can be used to buy explorer maps as part of cartographer villagers' fourth tiers trade.}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Compasses can now be found inside map room [[chest]]s in [[shipwreck]]s.}}
{{History||1.10.0|snap=beta 1.10.0.3|Compasses can now be found in [[village]] cartographer house chests.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Trading]] has been changed, cartographer [[villager]]s now [[trading|buy]] compassess as part of their fourth tier trades.
|Compasses used with [[emerald]]s can now be used to buy explorer maps as part of cartographer and fletcher villagers' third tier trades.
|Librarian villagers now have a {{frac|1|3}} chance to [[trading|sell]] compasses for 4 emeralds as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.57|[[File:Lodestone Compass BE1.gif|32px]] Compasses can now be used on [[lodestone]]s to make them point to the stones.
|Compasses now have the <code>LodestonePos</code>, <code>LodestoneDimension</code>, and <code>LodestoneTracked</code> data fields. If <code>LodestoneTracked</code> is zero, the game skips checking for a lodestone in the specified position.
|Compasses can now have the [[Curse of Vanishing]] [[enchantment]] on them.}}
{{History||1.16.100|snap=beta 1.16.100.56|Changed the ID {{code|lodestonecompass}} to {{code|lodestone_compass}}.}}
{{History||1.17.0|snap=beta 1.17.0.54|[[File:Compass JE3.gif|32px]] The texture of compass has been changed.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Lodestone Compass JE2.gif|32px]] The texture of lodestone compass has been changed.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.0|wiiu=Patch 1|switch=1.0.1|[[File:Compass JE2 BE2.gif|32px]] Added compasses.}}
{{History|New Nintendo 3DS Edition}}
{{History||0.1.0|[[File:Compass JE2 BE2.gif|32px]] Added compasses.}}
{{History|foot}}
=== Texture generation prior to Java Edition 13w02a ===
{{:Procedural animated texture generation/Compasses}}
== Issues ==
{{issue list}}
== Gallery ==
<gallery>
12w21a CompassPurchase.png|Purchasing a compass from a librarian [[villager]].
</gallery>
== See also ==
*[[Clock]]
*[[Tutorials/Navigation|Navigation]]
== External Links ==
*[https://www.minecraft.net/en-us/article/taking-inventory--compass Taking Inventory: Compass] – Minecraft.net on August 15, 2019
{{Items}}
[[Category:Tools]]
[[Category:Renewable resources]]
[[cs:Kompas]]
[[de:Kompass]]
[[es:Brújula]]
[[fr:Boussole]]
[[hu:Iránytű]]
[[it:Bussola]]
[[ja:コンパス]]
[[ko:나침반]]
[[nl:Kompas]]
[[pl:Kompas]]
[[pt:Bússola]]
[[ru:Компас]]
[[uk:Компас]]
[[zh:指南针]]</li><li>[[Map|Map]]<br/>{{about|the craftable map|maps showing the locations of certain structures|Explorer Map|other uses|Map (disambiguation)}}
{{distinguish|World}}
{{Item
| image = Map Zoom 4.png
| renewable = Yes
| stackable = Yes (64)
}}
A '''map''' is an [[item]] used to view explored [[Chunk|terrain]] and mark landmarks.
==Obtaining==
===Crafting===
{{crafting
|head=1
|showname=0
|showdescription=1
|A1= Paper
|B1= Paper
|C1= Paper
|A2= Paper
|B2= Compass
|C2= Paper
|A3= Paper
|B3= Paper
|C3= Paper
|Output= Empty Map
|type= Miscellaneous
|description=This variation is called an "empty locator map" {{in|bedrock}}, or an "empty map" {{in|java}}.
When the player first creates a map, it is blank. It needs to be activated by holding it and pressing ''{{Control|use item}}''. after which it records terrain and location markers as the player travels within (or close to) the area it maps.
}}
{{crafting
|A1= Paper
|B1= Paper
|C1= Paper
|A2= Paper
|B2= Paper
|C2= Paper
|A3= Paper
|B3= Paper
|C3= Paper
|Output= Empty Map
|type= Miscellaneous
|description={{only|bedrock}}
This variation is called an "empty map". It does not show location markers. It is intended for cloning and zooming locator maps without having to consume an additional [[compass]] (thereby saving [[iron ingot]]s and [[redstone dust]]), but it can also be {{Control|use|text=activated}} and later converted to a locator map by combining it with a compass on an [[anvil]], [[crafting table]], or [[cartography table]].
|foot=1
}}
=== Natural generation ===
==== Chest loot ====
{{LootChestItem|empty-map,map
}}
=== Cartography table ===
A map can also be created using a single paper on a [[cartography table]] to create an empty map, or a paper with a compass for an empty locator map.{{only|bedrock}}
=== Starting map ===
{{exclusive|bedrock|section=1}}
When creating a new world {{in|bedrock}}, the player can enable the "Starting Map" option to spawn with an empty locator map in the hotbar. The map's zoom scale is 1:8. The map is updated only while the player holds it.
=== Trading ===
Novice-level cartographer [[Villager|villagers]] sell a single empty map for 7 [[Emerald|emeralds]] as their trades.
{{IN|java}}, cartographer villagers may give players with the [[Hero of the Village]] effect an empty map.
== Usage ==
{{See also|Tutorials/Mapping}}
=== Mapping ===
Crafting a map creates an empty map. The map is drawn for the first time when it is held and used (with ''{{control|use item}}''). This map can then be adjusted to different zoom levels. After conversion to a drawn map item, it starts to draw a top-down view of the player's surroundings, with North pointing to the top of the map. A pointed oval pointer indicates the player's position on the map, and moves in real-time as the player moves across the terrain shown on the map. The map does ''not'' center on the player when created, rather, the world is broken up into large invisible grid squares, and the map displays the area of whichever grid square it is in when it is first used. For example, if a player uses a new map in a certain grid square, and then moves a distance away and uses another fresh map but is still within the same grid square, both maps appear identical. To make a map that is not identical to the first one, the player would have to move outside of the edges of the first map (because then they would be in a new grid square). This way, no two maps of the same size can ever partially overlap and every map can display only a fixed area.
To record the world on a map, that specific map must be held in the player's hands while the player moves around the world. The world is recorded as-is during exploration, meaning that if the world is modified, a player must revisit the area while holding the map to update the map's view. Maps can also be [[Map#Cloning|cloned]]. If a player holds a map whose clone is on display in an item frame, then that map updates while holding its clone.
Other players are displayed on the map only if they have a map in their inventory cloned from the one being looked at. When placing a map into an [[item frame]], the map displays with a green pointer shown at the location of the item frame. This is to help the player see where they are in relation to the area that the map is showing. If the player leaves a map in an item frame and views a clone of it, the green pointer remains in the spot of the framed copy. This can be used to set up waypoints. Unexplored areas are transparent, making the item frame visible.
When the player leaves the area shown on a specific map, the player pointer transforms into a white dot on that map. The marker shrinks to a smaller white dot if the player is far from the map's center: the area is 320 by 320 blocks per scale factor. The dot moves along the edge of the map to show the relative location of the player. However {{in|bedrock}}, the pointer remains as an arrow but shrinks until the player is near the area shown on the map.
While maps in [[the Nether]] work, they show only the red-and-gray pattern, regardless of the blocks placed. The only useful function is finding where the player is in relation to placed framed maps, which show as green pointers. Additionally, the player pointer rapidly spins and is not a good indicator of direction. Placing a [[banner]] in [[the Nether]] still shows it on the map as usual. Having a smaller map image while riding a [[strider]] in the Nether can help one to see one's footing while traveling over [[lava]].
{{IN|java}}, when using a map from another dimension, the map shows the player's position and direction when they were last in the dimension of the map. {{IN|bedrock}}, however, the player can use maps from one dimension while in another dimension. For locator maps, the place marker changes color depending on the dimension that the player is currently in (white for the Overworld, red for [[the Nether]], and magenta for [[the End]]). An Overworld map in the Nether shows the player's corresponding location and direction in the Overworld.<ref name=multiverse>{{ytl|EpP1diZdEdI}}</ref> Similarly, a Nether Map in the Overworld shows the player's corresponding location in the Overworld, but the place marker spins, just like a Nether map in the Nether. An Overworld map in the End shows the world spawn.<ref name=multiverse/> A Nether map cannot be used in the End — the map appears, but the place marker is not shown anywhere — and similarly, an End map cannot be used in the Overworld or the Nether.
A player can make a large piece of pixel art (128×128) facing upward, center a map on it, and place that map in an [[item frame]] to create a custom picture. Locking is recommended. See [[Map item format#Map Pixel Art]] for details on the techniques.
Maps display as a mini-map when held in the off-hand, or if the off-hand slot is occupied; the map is full-sized only when held in the dominant hand with both hands free.
=== Map content ===
{{Main|Map item format}}
Maps consist of square pixels arranged like pixels in a 128×128 square pattern, with each pixel representing a square portion of land. {{IN|java}}, the [[Map item format#Color table|color of a map pixel]] generally matches the color of the most common [[opaque]] block in the corresponding area, as seen from the sky. 'Minority blocks' in the target area have no effect on the color of the pixel, thus small features tend to be undetectable on zoomed-out maps.
{{IN|bedrock}}, the [[Map item format#Color table|color of a map pixel]] instead matches the single top-most opaque block in a grid sized by the map magnification pixel size (see the table in the "Player marker and pointer" section below). For example, a 3/4 magnification map has a pixel size of 8x8 blocks; this means the map will read only the top-most opaque blocks at the 0,0 coordinate, the 8,0 coordinate, the 0,8 coordinate, etcetera, ignoring all other blocks in the area. This means that {{in|bedrock}}, map pixel art requires only one block per pixel regardless of map magnification.
{{IN|bedrock}}, grass, foliage and water colors that are biome-dependent are represented accurately on a map.
{| class="wikitable"
|-
! style="width: 300px;" | {{el|je}}
! style="width: 300px;" | {{el|be}}
|-
| style="text-align: center;" | [[File:Map Zoom 4.png|alt=All banners marked on a map, alongside a named banner.|216px]]
| style="text-align: center;" | [[File:Map item BE.png|216px]]
|-
| Biome colors on ''Java Edition''.
| Biome colors on ''Bedrock Edition''.
|-
|}
Maps also show ground up to about 15 blocks below the surface of the water in oceans as slightly lighter blue, to show where the ground rises. This is not true with land above water. Higher elevations in the world mean lighter colors on the map. The map records the surface even as the player moves below the surface.
A standard map represents 128x128 blocks (1 block per pixel, 8x8 [[chunks]]) but maps can be zoomed-out to represent up to 2048x2048 blocks (16 square blocks per pixel, 128x128 [[chunks]]).
Some relevant distances: 64 blocks (4 chunks) is the update radius from a player in the Overworld and the End. However, it is half this (32 blocks) in the Nether. Also, 1024 blocks is the minimum Overworld distance from a [[nether portal]], at which players can build another portal and expect to reach a new location in the Nether. This is the distance across a 1:8 map, and also from a 1:16 map's center to its edge.
=== Player marker and pointer ===
{{IN|java}}, every map contains a marker that marks the position of the player, and points in the same direction as the player. When a player moves out of a map, a big white dot appears and moves relative to the player's position. The pointer either disappears when the player moves away a certain distance from the border of the map or, in case of [[explorer map]]s, the big white dot changes to a smaller white dot. The distance required for the small white dot to appear(explorer maps) or for the big dot to vanish (normal maps) changes with the scaling of the map.
* '''Level 0/4 :''' 128×128 blocks (each map pixel represents 1 block)
* '''Level 1/4 :''' 256×256 blocks (2×2 blocks per map pixel)
* '''Level 2/4 :''' 512×512 blocks (4×4 blocks per map pixel)
* '''Level 3/4 :''' 1024×1024 blocks (8×8 blocks per map pixel)
* '''Level 4/4 :''' 2048×2048 blocks (16×16 blocks per map pixel)
{{IN|bedrock}}, a map can be crafted with or without this marker, and a map without a position marker can add one later by adding a compass to the map. When a map is crafted without a compass, it's simply called an "empty map", but when crafted with a compass, it's called an "empty locator map". The marker also turns red if the player enters the Nether with an Overworld map and shows the player's Overworld location relative to the Nether location. A map created in the End has a purple marker showing the player's location. If an Overworld map is used in the End, a magenta dot appears on the player's spawn point.{{/BE|position}}
{{crafting
|name=Map<br>(with marker)
|ingredients=[[Map]] or Empty Map +<br>[[Compass]]
|showdescription=1
|Map (no markers);Empty Map
|Compass
|Output= Locator Map;Empty Locator Map
|type= Miscellaneous
|description={{el|be}} only.
Maps crafted from only paper do not show the location marker; to add it, a compass must be added to the map.
|foot=1
}}
{{IN|bedrock}}, a cartography table can also be used to add a pointer to create a locator map or empty locator map. This can be done by adding a compass to paper, or to an empty map or map.
=== Zooming out ===
[[File:Cartography table UI zoom.png|thumb|300px|{{IN|java}}, cartography table's UI, showing the map is being zoomed out.]]
A [[cartography table]] can also be used to zoom out, taking only one piece of paper per zoom level.
A blank map can not be zoomed out. A map has to have something already marked on it for the zooming to be possible.
{{Crafting
|A1= Paper |B1= Paper |C1= Paper
|A2= Paper |B2= Map;Locator Map |C2= Paper
|A3= Paper |B3= Paper |C3= Paper
|Output= Map;Locator Map
|showdescription=1
|description=Locator Map {{el|be}} only.
}}
{{/BE|zoom}}
==== Zoom details ====
The zooming function starts from when the map is created (zoom level 0) up to its fourth zoom step (zoom level 4).
{| class="wikitable" style="text-align: center" data-description="Zoom levels"
! colspan="2" |
! Zoom step 0
! Zoom step 1
! Zoom step 2
! Zoom step 3
! Zoom step 4
|-
! colspan="2" |
| [[File:Map Zoom 0.png|116px|Zoom step 0, 1:1]]
| [[File:Map Zoom 1.png|116px|Zoom step 1, 1:2]]
| [[File:Map Zoom 2.png|116px|Zoom step 2, 1:4]]
| [[File:Map Zoom 3.png|116px|Zoom step 3, 1:8]]
| [[File:Map Zoom 4.png|116px|Zoom step 4, 1:16]]
|-
! colspan="2" | Zoom level
| 0/4
| 1/4
| 2/4
| 3/4
| 4/4
|-
! colspan="2" | 1 map pixel represents
| 1 block
| 2×2 blocks
| 4×4 blocks
| 8×8 blocks
| 16×16 blocks<br>(1×1 chunk)
|-
! colspan="2" | Scaling ratio
| 1:1
| 1:2
| 1:4
| 1:8
| 1:16
|-
! rowspan="2" colspan="2" | Map covers an area of
| 128×128 blocks
| 256×256 blocks
| 512×512 blocks
| 1024×1024 blocks
| 2048×2048 blocks
|-
| 8×8 chunks
| 16×16 chunks
| 32×32 chunks
| 64×64 chunks
| 128×128 chunks
|-
! colspan="2" | Smallest discernible features
| Blocks
| Trees, Paths
| Lakes, Buildings
| Mountains, Rivers
| Biomes, Mountain Ranges
|-
! colspan="2" | Use cases
| Pixel art, Base plans
| Base surroundings
| Structure mapping
| Landscape mapping
| Biome mapping
|-
! rowspan="2" | Total paper needed to zoom out from Level 0
! in anvil{{only|bedrock|short=1}} or crafting table
| -
| {{ItemSprite|Paper}} 8
| {{ItemSprite|Paper}} 16
| {{ItemSprite|Paper}} 24
| {{ItemSprite|Paper}} 32
|-
! in cartography table
| -
| {{ItemSprite|Paper}} 1
| {{ItemSprite|Paper}} 2
| {{ItemSprite|Paper}} 3
| {{ItemSprite|Paper}} 4
|}
Maps are always aligned to a grid at all zoom levels. That means zooming out any different map in a specific area covered by that map always has the same center. As such, maps are aligned by map width (1024 blocks for a level 3 maps) minus 64. A level 3 map generated at spawn covers X and Z coordinates from -64 to 959. All maps generated in this area zoom out to the same coordinates, guaranteeing that they are always 'aligned' on a map wall. For a zoomed-out map to cover a new area, it must start with a base (level 0) map that is in that area.
At zoom level 0, a map created on the point (0,0) has (0,0) at the center of the map. At higher zoom levels of the same map, the coordinate (0,0) is in the top left square of the map.
{{IN|java}}, zoom level can be seen on a map by turning on Advanced Tooltips (a [[Debug screen#More debug keys|debug screen]] option that can be toggled by using the key combination {{key|F3+H}}). The tooltip of the map then shows the zoom level, scaling factors, and map ID.
=== Cloning ===
[[File:Cartography table UI clone.png|thumb|300px|{{IN|Java}}, cartography table's UI, showing the map is being cloned.]]
A mix of empty maps and empty locator maps may be used. Whether the cloned maps show position markers is dependent only on the input map.
A [[cartography table]] can also be used to clone a map.
The parts of the world that have already been explored and mapped are copied, and newly explored areas appear on both instances. If one of the maps is later zoomed out, then the maps lose their connection to each other and function as completely separate maps that have to be individually filled by exploring.
In Creative mode, a map in an item frame may be cloned by using {{control|pick block}} on it, as long as that map is not also in the player's inventory.
It doesn't matter if the map to be cloned is at a higher zoom level (made of more paper) than the blank map. Upon copying the map, both resulting maps have the same magnification as the starting map.
{{/BE|clone}}
=== Crafting ingredient ===
{{crafting usage|Map, Empty Map}}
=== Marking points ===
{{IN|java}} the player has the ability to mark spots on a map. To do this, {{control|use}} a map on a placed-down [[banner]], and the spot of the banner gets marked on the map. The mark takes the color of whatever the base color is for the banner, and if the banner has a name, the mark shows that name. Banner marks on a map are always oriented with their top facing north, regardless of the banner's actual orientation. If the banner is destroyed, the mark of the banner remains at first, but if the player gets closer to where the banner previously was, it disappears as the area is updated on the map.
If a map is mounted on an item frame and is within the area it depicts, the mounted map displays its current location with a green indicator rotated to match its orientation.
[[File:Map Marker Bedrock on Item frame.png|thumb|181x181px|{{IN|bedrock}} this is what a map lying on an item frame looks like, while showing markers.]]
{{IN|bedrock}} the player can place copies of locator maps in [[item frame]]s in order to create a land mark. The marker is a green dot that resembles the shape of the player's marker, but in green color. The position the marker points at depends on the direction the item frame is facing. It is worth noting that the markers work only on copies of the same map. Other maps of the same area do not show the existing markers that the player(s) had placed.
If a player has a cloned map in their inventory, their pointer appears white when viewed on the same map held by another player. Hence, if all players have the same cloned map in their inventory, all markers would appear white when the clone map is viewed.
{| class="wikitable"
|-
! style="width: 300px;" | {{el|je}}
! style="width: 300px;" | {{el|be}}
|-
| style="text-align: center;" | [[File:Banner marked map.png|alt=All banners marked on a map, alongside a named banner.|216px]]
| style="text-align: center;" | [[File:Tracking map with markers bedrock.png|216px]]
|-
| How every banner appears {{IN|java}} on a map, including named banners.
| {{IN|bedrock}} this is how a locator map shows map markers while held by a player.
|-
|}
===Locking===
[[File:Cartography table UI lock.png|thumb|300px|{{IN|Java}}, cartography table's UI, showing the map is being locked.]]
Maps can be locked when using a [[glass pane]] in a [[cartography table]]. This creates a new map containing the same data and locks it. All copies of this new map are also locked. A locked map never changes, even when the depicted terrain changes. {{IN|Be}}, locked maps have a unique texture.
{| class="wikitable" style="text-align: center;"
|-
! Condition
! style="width: 200px;" | Newly created map
! style="width: 200px;" | Map after terrain alteration
|-
! Unlocked map
| [[File:Map Zoom 0.png|174px]] || [[File:Unlocked Map.png|174px]]
|-
! Locked map
| [[File:Map Zoom 0.png|174px]] || [[File:Map Zoom 0.png|174px]]
|-
|}
{{-}}
== Sounds ==
{{Edition|Java}}:
{{Sound table
|rowspan=2
|sound=Drawmap1.ogg
|sound2=Drawmap2.ogg
|sound3=Drawmap3.ogg
|subtitle=Map drawn
|source=player
|description=When a map is drawn
|id=ui.cartography_table.take_result
|translationkey=subtitles.ui.cartography_table.take_result
|volume=1.0
|pitch=1.0
|distance=16}}
{{Sound table
|subtitle=Map drawn
|source=block
|description=When a map is edited using a cartography table
|id=ui.cartography_table.take_result
|translationkey=subtitles.ui.cartography_table.take_result
|volume=1.0
|pitch=1.0
|distance=16
|foot=1}}
{{Edition|Bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Drawmap1.ogg
|sound2=Drawmap2.ogg
|sound3=Drawmap3.ogg
|source=block
|description=When a map is drawn<wbr>{{Upcoming|BE 1.20.20.20}}
|id=ui.cartography_table.take_result|idnote={{Verify|Could be block.cartography_table.use}}
|volume=0.8
|pitch=1.0}}
{{Sound table
|type=bedrock
|source=block
|description=When a map is edited using a cartography table
|id=ui.cartography_table.take_result
|volume=0.8
|pitch=1.0
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Empty Map
|spritetype=item
|nameid=map
|form=item}}
{{ID table
|displayname=Map
|spritetype=item
|nameid=filled_map
|form=item
|translationkey=item.minecraft.filled_map, filled_map.buried_treasure, filled_map.explorer_jungle{{upcoming|java 1.20.2}}, filled_map.explorer_swamp{{upcoming|java 1.20.2}}, filled_map.mansion, filled_map.monument, filled_map.unknown, filled_map.village_desert{{upcoming|java 1.20.2}}, filled_map.village_plains{{upcoming|java 1.20.2}}, filled_map.village_savanna{{upcoming|java 1.20.2}}, filled_map.village_snowy{{upcoming|java 1.20.2}}, filled_map.village_taiga{{upcoming|java 1.20.2}}
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Empty Map
|spritetype=item
|nameid=empty_map
|aliasid=emptymap
|id=515
|form=item
|translationkey=item.emptyMap.name, item.emptyLocatorMap.name}}
{{ID table
|displayname=Map
|spritetype=item
|spritename=map-be
|nameid=filled_map
|aliasid=map
|id=420
|form=item
|translationkey=item.map.name, item.map.exploration.mansion.name, item.map.exploration.monument.name, item.map.exploration.treasure.name
|foot=1}}
=== Metadata ===
{{see also|Bedrock Edition data values}}
{{IN|bedrock}}, maps use the following data values:
{{/DV}}
=== Item data ===
{{el|java}}:
{{main|Player.dat format}}
<div class="treeview">
* {{nbt|compound|tag}}: The item's '''tag''' tag.
{{:Player.dat_format/Maps}}
</div>
{{el|bedrock}}:
: See [[Bedrock Edition level format/Item format]].
=== Map icons ===
{{see also|Player.dat format|Map item format|map_icons.png}}
Map icons are 8×8 in ''Java Edition'', but 16×16 in Bedrock Edition. As such, there are minor misalignment issues in ''Java Edition''.<ref>{{bug|MC-214649|||WF}}</ref>
[[File:Map icons.png|thumb|128px|Map icons texture {{in|Java}}]]
[[File:Map icons BE.png|thumb|128px|Map icons texture {{in|Bedrock}}]]
{| class="wikitable"
|-
! Java ID !! Bedrock ID !! Text ID !! Appearance !! Purpose !! Shown in item frames?
|-
| 0 || ||<code>player</code> || [[File:Player (texture) JE1 BE1.png|16px]] [[File:Player (texture) BE2.png|16px]] White marker || Players (on map) || No
|-
| 1 || 1 ||<code>frame</code> || [[File:Green Marker (texture) JE1 BE1.png|16px]] [[File:Green Marker (texture) BE2.png|16px]] Green marker || The current map in an item frame || Yes
|-
| 2 || ||<code>red_marker</code> || [[File:Red Marker (texture) JE1 BE1.png|16px]] [[File:Red Marker (texture) BE2.png|16px]] Red marker || Position converted to Overworld when opening Overworld map in the Nether{{Only|bedrock}} || No
|-
| 3 || ||<code>blue_marker</code> || [[File:Blue Marker (texture) JE1 BE1.png|16px]] [[File:Blue Marker (texture) BE2.png|16px]] Blue marker || Other players || No
|-
| 4 || ||<code>target_x</code> || [[File:Target X (texture) JE1 BE1.png|16px]] White X || Unused || Yes
|-
| 5 ||5
|<code>target_point</code> || [[File:Target Point (texture) JE1 BE1.png|16px]] [[File:Target Point (texture) BE2.png|16px]] Red triangle || Unused || Yes
|-
| 6 || 6 ||<code>player_off_map</code> || [[File:Player Off Map (texture) JE1 BE1.png|16px]] Large white dot || Players off map, nearby{{only|java}} || No
|-
| 7 || 13 ||<code>player_off_limits</code> || [[File:Player Off Limits (texture) JE1.png|16px]] [[File:Player Off Limits (texture) BE.png|16px]] Small white dot || Players off map, far away{{only|java}} || No
|-
| 8 ||14
|<code>mansion</code> || [[File:Mansion (texture) JE1.png|16px]] [[File:Mansion (Texture) BE2.png|frameless|16x16px]] Woodland mansion || Woodland mansion || Yes
|-
| 9 || 15 ||<code>monument</code> || [[File:Monument (texture) JE1.png|16px]] [[File:Monument Texture BE2.png|frameless|16x16px]] Ocean monument || Ocean monument || Yes
|-
| 10 - 25 || ||<code>{{tooltip|banner_*|banner_white, banner_orange, banner_magenta, banner_light_blue, banner_yellow, banner_lime, banner_pink, banner_gray, banner_light_gray, banner_cyan, banner_purple, banner_blue, banner_brown, banner_green, banner_red, banner_black}}</code> || [[File:Banner White (texture) JE1.png|16px]] [[File:Banner Light Gray (texture) JE1.png|16px]] [[File:Banner Gray (texture) JE1.png|16px]] [[File:Banner Black (texture) JE1.png|16px]] [[File:Banner Brown (texture) JE1.png|16px]] [[File:Banner Red (texture) JE1.png|16px]] [[File:Banner Orange (texture) JE1.png|16px]] [[File:Banner Yellow (texture) JE1.png|16px]] [[File:Banner Lime (texture) JE1.png|16px]] [[File:Banner Green (texture) JE1.png|16px]] [[File:Banner Cyan (texture) JE1.png|16px]] [[File:Banner Light Blue (texture) JE1.png|16px]] [[File:Banner Blue (texture) JE1.png|16px]] [[File:Banner Magenta (texture) JE1.png|16px]] [[File:Banner Purple (texture) JE1.png|16px]] [[File:Banner Pink (texture) JE1.png|16px]]<br>Banners in all 16 wool colors{{only|java}}|| Banner markers || Yes
|-
| 26 ||4
|<code>red_x</code> || [[File:Red X (texture) JE1.png|16px]] [[File:Target X (texture) BE2.png|16px]] Red X || Buried treasure || Yes
|-
| || 8 || || [[File:Magenta Marker (texture) BE1.png|16px]] Magenta marker
| Position converted to Overworld when opening Overworld map in the End{{Only|bedrock}} || No
|-
| || 9 || || [[File:Orange Marker (texture) BE1.png|16px]] Orange marker{{more info}}
|Other players
|Yes
|-
| || 10 || || [[File:Yellow Marker (texture) BE1.png|16px]] Yellow marker
| Other players || No
|-
| || 11 || || [[File:Cyan Marker (texture) BE1.png|16px]] Cyan marker
| Other players || No
|-
| -
|12
| || [[File:Green Point (texture) BE1.png|16px]] Green Triangle
| Other structure such as stronghold, fortress, end city, etc. when used as explorer map destination{{Only|bedrock}} || Yes
|}
It should be noted that even if the player used a NBT editor to add an additional icon on the map, ''Minecraft'' shows only the first one listed when the player loads up their world.
== Achievements ==
{{load achievements|Map Room}}
== History ==
{{see also|section=24|map_icons.png|Java Edition history of textures#Map icons}}
{{more images|section=24|{{bug|MC-72962}}}}
{{History||April 27, 2011|link=https://web.archive.org/web/0/http://notch.tumblr.com/post/4988431144/the-maps|[[Notch]] unveiled screenshots of the map.}}
{{History||April 28, 2011|link={{tweet|notch|63500114005721088}}|[[Notch]] said that he would try to make maps place-able on [[wall]]s.}}
{{History|java beta}}
{{History||1.6|snap=Test Build 3|[[File:Map (item) JE1 BE1.png|32px]] Added maps.}}
{{History||1.6.6|The ability to auto-craft maps using shift-click has been disabled.}}
{{History||1.8|snap=Pre-release|Maps can now be found in library chests in the brand-new [[stronghold]]s.
|Auto crafting maps has been restored. Map cloning, therefore, is unavailable for a period of time.}}
{{History||1.8.1|Maps now work both while walking and flying.}}
{{History|java}}
{{History||1.0.0|snap=Beta 1.9 Prerelease 5|Prior to this update, the [[sun]] in ''[[Minecraft]]'' rose in the North, which threw off many [[player]]s and led to a common misconception that ''Minecraft'' maps/[[world]]s were oriented with East at the top. The sun now rises in the east and sets in the west, making navigation much more intuitive.
|Before the change in sun position, it was commonly said that ''Minecraft'' maps/worlds are oriented with East at the top; sunrise, by definition, occurs at the East, which means it is certainly true that the maps were oriented "East" since the Sun rose from the top (North). However, [[Jeb]] asserted (and [[Notch]] agreed) that the sun rose in the north.<ref>{{Tweet|jeb|87815841160237056}}</ref><ref>{{Tweet|notch|88155424880201728}}</ref> Most mods and map-making tools, however, used the terms East and North consistent with their actual definitions (e.g. a [[Programs and editors/Cartograph|Cartograph]]-generated map with North at the top is rotated 90 degrees from the in-game map).}}
{{History||1.4.2|snap=12w34a|[[File:Empty Map JE1 BE1.png|32px]] [[Crafting]] a map now creates an empty map. The map is drawn for the first time when it is held and right clicked, and is centered near the location of the [[player]] when clicked (not as before where it was centered on the location it was crafted.)
|Previously, in order to map a new area, the map had to be ''crafted'' in that area (rather than carrying a previously-crafted map to the new area). The point where a map is crafted becomes its permanent center, and could never be changed.
|The pointer no longer disappears when leaving the map, but transforms into a white dot, indicating on what side of the map the player is located.
|Maps now align to a grid, making it easier to create adjacent maps.
|Maps can now be zoomed out (but not zoomed in).
|Maps can now be cloned and scaled.}}
{{History||1.4.2|snap=12w34b|Maps now have a ''zoom level'', which was fixed at 1:8 prior to snapshot [[Java Edition 12w34a|12w34a]],<ref name="mapinfo">https://web.archive.org/web/0/http://notch.tumblr.com/post/4988431144/the-maps</ref> but now starts at 1:1 and can be increased up to 1:16 by re-crafting an existing map.
|Maps are no longer numbered on the top-left corner and is labeled through the tooltip.}}
{{History|||snap=12w36a|New maps are now crafted at a scale factor of 1:1. A zoomed in map can be zoomed out by re-crafting it with another 8 sheets of [[paper]] on a [[crafting table]]. Each time this is done, the scale increases - 1:1, 1:2, 1:4, 1:8, 1:16 with a map scale of 1:16 being the current maximum.}}
{{History||1.7.2|snap=13w38a|The map size has been increased when placed on a [[wall]] using the [[item frame]].
|More colors have been added to maps for different [[block]]s.<ref name="infodump2">https://web.archive.org/web/0/https://www.mojang.com/2013/10/minecraft-1-7-the-update-that-changed-the-world</ref>}}
{{History||1.8|snap=14w31a|Zoomed maps now conform to an expanded grid based on their zoom level. Previously, careful considerations would need to be taken to creating a wall of adjoining maps.}}
{{History||1.8.1|snap=pre1|Some colors have been changed on maps to more accurately represent their respective [[block]].}}
{{History||1.9|snap=15w31a|Maps now display as a mini-map when held in the off-hand, or if the off-hand slot is occupied; the (old) large version is visible only when held in the dominant hand with the secondary hand free.}}
{{History|||snap=15w34a|New maps can now be [[crafting|crafted]] at a scale factor of 1:4.
|A crafting recipe has been added for zooming in maps.}}
{{History|||snap=15w43a|The average yield of empty maps from [[stronghold]] library [[chest]]s has been doubled.}}
{{History|||snap=15w45a|New maps are once again [[crafting|crafted]] at a scale factor of 1:1, as they had been before snapshot [[15w34a]].
|The [[crafting]] recipe, that was introduced in 15w34a, for zooming in maps has been removed.}}
{{History|||snap=15w49a|Map making now uses armor equipping sounds.}}
{{History||1.11|snap=16w39a|Maps now work in [[the End]].
|Empty maps are now [[trading|sold]] by cartographer [[villager]]s as their tier 3 [[trading|trade]].
|Added [[explorer map]]s, sold by cartographers as their tier 4 trades.}}
{{History||1.12|snap=17w17a|Maps now have separate colors for colored [[terracotta]] blocks from other colored blocks.}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], these [[item]]s' numeral IDs were 358 and 395.
|Maps now use additional NBT to specify which map they contain. Prior to this version, they used the [[damage]] value instead.
|Map IDs are no longer limited to 32,768.}}
{{History|||snap=17w50a|Maps can now be placed on floor and ceiling [[item frame]]s.}}
{{History|||snap=18w10a|Spots on maps can now be marked using [[banner]]s.}}
{{History|||snap=18w11a|Empty maps can now generate in [[shipwreck]] [[chest]]s.}}
{{History|||snap=pre7|Maps have been changed slightly, in regard to which [[block]]s are shown and which blocks are not.}}
{{History||1.14|snap=18w43a|[[File:Empty Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures of maps have been changed.}}
{{History|||snap=18w48a|Empty maps can now be found in chests in [[village]] cartographer houses.}}
{{History|||snap=19w02a|Maps can now be cloned and zoomed out (extended) by using a [[cartography table]].
|Maps can now be locked by using a [[glass pane]] with a cartography table.
|The recipes for cloning and zooming out maps have been removed.}}
{{History|||snap=19w06a|Map making is now silent again.}}
{{History|||snap=19w13a|Cartographer villagers now give empty maps to players under the [[Hero of the Village]] effect.}}
{{History||1.16|snap=20w21a|Map making sounds are now the same as when using a cartography table.}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Empty Map JE1 BE1.png|32px]] [[File:Map (item) JE1 BE1.png|32px]] Added maps.
|Maps are crafted using nine [[paper]], one for every slot of the [[crafting]] grid.
|Maps must be combined with a [[compass]] using an [[anvil]] in order to show the [[player]]'s position.
|Maps can be zoomed using an anvil.}}
{{History|||snap=build 3|New maps are now [[crafting|crafted]] at full zoom.
|Empty maps now have a "Create Map" button to initialize them.}}
{{History|||snap=build 7|New maps are now crafted at a scale factor of 1:1.}}
{{History||v0.15.0|snap=unknown|Maps can now be crafted either with 8 pieces of [[paper]] and a [[compass]] ''or'' 9 pieces of paper, to get a map with or without a position marker.}}
{{History||v0.16.0|snap=build 1|Different colors have been added to maps for different [[biome]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=?|[[Windows 10 Edition]] can now use the [[anvil]] as well as the [[crafting table]] to clone, zoom and apply markers, just as [[Pocket Edition]] in general could.
|Maps can now be found inside [[stronghold]] library [[chest]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Empty maps with direction markers built-in are now called "locator maps".}}
{{History|||snap=alpha 1.1.0.3|"Locator maps" are now called "empty locator maps".
|Empty maps are now [[trading|sold]] by cartographer [[villager]]s for 7-11 [[emerald]]s as their tier 3 [[trading|trade]].}}
{{History|bedrock}}
{{History||1.4.0|snap=beta 1.2.14.2|Maps can now be found inside map room [[chest]]s in [[shipwreck]]s.}}
{{History||?|The texture of the filled map overlay has been changed.}}
{{History||?|Maps now function in dimensions other than the dimension in which they were created.}}
{{History||1.10.0|snap=beta 1.10.0.3|Maps can now be found in cartographer house [[chest]]s in [[village]]s.
|[[File:Empty Map JE2 BE2.png|32px]] The texture of empty maps has been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Empty maps can now be created from 1 [[paper]] in [[cartography table]]s.
|Maps can now be zoomed, cloned, renamed, and have pointers added in cartography tables.}}
{{History|||snap=beta 1.11.0.4|Cartographer [[villager]]s now [[trading|sell]] empty map for an [[emerald]] as their first tier [[trading|trades]].
|Empty locator maps can now be [[trading|bought]] from cartographer villagers.}}
{{History||1.13.0|snap=beta 1.13.0.1|[[File:Map (item) BE3.png|32px]] [[File:Locked Map (item) BE2.png|32px]] Filled maps and locked maps now have unique inventory icons.}}
{{History||1.16.0|snap=beta 1.16.0.57|Trading has been changed, novice-level cartographer now sell an empty map for 7 emeralds. Cartographer villager no longer sell empty locator map.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of maps have been changed from <code>emptymap</code> to <code>empty_map</code> and <code>map</code> to <code>filled_map</code>.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|wiiu=Patch 1|switch=1.0.1|[[File:Map (item) JE1 BE1.png|32px]] Added maps.
|The [[player]] spawns with a free map.
|Maps are available only as zoom step 3 maps centered at coordinates 0,0. Biome colors do not appear on maps.}}
{{History||xbox=none|xbone=CU1|ps=1.0|wiiu=none|Larger sized worlds on Xbox One, Playstation 4, and Nintendo Switch have zoom step 3 maps aligned to a grid with maps centered at 0, 1024, or 2048 on the X or Z coordinates.}}
{{History||xbox=TU21|xbone=CU9|ps=1.14|wiiu=Patch 1|[[File:Empty Map JE1 BE1.png|32px]] [[Crafting]] a map now produces an empty map.}}
{{History||xbox=TU46|xbone=CU36|ps=1.38|wiiu=Patch 15|The outer end islands appear on different maps; even on Xbox 360, Playstation 3, Vita, and Wii U editions.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Empty Map JE2 BE2.png|32px]] [[File:Map (item) JE2 BE2.png|32px]] The textures of maps have been changed.}}
{{History||ps=1.91|Maps can now be created and used in [[cartography table]]s.}}
{{History|foot}}
== Issues ==
{{issue list}}
== Trivia ==
* Use of the {{key|F1}} key can allow the player to hold a map without blocking their view at all.
* In ''Java Edition'', a map created using {{cmd|give}} can be any map by using the Map parameter to specify the map number desired. E.g. {{cmd|give [player] minecraft:filled_map{map:5<nowiki>}}} gives the specified player map_5. If no data value is supplied it defaults to map_0. If map_0 has not ever been crafted, it is centered on x=0, z=0.
* The maps are stored separately as their own data (<code>.dat</code>) file as <code>map_x.dat</code> with (x) being the map number, see [[map item format]] for more info. By manipulating this number, players can organize their maps to suit them, or if they accidentally create a map in the same location, they can delete their extra map so as to save the number they make.
* Certain programs can be used to make customized maps with images or text on them instead of actual maps, many people use these in adventure maps to show pictures or to tell a story.
* Since all copies of a map are links to the same file, copying an unfinished map keeps it synchronized with the copy as the player fills it in. Thus, a copy stored in a chest can act as a remote backup.
* A map that is in an item frame does not update itself until a player picks it up, lets it reload, and places it back again. However, if a player holds a clone of the map, both maps update.
* Filled maps are the only items that make 90 degree rotations in item frames, and also the only items that can expand the item frame into full block wide.
* On [[Legacy Console Edition]], the player always spawns with a map in their inventory after creating a world. This was later added to Bedrock Edition as an optional feature in the world creation menu.
* Maps on Legacy Console Edition always show the player's current coordinates, as a substitute for the optional [[Coordinates|coordinate display]] in other editions.
* A map cannot be created on [[New Nintendo 3DS Edition]]. Instead, the map is always displayed on the bottom screen along with the coordinates. Biome colors do not appear on maps.
== Gallery ==
<gallery>
MapItem1.png|A fully zoomed map.
MapRotation.png|Having a map in hand does not stop the ability to see ahead.
MapItem3.png|A world being recorded onto a map.
Mcmap4.png|Nearly fully explored map.
Zoomed Map.png|A map edited to the scale of 1.
Sky Map.png|A map mapping the [[Sky Dimension]].
MapOfVillage.png|A village and how it is represented on a map.
Pumpkin map.png|A map containing a custom image made by placing a large number of blocks.
Complete Map.png|A completely explored map.
MapZooms.png|A diagram showing how maps zoomed out before [[Java Edition 1.8]]. Notice how the larger maps have borders made of half and quarter small maps.
Map18zooms.png|From 1.8, zoomed maps are aligned to this grid exactly.
Large Biome Map.png|A map of a [[Large Biomes]] world.
Map0140-0160.png|A comparison of maps between versions in Pocket Edition Alpha [[Pocket Edition Alpha 0.14.0|0.14.0]] and [[Pocket Edition Alpha 0.16.0|0.16.0]].
Mycelium Map.png|A map view of a mushroom biome, showing that mycelium appears purple on a map.
MiniMap.png|Maps held in the off-hand or in either hand while [[dual wielding]] appear as mini-maps.
Partly filled treasure map.png|Partly filled treasure map with an odd area at the bottom left. Normally a partly filled map would look striped (as in the top left), but this map seems to be bugged and is possibly showing caves, or something, in the bottom left.
Partly filled ocean explorer map.png|Partly filled ocean explorer map. Updating the game from an older version (in this case the area was first generated before 1.18) and buying a map after updating (in this case in 1.19.4) can result in the map displaying rivers and terrain where there is really a frozen sea.
Map Stained Glass 1.png|Stained glasses' appearances on maps before and after 1.13.
Map Stained Glass 2.png|Stained glasses' appearances on maps before and after 1.13.
Map Various Blocks 1.png|Various blocks' appearances on maps before and after 1.13.
Map Various Blocks 2.png|Various blocks' appearances on maps before and after 1.13.
Better Together Map.jpg|Holding a map in the offhand in ''Bedrock Edition''.
Better Together Map Icon.jpg|Holding a map in both hands in ''Bedrock Edition''.
</gallery>
=== The Nether ===
<gallery>
Nethermap.png|A map in [[the Nether]].
Maponnether.png|A map in the Nether; the arrow turns around itself, like in [[compass]].
</gallery>
=== The End ===
<gallery>
Jeb End Map.png|The first image of a map in [[the End]].
Endmap.png|A map in the End.
</gallery>
=== Maps in item frames ===
<gallery>
FramedMap.png|A map displayed on an item frame, as it looked before [[Java Edition 1.7.2]].
Structure Map Collection.png|Multiple maps in item frames. Notice a [[village]], two [[desert temple]]s and a lava lake.
Minecraft maps 3by3.png|A collection of 9 connected full maps.
Full Map.png|A combination of 25 maps pasted together as one map.
Map wall BE.png|A map wall on ''Bedrock Edition'', showing large areas of biome colors for each biome.
Map's in item frames.png|Maps can be placed into [[item frame]]s so they can be viewed together.
Comparing Maps.png|The comparison between 3 zooms of maps.
SuperflatMap.png|A map in a [[Superflat]] world, with some [[village]]s.
MapWallWithMarkers.png|A 3x3 map wall with banner markers.
HEYYEYAAEYAAAEYAEYAA.png|He-Man map art.
Map Player Icons 1.png|First image of player icons on maps.
Map Player Icons 2.png|Second image of player icons on maps.
</gallery>
== See also ==
* [[Explorer Map]]
* [[Clock]]
* [[Tutorials/Navigation|Navigation]]
== References ==
{{Reflist}}
{{Items}}
[[cs:Mapa]]
[[de:Karte]]
[[es:Mapa]]
[[fr:Carte (objet)]]
[[hu:Térkép (tárgy)]]
[[ja:地図]]
[[ko:지도]]
[[nl:Kaart]]
[[pl:Mapa]]
[[pt:Mapa]]
[[ru:Карта]]
[[tr:Harita]]
[[th:แผนที่]]
[[uk:Мапа]]
[[zh:地图]]
[[Category:Renewable resources]]</li></ul></nowiki> | 15w41a | Added elytra. | |||
1.15{{Extension DPL}}<ul><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><li>[[Gray Dye|Gray Dye]]<br/>{{Item
| image = Gray Dye.png
| renewable = Yes
| stackable = Yes (64)
}}
'''Gray dye'''{{fn|Known as '''Grey Dye''' in British, Canadian, Australian, and New Zealand English variants.}} is a [[Dyeing#Secondary colors|secondary color]] dye.
== Obtaining ==
=== Crafting ===
{{Crafting
|Black Dye
|White Dye
|Output=Gray Dye,2
|type=Material
|head=1
|showdescription=1
|showname=0
}}
{{Crafting
|Ink Sac;Black Dye;Ink Sac
|Bone Meal;Bone Meal;White Dye
|Output=Gray Dye,2
|type=Material
|description={{only|bedrock|education}}
|foot=1
}}
=== Trading ===
[[Wandering trader]]s sell 3 gray dye for an [[emerald]].{{only|bedrock}}
== Usage ==
{{dye usage}}
=== Crafting ingredient ===
{{crafting usage|ignore=Banner|continue=1}}
{{banner crafting usage}}
=== Loom ingredient ===
{{Banner loom usage|Gray Dye}}
=== Trading ===
Journeyman-level villagers have a 20% chance to buy 12 gray dye for an emerald.
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Gray Dye
|spritetype=item
|nameid=gray_dye
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showaliasids=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Gray Dye
|spritetype=item
|nameid=gray_dye
|aliasid=dye / 8
|id=403
|form=item
|translationkey=item.dye.gray.name
|foot=1}}
== Video ==
{{yt|wGalHy0_fj0}}
== History ==
{{History|java beta}}
{{History||1.2|[[File:Gray Dye JE1 BE1.png|32px]] Added gray 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|Gray dye can be now [[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.11|snap=16w39a|Added the ability to dye [[shulker box]]es.}}
{{History||1.12|snap=17w15a|Added the 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|Gray dye is now [[crafting|crafted]] using [[black dye|black]] and [[white dye]]s, instead of [[ink sac]] and [[bone meal]].
|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History|||snap=18w44a|Gray dye can now change the text color on the [[sign]]s to gray.}}
{{History|||snap=19w05a|Added the [[wandering trader]], which sell gray dyes.}}
{{History|||snap=19w11a|Gray dye can now be [[trading|bought]] by shepherd villagers.}}
{{History||1.17|snap=20w45a|Gray dye can now used to craft [[gray candle]]s.}}
{{History|||snap=21w19a|Gray dye can no longer be used to craft gray candles.}}
{{History|||snap=Pre-release 1|Gray dye can once again be used to craft gray candles.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Gray dye can now change the text color on [[hanging sign]]s to gray.}}
{{History|pocket alpha}}
{{History||v0.3.0|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye. It is currently unobtainable and serves no purpose.}}
{{History||v0.8.0|snap=build 1|Gray dye can be [[craft]]ed with [[bone meal]] and an [[ink sac]], despite there being no way of obtaining ink sacs at the time.}}
{{History|||snap=build 3|Gray dye is now available in [[creative]] mode.}}
{{History||v0.9.0|snap=build 3|Gray dye can now be obtained in [[survival]] mode.}}
{{History|||snap=build 11|Gray dye can now be used to craft colored [[terracotta]].}}
{{History||v0.11.0|snap=build 1|Gray dye can now be used to dye tamed [[wolf]] collars.}}
{{History||v0.14.0|snap=build 1|Gray dye can now be used to dye [[water]] in [[cauldron]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Gray dye can now be used to dye [[shulker]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Gray 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|Gray 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|Gray dye can now be used to craft [[balloon]]s and [[glow stick]]s.}}
{{History||1.8.0|snap=beta 1.8.0.8|Gray dye can now be used to dye tamed [[cat]] collars.}}
{{History||1.10.0|snap=beta 1.10.0.3|Gray dye is now [[trading|sold]] by [[wandering trader]]s.
|Gray dye can now be used to dye white [[carpet]]s and undyed [[glass pane]]s.
|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Gray dye can now be [[trading|sold]] to shepherd [[villager]]s.}}
{{History||1.16.100|snap=beta 1.16.100.56|The ID of gray dye has been changed from <code>dye/8</code> to <code>gray_dye</code>.}}
{{History|console}}
{{History||xbox=TU1|xbone=CU1|ps=1.00|switch=1.0.1|wiiu=Patch 1|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|PS4}}
{{History||1.90|[[File:Gray Dye JE2 BE2.png|32px]] The texture of gray dye has now been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Gray Dye JE1 BE1.png|32px]] Added gray dye.}}
{{History|foot}}
== Issues ==
{{Issue list}}
== Notes ==
{{fnlist}}
== References ==
{{Reflist}}
{{Items}}
[[Category:Dyes]]
[[Category:Renewable resources]]
[[cs:Šedé barvivo]]
[[de:Grauer Farbstoff]]
[[es:Tinte gris]]
[[fr:Teinture grise]]
[[hu:Szürke festék]]
[[ja:灰色の染料]]
[[ko:회색 염료]]
[[nl:Grijze kleurstof]]
[[pl:Szary barwnik]]
[[pt:Corante cinza]]
[[ru:Серый краситель]]
[[zh:灰色染料]]</li></ul> | 19w41a | Added honey blocks, which are useful as substitutes for slime blocks, and for platforms with less risk of falling off. | |||
| 19w42a | Honey blocks and slime blocks now do not stick to each other when pushed by pistons. More complex and compact flying contraptions can be made by using both blocks together. | ||||
Videos
A flying machine on Bedrock.

