mojira.dev
MC-301458

@e will not select players who have died and are on the death screen, but @a can.

@e will not select players who have died and are on the death screen, but @a can.

How to test:
Place the command block and loop:

/say @a:@e

You can see output in the chat:

player:player

Then run:

/kill @s

Stay on the death interface and you can see the chat displayed:

player:

Environment

Minecraft 1.21.8, Java 21, Windows 11 Pro

Linked issues

Comments 2

This is probably intended, because @e selects all entities and if the player dies, then the player entity will die, but the player is still there, so @a can still select players on the death screen.

Thank you for your report!
After consideration, the issue is being closed as Working as Intended.

Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.

Full Version HistorySnapshot Version HistoryThe official Minecraft feedback site

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

wifi_left

(Unassigned)

Confirmed

(Unassigned)

1.21.8

Retrieved