0

How do you use the /testfor command to test for players at specific coordinates? I've seen this question but it doesn't work in PE. So far I have /testfor @a[x=X, y=Y, z=Z] but that acts like @a and ignores the [x=X, y=Y, z=Z] part. X, Y and Z are actual coordinates. Is this possible in PE?

I am playing Pocket Edition 1.1.4.

1

You forgot the specify a radius using "r". The coordinates just tell it from where to look, not the area in which it should look.

| improve this answer | |
  • I only want it to look on that block. Would that be r=1? – cherryblossom Jul 23 '17 at 11:51
  • Yes, that should work. – Pepijn Jul 23 '17 at 15:06
  • @cherryblossom Did this answer your question? If yes, please mark it as accepted so that this question doesn't remain open. – Fabian Röling Aug 10 '17 at 18:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.