Minecraft:Shelf: Difference between revisions
More actions
Fix template calls: add MC/ prefix |
Sync: updated from Minecraft |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ | {{For}} | ||
{{Infobox block | {{Infobox block | ||
| group = Oak | | group = Oak | ||
| Line 19: | Line 19: | ||
| group9 = Pale Oak | | group9 = Pale Oak | ||
| 9-1 = Pale Oak Shelf.png | | 9-1 = Pale Oak Shelf.png | ||
| group10 = Bamboo | | group10 = Poplar (upcoming) | ||
| | | 10-1 = Poplar Shelf.png | ||
| | | group11 = Bamboo | ||
| | | 11-1 = Bamboo Shelf.png | ||
| | | group12 = Crimson | ||
| | | 12-1 = Crimson Shelf.png | ||
| extratext = [[# | | group13 = Warped | ||
| 13-1 = Warped Shelf.png | |||
| extratext = [[#Renders|View all renders]] | |||
| invimage = Oak Shelf | | invimage = Oak Shelf | ||
| invimage2 = Spruce Shelf | | invimage2 = Spruce Shelf | ||
| Line 35: | Line 37: | ||
| invimage8 = Cherry Shelf | | invimage8 = Cherry Shelf | ||
| invimage9 = Pale Oak Shelf | | invimage9 = Pale Oak Shelf | ||
| invimage10 = Bamboo Shelf | | invimage10 = Poplar Shelf | ||
| | | invimage11 = Bamboo Shelf | ||
| | | invimage12 = Crimson Shelf | ||
| | | invimage13 = Warped Shelf | ||
| | | invimage14 = ---- | ||
| | | invimage15 = Oak Shelf BE | ||
| | | invimage16 = Spruce Shelf BE | ||
| | | invimage17 = Birch Shelf BE | ||
| | | invimage18 = Jungle Shelf BE | ||
| | | invimage19 = Acacia Shelf BE | ||
| | | invimage20 = Dark Oak Shelf BE | ||
| | | invimage21 = Mangrove Shelf BE | ||
| | | invimage22 = Cherry Shelf BE | ||
| | | invimage23 = Pale Oak Shelf BE | ||
| | | invimage24 = Poplar Shelf BE | ||
| | | invimage25 = Bamboo Shelf BE | ||
| invimage26 = Crimson Shelf BE | |||
| invimage27 = Warped Shelf BE | |||
| transparent = Yes | | transparent = Yes | ||
| light = No | | light = No | ||
| Line 56: | Line 60: | ||
| renewable = Yes | | renewable = Yes | ||
| stackable = Yes (64) | | stackable = Yes (64) | ||
| flammable = *{{ | | flammable = *{{BlockSprite|Oak Shelf}} {{BlockSprite|Spruce Shelf}} {{BlockSprite|Birch Shelf}} {{BlockSprite|Jungle Shelf}} {{BlockSprite|Acacia Shelf}} {{BlockSprite|Dark Oak Shelf}} {{BlockSprite|Mangrove Shelf}} {{BlockSprite|Cherry Shelf}} {{BlockSprite|Pale Oak Shelf}} {{BlockSprite|Bamboo Shelf}} Yes (30) | ||
*{{ | *{{BlockSprite|Crimson Shelf}} {{BlockSprite|Warped Shelf}} No | ||
| lavasusceptible = *{{ | | lavasusceptible = *{{BlockSprite|Oak Shelf}} {{BlockSprite|Spruce Shelf}} {{BlockSprite|Birch Shelf}} {{BlockSprite|Jungle Shelf}} {{BlockSprite|Acacia Shelf}} {{BlockSprite|Dark Oak Shelf}} {{BlockSprite|Mangrove Shelf}} {{BlockSprite|Cherry Shelf}} {{BlockSprite|Pale Oak Shelf}} {{BlockSprite|Bamboo Shelf}} Yes | ||
*{{ | *{{BlockSprite|Crimson Shelf}} {{BlockSprite|Warped Shelf}} No | ||
| waterloggable = Yes | | waterloggable = Yes | ||
|mapcolor={{Collapse|title=Varies|content= | | mapcolor = {{Collapse|title=Varies|content= | ||
{{TooltipSprite||Oak Shelf}} {{Map color|Oak}}<br> | {{TooltipSprite||Oak Shelf}} {{Map color|Oak}}<br> | ||
{{TooltipSprite||Spruce Shelf}} {{Map color|Spruce}} | {{TooltipSprite||Spruce Shelf}} {{Map color|Spruce}} | ||
| Line 76: | Line 80: | ||
}} | }} | ||
}} | }} | ||
A '''shelf''' is a [[Minecraft:block]] that can store and display up to three | A '''shelf''' is a [[Minecraft:block]] that can store and display up to three [[Minecraft:stack]]s of [[Minecraft:item]]s. {{ctrl|Using}} an item slot exchanges its contents with the [[Minecraft:player]]'s [[Minecraft:hotbar]]. [[Minecraft:Redstone mechanics|Powering]] a shelf combines its three slots together and makes using it swap everything at once. | ||
Two or three adjacent shelves can merge their slots together if all are powered, which allows for swapping six or nine items at a time, respectively. | |||
== Obtaining == | == Obtaining == | ||
=== Breaking === | === Breaking === | ||
Shelves can be broken by hand, but using an [[Minecraft:axe]] is the fastest. | Shelves can be broken by hand, but using an [[Minecraft:axe]] is the fastest. | ||
{{ | {{breaking row|horizontal=1|Shelf|link=none|Axe}} | ||
=== Crafting === | === Crafting === | ||
| Line 97: | Line 103: | ||
== Usage == | == Usage == | ||
[[File:Shelf demonstration.png|thumb|Oak, spruce, and pale oak shelves holding various items. Three pale oak shelves have received a redstone signal.]] | [[File:Shelf demonstration.png|thumb|Oak, spruce, and pale oak shelves holding various items. Three pale oak shelves have received a redstone signal.]] | ||
{{ | {{IN|java}}, shelves cannot be moved by [[Minecraft:piston]]s. | ||
=== Holding items === | === Holding items === | ||
A shelf can store up to 3 [[Minecraft:item]] stacks. Each slot of the shelf can store a full stack of any stackable item, or just one of a non-stackable item. The number of items in the stack is not displayed. The shelf displays all items it contains in front of it, similar to an item frame. Interacting with any of the 3 slots swaps the player's main hand item with the content of that slot if it is not powered by redstone. | A shelf can store up to 3 [[Minecraft:item]] stacks. Each slot of the shelf can store a full stack of any stackable item, or just one of a non-stackable item. The number of items in the stack is not displayed. The shelf displays all items it contains in front of it, similar to an [[Minecraft:item frame]]. Interacting with any of the 3 slots swaps the player's main hand item with the content of that slot if it is not powered by redstone. | ||
=== Redstone === | === Redstone === | ||
| Line 106: | Line 112: | ||
While a shelf is powered by [[Minecraft:redstone]], its front texture changes to show its powered state; when placed next to each other, up to three powered shelves can connect together. Powered shelves prioritize connecting to other shelves on the left. | While a shelf is powered by [[Minecraft:redstone]], its front texture changes to show its powered state; when placed next to each other, up to three powered shelves can connect together. Powered shelves prioritize connecting to other shelves on the left. | ||
Powered shelves can be used to quickly swap the contents of a player's hotbar, similar to the Saved Hotbars{{only|je|short=1}} function in Creative mode. | Powered shelves can be used to quickly swap the contents of a player's [[Minecraft:hotbar]], similar to the [[Minecraft:Saved Hotbars]]{{only|je|short=1}} function in [[Minecraft:Creative]] mode. | ||
*Interacting with a single powered shelf swaps all its contents with the 3 rightmost slots in the hotbar. | *Interacting with a single powered shelf swaps all its contents with the 3 rightmost slots in the hotbar. | ||
*Interacting with two connected shelves swaps their contents with the 6 rightmost slots in the hotbar. | *Interacting with two connected shelves swaps their contents with the 6 rightmost slots in the hotbar. | ||
| Line 113: | Line 119: | ||
It does not matter which of the connected shelves the player interacts with. | It does not matter which of the connected shelves the player interacts with. | ||
{{ | {{in|be}}, the shelf activates only on the Input/Consume redstone tick ([[Minecraft:C-tick]]). | ||
==== Comparators ==== | ==== Comparators ==== | ||
[[File:25w31a shelf comparator outputs.png|thumb|alt=Eight shelves in a row, containing the following items from left-to-right (where 0 represents no item and 1 represents an item): 000, 100, 010, 110, 001, 101, 011, 111; corresponding to signal strengths 0-7 respectively|Shelf signal strength]] | [[File:25w31a shelf comparator outputs.png|thumb|alt=Eight shelves in a row, containing the following items from left-to-right (where 0 represents no item and 1 represents an item): 000, 100, 010, 110, 001, 101, 011, 111; corresponding to signal strengths 0-7 respectively|Shelf signal strength]] | ||
Shelves can also act as power sources for redstone | Shelves can also act as power sources for [[Minecraft:redstone comparator]]s depending on what slots contain an item. | ||
* An item in the left slot | * An item in the left slot emits a redstone power of 1. | ||
* An item in the middle slot | * An item in the middle slot emits a redstone power of 2. | ||
* An item in the right slot | * An item in the right slot emits a redstone power of 4. | ||
If multiple slots contain an item, the comparator | If multiple slots contain an item, the comparator outputs the total, up to a maximum power of 7 if all slots are filled. | ||
Comparators only work when the back of the shelf is facing it. | |||
==== Hoppers and droppers ==== | ==== Hoppers and droppers ==== | ||
Shelves can be filled automatically by using either [[Minecraft:hopper]]s or [[Minecraft:dropper]]s. Hoppers can also remove items from a shelf when placed underneath. | Shelves can be filled automatically by using either [[Minecraft:hopper]]s or [[Minecraft:dropper]]s. Hoppers can also remove items from a shelf when placed underneath. | ||
Items from a shelf are added and removed from left to right and | Items from a shelf are added and removed from left to right and stack any stackable items into one slot until that slot is full. | ||
=== Fuel === | === Fuel === | ||
Overworld shelves can be used as a fuel in [[Minecraft:furnace]]s, smelting 1.5 items per shelf | Overworld shelves can be used as a [[Minecraft:fuel]] in [[Minecraft:furnace]]s, smelting 1.5 items per shelf. | ||
Nether shelves cannot be used as a [[Minecraft:fuel]] in [[Minecraft:furnace]]s. | |||
== Sounds == | == Sounds == | ||
=== Generic === | === Generic === | ||
{{ | {{Sound table/Block/Chiseled bookshelf}} | ||
Despite shelves using the <code>chiseled_bookshelf</code> sound type for its generic sounds, {{ | Despite shelves using the <code>chiseled_bookshelf</code> sound type for its generic sounds, {{in|je}}, the following resource locations also exist: <code>block.shelf.break</code>, <code>block.shelf.place</code>, <code>block.shelf.hit</code>, <code>block.shelf.fall</code>, and <code>block.shelf.step</code>. | ||
=== Unique === | === Unique === | ||
{{ | {{JE}}: | ||
{{SoundTable | {{SoundTable | ||
|type=java | |type=java | ||
| Line 217: | Line 222: | ||
}} | }} | ||
{{ | {{BE}}: | ||
{{SoundTable | {{SoundTable | ||
|type=bedrock | |type=bedrock | ||
| Line 276: | Line 281: | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{ | {{JE}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 349: | Line 354: | ||
|foot=1}} | |foot=1}} | ||
{{ | {{BE}}: | ||
{{ID table2 | {{ID table2 | ||
|edition=bedrock | |edition=bedrock | ||
| Line 436: | Line 441: | ||
=== Block states === | === Block states === | ||
{{ | {{see also|Block states}} | ||
{{ | {{JE}}: | ||
{{bst|facing|north|east,north,south,west|The direction the shelf is facing.<br>Opposite from the direction the player faces when placing it.}} | {{bst|facing|north|east,north,south,west|The direction the shelf is facing.<br>Opposite from the direction the player faces when placing it.}} | ||
{{bst|powered|false|true,false|True if the shelf is powered.}} | {{bst|powered|false|true,false|True if the shelf is powered.}} | ||
{{bst|side_chain|unconnected|left,center,right,unconnected|Which side the shelf is connected to if powered.{{ | {{bst|side_chain|unconnected|left,center,right,unconnected|Which side the shelf is connected to if powered.{{more info}}}} | ||
{{bst|waterlogged|false|true,false|Whether there's water in the same place as the shelf.|foot=1}} | {{bst|waterlogged|false|true,false|Whether there's water in the same place as the shelf.|foot=1}} | ||
{{ | {{BE}}: | ||
{{bst|minecraft:cardinal_direction|south|south,west,north,east|The direction the shelf is facing.}} | {{bst|minecraft:cardinal_direction|south|south,west,north,east|The direction the shelf is facing.}} | ||
{{bst|powered_shelf_type|0|0,1,2,3|{{ | {{bst|powered_shelf_type|0|0,1,2,3|{{more info needed}}}} | ||
{{bst|powered_bit|false|true,false|True if the shelf is powered.|foot=1}} | {{bst|powered_bit|false|true,false|True if the shelf is powered.|foot=1}} | ||
=== Block data === | === Block data === | ||
Shelves have block entities associated with them that hold additional data about the [[Minecraft:block]]. | Shelves have [[Minecraft:block entities]] associated with them that hold additional data about the [[Minecraft:block]]. | ||
{{ | {{JE}}: | ||
{{ | {{see also|Block entity format}} | ||
<section begin="block data"/><div class="treeview"> | <section begin="block data" /><div class="treeview"> | ||
* {{ | * {{nbt|compound}} Block entity data | ||
** {{ | ** {{nbt inherit/blockentity}} | ||
** {{ | ** {{nbt|list|Items}}: List of items in the shelf. Represents the {{DCL|minecraft:container}} component. | ||
*** {{ | *** {{nbt|compound}}: An item, including the slot tag. The valid slot numbers are 0-2. | ||
**** {{ | **** {{nbt inherit/item|indent=****}} | ||
** {{ | ** {{nbt|bool|align_items_to_bottom}}: 1 or 0 ({{cd|true|false|d=/}}) - if {{cd|true}}, items sit near the bottom of the shelf. | ||
</div><section end="block data"/> | </div><section end="block data" /> | ||
{{ | {{BE}}: | ||
: See [[Minecraft:Bedrock Edition level format/Block entity format]]. | : See [[Minecraft:Bedrock Edition level format/Block entity format]]. | ||
== History == | == History == | ||
=== Announcement === | |||
{{HistoryTable | |||
|{{HistoryLine||May 30, 2026|link=https://youtu.be/skQgaugcKVQ?si=27mKvPiwrFDvaLX8|Poplar shelves were shown in [[Minecraft:Minecraft Live – May 2026]].}} | |||
}} | |||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|java}} | ||
|{{ | |{{HistoryLine||1.21.9|dev=25w31a|[[File:Oak Shelf JE1 BE2.png|32px]] [[File:Spruce Shelf JE1 BE2.png|32px]] [[File:Birch Shelf JE1 BE2.png|32px]] [[File:Jungle Shelf JE1 BE2.png|32px]] [[File:Acacia Shelf JE1 BE2.png|32px]] [[File:Dark Oak Shelf JE1 BE2.png|32px]] [[File:Mangrove Shelf JE1 BE2.png|32px]] [[File:Cherry Shelf JE1 BE2.png|32px]] [[File:Pale Oak Shelf JE1 BE2.png|32px]] [[File:Bamboo Shelf JE1 BE2.png|32px]] [[File:Crimson Shelf JE1 BE2.png|32px]] [[File:Warped Shelf JE1 BE2.png|32px]] Added shelves. | ||
|[[File:Oak Shelf with items JE1.png|32px]] Shelved items and blocks sit in the middle. | |[[File:Oak Shelf with items JE1.png|32px]] Shelved items and blocks sit in the middle. | ||
|Shelved items and blocks use the same model display settings as item | |Shelved items and blocks use the same model display settings as [[Minecraft:item frame]]s.}} | ||
|{{ | |{{HistoryLine|||dev=25w32a | ||
|[[File:Oak Shelf with items JE2.png|32px]] Shelved items and blocks now sit nearer to or at the bottom of the shelf, rather than in the middle.}} | |[[File:Oak Shelf with items JE2.png|32px]] Shelved items and blocks now sit nearer to or at the bottom of the shelf, rather than in the middle.}} | ||
|{{HistoryLine|||dev=25w33a | |{{HistoryLine|||dev=25w33a | ||
| Line 479: | Line 489: | ||
|Shelved items and blocks now use separate model display settings. | |Shelved items and blocks now use separate model display settings. | ||
|Shelved blocks and shields are now larger, and items now slightly float in front of the shelves. | |Shelved blocks and shields are now larger, and items now slightly float in front of the shelves. | ||
|[[File:Oak Shelf with items JE3 (align items to bottom).png|32px]] Added the {{ | |[[File:Oak Shelf with items JE3 (align items to bottom).png|32px]] Added the {{code|align_items_to_bottom}} [[Minecraft:block state]] property, by default set to false, to display items at the bottom of the shelf rather than in the middle.}} | ||
|{{HistoryLine|||dev=25w34a | |{{HistoryLine|||dev=25w34a | ||
|The {{ | |The {{code|align_items_to_bottom}} block state has been replaced by an equivalent boolean field for the block entity itself.}} | ||
|{{ | |{{HistoryLine|||dev=25w36a|Powered shelves can now connect only to other powered shelves facing the exact same direction.}} | ||
|{{HistoryLine|upcoming java}} | |||
|{{HistoryLine||26.3|dev=snap1|[[File:Poplar Shelf.png|32px]] Added poplar shelves.}} | |||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{ | |{{HistoryLine|bedrock}} | ||
|{{ | |{{HistoryLine||1.21.111|dev=Preview 1.21.110.20|[[File:Oak Shelf BE1.png|32px]] [[File:Spruce Shelf BE1.png|32px]] [[File:Birch Shelf BE1.png|32px]] [[File:Jungle Shelf BE1.png|32px]] [[File:Acacia Shelf BE1.png|32px]] [[File:Dark Oak Shelf BE1.png|32px]] [[File:Mangrove Shelf BE1.png|32px]] [[File:Cherry Shelf BE1.png|32px]] [[File:Pale Oak Shelf BE1.png|32px]] [[File:Bamboo Shelf BE1.png|32px]] [[File:Crimson Shelf BE1.png|32px]] [[File:Warped Shelf BE1.png|32px]] Added shelves. | ||
|[[File:Oak Shelf with items BE1.png|32px]] Shelved items and blocks sit in the middle. | |[[File:Oak Shelf with items BE1.png|32px]] Shelved items and blocks sit in the middle. | ||
|Only shelves of the same wood type can connect when powered.}} | |Only shelves of the same wood type can connect when powered.}} | ||
|{{ | |{{HistoryLine|||dev=Preview 1.21.110.22 | ||
|Shelves can now be waterlogged. | |Shelves can now be [[Minecraft:waterlogged]]. | ||
|A redstone comparator adjacent to a shelf now outputs a signal indicating which slots of the shelf contain items. | |A [[Minecraft:redstone comparator]] adjacent to a shelf now outputs a signal indicating which slots of the shelf contain items. | ||
|Non-solid blocks can no longer be placed on the top, bottom, front or sides of the shelf. | |Non-solid blocks can no longer be placed on the top, bottom, front or sides of the shelf. | ||
|Powered shelves now connect even when they are made of different types of wood.}} | |Powered shelves now connect even when they are made of different types of wood.}} | ||
|{{ | |{{HistoryLine|||dev=Preview 1.21.110.23 | ||
|[[File:Oak Shelf with items BE2.png|32px]] Shelved items have been slightly adjusted to fit the shelf slots, and the scale of shelved blocks has been halved. Some blocks and items such as banners and shields have kept their original display settings. | |[[File:Oak Shelf with items BE2.png|32px]] Shelved items have been slightly adjusted to fit the shelf slots, and the scale of shelved blocks has been halved. Some blocks and items such as banners and shields have kept their original display settings. | ||
|Shelved items and blocks now sit nearer to or at the bottom of the shelf, rather than in the middle. | |Shelved items and blocks now sit nearer to or at the bottom of the shelf, rather than in the middle. | ||
|Interacting with an unpowered shelf while in Creative now replaces the shelf item with the player's selected item instead of swapping them.}} | |Interacting with an unpowered shelf while in [[Minecraft:Creative]] now replaces the shelf item with the player's selected item instead of swapping them.}} | ||
|{{HistoryLine|||dev=Preview 1.21.110.24|[[File:Oak Shelf JE1 BE2.png|32px]] [[File:Spruce Shelf JE1 BE2.png|32px]] [[File:Birch Shelf JE1 BE2.png|32px]] [[File:Jungle Shelf JE1 BE2.png|32px]] [[File:Acacia Shelf JE1 BE2.png|32px]] [[File:Dark Oak Shelf JE1 BE2.png|32px]] [[File:Mangrove Shelf JE1 BE2.png|32px]] [[File:Cherry Shelf JE1 BE2.png|32px]] [[File:Pale Oak Shelf JE1 BE2.png|32px]] [[File:Bamboo Shelf JE1 BE2.png|32px]] [[File:Crimson Shelf JE1 BE2.png|32px]] [[File:Warped Shelf JE1 BE2.png|32px]] Updated shelf block model to remove overlapping texture UVs, thus making the texture match {{ | |{{HistoryLine|||dev=Preview 1.21.110.24|[[File:Oak Shelf JE1 BE2.png|32px]] [[File:Spruce Shelf JE1 BE2.png|32px]] [[File:Birch Shelf JE1 BE2.png|32px]] [[File:Jungle Shelf JE1 BE2.png|32px]] [[File:Acacia Shelf JE1 BE2.png|32px]] [[File:Dark Oak Shelf JE1 BE2.png|32px]] [[File:Mangrove Shelf JE1 BE2.png|32px]] [[File:Cherry Shelf JE1 BE2.png|32px]] [[File:Pale Oak Shelf JE1 BE2.png|32px]] [[File:Bamboo Shelf JE1 BE2.png|32px]] [[File:Crimson Shelf JE1 BE2.png|32px]] [[File:Warped Shelf JE1 BE2.png|32px]] Updated shelf block model to remove overlapping texture UVs, thus making the texture match {{JE}}.}} | ||
|{{ | |{{HistoryLine|||dev=Preview 1.21.110.25|Shelves now produce the same particles as their [[Minecraft:stripped log]] counterparts when they break. | ||
|[[File:Oak Shelf with items JE3 BE3.png|32px]] Items in the shelf | |[[File:Oak Shelf with items JE3 BE3.png|32px]] Items in the shelf render in the middle of the shelf. | ||
|Shelved items now slightly float in front of the shelves, and shelved blocks were restored to their original sizes.}} | |Shelved items now slightly float in front of the shelves, and shelved blocks were restored to their original sizes.}} | ||
|{{ | |{{HistoryLine||1.21.120|dev=Preview 1.21.120.20 | ||
|Adding or removing redstone power to or from the shelf now emits vibrations. | |Adding or removing redstone power to or from the shelf now emits vibrations. | ||
|When a player places/removes/swaps an item on an unpowered shelf, a vibration of frequency 3 is emitted. | |When a player places/removes/swaps an item on an unpowered shelf, a vibration of frequency 3 is emitted. | ||
|When a player places/removes an item on a powered shelf, a vibration of frequency 3 is emitted. | |When a player places/removes an item on a powered shelf, a vibration of frequency 3 is emitted. | ||
|When a player swaps item with one on a powered shelf, a vibration of frequency 6 is emitted.}} | |When a player swaps item with one on a powered shelf, a vibration of frequency 6 is emitted.}} | ||
|{{HistoryLine|upcoming bedrock edition}} | |||
|{{HistoryLine||26.40|dev=Preview 26.40.27|exp=Drop 3 of 2026|[[File:Poplar Shelf.png|32px]] Added poplar shelves.}} | |||
}} | }} | ||
== Issues == | == Issues == | ||
{{ | {{issue list}} | ||
== Gallery == | == Gallery == | ||
| Line 634: | Line 648: | ||
=== Mojang screenshots === | === Mojang screenshots === | ||
<gallery> | <gallery> | ||
File:Copper Golem Statues and Shelf Blocks.jpg|Several shelf variations with copper golem | File:Copper Golem Statues and Shelf Blocks.jpg|Several shelf variations with [[Minecraft:copper golem statue]]s. | ||
File:Fall Drop 2025 Shelf Block.webp|Shelves with the copper chest and copper armor. | File:Fall Drop 2025 Shelf Block.webp|Shelves with the [[Minecraft:copper chest]] and [[Minecraft:copper armor]]. | ||
File:Fall Drop 2025 Shelf A.jpeg|Shelves with copper chest | File:Fall Drop 2025 Shelf A.jpeg|Shelves with copper chest | ||
File:Fall Drop 2025 Shelf B.jpeg|Shelves in the copper room. | File:Fall Drop 2025 Shelf B.jpeg|Shelves in the copper room. | ||
| Line 647: | Line 661: | ||
=== In other media === | === In other media === | ||
<gallery> | <gallery> | ||
File:Steve preparing for school.jpg|A shelf above Steve's bed on the first day of school. | File:Steve preparing for school.jpg|A shelf above [[Minecraft:Steve]]'s bed on the first day of school. | ||
File:The glorious stash.png|Shelves in {{ | File:The glorious stash.png|Shelves in {{AMCM}}. | ||
File:What my dog thinks.jpg | File:What my dog thinks.jpg | ||
</gallery> | </gallery> | ||
== See also == | == See also == | ||
*{{ | *{{ItemLink|Item Frame}} | ||
*{{ | *{{BlockLink|Bookshelf}} | ||
*{{ | *{{BlockLink|Chiseled Bookshelf}} | ||
== Navigation == | == Navigation == | ||
{{ | {{Navbox redstone|Components}} | ||
{{ | {{Navbox wood}} | ||
{{ | {{Navbox blocks|utility}} | ||
[[Category:Mechanisms]] | [[Category:Mechanisms]] | ||
| Line 668: | Line 682: | ||
[[Category:Readable by comparators]] | [[Category:Readable by comparators]] | ||
de:Regal | [[Minecraft:de:Regal]] | ||
es:Estante | [[Minecraft:es:Estante]] | ||
fr:Étagère | [[Minecraft:fr:Étagère]] | ||
it:Scaffale | [[Minecraft:it:Scaffale]] | ||
ja:棚 | [[Minecraft:ja:棚]] | ||
ko:선반 | [[Minecraft:ko:선반]] | ||
pl:Półka | [[Minecraft:lzh:櫥]] | ||
pt:Estante | [[Minecraft:pl:Półka]] | ||
ru:Полка | [[Minecraft:pt:Estante]] | ||
uk:Полиця | [[Minecraft:ru:Полка]] | ||
zh:展示架 | [[Minecraft:uk:Полиця]] | ||
[[Minecraft:zh:展示架]] | |||
Latest revision as of 11:12, 19 July 2026
Template:For Template:Infobox block A shelf is a Minecraft:block that can store and display up to three Minecraft:stacks of Minecraft:items. Template:Ctrl an item slot exchanges its contents with the Minecraft:player's Minecraft:hotbar. Powering a shelf combines its three slots together and makes using it swap everything at once.
Two or three adjacent shelves can merge their slots together if all are powered, which allows for swapping six or nine items at a time, respectively.
Obtaining
Breaking
Shelves can be broken by hand, but using an Minecraft:axe is the fastest. Template:Breaking row
Crafting
Usage
Template:IN, shelves cannot be moved by Minecraft:pistons.
Holding items
A shelf can store up to 3 Minecraft:item stacks. Each slot of the shelf can store a full stack of any stackable item, or just one of a non-stackable item. The number of items in the stack is not displayed. The shelf displays all items it contains in front of it, similar to an Minecraft:item frame. Interacting with any of the 3 slots swaps the player's main hand item with the content of that slot if it is not powered by redstone.
Redstone
While a shelf is powered by Minecraft:redstone, its front texture changes to show its powered state; when placed next to each other, up to three powered shelves can connect together. Powered shelves prioritize connecting to other shelves on the left.
Powered shelves can be used to quickly swap the contents of a player's Minecraft:hotbar, similar to the Minecraft:Saved HotbarsTemplate:Only function in Minecraft:Creative mode.
- Interacting with a single powered shelf swaps all its contents with the 3 rightmost slots in the hotbar.
- Interacting with two connected shelves swaps their contents with the 6 rightmost slots in the hotbar.
- Interacting with three connected shelves swaps their contents with all 9 slots of the hotbar.
It does not matter which of the connected shelves the player interacts with.
Template:In, the shelf activates only on the Input/Consume redstone tick (Minecraft:C-tick).
Comparators
Shelves can also act as power sources for Minecraft:redstone comparators depending on what slots contain an item.
- An item in the left slot emits a redstone power of 1.
- An item in the middle slot emits a redstone power of 2.
- An item in the right slot emits a redstone power of 4.
If multiple slots contain an item, the comparator outputs the total, up to a maximum power of 7 if all slots are filled.
Comparators only work when the back of the shelf is facing it.
Hoppers and droppers
Shelves can be filled automatically by using either Minecraft:hoppers or Minecraft:droppers. Hoppers can also remove items from a shelf when placed underneath.
Items from a shelf are added and removed from left to right and stack any stackable items into one slot until that slot is full.
Fuel
Overworld shelves can be used as a Minecraft:fuel in Minecraft:furnaces, smelting 1.5 items per shelf.
Nether shelves cannot be used as a Minecraft:fuel in Minecraft:furnaces.
Sounds
Generic
Template:Sound table/Block/Chiseled bookshelf
Despite shelves using the chiseled_bookshelf sound type for its generic sounds, Template:In, the following resource locations also exist: block.shelf.break, block.shelf.place, block.shelf.hit, block.shelf.fall, and block.shelf.step.
Unique
Data values
ID
Template:JE: Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table Template:ID table
Template:BE: Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table2 Template:ID table
Block states
Template:JE: Template:Bst Template:Bst Template:Bst Template:Bst
Template:BE: Template:Bst Template:Bst Template:Bst
Block data
Shelves have Minecraft:block entities associated with them that hold additional data about the Minecraft:block.
Template:JE: Template:See also
<section begin="block data" />
- Template:Nbt Block entity data
- Template:Nbt inherit/blockentity
- Template:Nbt: List of items in the shelf. Represents the Template:DCL component.
- Template:Nbt: An item, including the slot tag. The valid slot numbers are 0-2.
- Template:Nbt: 1 or 0 (Template:Cd) - if Template:Cd, items sit near the bottom of the shelf.
<section end="block data" />
History
Announcement
Java Edition
Bedrock Edition
Issues
Gallery
Textures
-
Oak shelf
-
Birch shelf
-
Spruce shelf
-
Jungle shelf
-
Acacia shelf
-
Dark Oak shelf
-
Mangrove shelf
-
Cherry shelf
-
Pale Oak shelf
-
Bamboo shelf
-
Crimson shelf
-
Warped shelf
Renders
Mojang screenshots
-
Several shelf variations with Minecraft:copper golem statues.
-
Shelves with the Minecraft:copper chest and Minecraft:copper armor.
-
Shelves with copper chest
-
Shelves in the copper room.
-
A shelf being used in a machine.
-
A wall covered in shelves.
-
Minecraft:Efe using mangrove shelves.
-
Birch, mangrove, cherry, and oak shelves.
-
Shelves in an Minecraft:NPC classroom
In other media
-
A shelf above Minecraft:Steve's bed on the first day of school.
-
Shelves in Template:AMCM.
See also
Template:Navbox redstone Template:Navbox wood Template:Navbox blocks
Minecraft:de:Regal Minecraft:es:Estante Minecraft:fr:Étagère Minecraft:it:Scaffale Minecraft:ja:棚 Minecraft:ko:선반 Minecraft:lzh:櫥 Minecraft:pl:Półka Minecraft:pt:Estante Minecraft:ru:Полка Minecraft:uk:Полиця Minecraft:zh:展示架