mojira.dev
MC-125778

Distance tag dosen't work when executing /kill

When I executed the command /kill @e[type=zombie,distance=3] about 1 block away from a nearby zombie, it said entity not found.
For some reason I can't upload screenshots because I am missing a token or something.
So here are some links:

https://imgur.com/a/QWnOw

One of the photos shows me writing the command and the other one is the command not working correctly I think.

Linked issues

Comments 2

This command only checks in the radius of 3. If you want to do a radius of 3 and below, you need to replace the tag by

distance=..3

Thanks hugman! That command fixed the problem!

EmmettLego

(Unassigned)

Unconfirmed

Minecraft 18w07c

Retrieved