Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Minecraft:Shelf: Difference between revisions

From SAS Gaming Wiki
imported>NmF
 
SyncBot (talk | contribs)
Remove broken links to missing pages
Line 76: Line 76:
}}
}}
}}
}}
A '''shelf''' is a [[Minecraft:block]] that can store and display up to three [[Minecraft:stack]]s of [[Minecraft:item]]s. A shelf can be {{ctrl|used}} to swap its slots with the slots in the [[Minecraft:player]]'s [[Minecraft:hotbar]]. It swaps 1 slot normally, and 3 slots at a time when [[Minecraft:powered]] with redstone.
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 [[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.
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 [[Minecraft:hotbar]], similar to the [[Minecraft:Saved Hotbars]]{{only|je|short=1}} function in [[Minecraft:Creative]] mode.
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 ([[Minecraft:C-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 [[Minecraft:redstone comparator]]s depending on what slots contain an item.
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 [[Minecraft:fuel]] in [[Minecraft:furnace]]s, smelting 1.5 items per shelf.
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 [[Minecraft:fuel]] in [[Minecraft:furnace]]s.
Nether shelves cannot be used as a fuel in [[Minecraft:furnace]]s.


=== Note blocks ===
=== Note blocks ===
Shelves can be placed under [[Minecraft:note block]]s to produce "bass" sounds.
Shelves can be placed under note blocks to produce "bass" sounds.


== Sounds ==
== Sounds ==
Line 450: Line 450:


=== Block data ===
=== Block data ===
Shelves have [[Minecraft:block entities]] associated with them that hold additional data about the [[Minecraft:block]].
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 [[Minecraft:item frame]]s.}}
|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}} [[Minecraft:block state]] property, by default set to false, to display items at the bottom of the shelf rather than in the middle.}}
|[[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 [[Minecraft:waterlogged]].
|Shelves can now be waterlogged.
|A [[Minecraft:redstone comparator]] adjacent to a shelf now outputs a signal indicating which slots of the shelf contain items.
|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 [[Minecraft:Creative]] now replaces the shelf item with the player's selected item instead of swapping them.}}
|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 [[Minecraft:stripped log]] counterparts when they break.
|{{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 [[Minecraft:copper golem statue]]s.
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 [[Minecraft:copper chest]] and [[Minecraft:copper armor]].
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 [[Minecraft:Steve]]'s bed on the first day of school.
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]]


[[Minecraft:de:Regal]]
de:Regal
[[Minecraft:es:Estante]]
es:Estante
[[Minecraft:fr:Étagère]]
fr:Étagère
[[Minecraft:it:Scaffale]]
it:Scaffale
[[Minecraft:ja:棚]]
ja:棚
[[Minecraft:ko:선반]]
ko:선반
[[Minecraft:pl:Półka]]
pl:Półka
[[Minecraft:pt:Estante]]
pt:Estante
[[Minecraft:ru:Полка]]
ru:Полка
[[Minecraft:uk:Полиця]]
uk:Полиця
[[Minecraft:zh:展示架]]
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

Template:Crafting

Usage

File:Shelf demonstration.png
Oak, spruce, and pale oak shelves holding various items. Three pale oak shelves have received a redstone signal.

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

Two in-game screenshots: the top screenshot taken before and the bottom screenshot taken after. In the before picture, five shelves are placed next to each other in a row, the two shelves on either end are powered and connected, and the shelf in the middle is unpowered. The after picture is identical, except the middle shelf is powered, connecting to the two shelves on the left.
Powered shelves connect with shelves on the left first.

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

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 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

Template:JE: Template:SoundTable

Template:BE: Template:SoundTable

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:See also

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"/>

<section end="block data"/>

Template:BE:

See Minecraft:Bedrock Edition level format/Block entity format.

History

Java Edition

Template:HistoryTable

Bedrock Edition

Template:HistoryTable

Issues

Template:Issue list

Gallery

Textures

Renders

Template:Collapse

Mojang screenshots

In other media

See also

Navigation

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:展示架