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

XYZ doesn't work with /testfor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 14w11b
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: