Uploaded image for project: 'Minecraft (Bedrock codebase)'
  1. Minecraft (Bedrock codebase)
  2. MCPE-174119

Execute command doesn't work in dialogue files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • 1.20.70.22 Preview, 1.20.30.21 Preview, 1.20.30.20 Preview, 1.20.12 Hotfix, 1.20.13 Hotfix, 1.20.14 Hotfix, 1.20.30.25 Preview, 1.20.30.24 Preview, 1.20.15 Hotfix, 1.20.40.21 Preview, 1.20.50.20 Preview, 1.20.32 Hotfix, 1.20.50.22 Preview, 1.20.50.21 Preview, 1.20.40, 1.20.50.23 Preview, 1.20.41 Hotfix, 1.20.60.22 Preview, 1.20.50, 1.20.60.23 Preview, 1.20.70.21 Preview, 1.20.51 Hotfix, 1.20.60, 1.20.62 Hotfix, 1.20.80.21 Preview
    • Confirmed
    • Windows
    • 1155238

      The /execute command doesn't work inside the on_open_commands, on_close_commands or as a button in dialogue json files that are opened with /dialogue. The command works everyhwere else including in a normal NPC dialogue that is configured ingame in creative mode.

      Steps to reproduce:

      1. Open the attached world
      2. Click the button on the command block to open a test dialogue using /dialogue
      3. Click the "Execute Test" button in the dialogue

      Expected results:

      It should say "[NPC] open", "[NPC] button" and "[NPC] close" in chat because "/execute as @s run say ..." should be run when the dialogue opens, when the button is clicked and when the dialogue closes.

      Observed results:

      The execute commands in the dialogue won't trigger and it won't say "[NPC] open, "[NPC] button" or "[NPC] close" in chat.

            Marcelon1 Marcelon1
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: