Method that sets the body text for the modal form.
This function can't be called in read-only mode.
Adds a button to this form with an icon from a resource pack.
This function can't be called in read-only mode.
Optional iconPath: stringCreates and shows this modal popup form. Returns asynchronously when the player confirms or cancels the dialog.
This function can't be called in read-only mode.
This function can throw errors.
Player to show this dialog to.
This builder method sets the title for the modal dialog.
This function can't be called in read-only mode.
Builds a simple player form with buttons that let the player take action.