Expand description
Chest menu for chest-like containers (chests, barrels, ender chests, shulker boxes).
1-6 rows of 9 slots. Layout:
- Slots 0 to
rows * 9 - 1: Container - Slots
rows * 9torows * 9 + 26: Main inventory (27) - Slots
rows * 9 + 27torows * 9 + 35: Hotbar (9)
Structs§
- Chest
Kind - Per-menu chest state: just the backing container for the validity check.
Functions§
- chest
- Builds a chest-like menu with
rowsrows of 9 slots plus the player inventory. - menu_
type_ for_ rows - Menu type for a chest of
rowsrows.