Open Machine GUI
The open_machine_gui entry binds GUI settings to a machine_definition. The menu itself is opened by the machine event listener when a player right-clicks the placed machine.
| Field | Default | Description |
|---|---|---|
machine | empty | The machine_definition this GUI belongs to. |
title | "" | Inventory window title (MiniMessage). |
guiSize | auto | Inventory size override (defaults to 6 rows). |
reuseInstance | true | Reuse the existing instance at the location instead of creating one per open. |
criteria / modifiers / triggers | [] | Standard triggerable fields. |
Example
open_machine_gui:
id: open_electric_furnace
name: "Electric Furnace"
machine: electric_furnace_def
title: "<gold>Electric Furnace</gold>"
gui_size: SIZE_54