[MC-12109] the /testfor command in command blocks doesn't support the team,score_name or score_name_min argument Created: 16/Mar/13  Updated: 23/Mar/13  Resolved: 16/Mar/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Snapshot 13w11a
Fix Version/s: None

Type: Bug
Reporter: Daan Boer Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Environment:

I use windows 8


Attachments: JPEG File Console Command.jpg     JPEG File command block setup.jpg    
Issue Links:
Duplicate
duplicates MC-11189 Comparator clock output doesn't ever ... Resolved
Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

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.



 Comments   
Comment by Daan Boer [ 16/Mar/13 ]

Thanks, that was it!

Comment by Tails [ 16/Mar/13 ]

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

Comment by Daan Boer [ 16/Mar/13 ]

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

Comment by Kumasasa [ 16/Mar/13 ]

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

Generated at Sun Jan 12 12:29:50 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.