跳到主要内容

Machine Menu

The machine_menu entry renders an OmniGUI layout whose buttons are resolved against machine state (progress, energy, slots) through the machine button resolver. Use it for custom control panels; the default machine menu is provided by open_machine_gui.

FieldDefaultDescription
inventoryTitle<dark_gray>Machine MenuMenu title (MiniMessage + placeholders).
inventoryRows6Rows (1–6).
guiTypeCUSTOMOmniGUI inventory type.
layoutPool[]Pool of OmniGUI layout definitions; items with a buttonType are resolved dynamically.
mainLayoutIdWhich layout from the pool to open.
audioOpen/close/scroll/click sounds.
criteria / modifiers / triggers[]Standard triggerable fields.