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

dx,dy,dz default to zero

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Affects Version/s: Minecraft 1.12.2, Minecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Unconfirmed

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              etnpce Ethan Peace
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: