mojira.dev
MC-121653

The distance selector tag is broken

Steps to reproduce

  1. Make sure there are other entities near you

  2. Run this command: /say @e[distance=100]

  3. Notice only your own player name is displayed in chat

Notes
After experimenting, it appears only the sender is returned. Entities in a radius of 0 (after teleporting to it in spectator mode) aren't returned.

Linked issues

MC-121773 distance tag in entity selector doesn't work. Resolved MC-122838 Tag "distance" not work!!! Resolved MC-122881 The new "distance" selector dose not work Resolved MC-123475 "No player was found" on any command selectors (@a, @e, @p) Resolved MC-125778 Distance tag dosen't work when executing /kill Resolved

Comments 1

distance=100 is one small line at a distance of 100, use ..100 for maximum of 100.

Misode

(Unassigned)

Unconfirmed

Minecraft 17w45a

Retrieved