So I'm trying to make a spleef and I found out about the testfor Command. I've been trying to make it run specific dimensions but it's not working.

I put in the Command /testfor @p[x=-36,y=15,z=150,dx=16,dy=0,dz=-17].

(Second cords are x=-20 y=15 z=133)

But it just keeps on finding me even when I'm out of the allocated area, anyone know why?

  • "So I'm trying to make a spleef and I found out about the testfor Command." That already rings alarm bells in my head. You should first learn basic commands and then try to do big projects. Otherwise you will run into all kinds of problems either now or (even worse) later on. About your question: Where were you standing when the command targeted you? And did the command run on a clock or did you in some way activate it manually from a distance? Is the timestamp in the output the one that you expected? – Fabian Röling Aug 17 '17 at 6:43
  • I asked this question gaming.stackexchange.com/questions/314673/… about the /testfor command. I don't think dx, dy and dz are available in PE. – cherryblossom Aug 26 '17 at 22:05

This answer says that dx, dy and dz are not available in PE yet. It will just ignore those parameters. You could use r instead but it would be a spherical area.

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.