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

dx,dy,dz default to zero

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b
    • Unconfirmed

      from a search, it appears that this is already known, but there is no ticket for it.
      This behavior is very unintuitive, the selector @e[dy=5] is equivalent to @e[distance=0], and it took a lot of experimentation to figure out why
      Either it should be a syntax error to specify one or two of dx,dy,dz without all three, so you cannot get this unintuitive behavior, or dx,dy,dz should default to infinity, which would make them more cohesive

      I don't like creating another ticket so similar to my previous one so soon, but I discovered this while testing that one, and it is a different issue.

            Unassigned Unassigned
            etnpce Ethan Peace
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: