Inventory GUI
Inventory GUI (Chest UI) is the classic menu presentation utilizing Minecraft's chest and double chest container screens.
By default in EasyMenu 7, all menus render as inventory GUIs unless explicitly configured otherwise.
Basic Configuration
# Menu title
menu-title: "&6&lChest Shop"
# Inventory size (9, 18, 27, 36, 45, 54)
menu-size: 27
# Background filler item
menu-background-item: "GRAY_STAINED_GLASS_PANE"
menu-items:
- slot: 13
material: EMERALD
name: "&aPurchase"
command: "shop buy"
Slot Layout Grid
Slots are organized in rows of 9 columns:
0 1 2 3 4 5 6 7 8 (Row 1)
9 10 11 12 13 14 15 16 17 (Row 2)
18 19 20 21 22 23 24 25 26 (Row 3: Last row for size 27)
27 28 29 30 31 32 33 34 35 (Row 4: Last row for size 36)
36 37 38 39 40 41 42 43 44 (Row 5: Last row for size 45)
45 46 47 48 49 50 51 52 53 (Row 6: Last row for size 54)
You can use zero-indexed slot: 13 or one-indexed coordinates location: "5,2".
Explicit Inventory Presentation
You can configure inventory-specific layout hints in the presentation section:
presentation:
mode: inventory
inventory:
size: 54
background: "BLACK_STAINED_GLASS_PANE"