I want to make a floating item, and the best way I could think of was to make an invulnerable invisible item frame,. I tried this command: /summon minecraft:item_frame ~ ~ ~ {Item:{id:diamond,Count:1},Invisible:1,Invulnerable:1},
/summon minecraft:item_frame ~ ~ ~ {Item:{id:diamond,Count:1},Invisible:1,Invulnerable:1}
It did summon an item frame but I could see it and the item. What happened?