Minecraft testfor not me

Minecraft testfor not me - White Metal High-rise Viewing Deck Building

I tried to make the testfor command in Minecraft to test for a player that is not me in a radius of 10 blocks, but when I did /testfor @p[r=10,!name=KeithAwesome2] it didn't work.

Please help me!



Best Answer

Use /testfor @p[r=10,name=!KeithAwesome2], You just had the syntax a little bit wrong.




Pictures about "Minecraft testfor not me"

Minecraft testfor not me - Wooden Robot
Minecraft testfor not me - Relationship Goals on Terrace
Minecraft testfor not me - Man and Woman Walks Beside Green Sea



How do you Testfor entities in Minecraft?

2. Type 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.


  • How do you test if a player is sneaking in 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.

    What happened to Testfor Minecraft?

    detectPos is the x y z coordinate to detect the block. command is any Minecraft command that you want the entity to execute such as summon, give, fill, clone, setblock, tp, xp, kill, etc.



    How To Test For Certain XYZ Values In Minecraft




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

    Images: Pixabay, Kaboompics .com, Daniel Frank, Anastasiya Lobanovskaya