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

run_command Keyword not working in sequence/randomize nodes

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • None
    • 1.16.100.58 Beta, 1.16.100.57 Beta, 1.16.100.59 Beta
    • None
    • Community Consensus
    • Windows

      I tried to use the new run_command thing with a mob. Here's the code I used at first (WorksAsIntended.png) and worked fine, both commands executed as the mob spawned. I then tried to randomize two commands (Broken.png) and none of the commands executed. I've activated the content log and no errors show up there so the feature might be broken.

      The Beta Changelog for 1.16.100.56 stated that the commands would work inside randomizers  or sequences but I can't get that to work.

       

      Steps to Reproduce:

      1. Download and Import the file "TestAddon.mcpack" to Minecraft
      2. Create a new world and activate the "RunCommand Test" behavior pack.
      3. Summon a Vanilla Spider and a Vanilla Cave Spider.

      Expected Results:

      • When Spawned, the vanilla spider says "test1" and "place".
      • When Spawned, the vanilla cave spider either says "option1" or "option2", properly randomizing the run_command keyword.

      Observed Results:

      • When Spawned, the vanilla spider does say "test1" and "place", properly running the command it was given.
      • When Spawned, the vanilla cave spider runs no commands, since the run_command keyword does not function properly when randomized.

        1. Broken.png
          Broken.png
          16 kB
        2. Spider.png
          Spider.png
          1.36 MB
        3. TestAddon.mcpack
          4 kB
        4. WorksAsIntended.png
          WorksAsIntended.png
          4 kB

            AsmXdeuS1538 Armand VC
            Votes:
            9 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: