コマンドリファレンス
Minecraft /dialogue Command
developer統合版のみ
ダイアログ画面をトリガーしたり、NPCにダイアログの分岐をプレイヤーに表示させたりします。
バージョン対応
統合版 (Bedrock):1.21.60
コマンド構文
統合版 (Bedrock)
/dialogue open <npc> <player> [sceneName] | /dialogue change <npc> <sceneName> [targets]引数の解説
actionopen / change必須Open a dialog panel or switch active NPC scene.
npcSelector必須The NPC entity presenting the dialogue.
playerSelector必須The target player to show the dialog to.
実用的な使用例
/dialogue open @e[type=npc,c=1] @p quest_introForces the nearest NPC to open the "quest_intro" dialogue box for the closest player.
重要な注意事項
Bedrock exclusive. Requires spawning an NPC mob (`/summon npc`) and configuring custom dialogue JSON branches in behavior packs.