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

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w07a
    • None
    • OS X 10.8.5
    • Unconfirmed

      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).

            Unassigned Unassigned
            clamlol [Helper] clam lol
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: