Minecraft:Shelf: Difference between revisions
More actions
imported>NmF Undo revision 3500150 by ~2026-TraderNautilusPumpkin5565 (talk) |
Sync: updated from Minecraft |
||
| (14 intermediate revisions by the same user not shown) | |||
| 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 61: | Line 65: | ||
*{{BlockSprite|Crimson Shelf}} {{BlockSprite|Warped Shelf}} No | *{{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 [[Minecraft:stack]]s of [[Minecraft:item]]s. | 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 == | ||
| 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 only | {{in|be}}, the shelf activates only on the Input/Consume redstone tick ([[Minecraft:C-tick]]). | ||
==== Comparators ==== | ==== Comparators ==== | ||
| Line 119: | Line 125: | ||
Shelves can also act as power sources for [[Minecraft:redstone comparator]]s depending on what slots contain an item. | 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 === | ||
| Line 134: | Line 142: | ||
Nether shelves cannot be used as a [[Minecraft:fuel]] in [[Minecraft:furnace]]s. | Nether shelves cannot be used as a [[Minecraft:fuel]] in [[Minecraft:furnace]]s. | ||
== Sounds == | == Sounds == | ||
| Line 454: | Line 459: | ||
{{JE}}: | {{JE}}: | ||
{{see also|Block entity format}} | {{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|compound}} Block entity data | ||
** {{nbt inherit/blockentity}} | ** {{nbt inherit/blockentity}} | ||
| Line 461: | Line 466: | ||
**** {{nbt inherit/item|indent=****}} | **** {{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. | ** {{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}}: | {{BE}}: | ||
| Line 467: | Line 472: | ||
== 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 | ||
| Line 482: | Line 492: | ||
|{{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.}} | ||
|{{HistoryLine|||dev=25w36a|Powered shelves can now only | |{{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.}} | |||
}} | }} | ||
| Line 502: | Line 514: | ||
|{{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 [[Minecraft:stripped log]] counterparts when they break. | |{{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 | |{{HistoryLine||1.21.120|dev=Preview 1.21.120.20 | ||
| Line 509: | Line 521: | ||
|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.}} | |||
}} | }} | ||
| Line 674: | Line 688: | ||
[[Minecraft:ja:棚]] | [[Minecraft:ja:棚]] | ||
[[Minecraft:ko:선반]] | [[Minecraft:ko:선반]] | ||
[[Minecraft:lzh:櫥]] | |||
[[Minecraft:pl:Półka]] | [[Minecraft:pl:Półka]] | ||
[[Minecraft:pt:Estante]] | [[Minecraft:pt:Estante]] | ||
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:展示架