Confirmation makes minecraft:confirmation Confirmation(title, yes, no, external_title?, body?, inputs?, can_close_with_escape?, after_action?)
title Text yes Button no Button This action is also used for ESC-triggered exit.
external_titleoptional Text Name to be used for a button leading to this dialog.
If not present, title will be used instead.
bodyoptional DialogBody | list of DialogBody inputsoptional list of InputControl can_close_with_escapeoptional bool Whether the dialog can be closed with ESC key.
Defaults to true.
after_actionoptional AfterAction An additional operation performed on dialog after click or submit actions.
Defaults to close.
Value none requires pause set to false.
DialogList makes minecraft:dialog_list DialogList(title, dialogs, external_title?, body?, inputs?, can_close_with_escape?, after_action?, exit_action?, columns?, button_width?)
title Text dialogs DialogListRef external_titleoptional Text Name to be used for a button leading to this dialog.
If not present, title will be used instead.
bodyoptional DialogBody | list of DialogBody inputsoptional list of InputControl can_close_with_escapeoptional bool Whether the dialog can be closed with ESC key.
Defaults to true.
after_actionoptional AfterAction An additional operation performed on dialog after click or submit actions.
Defaults to close.
Value none requires pause set to false.
exit_actionoptional Button The button in footer.
The action is also used for ESC-triggered exit.
columnsoptional int 1.. The number of columns.
Defaults to 2.
button_widthoptional int 1.. Width of buttons in the list.
Defaults to 150.
MultiAction makes minecraft:multi_action MultiAction(title, actions, external_title?, body?, inputs?, can_close_with_escape?, after_action?, exit_action?, columns?)
title Text actions list of Button (at least 1) external_titleoptional Text Name to be used for a button leading to this dialog.
If not present, title will be used instead.
bodyoptional DialogBody | list of DialogBody inputsoptional list of InputControl can_close_with_escapeoptional bool Whether the dialog can be closed with ESC key.
Defaults to true.
after_actionoptional AfterAction An additional operation performed on dialog after click or submit actions.
Defaults to close.
Value none requires pause set to false.
exit_actionoptional Button The button in footer.
The action is also used for ESC-triggered exit.
columnsoptional int 1.. The number of columns.
Defaults to 2.
Notice makes minecraft:notice Notice(title, external_title?, body?, inputs?, can_close_with_escape?, after_action?, action?)
title Text external_titleoptional Text Name to be used for a button leading to this dialog.
If not present, title will be used instead.
bodyoptional DialogBody | list of DialogBody inputsoptional list of InputControl can_close_with_escapeoptional bool Whether the dialog can be closed with ESC key.
Defaults to true.
after_actionoptional AfterAction An additional operation performed on dialog after click or submit actions.
Defaults to close.
Value none requires pause set to false.
actionoptional Button The only action in footer.
Defaults to gui.ok label with no action or tooltip.
ServerLinks makes minecraft:server_links ServerLinks(title, external_title?, body?, inputs?, can_close_with_escape?, after_action?, exit_action?, columns?, button_width?)
title Text external_titleoptional Text Name to be used for a button leading to this dialog.
If not present, title will be used instead.
bodyoptional DialogBody | list of DialogBody inputsoptional list of InputControl can_close_with_escapeoptional bool Whether the dialog can be closed with ESC key.
Defaults to true.
after_actionoptional AfterAction An additional operation performed on dialog after click or submit actions.
Defaults to close.
Value none requires pause set to false.
exit_actionoptional Button The button in footer.
The action is also used for ESC-triggered exit.
columnsoptional int 1.. The number of columns.
Defaults to 2.
button_widthoptional int 1.. Width of buttons in the list.
Defaults to 150.