mojira.dev
MC-58966

/Kill command doesn't work with relative coords

There are a few commands that use the relative coordinates. One command that doesn't appear to work with a relative command is /kill.

Example:
/kill @e[x=10,y=,z=~,r=20,type=Item]

This should remove any dropped items in front of the command block however the "~" (relative) command does not function:

"The entity UUID provided is in an invalid format"

Linked issues

Comments 2

think it is intended

Indeed a WAI. A command like that can't use relative coords for selector parameters. MC-45673

Bryan Aubin

(Unassigned)

Unconfirmed

Minecraft 14w21b

Retrieved