Mojira Archive
MC-124052

Error message for selectors not finding any entity is ambiguous when more than one selector was used

This affects commands like /teleport. For example:

  1. Kill all pigs:
    /kill @e[type=pig]
    
  2. Run
    /teleport @e[type=chicken,limit=1] @e[type=pig,limit=1]
    
  3. "No entity was found" is printed in chat

However, from the error message it is not clear which selector found no entities. The error message should print the entity selector with it to fix this issue, like it did in 1.12.2.

Unresolved

[Mod] redstonehelper

2018-01-08, 12:27 AM

2024-12-13, 05:14 PM

4

0

Confirmed

(Unassigned)

Minecraft 18w01a - 1.21.4Minecraft 18w01a, Minecraft 1.13.1, 21w03a, 1.16.5, 21w06a, 21w07a, 21w08b, 1.17.1, 1.18.2, 1.19 Pre-release 1, 1.19, 22w24a, 1.19.4, 1.21.4

-