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

/execute is performed on the command issuer, not the target

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.12 Pre-Release 2
    • None
    • MacOSx
    • Unconfirmed

      /execute in a command block is performing in-line command from the command block instead of the selected entity/item

      execute @e[type=zombie,tag=Bob] ~ ~ ~ testfor @p[r=2]

      When near Bob, nothing happens. When near command block (repeat, unconditional, always on) achieves output.

            Unassigned Unassigned
            Barkeben Benjamin Barker
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: