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

@a, @p, @e or @r doesn't include dead player

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: Minecraft 14w04b, Minecraft 14w05a, Minecraft 14w06b, Minecraft 14w07a
    • Fix Version/s: Minecraft 14w10a
    • Labels:
      None
    • Environment:

      Windows 7 - Java 64bits

    • Confirmation Status:
      Unconfirmed

      Description

      Fix note

      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.

      Source

      EDIT 2 : simple way to reproduce this bug :
      1. Create a random scoreboard objectives : /scoreboard objectives add random dummy - /scoreboard objectives setdisplay sidebar random
      2. Setup a hopper clock runing on a commandblock with this command : /scoreboard players add @a random 1
      3. You will see your score increasing
      4. Kill you with the /kill command : your score doesn't increase anymore (the @a couldn't find you)

      EDIT : ok doing more research it appears that none of the selector detect a player when he is dead (and haven't respawn yet). I'm not sure if it's a bug or intentional, but as described in the documentation, @a should target any player, without taking into account any other condition (ex : dead or not). A player dead is still a player and should be in the @a collection.

      Original description : Since the 1.8 snapshots, deathcount objectives (or stats.deathcount, same problem) are updated when the player respawn, not when the player died as it was before. It should be updated when the player died.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                searge [Mojang] Searge (Michael Stoyke)
                Reporter:
                aypierre aymeric pierre
              • Votes:
                9 Vote for this issue
                Watchers:
                14 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: