Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-131896

execute if entity @p[distance..3] always returns true on repeating cmd block, despite being out of range.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.13-pre3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 8.1 64-bit, 64-based processor
      Java Version 8 Update 151 (build 1.8.0_151-b12)
    • Confirmation Status:
      Unconfirmed

      Description

      I have a repeating conditionless command block that doesn't need redstone set to detect when a player is in range of ..3 ----> execute if entity @p[distance..3] 

      It always outputs to a redstone comparator regardless if i'm in range or out of range. This changed however, if I add a run command after it. IE: ----> execute if entity @p[distance=..3] run say hi.   That command runs just fine.

      Am I crazy? I'm pretty sure the first command worked in the previous pre-release.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              ninjaturdius nick kraus
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: