Expand description
Player inventory menu.
Slot layout (46 total):
- Slot 0: Crafting result
- Slots 1-4: 2x2 grid
- Slots 5-8: Armor (head, chest, legs, feet)
- Slots 9-35: Main inventory (27)
- Slots 36-44: Hotbar (9)
- Slot 45: Offhand
Structs§
- Inventory
Kind - Per-menu player-inventory state: recipe handler, result container, and the section handles for its custom shift-click.
Constants§
- INVENTORY_
MENU_ CONTAINER_ ID - Container ID for the player inventory (always 0).
Functions§
- inventory_
menu - Builds the player inventory menu, always open when no other menu is.