• Displays a modal form to the player for running a command with an optional delay.

    Parameters

    Returns Promise<0 | 1>

    A promise that resolves to 0 if the previous menu should not be re-opened, or 1 if the previous menu should be re-opened.

    If the provided entity is not an instance of Player or executeCommandPlayerW with a linked Player.