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

@p/@r can select dead players and distance/dx/dy/dz parameters do not exclude dead players

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 17w49a, Minecraft 17w49b, Minecraft 18w01a, Minecraft 1.13
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      @p and @r can target dead players when they previously could not. As well, the distance/dx/dy/dz parameters should also prevent the @a selector from targeting dead players, but do not. Via MC-46223:

      [Mojang] Searge (Michael Stoyke) added a comment - 05/Feb/14 10:53 PM
      The @a selector (but only without a radius/area defined via r/rx/ry/rz) will include dead players in the next snapshot. All other selectors work as intended.

      How to reproduce

      Place the following commands inside a repeating command block chain. They will state your name while alive and when dead, except for @e which correctly excludes dead players:

      say P: @p
      say R: @r
      say A: @a[distance=..20]
      say E: @e[type=minecraft:player]
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                skylinerw [Mod] Skylinerw
              • Votes:
                3 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: