Commands/dialogue

Used to open the NPC dialogue to the player.

Arguments
: CommandSelector


 * Specifies the target to open a NPC menu from.
 * Must be a player name, a target selector. And the target selector must be of a entity type that has the minecraft:npc component.

: CommandSelector


 * Specifies the target(s) to display the NPC menu.
 * Must be a player name, a target selector. And the target selector must be of player type.

[sceneName: string]: string


 * Must be either a single word (no spaces) or a quoted string.
 * Specifies what scene from the dialogue folder in a behavior pack from the object “scene_name”.

History
Comandos/dialogue 命令/dialogue