Expand description
Vanilla menu kind implementations.
ModulesΒ§
- anvil_
menu π - Anvil menu.
- basic_
menu π - beacon_
menu π - Beacon menu.
- chest_
menu π - Chest menu for chest-like containers (chests, barrels, ender chests, shulker boxes).
- crafting_
menu π - Crafting table menu (3x3 grid).
- ender_
chest_ πmenu - Ender chest menu.
- furnace_
menu π - Furnace, blast-furnace, and smoker menus.
- grindstone_
menu π - Grindstone menu.
- inventory_
menu π - Player inventory menu.
- shulker_
box_ πmenu - Shulker box menu.
StructsΒ§
- Anvil
Kind - Per-menu anvil state: inputs, result, level cost, and rename text.
- Basic
Kind - A menu kind with all-default handling and no special behavior.
- Beacon
Kind - Per-menu beacon state.
- Chest
Kind - Per-menu chest state: just the backing container for the validity check.
- Crafting
Kind - Per-menu crafting state: result container, table position, and recipe handler.
- Ender
Chest Kind - Per-menu ender chest state: the playerβs container, which knows which block entity the menu was opened from.
- Furnace
Menu Kind - State and shift-click behavior shared by all furnace-family menus.
- Grindstone
Kind - Per-menu grindstone state: the two inputs and the virtual result.
- Inventory
Kind - Per-menu player-inventory state: recipe handler, result container, and the section handles for its custom shift-click.
- Shulker
BoxKind - Per-menu shulker box state: just the backing container for the validity check.
ConstantsΒ§
- INVENTORY_
MENU_ CONTAINER_ ID - Container ID for the player inventory (always 0).
FunctionsΒ§
- anvil
- Builds the anvil menu.
- beacon
- Builds the beacon menu.
- chest
- Builds a chest-like menu with
rowsrows of 9 slots plus the player inventory. - crafting
- Builds the crafting table menu with a 3x3 grid.
- ender_
chest - Builds the menu over a playerβs ender chest container.
- furnace_
menu - Builds the three-slot Vanilla menu for one furnace-family block entity.
- grindstone
- Builds the grindstone menu.
- inventory_
menu - Builds the player inventory menu, always open when no other menu is.
- shulker_
box - Builds a shulker box menu with 3 rows of 9 slots plus the player inventory.