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

Target selector arguments r, rm are counting distance from middle of bottom face of block instead of position of entity running a command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 16w07b, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.9 Pre-Release 3
    • Labels:
      None
    • Confirmation Status:
      Community Consensus

      Description

      Executed command from command block minecart, as player and via /execute with target selector arguments r/rm are counting distance from middle of block instead of position of entity. This is the case of unexpected behaviour of selector r=X.
      Example:
      Run a command in command block minecart: /kill @e[r=0] when minecart is in center of block. Minecart will vanish as intended.
      Run the same command, when minecart is in the edge of block. Minecart will not disappear.
      This is inconsistent and should be fixed.

      in 1.9 pre 3 r=0 can't kill anything, even an executer and entities in the same position.

        Attachments

        1. 2016-02-23_10.13.06.png
          61 kB
          Meri Diana
        2. 2016-02-23_10.13.13.png
          67 kB
          Meri Diana
        3. 2016-02-23_10.19.17.png
          153 kB
          Meri Diana
        4. 2016-02-23_12.33.52.png
          77 kB
          Meri Diana
        5. 2016-02-23_12.34.12.png
          83 kB
          Meri Diana
        6. 2016-02-23_12.35.59.png
          222 kB
          Meri Diana
        7. 2016-02-23_12.36.03.png
          221 kB
          Meri Diana
        8. 7HB5egK.png
          733 kB
          Meri Diana
        9. arrow-r-fail.png
          1.23 MB
          Meri Diana
        10. eyJ1cmwiOiJodHRwOi8vaS5pbWd1ci5jb20vV25lQkp5cy5wbmcifQ.LMEHtZaKBgEELGeuHCEtluIebDU.png
          97 kB
          Meri Diana

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                Toboe_Irbis MichaƂ
              • Votes:
                36 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  CHK: