1

Please Help

zombie523 8/17/14 3:56 pm
383
8/21/2014 12:22 am
So I am using this command on a command block: /testfor @e[type=Item] {Item:{id:minecraft:blaze_rod}} I am in snapshot 14w32d but the command block is not doing anything here is a picture link: http://imgur.com/AfIzve9
The first command block says the command and the second command block says /say hi to test. Please help. Also the redstone on the bottom is a clock.
Posted by
zombie523
Level 14 : Journeyman Warrior
4

  Have something to say?

JoinSign in

4

Headaxe
08/20/2014 8:03 pm
Level 55 : Grandmaster Technomancer
The problem is that the ":" in "minecraft:" is seen as an argument in the JSON code, which it isn't.
I recommend doing the following every time you work with strings in JSON code, even if not required: Use brackets around strings.
/testfor @e[type=Item] {Item:{id:"minecraft:blaze_rod"}}
1
Skylinerw
08/21/2014 12:22 am
Level 16 : Journeyman System
This is incorrect, as the separator is a comma (alternatively a curly/square bracket to open encased data). The tag will be correctly assigned the "string" tag-type; the quotes are not required in this case. The issue was already resolved as a physical error with the comparator, though I do agree that using quotes around string data is still good practice.
1
zombie523
08/17/2014 4:29 pm
Level 14 : Journeyman Warrior
yes thank you
1
HawkpathAS
08/17/2014 4:27 pm
Level 9 : Apprentice System
I think your problem is that you need to make the redstone line coming from the comparator 1 block longer. It is a weird thing but I'm pretty sure it'll fix it.
1

Welcome