Inventory

The inventory is the pop-up menu that the player uses to manage items they carry. From this screen a player can equip armor, craft items on a 2×2 grid, and equip tools, blocks and items. The player's skin is also displayed here.

Overview
The inventory is opened and closed by pressing the key ( on the Xbox 360 & Xbox One,  on the PlayStation,  on the Wii U & Nintendo Switch, and ••• in Pocket Edition). This key can be changed from the in-game options menu. The inventory can also be closed with the key.

Inventory is saved upon exiting a world or server, so the player will have exactly the same items upon entering the world or server as they did when they last left.

Slots
The inventory consists of 4 armor slots, 27 storage slots, 9 hotbar slots, and an off-hand slot. Items in the hotbar slots can be selected during play using the keyboard (keys –) or mousewheel, and placed or wielded with the mouse buttons.

Most items can stack up to a maximum of 64 in one slot. Some items cannot stack, notably tools (with the exception of clocks and compasses), armor, and potions. Certain items, such as snowballs, empty buckets, eggs, signs and ender pearls can only stack up to 16.

In Survival or Adventure mode, there is also a 2×2 crafting grid, which allows any recipe which fits to be crafted, but does not offer item storage.

Armor is only considered equipped when it is in an armor slot; when in any of the regular inventory slots, it is not considered "worn" and does not offer protection. Held armor can be equipped by it, provided there is not currently armor in the corresponding slot.

Items have tooltips if the cursor is hovered over them, displaying their name, enchantments, lore, and some item specific information such as the version of a written book. Pressing will cause items to display additional information, such as their ID, data values, and some item specific information.

Pressing on a block with an inventory, such as a chest, crafting table or a furnace will open up its GUI and allow items to be transferred between the 27 main slots, the 9 hotbar slots, and the block's GUI.

"mainhand", "offhand", "head", "chest", "legs", and "feet" are the only available slots for setting attributes.

Recipe Book
The recipe book is a mechanic in Minecraft that serves as a catalog of recipes and as a crafting guide. It shows every crafting recipe that the player has had materials for.

Crafting recipes are organized in several different categories, as follows:
 * The first, topmost tab contains every unlocked recipe.
 * The second tab contains tools, weapons, and armor.
 * The third tab contains building materials.
 * The fourth tab contains food miscellaneous items.
 * The fifth tab contains redstone materials.

Managing inventory
Stacks can be grabbed by pressing left click on the stack, and split by pressing right click. If the stack is an odd quantity, then it will leave the smaller half (for example, a stack of 7 will leave 3 items in the slot and grab 4). Conversely, while holding a stack in the inventory, left click will place the full stack in the slot, and right click will place just one item. Double clicking an item will grab up to a full stack from all the items within the inventory.

Holding and clicking on the item will send the item from your hotbar to the main 27 slots, or vice versa. Doing so while a block's inventory (chest, dispenser, etc.) is open will send the item stack immediately from your inventory into the block that you have open or vice versa. Holding and double clicking a stack will move all items of that kind between your inventory and the block, or your inventory and your hotbar, however the player's cursor must already be holding an item for this to work. The item held is irrelevant.

Pressing – will switch the item hovered over with the cursor with the item in that slot of the hotbar, or move the item from one to the other if either slot is empty.

Dragging items around with the left mouse button will equally divide the stack over the dragged-over slots, while dragging item stacks around with the right mouse button will place one of that stack in each dragged-over slot, in both cases only if the slot is empty or contains the same item being dragged.

In Creative mode, middle clicking an item will grab a full stack of the item while leaving the item in the slot, and dragging items with the middle mouse button will place a full stack of the item in each dragged-over slot.

Pressing + in Creative mode will save the current toolbar in the Saved Toolbars tab. It can be loaded with +.

Pressing while the mouse is hovering over an item in the inventory or a container will drop one item. Holding and pressing  while hovering over a slot in the inventory or container that has one or more items, will consequently drop the entire stack of items. While venturing without the full inventory open, the same can be applied for the selected item(s) from the hotbar. Items can also be dropped into the world by clicking outside the inventory window while holding item with your cursor.

Creative inventory
In Creative mode, the inventory contains most of the blocks and items from Survival mode (with some exceptions, like dragon eggs or command blocks), and a few more (such as spawn eggs, or fireworks). The player can pick up blocks from here to use endlessly.

Java edition


A single item can be grabbed using left click, and will increase with continued left clicks on that item. Left or right clicking with an item or stack of items while hovering over any item other that the one held will get rid of the held item. Right clicking and item will also pick up one item, but the second click will then put it back down as opposed to picking up more. Shift-clicking an item will grab a full stack. Pressing a number key while hovering over an item will instantly place one full stack of that item into the hotbar slot that corresponds with the number.

The Creative inventory screen is sorted into 10 sections: Building Blocks, Decoration Blocks, Redstone, Transportation, Miscellaneous, Foodstuffs, Tools, Combat and Brewing There is also a search box (compass icon), saved toolbars (bookshelf icon), and Survival inventory tab (chest icon).

Using the search tab, one can access enchanted books of any levels, whereas only books of the maximum levels can be found in the Tools and Combat sections.

Bedrock Edition


A stack of items from the Creative inventory can be sent to the active hotbar slot by tapping on that item.

The Creative inventory screen in BE is sorted into 4 sections, not named, but corresponding roughly to the following categories: materials, tools and weapons, decoration blocks and building blocks. These 4 tabs appear along the right-hand side of the inventory, or along the top in Windows 10 Edition. The Creative inventory screen also includes the usual armor, crafting and Survival inventory tabs along the left, or along the bottom in Windows 10 Edition. The Recipe Book is also added after the Better Together Update for Bedrock Edition released on September 20, 2017.

External inventories
Many blocks and some non-player entities have their own inventory-like windows that pop up to allow manipulation of items. Note: despite the fact that ender chest, crafting table, beacon, anvil, enchanting table and villager inventories are actually internal behind the scenes, they are listed here as external because they require clicking on something external.

Mob inventory
Certain mobs have inventory slots, used for various purposes.
 * Villagers have 8 slots, not accessible to the player, which they use to collect various farming-related seeds and foods.
 * Agents have 27 slots which are accessible to the player by a GUI, and which can be accessed by the agent according to its programming.
 * Donkeys and Mules, when equipped with a chest, have 15 inventory slots accessible to the player.
 * Llamas, when equipped with a chest, have 3, 6, 9, 12 or 15 inventory slots, according to their  stat.

Trivia

 * If the inventory is open when the player dies, the avatar will fall over and have a red tinge.
 * When sleeping or riding a pig, horse, boat or minecart and the inventory screen is accessed, the avatar will be shown in the respective position. However, only the player will be displayed.
 * In the Item Selection screen, some items and blocks are missing, such as huge mushroom blocks, dragon eggs and mob spawners.
 * The avatar will always look at the mouse cursor while in inventory.
 * The Search Items tab's compass icon acts just like a normal compass, and spins wildly in the Nether and End dimensions.