/testfor @e[score_X_min=1]
This command does not work in the current snapshot. In the past snapshot it did work.
Attachments
Comments 13
Works fine for me:
/scoreboard objectives add dummy dummy
/scoreboard players set redstonehelper dummy 10
/testfor @e[score_dummy_min=5]
produces:
[22:49:47] [Client thread/INFO]: [CHAT] Found redstonehelper
You're all wrong I know how to use command blocks I have all my objectives, the armorstand has all the objective X=10, but the testfor block is not working. I'll show pictures. Make sure you guys are in 16w02a.
I attached a screenshot it has everything in it. I even created a new world to test it. I even attached me finding the Armorstand in chat
I found the problem. When updating the snapshot from 15w51b to 16w02a mobs with scoreboard objectives will no longer work. The testfor will testfor the mob name, but in the scoreboard objectives tab it will have to display the mobs UUID, and not the mob's name itself. I guess this is to prevent confusion between an Armorstand with the same name as a player.
So basically in 15w51b the testfor command would testfor a mob with a name for their name, while in 16w02a, to testfor a mob the mob UUID must be in the sidebar.
How I fixed it:
/scoreboard players reset ZombiesSpawned
what's the exact command used for:
testing?
creating the scoreboard?
what is the score of the entity?