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

Command isn't executing correctly within a command block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.16.100
    • None
    • Unconfirmed
    • Xbox

      The command doesn't execute correctly from the trigger location I set (-481 4 307), it only triggers from the command block.

      I want the command to summon lightning when a player is within 2 blocks of -481 4 307 to strike lightning at -481 4 294 so I wrote in the command block: /execute @p [r=2] -481 4 307 summon lightning_bolt -481 4 294

      The lightning hits the right location but it triggers 2 blocks from where the command block is hidden -481 3 327 and not the first set of co-ordinates before the word summon.

            SlayerEddy Edward Pink
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: