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

Commands in the form /execute testforblock do not update comparators correctly

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Fixed
    • Minecraft 14w07a
    • Minecraft 14w08a
    • None
    • irrelevant
    • Unconfirmed

    Description

      i.e, suppose you wanted to check whether the nearest player was standing on grass or not. One way that would make sense would be a command block with the command "/execute @p ~ ~ ~ testforblock ~ ~-1 ~ grass". However, any comparators sticking out of a command block will be powered no matter what: the game only checks whether the execute command succeeds, not the testforblock.

      Attachments

        Issue Links

          Activity

            People

              searge [Mojang] Searge (Michael Stoyke)
              mrcheeze MrCheeze
              Votes:
              3 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: