Bamboo is a block found in bamboo forests that is eaten by pandas.
Obtaining
When mined, any other bamboo block placed above it will also get destroyed. A bamboo block will also be removed and drop itself as an item if a piston tries to push it or moves a block into its space.
Pandas
Pandas will drop 1-2 bamboo when killed.
Fishing
Bamboo can be found while fishing in jungle biomes.
Chest loot
Bamboo can be found in some loot chests.
Usage
Farming
Bamboo can be placed and will grow on grass, dirt, sand, podzol, coarse dirt or red sand blocks. When bone meal is used on it, it will grow one block taller. Bamboo can grow up to 14 blocks.
Pandas
Bamboo blocks and thrown bamboo items are eaten by pandas. Bamboo items can also be used to speed up the growth of baby pandas.
Crafting ingredient
Bamboo can be used to craft scaffolding and sticks.
| Ingredients | Crafting recipe |
|---|---|
| Bamboo |
| Ingredients | Crafting recipe |
|---|---|
| Bamboo + String |
History
| upcoming | |||||
|---|---|---|---|---|---|
1.14{{Extension DPL}}<ul><li>[[Redstone Comparator|Redstone Comparator]]<br/>{{Block
| image =
| image2 =
| transparent = Yes
| light = No
| tool = any
| renewable = Yes
| stackable = Yes (64)
| flammable = No
| lavasusceptible = No
| group = Redstone Comparator
| group2 = Subtracting
| group3 = Powered
| group4 = Powered+Subtracting
| 1-1 = Redstone Comparator.png
| 2-1 = Subtracting Redstone Comparator.png
| 3-1 = Powered Redstone Comparator.png
| 4-1 = Powered Subtracting Redstone Comparator.png
}}
{{Many images}}
A '''redstone comparator''' is a [[block]] that can produce an [[Redstone Dust|output signal]] from its front by reading [[chest]]s, [[lectern]]s, [[beehive]]s and similar blocks, or repeat a signal without changing its strength. It can also be set to either stop outputting a signal when its side input recieves a stronger one (front torch off), or subtract its side input's signal strength from its output (front torch on).
== Obtaining ==
=== Natural generation ===
Redstone comparators generate in [[Ancient City|ancient cities]].
=== Breaking ===
A redstone comparator can be broken instantly with any [[tool]], or by hand, and drops itself as an item.
{{Breaking row|Redstone Comparator|horizontal=y}}
A redstone comparator is removed and dropped as an item if:
* its attachment block is moved, removed, or destroyed;
* [[water]] flows into its space;{{only|java}}
* a [[piston]] tries to push it or moves a block into its space.
If [[lava]] flows into a redstone comparator's space, the redstone comparator is destroyed without dropping as an item.
=== Crafting ===
{{Crafting
|B1=Redstone Torch
|A2=Redstone Torch
|B2=Nether Quartz
|C2=Redstone Torch
|A3=Stone
|B3=Stone
|C3=Stone
|Output= Redstone Comparator
|type=Redstone
}}
== Usage ==
A redstone comparator can be placed on the top of any [[opaque]] block with a solid full-height top surface (including upside-down [[slab]]s and upside-down [[stairs]]). {{IN|be}}, a comparator can also be placed on [[wall]]s and fences. For more information about placement on transparent blocks, see [[Opacity/Placement]].
The redstone comparator has a front and a back — the arrow on the top of the comparator points to the front. When placed, the comparator faces away from the player. The comparator has two miniature redstone torches at the back and one at the front. The back torches turn on when the comparator's output is greater than zero (the arrow on top also turns red). The front torch has two states that can be toggled by {{control|using}} the comparator:
* Down and unpowered (indicating the comparator is in "comparison mode")
* Up and powered (indicating the comparator is in "subtraction mode")
The redstone comparator can take a signal strength input from its rear as well as from both sides. Side inputs are accepted only from [[redstone dust]], [[block of redstone]], [[redstone repeater]]s, other comparators, and [[observer]]s in specific scenarios. The redstone comparator's front is its output.
It takes 1 [[redstone tick]] (2 game ticks, or 0.1 seconds barring lag) for signals to move through a redstone comparator, either from the rear or from the sides. This applies to changing signal strengths as well as simply to turning on and off.
Redstone comparators check their power state before their scheduled ticks update. This results in redstone comparators not usually responding to 1-tick fluctuations of power or signal strength — for example, a [[clock circuit|1-clock]] input is treated as always off from the side, and always on from the rear. This happens because the signal changes back to its original state before the redstone comparator checks its input states. However, certain setups such as powering any input with two separate observer pulses at the same time will cause a redstone comparator to respond to 2 gametick pulses.
The redstone comparator has four functions: maintain signal strength, compare signal strength, subtract signal strength, and measure certain block states (primarily the fullness of containers).
=== Maintain signal strength ===
A redstone comparator with no powered sides outputs the same signal strength as its rear input.
=== Compare signal strength ===
[[File:Comparators Explained.png|Comparators in comparison mode.|thumb]]
A redstone comparator in comparison mode (front torch down and unpowered) compares its rear input to its two side inputs. If either side input is greater than the rear input, the comparator output turns off. If neither side input is greater than the rear input, the comparator outputs the same signal strength as its rear input.
The formula for calculating the output signal strength is as follows:
<code>output = rear × [[Wikipedia:Iverson bracket|[]]'''''left''''' ≤ '''''rear''''' AND '''''right''''' ≤ '''''rear'''''[[Wikipedia:Iverson bracket|<nowiki>]]]</code>
{{-}}
=== Subtract signal strength ===
[[File:Redstone comparator.png|thumb|The greatest of the side inputs A and C is subtracted from the rear input B, outputting 1. If either A or C were greater than B, it would output 0.]]
A redstone comparator in subtraction mode (front torch up and powered) subtracts the signal strength of the higher side input from the signal strength of the rear input.
<code>output = max('''''rear''''' − max('''''left''', '''right'''''), 0)</code>
For example: if the signal strength is 6 at the left input, 7 at the right input and 4 at the rear, the output signal has a strength of ''max(4 − max(6, 7), 0) = max(4−7, 0) = max(−3, 0) = 0''.
If the signal strength is 9 at the rear, 2 at the right input and 5 at the left input, the output signal has a strength of ''max(9 − max(2, 5), 0) = max(9−5, 0) = 4''.
=== Measure block state ===
{{Schematic | caption = A redstone comparator can measure the fullness of a chest, as well as other block states, even through an opaque block.
|rd-ew!|rc-w!|ch|SB|rc-e!|rd-ew!
}}
A redstone comparator treats certain blocks behind it as power sources and outputs a signal strength proportional to the block's state. The comparator may be separated from the measured block by an opaque block. However, {{in|je}}, if the opaque block is powered to signal strength 15, then the comparator outputs 15 no matter the fullness of the container.<ref>{{bug|MC-64394}} (resolved as "Works As Intended")</ref>
[[Category:Java Edition specific information]]
{{-}}
==== Fullness of containers ====
{| class="wikitable floatright" style="margin-left: 0.5em; margin-right: 0; text-align: center;"
|+ Minimum Items for Container Signal Strength
|-
!Containers
!{{BlockSprite|Furnace|link=Furnace}}<br>{{BlockSprite|Blast Furnace|link=Blast Furnace}}<br>{{BlockSprite|Smoker|link=Smoker}}
!{{BlockSprite|Hopper|link=Hopper}}<br>{{EntitySprite|Minecart with Hopper|link=Minecart with Hopper}}<br>{{BlockSprite|Brewing Stand|link=Brewing Stand}}
!{{BlockSprite|Dispenser|link=Dispenser}}<br>{{BlockSprite|Dropper|link=Dropper}}
!{{BlockSprite|Chest|link=Chest}}<br>{{EntitySprite|Minecart with Chest|link=Minecart with Chest}}<br>{{BlockSprite|Shulker Box|link=Shulker Box}}<br>{{BlockSprite|Barrel|link=Barrel}}
![[Double Chest|{{Schematic|size=16|ch-s|-|ch-n}}
]]
!{{BlockSprite|Jukebox|link=Jukebox}}
|-
!Total Slots
!3!!5!!9!!27!!54!!1
|-
!Power Level
! colspan="5" |Number of Items
!Music Disc
|-
|0||0||0||0||0||0||No disc
|-
|1||1||1||1||1||1||"13"
|-
|2||14||23||42||1s 60||3s 55||"cat"
|-
|3||28||46||1s 19||3s 55||7s 46||"blocks"
|-
|4||42||1s 5||1s 60||5s 51||11s 37||"chirp"
|-
|5||55||1s 28||2s 37||7s 46||15s 28||"far"
|-
|6||1s 5||1s 51||3s 14||9s 42||19s 19||"mall"
|-
|7||1s 19||2s 10||3s 55||11s 37||23s 10||"mellohi"
|-
|8||1s 32||2s 32||4s 32||13s 32||27s||"stal"
|-
|9||1s 46||2s 55||5s 10||15s 28||30s 55||"strad"
|-
|10||1s 60||3s 14||5s 51||17s 23||34s 46||"ward"
|-
|11||2s 10||3s 37||6s 28||19s 19||38s 37||"11"
|-
|12||2s 23||3s 60||7s 5||21s 14||42s 28||"wait"
|-
|13||2s 37||4s 19||7s 46||23s 10||46s 19||"Pigstep"
|-
|14||2s 51||4s 42||8s 23||25s 5||50s 10||"Otherside"<br>"Relic"
|-
|15||3s||5s||9s||27s||54s||"5"
|}
A redstone comparator can output a signal indicating how full a container is. (0 for empty, 15 for full, etc.) The table on the right is described more in detail, later in this section.
Containers that can be measured by a comparator include:
* {{BlockLink|Furnace}}
* {{BlockLink|Blast Furnace}}
* {{BlockLink|Smoker}}
* {{BlockLink|Brewing Stand}}
* {{BlockLink|Hopper}}
* {{ItemLink|Minecart with Hopper}} on top of a [[detector rail]]
* {{BlockLink|Dispenser}}
* {{BlockLink|Dropper}}
* {{BlockLink|Chest}}
* {{BlockLink|Trapped Chest}}
* {{ItemLink|Minecart with Chest}} on top of a [[detector rail]]
* {{BlockLink|Barrel}}
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large chest
* {{SchematicSprite|size=16|ch-e}}{{SchematicSprite|size=16|ch-w}} Large trapped chest
* {{BlockLink|Shulker Box}} (any color)
Generally speaking, the comparator output signal strength represents the average fullness of the slots, based on how many of that item form a full stack (64, 16, or 1 for non-stackable items).
The ''Minimum Items for Container Signal Strength'' table (right) shows the minimum '''''full-stack-equivalent (FSE)''''' to produce different signal strengths from common containers. A '''''full-stack-equivalent''''' quantifies how many normal 64-stackable items are needed to output a corresponding signal strength. The 's' is a constant 64, with the additional amount needed following after.
One may also consider the terms: '''c''umulative-weight''''' or '''''weighted-sum''''' instead of '''''full-stack-equivalent'''''.
Items that stack to a max of 16 ([[snowball]]s, [[sign]]s, [[ender pearl]]s, etc.), contribute +4 to the ''full-stack-equivalent'' for each unity (count of 1 item). Similarly, items that stack to 1 ([[minecart]], [[boat]], etc.) contribute +64, and items that stack to 64 contribute +1.
Example 1: 3 ender pearls will contribute a 3 x 4 = 12 ''full-stack-equivalent''.
Example 2: 16 ender pearls and 60 redstone dust contributes a 16x4 + 60x1 = 124 ''full-stack-equivalent''.
Example 3: 1 minecart and 60 redstone dust contributes a 1x64 + 60x1 = 124 ''full-stack-equivalent''.
Example 4: To produce a signal strength of 10 from a hopper, one requires a ''full-stack-equivalent'' of at least 3s + 14 = 206 but strictly less than than 3s + 37 = 229. This can be done with 3 minecarts, and 14 dirt.
When a comparator measures a large chest or large trapped chest, it measures the entire large chest (54 slots), not just the half directly behind the comparator. A chest or trapped chest that cannot be opened (either because it has an opaque block, [[ocelot]], or [[cat]] above it) always produces an output of 0 no matter how many items are in the container — shulker boxes can always be measured, even if they cannot open.
;Calculating signal strength from items
:When a container is empty, the output is off.
:When it is not empty, the output signal strength is calculated as follows:
:<code>'''''signal strength''''' = floor(1 + (('''''sum of all slots' fullnesses''''') / ('''''number of slots in container''''')) × 14)</code>
:<code>fullness of a slot = '''''number of items in slot''''' / '''''max stack size for this type of item'''''</code>
:''Example:'' 300 blocks in a dispenser (which has 9 slots), where each block stacks to a maximum of 64 has a 300 ''full-stack-equivalent.'' This produces an output with a signal strength of 8:
<blockquote>
1 + ((300 items / 64 items per slot) / 9 slots) × 14 = 8.292, floored is 8
</blockquote>
;Calculating items from signal strength
:It can be useful in redstone circuits to use containers with comparators to create signals of a specific strength. The number of items required in a container to produce a signal of desired strength is calculated as follows:
:<code>items required = max('''''desired signal strength''''', roundup(('''''total slots in container''''' × 64 / 14) × (desired signal strength − 1)))</code>
:''Example:'' To use a furnace (which has 3 slots) to create a strength 9 signal, players need 110 items:
<blockquote>
max(9, (3×64/14) × (9−1)) = 109.714, rounded up is 110
</blockquote>
{{-}}
==== Miscellaneous ====
[[File:Comparator storage.png|Comparators used to measure containers.|thumb]]
Some non-container blocks can also be measured by a redstone comparator:
;{{BlockLink|Beehive}} and {{BlockLink|Bee nest}}
: A hive or nest outputs a signal strength equal to the amount of honey in the hive/nest.
;{{BlockLink|Cake}}
: A cake outputs a signal strength relative to the amount of cake remaining. Each slice is worth 2 signal strength, with 7 total slices, for an output of 14 for a full cake.
[[File:Cauldron Redstone Strength Values.png|Cauldron signal strength|thumb]]
;{{BlockLink|Cauldron}}
: A cauldron outputs different signal strengths depending on how much water or powdered snow is inside. From completely empty to completely full, the output values are 0, 1, 2, and 3. If lava or powder snow is inside, the strength is always 3.
[[File:Composter Redstone Strength Values.png|Composter signal strength|thumb]]
;{{BlockLink|Composter}}
: A composter outputs different signal strengths depending on the level inside. From completely empty to completely full, the output values are 0, 1, 2, 3, 4, 5, 6, 7 and 8.
;{{Anchor|CommandBlock}}{{BlockLink|Command Block}}
: A command block stores the "success count" of the last command executed, which represents the number of times the most recently used command of this command block succeeded. A "success" is defined by the [[command]]'s success conditions: if a red error message is returned in the chat, the command was not successful.
: Most commands can succeed once per execution, but certain commands (such as those that accept players as arguments) can succeed multiple times, and the comparator outputs the number of times it succeeded (maximum 15 when sent to redstone dust, but in the code it is able to go up to the 32-bit integer limit, and can be used in contraptions with no redstone dust with those values).
: A command block continues to store the success count of the last command executed until it executes its command again, thus the comparator continues to output the same signal strength even after the command block is no longer being activated (it doesn't turn off when the signal to the command block turns off).
;{{BlockLink|End Portal Frame}}
: An end portal frame outputs a full signal of 15 if it contains an [[eye of ender]] and zero otherwise.
[[File:Item frame and comparator.png|A comparator can measure the presence and rotation of an item frame's contents.|thumb]]
;{{EntityLink|Item Frame}}
: A comparator can measure the state of an [[item frame]]'s contents. An item frame comparator outputs 0 if the item frame is empty, or 1 to 8 for any item depending on its rotation: 1 at initial placement, plus 1 for each 45° of rotation for a maximum of 8.
: For an item frame that holds a map, a unit of rotation is 90° instead of 45°, but a comparator still outputs power levels 1 to 8. It takes two full rotations to cycle through all comparator outputs, and each orientation of the map corresponds to two output levels that differ by 4.
: The comparator must be placed behind the block the item frame is attached to, facing away from the item frame. The block must be a full block, and the item frame cannot be submerged in water. Having a sign in the same block as the item frame will prevent the frame from sending a signal as well.{{only|java}}
;{{BlockLink|Jukebox}}
: A jukebox outputs a signal strength indicating which music disc is currently playing. See the ''Minimum Items for Container Signal Strength'' table above.
;{{BlockLink|Lectern}}
: A lectern outputs a signal strength that depends on what page the player is currently on. The calculation used is:
:<code>'''''signal strength''''' = floor(1 + (('''''current page''''' - 1) / ('''''number of pages in book''''' - 1)) × 14)</code>
:This results in page 1 having a signal strength of 1, and the last page having a signal strength of 15. The exception is a single page book, which will output a signal strength of 15.
:For example, a book with 15 pages will output a signal equal to the current page number. A book with 5 pages will output signal strengths of 1, 4, 8, 11 and 15 for the different pages. A book with 100 pages will have the signal strength increase to the next level on pages 1, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93 and 100.
:
;{{BlockLink|Respawn Anchor}}
: A respawn anchor outputs a signal strength of 0, 3, 7, 11, or 15, depending on the "charged" value.
;{{BlockLink|Sculk Sensor}}
: A sculk sensor outputs a signal strength depending on the type of vibration that is detected.
;{{BlockLink|Chiseled Bookshelf}}
: A chisled bookshelf outputs a signal strength between 1 and 6 indicating the last slot interacted with. When no slot has been interacted with yet, it outputs 0.
{{-}}
== Sounds ==
=== Generic ===
{{Edition|Java}}:
{{Sound table/Block/Stone/JE}}
{{Edition|Bedrock}}:
{{Sound table/Block/Wood/BE}}
=== Unique ===
{{edition|java}}:
{{Sound table
|rowspan=2
|sound=Click.ogg
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to subtraction mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.55
|distance=16}}
{{Sound table
|subtitle=Comparator clicks
|source=block
|description=When a comparator is set to comparison mode
|id=block.comparator.click
|translationkey=subtitles.block.comparator.click
|volume=0.3
|pitch=0.5
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|rowspan=2
|sound=Click.ogg
|source=block
|description=When a comparator is set to subtraction mode
|id=block.click
|volume=0.2
|pitch=0.55}}
{{Sound table
|source=block
|description=When a comparator is set to comparison mode
|id=block.click
|volume=0.2
|pitch=0.5
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Redstone Comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{ID table
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=comparator
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|firstcolumnname=Redstone Comparator
|shownumericids=y
|showforms=y
|generatetranslationkeys=y
|displayname=Unpowered block
|spritename=unpowered-comparator
|spritetype=block
|nameid=unpowered_comparator
|id=149
|form=block
|translationkey=-}}
{{ID table
|displayname=Powered block
|spritename=powered-comparator
|spritetype=block
|nameid=powered_comparator
|id=150
|form=block
|translationkey=-}}
{{ID table
|displayname=Item
|spritename=redstone-comparator
|spritetype=item
|nameid=comparator
|id=522
|form=item
|foot=1}}
{{ID table
|notnamespaced=y
|displayname=Block entity
|spritename=redstone-comparator
|spritetype=block
|nameid=Comparator
|foot=1}}
=== Block states ===
{{see also|Block states}}
{{/BS}}
=== Block data ===
A redstone comparator has a block entity associated with it that holds additional data about the block.
{{el|je}}:
{{see also|Block entity format}}
{{/BE}}
{{el|be}}:
: See [[Bedrock Edition level format/Block entity format]].
== Advancements ==
{{Load advancements|the power of books}}
== Video ==
<div style="text-align:center">{{yt|J7Z20Zzz3yU}}</div>
== History ==
{{info needed section|If {{bug|MC-50242}} also affected comparators?}}
''For a more in-depth breakdown of changes to repeater textures and models, including a set of renders for each state combination, see [[/Asset history]]''
{{History|java}}
{{History||November 24, 2012|link=https://youtube.com/watch?v=YG9RNyRhIow&t=6m56s|[[Jeb]] stated that there may be a "capacitor" in [[Minecraft]]. }}
{{History||December 27, 2012|link={{tweet|Dinnerbone|284388625595125760}}|[[Dinnerbone]] released [https://web.archive.org/web/20190710120115/https://imgur.com/a/FBKed pictures] of the first version of the "comparator", stating it was a replacement for the "capacitor" idea that has variable, alternate inputs.}}
{{History||January 2, 2013|link={{tweet|Dinnerbone|286428595423965184}}|Dinnerbone released one more [http://dinnerbone.com/media/uploads/2013-01/screenshots/2013-01-02_12.06.47.png picture] of the comparator. The picture itself showing a digital-to-analog converter, using the comparator as the main [[block]].}}
{{History||1.5|snap=13w01a|[[File:Redstone Comparator (S) JE1.png|32px]] [[File:Powered Redstone Comparator (S) JE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE1.png|32px]] [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.
|Redstone comparators have 0 delay.
At this point, block ID 149 was used for unpowered comparators, and block ID 150 for powered comparators.}}
{{History|||snap=13w01b|A delay of 1 game tick ({{frac|1|2}} redstone tick) has now been added to redstone comparators to fix bugs.
|The ability to measure containers to redstone comparators has now been added.}}
{{History|||snap=13w02a|[[File:Redstone Comparator (S) JE2.png|32px]] [[File:Powered Redstone Comparator (S) JE2.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2.png|32px]] The appearance of redstone comparators has now been changed - the top texture has changed to show [[quartz]] in the middle and the sides now use the [[smooth stone]] texture rather than the smooth stone slab side texture.
|The algorithm for measuring containers has now been changed so that redstone comparators output a signal with as few as 1 [[item]] in the container.}}
{{History|||snap=13w02b|Redstone comparators now treat large [[chest]]s as a single container.}}
{{History|||snap=13w03a|Redstone comparators now output success count of [[command block]]s.
|Redstone comparators now measure container [[minecart]]s on [[detector rail]]s.}}
{{History|||snap=13w04a|Redstone comparators now measure [[jukebox]]es.}}
{{History|||snap=13w05a|Redstone comparators no longer cause constant [[block]] updates. The delay has now been made consistent, and side input no longer causes a pulse output.
|Block 150 (later <code>powered_comparator</code>) is no longer used; powered state is now represented by the 8s bit on block 149 (later <code>unpowered_comparator</code>).}}
{{History|||snap=13w05b|Redstone comparator delay has now been changed from 1 game tick (1/2 [[redstone]] tick) to 2 game ticks (1 redstone tick).}}
{{History|||snap=13w09c|The redstone signal strength from a redstone comparator next to a [[brewing stand]] with 3 [[water bottle]]s in it is now the same as one with 3 water bottles and 1 ingredient in it.}}
{{History||1.6.1|snap=13w18a|Redstone comparators now measure [[cauldron]]s and [[end portal frame]]s.}}
{{History||1.8|snap=14w04a|Redstone comparators now measure [[item frame]]s.}}
{{History|||snap=14w10a|The torches under redstone comparators have now been shortened, which has changed the underside appearance from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] [[File:Powered Subtracting Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]].}}
{{History|||snap=14w25a|[[File:Redstone Comparator (S) JE3.png|32px]] [[File:Powered Redstone Comparator (S) JE3.png|32px]] [[File:Subtracting Redstone Comparator (S) JE3.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE3.png|32px]] The torches on comparators are now subject to ambient occlusion.
|Comparators set to subtract mode appear to be powered as well regardless of incoming power. The subtracting-only model still exists and can be achieved through {{cmd|setblock}}.}}
{{History|||snap=14w25b|[[File:Subtracting Redstone Comparator (S) JE4.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE4.png|32px]] The powered front torch when in subtraction mode is now lower.
|Comparators set to subtract by hand now appear normally again.}}
{{History|||snap=14w28a|Redstone comparators now measure [[cake]]s.}}
{{History||1.9|snap=15w42a|With the addition of the [[blaze powder]] fuel slot, [[brewing stand]]s now have 5 slots instead of 4. Their original comparative power values from redstone comparators are listed below:
{{{!}} class{{=}}"wikitable collapsible collapsed" data-description{{=}}"Original values"
! Original values
{{!}}-
{{!}}
*0: 0
*1: 1
*2: 19
*3: 37
*4: 55
*5: 1s 10
*6: 1s 28
*7: 1s 46
*8: 2s
*9: 2s 19
*10: 2s 37
*11: 2s 55
*12: 3s 10
*13: 3s 28
*14: 3s 46
*15: 4s
{{!}}}
}}
{{History|||snap=15w47a|Redstone comparators' side inputs now take power from [[redstone block]]s.}}
{{History||1.13|snap=17w47a|All 3 IDs for the redstone comparator have now been merged into one ID: <code>comparator</code>.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER2 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]].
|Prior to [[1.13/Flattening|''The Flattening'']], these blocks' numeral IDs were 149 and 150, and the [[item]]'s 404.
|As a result, the formerly unused comparator ID is now technically used again, due to both unpowered and powered versions being merged into a single comparator block ID.}}
{{History||1.14|snap=18w43a|[[File:Redstone Comparator (S) JE4.png|32px]] [[File:Powered Redstone Comparator (S) JE4.png|32px]] [[File:Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE5.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|||snap=19w02a|Redstone comparators now measure [[lectern]]s.}}
{{History|||snap=19w03a|Redstone comparators now measure [[composter]]s.}}
{{History|||snap=19w12b|Redstone comparators can now be placed on [[glass]], [[ice]], [[glowstone]] and [[sea lantern]]s.}}
{{History||1.15|snap=19w34a|Redstone comparators now measure how much honey is inside [[beehive|bee hive]]s and [[bee nest]]s.}}
{{History||1.16|snap=20w06a|The way to calculate the input signals of redstone comparators has now been changed.}}
{{History|||snap=20w11a|The changes to the way of calculating the input signals of redstone comparators from [[Java Edition 20w06a|20w06a]] have now been reverted.}}
{{History|||snap=20w16a|Redstone comparators now measure [[Pigstep music disc]]s in [[jukebox]]es.}}
{{History||1.17|snap=20w45a|Redstone comparators now measure [[lava cauldron]]s.}}
{{History|||snap=20w46a|Redstone comparators now measure [[Cauldron#Holding powder snow|powder snow cauldron]]s.}}
{{History||1.18|snap=21w41a|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.19|snap=22w13a|Redstone comparators now generate as part of [[ancient cities]].}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Redstone comparators now measure [[chiseled bookshelves]].}}
{{History||1.20.2|snap=23w33a|Redstone comparators now use stone sounds instead of wood sounds.<ref>{{bug|MC-182820|||Fixed}}</ref>}}
{{History|pocket alpha}}
{{History||v0.14.0|snap=build 1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Redstone comparators now measure [[end portal frame]]s.}}
{{History||1.0.5|snap=alpha 1.0.5.0|Redstone comparators now output success count of [[command block]]s.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Redstone comparators now measure [[shulker box]]es.}}
{{History|bedrock}}
{{History||1.2.0|snap=beta 1.2.0.2|Redstone comparators now measure [[jukebox]]es.
|Redstone comparators now render their underside, which has changed their undersides from [[File:Redstone Comparator UNKVER1 (facing NWU).png|32px]] to [[File:Redstone Comparator UNKVER3 (facing NWU).png|32px]]}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History||1.11.0|snap=beta 1.11.0.1|Redstone comparators now measure [[smoker]]s, [[blast furnace]]s, [[lectern]]s and [[composter]]s.}}
{{History||1.18.10|snap=beta 1.18.10.20|[[File:Powered Redstone Comparator (S) JE5.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE6.png|32px]] The texture of powered redstone comparator have now been changed.}}
{{History||1.20.30|snap=beta 1.20.30.20|Redstone comparators now use the <code>minecraft:cardinal_direction</code> [[block state]] instead of <code>direction</code>.}}
{{History|console}}
{{History||xbox=TU19|xbone=CU7|ps=1.12|wiiu=Patch 1|switch=1.0.1|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE1 BE1.png|32px]] Added redstone comparators.}}
{{History||xbox=TU31|xbone=CU19|ps=1.22|wiiu=Patch 3|switch=1.0.1|Redstone comparators can now measure [[item frame]]s.}}
{{History||xbox=none|xbone=none|ps=1.90|wiiu=none|switch=none|[[File:Redstone Comparator (S) BE.png|32px]] [[File:Powered Redstone Comparator (S) BE.png|32px]] [[File:Subtracting Redstone Comparator (S) BE.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) BE.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] The textures of redstone comparators have now been changed.}}
{{History|3ds}}
{{History||0.1.0|[[File:Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Subtracting Redstone Comparator (S) JE2 BE1.png|32px]] [[File:Powered Subtracting Redstone Comparator (S) JE2 BE1.png|32px]]{{verify|Was this the model used?}} [[File:Redstone Comparator (item) JE2 BE2.png|32px]] Added redstone comparators.}}
{{History|foot}}
=== Redstone comparator "items" ===
{{:Technical blocks/Redstone Comparator}}
== Issues ==
{{issue list}}
== Trivia ==
* Comparators do not emit redstone particles when powered, unlike redstone torches and repeaters.<ref>{{bug|MC-51692|||WAI}}</ref>
== Gallery ==
<gallery>
Dinnerbone Comparator 1.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 2.png|Dinnerbone showing how comparators work.
Dinnerbone Comparator 3.png|Dinnerbone showing how comparators work.
Dinnerbone Comparators 1.png|A contraption incorporating comparators.
Dinnerbone Comparators 2.png|Comparators in action.
Dinnerbone Comparators 3.png|Output specific signals.
Dinnerbone Comparator Thing.png|Another comparator in use.
Item Frame Comparator.png|Rotating the torch in the item frame adjusts the comparator's output.
</gallery>
== References ==
{{reflist}}
{{Redstone}}
{{Blocks|Utility}}
{{Items}}
[[Category:Mechanics]]
[[Category:Block entities]]
[[Category:Redstone mechanics]]
[[Category:Mechanisms]]
[[Category:Manufactured blocks]]
[[Category:Non-solid blocks]]
[[de:Redstone-Komparator]]
[[es:Comparador de redstone]]
[[fr:Comparateur de redstone]]
[[hu:Redstone-komparátor]]
[[ja:レッドストーンコンパレーター]]
[[ko:레드스톤 비교기]]
[[nl:Redstonevergelijker]]
[[pl:Komparator]]
[[pt:Comparador de redstone]]
[[ru:Компаратор]]
[[uk:Редстоуновий компаратор]]
[[zh:红石比较器]]</li></ul></nowiki> | September 29, 2018 | Bamboo is announced at MINECON Earth 2018. | |||
| Upcoming Bedrock Edition | |||||
1.8{{Extension DPL}}<ul><li>[[Enchanted Book|Enchanted Book]]<br/>{{About|the book that can give items enchantments when used on an anvil|the artifact that can enchant allied mobs in Minecraft Dungeons|Enchanter's Tome}}
{{Item
| image = Enchanted Book.gif
|imagesize=160px
| stackable = No
| renewable = '''Swift Sneak''': No<br>'''All others''': Yes
| rarity = Uncommon
}}
An '''enchanted book''' is an [[item]] that lets players add [[enchantments]] to certain items using an [[anvil]].
== Obtaining ==
=== Chest loot ===
==== Level-30 books ====
{{LootChestItem|enchanted-book}}
==== Random enchantment books ====
{{LootChestItem|enchanted-book-rnd}}
==== Soul Speed books ====
{{LootChestItem|enchanted-book-rnd-soul-speed}}
==== Swift Sneak books ====
{{LootChestItem|enchanted-book-rnd-swift-sneak}}
===Fishing===
Enchanted books can be obtained as a "treasure" item from [[fishing]] with a [[fishing rod]] as part of the "treasure" category. The book has the equivalent of a level 30 enchantment from an enchantment table, but treasure enchantments are available and the chance of multiple enchantments is not reduced.
=== Trading ===
{{IN|bedrock}}, librarian [[villager]]s have a 50% chance to sell enchanted books as part of their trades at novice, apprentice, and journeyman-level, and have {{frac|1|3}} chance to sell enchanted books at expert-level as part of their trades, meaning each librarian villager can sell up to four books. The price ranges between 5-64 [[emerald]]s per book. Based on the level of the enchantment and whether it is classified as a "[[Enchanting mechanics|treasure enchantment]]" (meaning they are not obtainable by enchanting, e.g. [[Mending]]), which doubles the cost, or not a price is determined.
{{IN|java}}, librarian villagers have a {{frac|2|3}} chance to sell an enchanted book as part of their trades at the novice, apprentice, and journeyman level, and have a 50% chance to sell an enchanted book at the expert level, meaning each librarian can sell up to four books. The price ranges from 5-64 [[emerald]]s per book, depending on the enchantment's level as well as whether or not it is a [[Enchanting mechanics|treasure enchantment]].
{| class="fandom-table"
|+Cost of Enchanted Books based on their level
!Level
!Lowest Price
!Highest Price
|-
|I (1)
|5
|19
|-
|II (2)
|8
|32
|-
|III (3)
|11
|45
|-
|IV (4)
|14
|58
|-
|V (5)
|17
|71 (capped at 64)
|}
They may contain any available enchantment (except Soul Speed and Swift Sneak) at any available level. See [[Trading#cite_note-enchanted-book-10|trading notes]] for more information on enchantments and prices.
===Drops ===
Vindicators and pillagers that spawn from raids have a small chance to drop an enchanted book with a level 30 enchantment, which may be a treasure enchantment.{{only|bedrock}}
===Enchanting===
[[File:Enchanted Book 4x.png|thumb|An enchanted book with multiple high level enchantments.]]
[[File:Similar enchantments.png|thumb|An enchanted book with multiple enchantments that can be applied to the same item.]]
Players can create an enchanted book by enchanting a [[book]] on an [[enchantment table]]. Books have a decreased chance of getting multiple enchantments (specifically, if multiple enchantments would be added, then one is removed at random), and have a lower "enchantability level" than most other items. Treasure enchantments such as Mending cannot be obtained from an enchantment table.
=== Bartering ===
Players can barter with [[piglin]]s by using or throwing [[gold ingot]]s, and doing so has a {{frac|5|459}} chance for piglins to give the player an enchanted book with any level of [[Soul Speed]]. Soul Speed enchanted books are only obtainable through [[bartering]], [[chest]] loot inside a bastion remnant, and [[fishing]]. They cannot be obtained through [[enchanting]] or [[trading]].
== Usage ==
{{see also|Anvil mechanics}}
In Survival, enchanted books are the only method to obtain certain enchantments on certain tools, such as Unbreaking on [[shield]]s. Enchanted books have a shine effect on their sprite.
To use an enchanted book, the player must place an item in the first slot in an [[anvil]], and a book in the next. In order to complete the enchantment, the player must have the required amount of [[experience]]. Note that using an enchanted book gets significant discounts at the anvil. Enchanted books themselves can be combined to create a single book with increased or multiple enchantments, similar to combining tools or weapons.
When combining items, the compatible enchantments from the book in the second slot are transferred to the item from the first slot, keeping the highest level of any type. If two enchantments have the same level and a higher level is available, they combine into the next level. If a book is applied to an item that can't take all of its spells, the appropriate spells are transferred, while the unusable ones are lost. Enchanted books are single-use.
Enchanted books do not exhibit their enchantment. For example, a book with Sharpness IV as an enchantment does no more damage than an un-enchanted book, or any non-weapon item, would when used as a weapon. An exception is the Fire Aspect book which can ignite TNT and light campfires and the Mending book if the block mined can be broken by fist.{{only|bedrock}}
=== Available items ===
{{See also|Enchantments}}
Enchanted books can enchant the usual items that can be enchanted at an [[enchanting table]], but ''unlike an enchanting table'', they are able to boost enchantments such as Sharpness or Thorns to their maximum power, and may apply the following enchantments to items (the table displays only netherite tools and armor, but any type can be enchanted):
<!-- do not change the items listed in this table. It is supposed to show the items that can receive these enchantments from an enchanted book, but are NOT possible through an enchanting table. -->
{| class="wikitable" style="text-align: center;" data-description="Secondary enchantments"
|-
!Enchantment
!Items not enchantable<br>at an enchanting table
!Note
|-
|[[Efficiency]]
|{{simpleGrid|Shears}}{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}
|Increases mining speed
|-
|[[Thorns]]||{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}
|Inflicts damage on attacker
|-
|[[Unbreaking]]
|{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}{{simpleGrid|Elytra}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}
|Increasing durability on enchanted tools/armors
|-
|[[Frost Walker]]
|{{simpleGrid|Netherite Boots}}
|Creates walkable ice layer over water
|-
|[[Mending]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}{{simpleGrid|Elytra}}
|Uses XP Orbs to repair damaged tools/weapons/armors
|-
|[[Curse of Binding]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>{{simpleGrid|Elytra}}{{simpleGrid|Carved Pumpkin}}{{simpleGrid|Head}}
|Prevents removal of cursed item
|-
|[[Curse of Vanishing]]
|{{simpleGrid|Netherite Helmet}}{{simpleGrid|Netherite Chestplate}}{{simpleGrid|Netherite Leggings}}{{simpleGrid|Netherite Boots}}<br>
{{simpleGrid|Netherite Pickaxe}}{{simpleGrid|Netherite Shovel}}{{simpleGrid|Netherite Axe}}{{simpleGrid|Netherite Hoe}}{{simpleGrid|Netherite Sword}}{{simpleGrid|Bow}}{{simpleGrid|Crossbow}}<br>
{{simpleGrid|Shears}}{{simpleGrid|Flint and Steel}}{{simpleGrid|Fishing Rod}}{{simpleGrid|Carrot on a Stick}}{{simpleGrid|Warped Fungus on a Stick}}{{simpleGrid|Trident}}{{simpleGrid|Shield}}<br>{{simpleGrid|Elytra}}{{simpleGrid|Carved Pumpkin}}{{simpleGrid|Head}}<br>{{simpleGrid|Compass}}{{simpleGrid|Recovery Compass}}
|Cursed item is destroyed upon death
|-
|[[Soul Speed]]
|{{simpleGrid|Netherite Boots}}
|The wearer's speed is increased when walking on [[soul sand]] or [[soul soil]].
|-
|[[Swift Sneak]]
|{{simpleGrid|Netherite Leggings}}
|The wearer's sneaking speed is increased.
|}
=== Creative mode ===
The player can enchant any item with any enchantment in [[Creative]] mode, allowing any applied effects to exhibit themselves.{{only|java}} For example, a [[stick]] can be enchanted with [[Silk Touch]] to allow the player to successfully dig [[grass block]]s. The enchanted item can still be used in Survival mode without any loss of enchantments.
Enchantments that are normally incompatible are still incompatible; for example, Piercing and Multishot cannot be both applied to the same item, even in Creative mode.
If a block is enchanted, it loses the enchantment upon being placed in the world.
=== Disenchanting ===
Disenchanting an enchanted book at a [[grindstone]] yields a normal [[book]] and some experience depending on the quality of the book.
=== Chiseled bookshelf ===
{{control|Use|text=Using}} the [[chiseled bookshelf]] while having an enchanted book in the main hand will put the book inside the chiseled bookshelf.
== Sounds ==
{{edition|java}}:
{{Sound table
|sound=Chiseled bookshelf insert enchanted1.ogg
|sound2=Chiseled bookshelf insert enchanted2.ogg
|sound3=Chiseled bookshelf insert enchanted3.ogg
|sound4=Chiseled bookshelf insert enchanted4.ogg
|subtitle=Enchanted Book placed
|source=block
|description=When an enchanted book is placed in a chiseled bookshelf
|id=block.chiseled_bookshelf.insert.enchanted
|translationkey=subtitles.chiseled_bookshelf.insert_enchanted
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>
|distance=16}}
{{Sound table
|sound=Chiseled bookshelf pickup enchanted1.ogg
|sound2=Chiseled bookshelf pickup enchanted2.ogg
|sound3=Chiseled bookshelf pickup enchanted3.ogg
|subtitle=Enchanted Book taken
|source=block
|description=When an enchanted book is removed from a chiseled bookshelf
|id=block.chiseled_bookshelf.pickup.enchanted
|translationkey=subtitles.chiseled_bookshelf.take_enchanted
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|distance=16
|foot=1}}
{{edition|bedrock}}:
{{Sound table
|type=bedrock
|sound=Chiseled bookshelf insert enchanted1.ogg
|sound2=Chiseled bookshelf insert enchanted2.ogg
|sound3=Chiseled bookshelf insert enchanted3.ogg
|sound4=Chiseled bookshelf insert enchanted4.ogg
|source=block
|description=When an enchanted book is placed in a chiseled bookshelf
|id=insert_enchanted.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=insertvaries>Can be 1.0, 0.85, or 1.1 for each sound</ref>}}
{{Sound table
|sound=Chiseled bookshelf pickup enchanted1.ogg
|sound2=Chiseled bookshelf pickup enchanted2.ogg
|sound3=Chiseled bookshelf pickup enchanted3.ogg
|source=block
|description=When an enchanted book is removed from a chiseled bookshelf
|id=pickup_enchanted.chiseled_bookshelf
|volume=0.8
|pitch=''varies'' <ref group=sound name=pickupvaries>Can be 1.0, 0.8, or 1.1 for each sound</ref>
|foot=1}}
== Data values ==
=== ID ===
{{edition|java}}:
{{ID table
|edition=java
|showforms=y
|generatetranslationkeys=y
|displayname=Enchanted Book
|spritetype=item
|nameid=enchanted_book
|form=item
|foot=1}}
{{edition|bedrock}}:
{{ID table
|edition=bedrock
|showitemtags=y
|shownumericids=y
|showforms=y
|notshowbeitemforms=y
|generatetranslationkeys=y
|displayname=Enchanted Book
|spritetype=item
|nameid=enchanted_book
|id=521
|itemtags=minecraft:bookshelf_books</code>
|form=item
|foot=1}}
=== Item data ===
{{el|java}}:
{{main|Player.dat format}}
Enchanted books use an NBT tag <code>StoredEnchantments</code> to indicate the enchantment.
The allowed sub-tags are <code>id</code> and <code>lvl</code>, equivalent to the format of the <code>Enchantments</code> tag that is used for enchantments applied to items.
''The following NBT structure is provided to show how the <code>StoredEnchantments</code> tag is organized, and is not comprehensive above the <code>tag</code> tag. The full NBT for an item can be found [[Chunk format#Items_and_XP_Orbs|here]].''
<div class="treeview" style="margin-top: 0;">
*{{nbt|compound|tag}}: The tag tag.
**{{nbt|list|StoredEnchantments}}: The list of enchantments on this book.
***{{nbt|compound}} An enchantment
****{{nbt|string|id}}: The enchantment name ID
****{{nbt|short|lvl}}: The enchantment level
</div>
{{el|bedrock}}:
:See [[Bedrock Edition level format/Item format]].
==Advancements==
{{load advancements|Enchanter}}
==History==
{{History|java}}
{{History||November 24, 2012|link=none|[[Dinnerbone]] stated that he wanted to add a way to [[enchanting|enchant]] items in an [[anvil]] using [[paper]] at [[MINECON 2012]].}}
{{History||December 6, 2012|link={{tweet|Dinnerbone|276777823996366848}}|Dinnerbone released the first image of enchanting a diamond [[sword]] using an enchanted book that has [[Looting]] II for 6 levels. He also stated that "this is the reason I originally added the anvil."}}
{{History||1.4.6|snap=12w49a|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books.
|The enchantments of enchanted books can be applied to any [[item]].}}
{{History|||snap=12w50a|In [[Survival]] mode, enchanted books can now be used with limited kind of items. In [[Creative]] mode, they can still be used with any item. It was stated that the remaining functionality in Creative mode is intentional.<ref>{{Tweet|Dinnerbone|277084371146665984|Also enchanted books + items they're not intended for are a little broken and I kindly ask you to not exploit it too badly thanks.|December 7, 2012}}</ref><ref>{{bug|MC-4203}}</ref>
|Librarian [[villager]]s now [[trading|sell]] enchanted books at a cost of 1 [[book]] at 5–64 [[emerald]]s. The cost depends on the [[enchanting|enchantment]] level, and the cost can occasionally go above 64 emeralds; see [[Trading/Before 1.8]] for more details.
|Enchanted books now spawn in [[dungeon]], [[mineshaft]], [[desert temple|desert]] and [[jungle temple|jungle]] temple, [[stronghold]] and [[village]] blacksmith [[chest]]s.}}
{{History|||snap=pre|Enchanted books have been added to the [[Creative inventory]]. All levels for each enchanted book can be found in the search tab, and only the maximum level in the ''Tools'' and ''Combat'' tabs.}}
{{History||1.5.1|snap=13w11a|The [[player]] can now combine enchanted books of the same level to create a higher level variation.}}
{{History||1.7.2|snap=13w36a|Enchanted books can now be obtained by [[fishing]] as a "treasure" [[item]]. It is possible for the book to have multiple enchantments.}}
{{History|||snap=13w39a|When [[enchanting]] books, [[book]]s can now gain multiple enchantments.}}
{{History||1.8|snap=14w02a|[[Trading]] for enchanted books has been changed: the [[emerald]] cost has been doubled for [[treasure enchantment]]s, and cost has been capped at 64.}}
{{History|||snap=14w25a|Enchanted book [[Depth Strider]] added, which can go up to Level III and allows for faster underwater moving.}}
{{History||1.9|snap=15w42a|Enchanted book [[Frost Walker]] added, which can go up to Level II and turns water into [[frosted ice]].
|Enchanted book [[Mending]] added, which repairs [[tools]]/[[armor]] upon receiving [[experience]].}}
{{History|||snap=15w43a|The average yield of enchanted books found in [[stronghold]] library [[chest]]s has now more than tripled.}}
{{History|||snap=15w44a|The average yield from [[desert temple]], [[mineshaft]] and [[dungeon]] chests has been substantially increased. The enchantments on these books are now fully random, rather than enchanted only at level 30.}}
{{History||1.11|snap=16w39a|Enchanted books are now found in the new [[woodland mansion]] chests, with fully random enchantments.
|Enchanted book [[Curse of Binding]] added, which prevents removal of cursed [[armor]].
|Enchanted book [[Curse of Vanishing]] added, which destroys cursed items upon [[death]].}}
{{History||1.13|snap=17w47a|Prior to [[1.13/Flattening|''The Flattening'']], this [[item]]'s numeral ID was 403.}}
{{History|||snap=18w09a|Enchanted books now have a chance of generating in [[underwater ruins]] chests.}}
{{History||1.14|snap=18w43a|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.}}
{{History|||snap=18w47a|Enchanted books now have a chance of generating in [[pillager outpost]] chests.}}
{{History||1.16|snap=20w11a|Added [[Soul Speed]] enchanted book, which increases player's speed on [[soul sand]] and [[soul soil]]. It can be obtained only via the [[bartering]].}}
{{History|||snap=20w16a|Soul Speed enchanted books now generate in [[bastion remnants]] chests.}}
{{History||1.19|snap=Deep Dark Experimental Snapshot 1|Added [[Swift Sneak]] enchanted book, which increases player's speed while sneaking. It can be obtained only in [[ancient city]] chests.
|Enchanted books now generate in [[ancient city]] chests.}}
{{History||1.20<br>(Experimental)|link=1.19.3|snap=22w42a|Enchanted books can now interact with [[chiseled bookshelves]].}}
{{History|pocket alpha}}
{{History||v0.12.1|snap=build 1|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books.
|All levels of each enchanted book can be obtained in the Creative inventory.}}
{{History||v0.13.0|snap=build 1|Enchanted books now generate in [[desert temple]]s.}}
{{History||v0.14.0|snap=build 1|Enchanted books now generate in [[mineshaft]]s.}}
{{History||v0.15.0|snap=build 1|Enchanted books now generate in [[jungle pyramid]]s.}}
{{History|pocket}}
{{History||1.0.0|snap=alpha 0.17.0.1|Enchanted books now generate in [[end city|end cities]].}}
{{History||1.0.4|snap=alpha 1.0.4.0|Enchanted books can now be [[trading|bought]] from librarian villagers for 5-64 emeralds as part of their tier 1, 4 and 5 trades.}}
{{History||1.1.0|snap=alpha 1.1.0.0|Enchanted books now generate in [[woodland mansion]]s.
|Enchanted books [[Mending]] and [[Frost Walker]] added.}}
{{History|bedrock}}
{{History||1.2.13|snap=beta 1.2.13.5|Added Curse of Binding and Curse of Vanishing [[enchanting|enchantments]], but they are obtainable only via [[trading]] with librarian [[villager]]s.}}
{{History||1.4.0|snap=beta 1.2.20.1|Enchanted books can now be found in [[underwater ruins]].}}
{{History||1.4.0|snap=beta 1.2.20.2|Curse enchantments are no longer obtainable via trading.}}
{{History||1.10.0|snap=beta 1.10.0.3|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.
|Enchanted books can now be found in [[pillager outpost]]s.}}
{{History||1.11.0|snap=beta 1.11.0.4|[[Vindicator]]s and [[pillager]]s that spawn in [[raid]]s can now [[drops|drop]] enchanted books.
|[[Trading]] has been changed, enchanted books [[trading|bought]] from librarian [[villager]]s now cost 15-64 [[emerald]]s.
|Librarian villagers now have a 50% chance to [[trading|sell]] enchanted books as part of their first, second, and third tier trade, and {{frac|1|3}} chance to sell enchanted books as part of their fourth tier trades.}}
{{History||1.16.0|snap=beta 1.16.0.57|Added [[Soul Speed]] enchanted book, which can be obtained only via [[bartering]] and at [[bastion remnants]] chests.}}
{{History||1.20.0<br>(Experimental)|link=Bedrock Edition 1.19.50|snap=beta 1.19.50.21|Enchanted books can now interact with [[chiseled bookshelves]].}}
{{History|console}}
{{History||xbox=TU14|xbone=CU1|ps=1.04|wiiu=Patch 1|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books.
|Only the maximum level of each enchanted book can be obtained within the Creative inventory.}}
{{History|PS4}}
{{History||1.90|[[File:Enchanted Book JE2 BE2.png|32px]] The texture of enchanted books has been changed.}}
{{History|new 3ds}}
{{History||0.1.0|[[File:Enchanted Book JE1 BE1.png|32px]] Added enchanted books.
|All levels of each enchanted book can be obtained in the Creative inventory.}}
{{History|foot}}
== Issues ==
{{Issue list}}
==Trivia==
*When obtained through the {{cmd|give}} command with no stored enchantments, the enchanted book has no attached enchantments, but still shines as if it is enchanted.
*A book enchanted with [[Unbreaking]] III appears in both the tools tab and combat tab of the [[Creative]] [[inventory]].
==Gallery==
<gallery>
File:Dinnerbones_enchanted_Books.png|First image of an enchanted book, released by Dinnerbone.
File:DungeonBook.png|An enchanted book found in a dungeon chest.
File:Enchanted_Book.gif|An animation of an enchanted book.
</gallery>
==References ==
{{reflist}}
{{Items}}
[[Category:Renewable resources]]
[[de:Verzaubertes Buch]]
[[es:Libro encantado]]
[[fr:Livre enchanté]]
[[hu:Varázskönyv]]
[[ja:エンチャントの本]]
[[ko:마법이 부여된 책]]
[[nl:Betoverd boek]]
[[pl:Zaklęta książka]]
[[pt:Livro encantado]]
[[ru:Зачарованная книга]]
[[th:หนังสือร่ายมนตร์]]
[[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> | beta 1.8.0.8 | Bamboo is added. | |||


