I am making an adventure map but I have a problem.
For the testfor command I put /testfor @p [r=3]
but it doesn't work.
The command block says:
[13:13:15] Data tag parsing failed: Invalid tag encountered, expected '{' as first char.
I am using Minecraft version 1.8.8.
testfor
is a very limited command, and in ~90% of all cases using (the newer)execute
is better. That is, most cases where thetestfor
triggers another command if the result is true. The rule of thumb would be to useexecute
unless you know exactly that it won't do for your problem.