1
Command syntax error
What is wrong with this command?
/testfor @p[r=99999999999999999999999] {SelectedItem[tag:{display:{Name:"Jetpack Handle"}]}} I looked at it and the brackets seem to be all paired up but it says Data tag parsing failed: in output what did I type wrong?
1
SelectedItem requires a colon after the tag name, and I believe you closed your brackets in the wrong order. You open them in this order: {[{{, and then close them in this order: }]}}
Try this command:
Also, that radius is pretty large. You may as well just get rid of it, as feasibly you'll likely never be in an area that big.
EDIT Did a bit of snooping around myself, and fixed some brackets. There are no square brackets in the SelectedItem tag. Also, if it still doesn't work, try adding the rest of the item data into the brackets (id and count should be enough).
Try this command:
testfor @p {SelectedItem:{tag:{display:{Name:"Jetpack Handle}}}}Also, that radius is pretty large. You may as well just get rid of it, as feasibly you'll likely never be in an area that big.
EDIT Did a bit of snooping around myself, and fixed some brackets. There are no square brackets in the SelectedItem tag. Also, if it still doesn't work, try adding the rest of the item data into the brackets (id and count should be enough).
