CloseAction
Represents a CloseAction to close a dialog.
Parameters
howToCloseTranslation
The translation to show the player how to close the dialog.
See also
Entries
Link copied to clipboard
Closes the dialog when the player left-clicks in the air.
Link copied to clipboard
Closes the dialog when the player right-clicks in the air.
Link copied to clipboard
Closes the dialog when the player types in the chat an exit command (configurable and translatable).
Link copied to clipboard
An item is displayed in the player's hotbar with the ability to close the dialog by clicking on it in the inventory or air.
Properties
Functions
Link copied to clipboard
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.