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

"execute @a ~ ~ ~ detect" doesn't work correctly when ran in a command block

    XMLWordPrintable

    Details

    • Confirmation Status:
      Confirmed
    • Platform:
      Windows 10 - PC

      Description

      Steps to reprocude:
      1. Place down a repeating command block (unconditional, always active).
      2. Paste the current command inside /execute @a ~ ~ ~ detect ~ ~-1 ~ grass 0 say hi

      What I expected to happen:
      I expected the command to only run when a player is standing on a grass block.

      What happens:
      The command runs ALWAYS, even if the player isn't on a grass block. After some research I found out that the command block checks the block underneath itself.

        Attachments

          Issue Links

            Activity

              People

              • Reporter:
                _Wither31_ Wither
              • Votes:
                6 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: