Can I add multiple coordinates to /testfor

Can I add multiple coordinates to /testfor - Book On A White Wooden Table

I am just wondering if I can add multiple coordinates to one part because this is an example on what I mean (note this is in command blocks) : testfor @p[x=x1,y=y1,z=z1 z2,r=r1]






Pictures about "Can I add multiple coordinates to /testfor"

Can I add multiple coordinates to /testfor - Books On The Table
Can I add multiple coordinates to /testfor - Little Boy Carrying Can
Can I add multiple coordinates to /testfor - Line Patterns



How do you put multiple values in a command in Minecraft?

If want to give multiple blocks at once, you need to specify an Amount in the /give command. The amount goes after the Item that you are giving. Type the command in the chat window and press the Enter key to run the command.

How do you Testfor with command blocks?

How to Enter the Command
  • Test if Players are within 10 blocks. In this example, we will test to see if there are any players within a 10 block radius with the following command: /testfor @a[r=10] ...
  • Test if Mooshrooms are within 50 blocks. ...
  • Test if Nearest Player is at Level 20 experience.


  • What happened to Testfor Minecraft?

    The /testfor command became obsolete in Minecraft 1.13, and has been replaced by the /execute command*. It will do the same as typing /testfor @e {SelectedItem:{id:"<item>"}} and then putting a comparator to the command block with the command, and then running the command which you wanna run.



    Minecraft: How to Testfor Blocks on Specific Coordinates




    Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

    Images: Ylanite Koppens, Ylanite Koppens, Dazzle Jam, Edward Jenner