Minecraft /dialog command
Shows a dialog window defined in a data pack on a player's screen.
Syntax
/dialog show <targets> <dialog>
/dialog clear <targets>
Parts in square brackets are optional, parts in angle brackets are required. You do not type the brackets: Put your own value in their place.
Arguments
| Argument | What it does |
|---|---|
| <dialog> | The ID of a dialog defined in a data pack. |
Examples
/dialog show @s og:welcome
Opens a welcome window for the player.
Good to know
- Added in 1.21.6; it lets map makers build menus and choice screens.
How do I run this command?
Press T in game to open chat (or press / directly), type the command and press Enter. While typing, Tab completes the options. This command counts as a cheat: It needs cheats enabled in a singleplayer world, and operator permission on a server (operator (level 2)).
Related commands
⚙️ More Advanced commands
Minecraft is a product of Mojang Studios. This tool is an independent helper made for players and is not affiliated with Mojang or Microsoft.