Minecraft:Shelf: Difference between revisions
More actions
imported>NmF Undo revision 3500150 by ~2026-TraderNautilusPumpkin5565 (talk) |
Remove broken links to missing pages |
||
| 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 == | ||
| Line 100: | Line 100: | ||
=== 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. | ||
{{in|be}}, the shelf only activates on the Input/Consume redstone tick ( | {{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 == | ||
| Line 450: | Line 450: | ||
=== Block data === | === Block data === | ||
Shelves have | Shelves have block entities associated with them that hold additional data about the [[Minecraft:block]]. | ||
{{JE}}: | {{JE}}: | ||
| Line 472: | Line 472: | ||
|{{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. | |{{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 | |{{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.}} | ||
| 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 {{code|align_items_to_bottom}} | |[[File:Oak Shelf with items JE3 (align items to bottom).png|32px]] Added the {{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 {{code|align_items_to_bottom}} block state has been replaced by an equivalent boolean field for the block entity itself.}} | |The {{code|align_items_to_bottom}} block state has been replaced by an equivalent boolean field for the block entity itself.}} | ||
| Line 492: | Line 492: | ||
|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 | |{{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.}} | ||
| Line 499: | Line 499: | ||
|[[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 {{JE}}.}} | ||
|{{HistoryLine|||dev=Preview 1.21.110.25|Shelves now produce the same particles as their | |{{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.}} | ||
| 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 {{AMCM}}. | File:The glorious stash.png|Shelves in {{AMCM}}. | ||
File:What my dog thinks.jpg | File:What my dog thinks.jpg | ||
| 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:展示架 | |||
Revision as of 16:03, 9 April 2026
Template:For 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. 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 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.
Template:In, 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: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 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
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 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 Template:AMCM.
See also
Template:Navbox redstone Template:Navbox wood Template:Navbox blocks
de:Regal es:Estante fr:Étagère it:Scaffale ja:棚 ko:선반 pl:Półka pt:Estante ru:Полка uk:Полиця zh:展示架