Because there are so many questions asking about this, but not closed as duplicates, I decided to make a uniting question here:
There are two three four basic situations here:
Why does the /testfor command (I have) always output an error (not listed below)?
Why does the /testfor command (I have) always output
the entity UUID is an invalid format
?Why does the same /testfor command sometimes output
the entity UUID is an invalid format
instead offound [x]
and sometimes not?Why does the /testfor command not output anything?