The item held is irrelevant.
Double chests and double trapped chests are treated as two single container blocks.
Slot range Description 0-1 input items 2 result 329 main inventory 3038 hotbar Beacon Beacon slots The window that appears when a beacon is right-clicked.Villagers have 8 slots, lotto vindertal ugens lottotal her not accessible to the player, which they use to collect various farming-related seeds and foods.Held armor can be equipped by right-clicking.Java Edition.2.4 The body parts drawings have now been reintroduced in the armor pieces.Enchantment Table Enchantment table slots The inventory of an enchantment table.In vanilla, using /setblock four times around a chest and then opening the middle chest will open a window with 5*27 chest slots.Added the survival inventory tab.
0.16.0 build 1 Added the search tab to the creative inventory ( Windows 10 only).
Each window type is described in the following sections.
The recipe book is also present.Crafting table Crafting table slots This is the window that is opened when the player right-clicks on a workbench.The player can pick up blocks from here to use endlessly.Slot range Description 0 item to enchant 1 lapis lazuli slot 228 main inventory 2937 hotbar Brewing stand Brewing stand slots The GUI that appears when a brewing stand is opened.Examples To replace the items in the bottom-right slot of a single chest one block above with four spruce saplings: replaceitem block 1 container.26 minecraft:sapling 4 1 To replace the items in the rightmost hotbar slot of the nearest player with four spruce saplings: replaceitem.It shows every crafting recipe that the player has had materials for.August 25, 2009 Showed the currently selected block in the player's hotbar will now shows up in view.The orientation of many items in the inventory have now been unified.Slot range Description 0 crafting output 19 33 crafting input (1 x 3 * y) 1036 main inventory 3745 hotbar If the "Number Of Slots" parameter is not set to 0, the opened window will behave like a container window.Java Edition edit Creative mode item selection screen (opened to the search tab) A single item can be grabbed using left click, and will increase with continued left clicks on that item.History edit Java Edition Classic.0.20a The player 's inventory can now be accessed by pressing.Added the survival inventory.The inventory texture in the survival inventory has now been changed from a brick to a chest.Certain items, such as snowballs, empty buckets, eggs, signs, banners, and ender pearls can only stack up.Chests, dispensers, droppers, hoppers, and trapped chests are numbered 0 for the top-left slot and then increase first horizontally, then vertically (so, for example, a chest's top row slots are numbered 0 to 8 from left to right).

Slot range Description 0 ingredient 1 fuel 2 output 329 main inventory 3038 hotbar If the "Number Of Slots" parameter is inferior to 3, placing an item in a slot may crash the client.
Using -1 as slot index and as window id will set the cursor item (the stack dragged with the mouse).