mojira.dev
MC-12109

the /testfor command in command blocks doesn't support the team,score_name or score_name_min argument

Problem:

-I entered this command in a command block that was powered by a clock:
-testfor @a[x=300,y=56,z=-2345,r=4,score_name=10]
-I'm sure I made a objective called 'name'
-I'm sure I have 9 points in 'name'
-I'm sure I was standing in the given area

This didn't output a signal on the comparator.
I also tried the above steps with:
-argument 'score_name_min=6'
-argument 'team=notworking'

They didn't work either, and of course I checked if I was in the 'notworking' team.
I tried the output in North, South, West and East.

I don't know if this is supposed to happen, because I tried them with 'tp', and that worked fine.

Related issues

Attachments

Comments

migrated
[media][media]
kumasasa

Please attach a screenshot of the blocks and of the comparator gui.

migrated

The command block on the clock checks for a player with [score_name=10] in the region between the fences.

migrated

It might not work because of the clock you're using which is bugged, see MC-11189.
Edit: Not bugged, see my comment there.

migrated

Thanks, that was it!

migrated

(Unassigned)

Unconfirmed

Snapshot 13w11a

Retrieved