mojira.dev
MC-129077

@s selector can only select players

Using @s only can select player entities, when it should be able to select all entities.

To reproduce:

  1. open world in affected version

  2. wait for, or place some entities

  3. use /data get entity @s[type=minecraft:player]

  4. see that you get data relevant to player

  5. use /data get entity @s[type=!minecraft:player]

  6. game says "No entity was found" even though there are plenty of entities around

Attachments

Comments 2

@s only targets the entity executing the command.

Oh I see the description is broken for @e and @s and confused me, sorry!

Bishwoty

(Unassigned)

Unconfirmed

Minecraft 18w16a

Retrieved