Minecraft Wiki

Commands/dialogue

  • View history
  • 2 Arguments
  • 3 Description
  • A targeted scene can also be indicated.
  • This will close the dialogue box and update for the next time the NPC is interacted.
  • The content can be updated on a per-player basis. If no player is targeted, the dialogue will update for all players.

Arguments [ ]

<npc: target> : CommandSelector<Actor>

  • Must be a target selector for an entity type that has the minecraft:npc component.

<player: target> : CommandSelector<Player>

  • Must be a player name or target selector of player type.
  • Must be specified in open mode. In change mode, all players are affected if not specified.

[sceneName: string] : string

  • Must be either a single word (no spaces) or a quoted string.
  • Must be specified in change mode. In open mode, the last dialogue shown will be used if not specified.

Description [ ]

Dialogue can be branched with the use of a scene file. The scene file is a json file located inside the dialogue folder in the root directory of the active behavior pack ( %localappdata%\Packages\Microsoft.MinecraftUWP_8wekyb3d8bbwe\LocalState\games\com.mojang\development_behavior_packs\<your behavior pack folder> ) that contains all the information needed for branching dialogue. There is no limit to the amount of scene files, as the game will read all the files in the folder and call based on scene_tag property indicated in the given scene data.

See this documentation for scene file setup.

History [ ]

Commands  

  • 3 Smithing Template

IMAGES

  1. Minecraft

    how to make an npc talk in minecraft education edition

  2. How To Make Npc Talk In Minecraft Education Edition

    how to make an npc talk in minecraft education edition

  3. How To Make A Talking NPC In Minecraft

    how to make an npc talk in minecraft education edition

  4. How to place and work a NPC in Minecraft Education Edition

    how to make an npc talk in minecraft education edition

  5. How To Make Npc Talk In Minecraft Education Edition

    how to make an npc talk in minecraft education edition

  6. How to use NPCs in Minecraft: Education Edition

    how to make an npc talk in minecraft education edition

VIDEO

  1. Playing Minecraft Education Edition Cuz who knows why

  2. minecraft education edition🙄

  3. how to make an NPC (talk part 2)

  4. Make More Friends By Scripting NPCs

  5. Let's Review Minecraft

  6. Obby Creator Tutorial #2

COMMENTS

  1. How to use NPCs in Minecraft: Education Edition

    If a Minecraft player has worldbuilding privileges, they can use the "use" action with the corresponding right-click or button press in order to edit their NPC. This allows players to edit the NPC ...

  2. Commands/dialogue

    Used to open the NPC dialogue to the player and change the dialogue displayed by an NPC. dialogue open Forces open the targeted NPC's dialogue box to the targeted player(s), simulating the experience of clicking on an NPC. A targeted scene can also be indicated. Syntax: dialogue open <npc: target> <player: target> [sceneName: string] Example: Open the dialogue of an NPC with tag "ducky" toward ...