It's a little bit strange !
If I summon an armor stand with this command: /summon ArmorStand ~ ~ ~ {HandItems:[0:{id:"minecraft:stone"}],ShowArms:1} and I do this testfor : /testfor @e[type=ArmorStand] {HandItems:[0:{id:"minecraft:stone"}]} it will find the armor stand.
But if I summon an armor stand like that:/summon ArmorStand ~ ~ ~ {HandItems:[0:{id:"minecraft:air"}],ShowArms:1} the summon command works but not the testfor ( /testfor @e[type=ArmorStand] {HandItems:[0:{id:"minecraft:air"}]} )
I think it's a bug because in the entity data it shows HandItems:[0:{id:"minecraft:air"}] .
Attachments
Comments 6
Because it fills in anything you fill in, you could fill in minecraft:zzzzzz and it would output, but not be inserted as it's non-existing.
I tryed also like this: I summoned an armor stand holding a stone block and I took from the armor stand by right clicking. I used entitydata to change only its name in the chat. It returned me HandItems:[0:{id:minecraft:air}] . Then I didn't fill in with air but it detects air.
There's no minecraft:air item.