-
Bug
-
Resolution: Fixed
-
24w21b
-
None
-
Confirmed
-
Commands
-
Important
-
Platform
@n is supposed to be equivalent to @e[limit=1,sort=nearest], but @e does not select entities that are in the process of dying, while @n does.
How to Reproduce:
- Summon 2 pigs.
- Name each a different thing.
- RunĀ /kill @n[type=pig] twice in quick succession.
- Note that it kills the same pig twice.
- Repeat, but use /kill @e[type=pig,limit=1,sort=nearest] twice instead
- Note that both pigs are killed.
I'm assuming that this is not intended behavior because it was not described to function this way in the patch notes.
- relates to
-
MC-123013 @p/@r can select dead players and distance/dx/dy/dz parameters do not exclude dead players
- Open