-1

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?

2
  • "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? Commented Aug 17, 2017 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. Commented Aug 26, 2017 at 22:05

1 Answer 1

0

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 and acknowledge you have read our privacy policy.

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