mojira.dev
MC-121773

distance tag in entity selector doesn't work.

Lets say I use:

/execute as @e[type=pig] run say hi

Then all pigs are saying "hi"

But if I use:

/execute as @e[type=pig,distance=10] run say hi

It says: "No entity was found". And yes, there is a pig right next to me.

Linked issues

Comments 2

Please do not mark unreleased versions as affected.
You don't have access to them yet.

Try "/execute as @e[type=pig,distance=..10] run say hi"

Blue_future

(Unassigned)

Unconfirmed

Minecraft 17w45a

Retrieved