mojira.dev
MCPE-169275

arguments/restrictions in square brackets fail (testfor)

when using testfor @e[x=0,y=10,z=0]  the command is always successful/true even if there is no entity at those coordinates. it works with everything except coordinates

Attachments

Comments 3

Does it work if you include a r= value (eg r=1)?

Based on previous reporter comment, this is being resolved as Cannot Reproduce.
There is likely a default radius associated with the command, so if no "r=" value is specified, all entities within the default radius will be found.
Simply include the radius in the command block to get the desired results.

benji

(Unassigned)

Plausible

Windows

windows 11

1.19.73

Retrieved