Minecraft:Shelf: Difference between revisions
More actions
imported>NmF Undo revision 3500150 by ~2026-TraderNautilusPumpkin5565 (talk) |
Fix template calls: add MC/ prefix |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{For}} | {{MC/For}} | ||
{{Infobox block | {{Infobox block | ||
| group = Oak | | group = Oak | ||
| Line 56: | Line 56: | ||
| renewable = Yes | | renewable = Yes | ||
| stackable = Yes (64) | | stackable = Yes (64) | ||
| flammable = *{{ | | flammable = *{{MC/Blocksprite|Oak Shelf}} {{MC/Blocksprite|Spruce Shelf}} {{MC/Blocksprite|Birch Shelf}} {{MC/Blocksprite|Jungle Shelf}} {{MC/Blocksprite|Acacia Shelf}} {{MC/Blocksprite|Dark Oak Shelf}} {{MC/Blocksprite|Mangrove Shelf}} {{MC/Blocksprite|Cherry Shelf}} {{MC/Blocksprite|Pale Oak Shelf}} {{MC/Blocksprite|Bamboo Shelf}} Yes (30) | ||
*{{ | *{{MC/Blocksprite|Crimson Shelf}} {{MC/Blocksprite|Warped Shelf}} No | ||
| lavasusceptible = *{{ | | lavasusceptible = *{{MC/Blocksprite|Oak Shelf}} {{MC/Blocksprite|Spruce Shelf}} {{MC/Blocksprite|Birch Shelf}} {{MC/Blocksprite|Jungle Shelf}} {{MC/Blocksprite|Acacia Shelf}} {{MC/Blocksprite|Dark Oak Shelf}} {{MC/Blocksprite|Mangrove Shelf}} {{MC/Blocksprite|Cherry Shelf}} {{MC/Blocksprite|Pale Oak Shelf}} {{MC/Blocksprite|Bamboo Shelf}} Yes | ||
*{{ | *{{MC/Blocksprite|Crimson Shelf}} {{MC/Blocksprite|Warped Shelf}} No | ||
| waterloggable = Yes | | waterloggable = Yes | ||
|mapcolor={{Collapse|title=Varies|content= | |mapcolor={{Collapse|title=Varies|content= | ||
| Line 76: | Line 76: | ||
}} | }} | ||
}} | }} | ||
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 stacks of [[Minecraft:item]]s. A shelf can be {{ctrl|used}} to swap its slots with the slots in the player's hotbar. It swaps 1 slot normally, and 3 slots at a time when powered with redstone. | ||
== 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. | ||
{{ | {{MC/Breaking row|horizontal=1|Shelf|link=none|Axe}} | ||
=== Crafting === | === Crafting === | ||
| Line 97: | Line 97: | ||
== 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.]] | ||
{{ | {{MC/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 | 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. | ||
=== Redstone === | === Redstone === | ||
| Line 106: | Line 106: | ||
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 | 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. | ||
*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 113: | ||
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. | ||
{{ | {{MC/In|be}}, the shelf only activates on the Input/Consume redstone tick (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 | Shelves can also act as power sources for redstone comparators depending on what slots contain an item. | ||
* An item in the left slot will emit a redstone power of 1. | * An item in the left slot will emit a redstone power of 1. | ||
| Line 131: | Line 131: | ||
=== Fuel === | === Fuel === | ||
Overworld shelves can be used as a | Overworld shelves can be used as a fuel in [[Minecraft:furnace]]s, smelting 1.5 items per shelf. | ||
Nether shelves cannot be used as a | Nether shelves cannot be used as a fuel in [[Minecraft:furnace]]s. | ||
=== Note blocks === | === Note blocks === | ||
Shelves can be placed under | Shelves can be placed under note blocks to produce "bass" sounds. | ||
== Sounds == | == Sounds == | ||
=== Generic === | === Generic === | ||
{{Sound table/Block/Chiseled bookshelf}} | {{MC/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, {{MC/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}}: | {{MC/JE}}: | ||
{{SoundTable | {{SoundTable | ||
|type=java | |type=java | ||
| Line 217: | Line 217: | ||
}} | }} | ||
{{BE}}: | {{MC/BE}}: | ||
{{SoundTable | {{SoundTable | ||
|type=bedrock | |type=bedrock | ||
| Line 276: | Line 276: | ||
== Data values == | == Data values == | ||
=== ID === | === ID === | ||
{{JE}}: | {{MC/JE}}: | ||
{{ID table | {{ID table | ||
|edition=java | |edition=java | ||
| Line 349: | Line 349: | ||
|foot=1}} | |foot=1}} | ||
{{BE}}: | {{MC/BE}}: | ||
{{ID table2 | {{ID table2 | ||
|edition=bedrock | |edition=bedrock | ||
| Line 436: | Line 436: | ||
=== Block states === | === Block states === | ||
{{ | {{MC/See also|Block states}} | ||
{{JE}}: | {{MC/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.{{MC/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}}: | {{MC/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|{{MC/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 | Shelves have block entities associated with them that hold additional data about the [[Minecraft:block]]. | ||
{{JE}}: | {{MC/JE}}: | ||
{{ | {{MC/See also|Block entity format}} | ||
<section begin="block data"/><div class="treeview"> | <section begin="block data"/><div class="treeview"> | ||
* {{ | * {{MC/Nbt|compound}} Block entity data | ||
** {{ | ** {{MC/Nbt inherit/blockentity}} | ||
** {{ | ** {{MC/Nbt|list|Items}}: List of items in the shelf. Represents the {{DCL|minecraft:container}} component. | ||
*** {{ | *** {{MC/Nbt|compound}}: An item, including the slot tag. The valid slot numbers are 0-2. | ||
**** {{ | **** {{MC/Nbt inherit/item|indent=****}} | ||
** {{ | ** {{MC/Nbt|bool|align_items_to_bottom}}: 1 or 0 ({{MC/Cd|true|false|d=/}}) - if {{MC/Cd|true}}, items sit near the bottom of the shelf. | ||
</div><section end="block data"/> | </div><section end="block data"/> | ||
{{BE}}: | {{MC/BE}}: | ||
: See [[Minecraft:Bedrock Edition level format/Block entity format]]. | : See [[Minecraft:Bedrock Edition level format/Block entity format]]. | ||
| Line 469: | Line 469: | ||
=== ''Java Edition'' === | === ''Java Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|java}} | |{{MC/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. | |{{MC/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 | |Shelved items and blocks use the same model display settings as item frames.}} | ||
|{{HistoryLine|||dev=25w32a | |{{MC/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 479: | ||
|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 {{MC/Code|align_items_to_bottom}} 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 {{MC/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 only connect to other powered shelves facing the exact same direction.}} | |{{MC/HistoryLine|||dev=25w36a|Powered shelves can now only connect to other powered shelves facing the exact same direction.}} | ||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
{{HistoryTable | {{HistoryTable | ||
|{{HistoryLine|bedrock}} | |{{MC/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. | |{{MC/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 | |{{MC/HistoryLine|||dev=Preview 1.21.110.22 | ||
|Shelves can now be | |Shelves can now be waterlogged. | ||
|A | |A 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 | |{{MC/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 | |Interacting with an unpowered shelf while in 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 {{JE}}.}} | |{{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 {{MC/JE}}.}} | ||
|{{HistoryLine|||dev=Preview 1.21.110.25|Shelves now produce the same particles as their | |{{MC/HistoryLine|||dev=Preview 1.21.110.25|Shelves now produce the same particles as their stripped log counterparts when they break. | ||
|[[File:Oak Shelf with items JE3 BE3.png|32px]] Items in the shelf will render in the middle of the shelf. | |[[File:Oak Shelf with items JE3 BE3.png|32px]] Items in the shelf will 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 | |{{MC/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. | ||
| Line 512: | Line 512: | ||
== Issues == | == Issues == | ||
{{ | {{MC/Issue list}} | ||
== Gallery == | == Gallery == | ||
| Line 634: | Line 634: | ||
=== Mojang screenshots === | === Mojang screenshots === | ||
<gallery> | <gallery> | ||
File:Copper Golem Statues and Shelf Blocks.jpg|Several shelf variations with | File:Copper Golem Statues and Shelf Blocks.jpg|Several shelf variations with copper golem statues. | ||
File:Fall Drop 2025 Shelf Block.webp|Shelves with the | File:Fall Drop 2025 Shelf Block.webp|Shelves with the copper chest and 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 647: | ||
=== In other media === | === In other media === | ||
<gallery> | <gallery> | ||
File:Steve preparing for school.jpg|A shelf above | File:Steve preparing for school.jpg|A shelf above Steve's bed on the first day of school. | ||
File:The glorious stash.png|Shelves in {{ | File:The glorious stash.png|Shelves in {{MC/Amcm}}. | ||
File:What my dog thinks.jpg | File:What my dog thinks.jpg | ||
</gallery> | </gallery> | ||
== See also == | == See also == | ||
*{{ | *{{MC/Itemlink|Item Frame}} | ||
*{{ | *{{MC/Blocklink|Bookshelf}} | ||
*{{ | *{{MC/Blocklink|Chiseled Bookshelf}} | ||
== Navigation == | == Navigation == | ||
{{Navbox redstone|Components}} | {{MC/Navbox redstone|Components}} | ||
{{Navbox wood}} | {{MC/Navbox wood}} | ||
{{Navbox blocks|utility}} | {{MC/Navbox blocks|utility}} | ||
[[Category:Mechanisms]] | [[Category:Mechanisms]] | ||
| Line 668: | Line 668: | ||
[[Category:Readable by comparators]] | [[Category:Readable by comparators]] | ||
de:Regal | |||
es:Estante | |||
fr:Étagère | |||
it:Scaffale | |||
ja:棚 | |||
ko:선반 | |||
pl:Półka | |||
pt:Estante | |||
ru:Полка | |||
uk:Полиця | |||
zh:展示架 | |||
Latest revision as of 20:55, 9 April 2026
Template:Hatnote Template:Infobox block A shelf is a Minecraft:block that can store and display up to three stacks of Minecraft:items. A shelf can be Template:Ctrl to swap its slots with the slots in the player's hotbar. It swaps 1 slot normally, and 3 slots at a time when powered with redstone.
Obtaining
Breaking
Shelves can be broken by hand, but using an Minecraft:axe is the fastest. Script error: No such module "breaking row".
Crafting
Usage
in Template:Editions, 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 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 hotbar, similar to the Saved HotbarsTemplate:Only function in 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.
in Template:Editions, the shelf only activates on the Input/Consume redstone tick (C-tick).
Comparators
Shelves can also act as power sources for redstone comparators depending on what slots contain an item.
- An item in the left slot will emit a redstone power of 1.
- An item in the middle slot will emit a redstone power of 2.
- An item in the right slot will emit a redstone power of 4.
If multiple slots contain an item, the comparator will output the total, up to a maximum power of 7 if all slots are filled.
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 will stack stackable items into one slot until that slot is full.
Fuel
Overworld shelves can be used as a fuel in Minecraft:furnaces, smelting 1.5 items per shelf.
Nether shelves cannot be used as a fuel in Minecraft:furnaces.
Note blocks
Shelves can be placed under note blocks to produce "bass" sounds.
Sounds
Generic
Template:Edition: Template:Sound table/Block/Chiseled bookshelf/JE
Template:Edition: Template:Sound table/Block/Chiseled bookshelf/BE
Despite shelves using the chiseled_bookshelf sound type for its generic sounds, in Template:Editions, 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
Java Edition: 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
Bedrock Edition: 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
{{#vardefine:params|0 }}Template:Hatnote
Java Edition: Template:Bst Template:Bst Template:Bst Template:Bst
Bedrock Edition: Template:Bst Template:Bst Template:Bst
Block data
Shelves have block entities associated with them that hold additional data about the Minecraft:block.
Java Edition: {{#vardefine:params|0 }}Template:Hatnote
<section begin="block data"/>
- Template:Nbt/sprite Block entity data
- Template:Nbt inherit
- Template:Nbt/sprite Items: List of items in the shelf. Represents the Template:DCL component.
- Template:Nbt/sprite: An item, including the slot tag. The valid slot numbers are 0-2.
- Template:Nbt/sprite align_items_to_bottom: 1 or 0 (
- REDIRECT Template:Code
Template:Redr) - if
- REDIRECT Template:Code
Template:Redr, items sit near the bottom of the shelf.
<section end="block data"/>
History
Java Edition
Bedrock Edition
Issues
Script error: No such module "Issue list".
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 copper golem statues.
-
Shelves with the copper chest and 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 Steve's bed on the first day of school.
-
Shelves in
- REDIRECT Template:AMCM
See also
- REDIRECT Template:ItemLink
- redirect Template:blockLink
- redirect Template:blockLink
| |||||||
|
| |||||||
| Features | |
|---|---|
| Sources | |
| Building blocks | |
| Functional blocks | |
| Tools | |
| Weapons | |
| Vehicles | |
| Mobs | |
| Wood types |
Template:Article otherTemplate:Article other
de:Regal es:Estante fr:Étagère it:Scaffale ja:棚 ko:선반 pl:Półka pt:Estante ru:Полка uk:Полиця zh:展示架