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

when using /execute and /testfor, comparators determine the success of /execute and not /testfor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 14w07a
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      OS X 10.8.5
    • Confirmation Status:
      Unconfirmed

      Description

      I hooked up a command block with the following command to a clock:
      /execute @e[type=Player] ~ ~ ~ /testfor @e[type=MinecartRideable,r=1]
      and found that the comparator going off that block was always on, whether or not I was within 1 block of a minecart (when I was the chat was spammed with "found entity messages). I know it's not really a bug since comparators usually measure the success of the first command in the block, but won't /execute always be a success so long as it finds the entity in question? (For those of you wondering, yes I am trying to make Payload).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                clamlol clam lol
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: