[MCPE-21819] Cannot use /testfor command Created: 07/May/17  Updated: 14/Jun/17  Resolved: 17/May/17

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 1.1.0.9
Fix Version/s: None

Type: Bug
Reporter: Viktor
Resolution: Works As Intended Votes: 0
Labels: None

Issue Links:
Duplicate
is duplicated by MCPE-22123 Detect radius for commands doesn't wo... Resolved
is duplicated by MCPE-22395 Testfor command Resolved
is duplicated by MCPE-22497 Command Bug Resolved
is duplicated by MCPE-22577 MCPE testfor in a radius not working ... Resolved
Confirmation Status: Unconfirmed
Platform: Phone - Android - Samsung Galaxy S5 Mini

 Description   

Dear developers! When you fix a bug with the command/testfor it is suggested and still does not work correctly! This bug started with version 1.1.0.



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 17/May/17 ]

Try using the following syntax:

/testfor @a[x,y,z,r]

so using example coordinates, would look like this:

/testfor @a[10,65,10,25]

Credit to FH_Miner for pointing this out

Comment by Viktor [ 07/May/17 ]

And this is a team right?
Example:/testfor @a[x=5,y=7,z=4,r=2]

Comment by SnipUndercover [ 07/May/17 ]

The /testfor command syntax are as is:

/testfor [player]
Example: /testfor @e[type=Zombie,name=HelloWorld!,tag=1]
Comment by Viktor [ 07/May/17 ]

Okey then write me the correct command/testfor please ️ ☺

Comment by Joel Abhishek [ 07/May/17 ]

i have 1.1.0.9 and /testfor works fine, I think you're using it wrong.

Generated at Sat Jan 11 15:32:30 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.