[MC-8431] command block arguments do not work on scoreboard objectives Created: 26/Jan/13  Updated: 26/Jan/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: Pepijn de Vos Assignee: Unassigned
Resolution: Invalid Votes: 0
Labels: None
Environment:

java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
Mac OS X 10.8.2


Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

I have set up a objective called "money" that shows up in the sidebar. I then gave myself some money.

I added 2 command blocks. One that executes "give @p[money_min=1,r=5] 33" and the other "scoreboard players remove @p[money_min=1,r=5] 1"

As expected, activating this configuration exchanges my money for dispensers.

However, the command continues to decrement and spew dispensers until well below zero.



 Comments   
Comment by Pepijn de Vos [ 26/Jan/13 ]

Thanks. I'll check the wiki to verify that it is listed correctly everywhere.

I would like to add that error reporting could be improved

Comment by GrygrFlzr [ 26/Jan/13 ]

Command blocks use the score_ prefix to refer to objectives. Your current setup is not filtering based on the amount of your money objective.

Comment by fhntv [ 26/Jan/13 ]

money_min -that is wrong....i think you need to write score_money_min or somting...i dont remember....

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