[MC-8385] CommandBlock Bug Created: 25/Jan/13  Updated: 08/Feb/13  Resolved: 26/Jan/13

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

Type: Bug
Reporter: Marcono1234 Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: None
Environment:

Windows 7,
Java 7,


Attachments: PNG File 2013-01-26_00.38.06.png    
Confirmation Status: Unconfirmed

 Description   

1.You can't get information about a spezific player with commandBlock.
For example:

/testfor Marcono1234[score_money_min=5]

wont give a redstone signal output with a comparator.

2.Comparator now works always like a repeater too
(look screenshot)



 Comments   
Comment by Marcono1234 [ 27/Jan/13 ]

Yeah ok thx and sorry

Comment by GrygrFlzr [ 27/Jan/13 ]

This site is for bug reports only. For feature suggestions/changes please use the MineCraft Forums: Suggestions.

As a side note, it would not make sense to use your syntax because you would be stuck with 1 variable.
score_ is a required prefix to make the command block recognize variables, _min is an optional suffix to indicate that this is the minimum value. The value in-between is your variable name.
Note that

/testfor Marcono1234[score_money_min=5]

would look for the player Marcono1234, and if the player does not have at least 5 set as his money score the comparator will stop outputting a signal. If you want to detect the nearest player, use @p instead of Marcono1234. It is recommended you set a maximum range for detection using r=<maximum_radius>, like this:

/testfor @p[score_money_min=5,r=7]

Which will only return a signal through the comparator if a player is within 7 blocks of the command block with at least 5 money.

Comment by Marcono1234 [ 27/Jan/13 ]

Yeah, I now the syntax and the usage, but it would just make sence if it also works like this

And this commandBlock bug is very crazy, cause it is not every time like this

Comment by Kumasasa [ 27/Jan/13 ]

Please refer to the syntax described at http://www.minecraftwiki.net/wiki/Scoreboard

Comment by Anon Ymus [ 27/Jan/13 ]

Still not correct...

/testfor Marcono1234[score_money_min=5]
Comment by Marcono1234 [ 26/Jan/13 ]

Yes I ment

/testfor player[score_min=5]

And @Anon Ymus:
But it is not right, that even if the redstone torch on the front of the comparator is not activatet the comparator works like a repeater, cause than the comparator could not compare COMMANDBLOCK outputs

Comment by Anon Ymus [ 26/Jan/13 ]

If this still occurs with correct notation, please open another issue. Also, it is much easier to keep track of reports when they only have one bug each, so please do so in the future.

Comment by Tails [ 26/Jan/13 ]

1. Do you mean

/testfor player[score_name_min=5]

"source" is an invalid argument.

2. Yes you can use the comparator as a more expensive version of a repeater with less delay.

Comment by Marcono1234 [ 25/Jan/13 ]

thx mod

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