Displays a modal form to the player for running a command with an optional delay.
The entity that will receive the form. It can be an instance of Entity, executeCommandPlayerW, or Player.
Entity
executeCommandPlayerW
Player
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.
0
1
If the provided entity is not an instance of Player or executeCommandPlayerW with a linked Player.
Displays a modal form to the player for running a command with an optional delay.