I want it to replace the frame and item in it, but I don't want them to fly off in the air when I spawn them, I know I must use /entitydata @e. I have a map that you choose classes in, I condensed it so that you press a button and change between 4 other classes making 8 all together, and their item frames that just display the main weapon of that class above the button. I also want the frames to spawn in a specific xyz coordinate. My main problem is I don't know how to form the command. I know I need the ench tag but I don't have a clue how to put it together. Much Thanks to any who can help!
Here is what I have but it isn't it at all. /entitydata @e[type=ItemFrame] {Item:{id:<an enchanted item>,Direction:0, ItemRotation:0,Count:0}}