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

XYZ doesn't work with /testfor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w11b
    • None
    • Unconfirmed

      When I use /testfor (both in a command block and in chat) and I use XYZ coordinates with it, it completely ignores the coordinates used, but still has an output.

      For example, my current coordinates are 1401 4 294.
      When I use this command: "/testfor @p[x=1401,y=4,z=294]" Of course, it outputs "Found pcman449"

      However, when I use this command: "/testfor @p[x=1399,y=4,z=292]" It still outputs "Found pcman449"

      Usually, when I use the command incorrectly [@p[ggaudjngo] it outputs "The entity UUID provided is in an invalid format", so it knows that [x=1399,y=4,z=292] is used correctly, but completely ignores it.

      I also tried using "testfor @p[1399,4,292]" but it still outputs "Found pcman449" even though those are not my actual coordinates.

      The same thing happens with @r and @a.

      I tried doing the same thing using entities and @e instead, but it says that it found EVERY entity, even though none of them are in the coordinates used. The same thing happens if any of them are in those coordinates.

            Unassigned Unassigned
            pcman449 Matt Schwartz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: