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

distance selector doesn't fully replace r and rm command selectors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 17w45a
    • None
    • Unconfirmed

      Before I could use

      /kill @e[rm=0]

      to kill everything except me and entities at same position as me. When I run

      /kill @e[distance=0..]

      it counts 0 distance as well. I tried

      /kill @e[distance=!0]

      but argument here is invalid.
      There should be multiple selectors for distance with working distance=!X to give ability of working as before. With distance=!X..Y we can replace:

       @e[rm=1,r=3]

      with:

       @e[distance=..3, distance=!..1] or @e[distance=1..3,distance=!1]

            Unassigned Unassigned
            Toboe_Irbis [Helper] MichaƂ
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: