Item Frame

An item frame is an entity or block entity that displays the item or block that is inside it.

Obtaining
An empty item frame can be broken simply by punching it. If the item frame contains an item, punching it drops the item, leaving the frame on the wall.

Because item frames are entities, they can be broken in Adventure mode.

Natural generation
An item frame generates in the treasure room of end ships, above the shulker that guards the treasure. It holds a pair of elytra.

Trading
$$, expert-level cartographer villagers sell an item frame for 7 emeralds.

$$, apprentice-level cartographer villagers sell 5 item frames for 7 emeralds as part of their fourth trade.

Usage
Item frames can be placed on the sides of cactus blocks, pressure plates, fences, trees, slabs, cobblestone walls, chests, doors, and all solid blocks. They can also be placed on the top and bottom of these blocks. As item frames are an entity, multiple item frames can occupy the same block, although on different faces. It also allows non-solid blocks to occupy the same space.

Players can place items in the frame by the item. If a map is placed in an item frame, it enlarges to show the map in the size of a full block, with the item frame's location displayed as a green pointer on the map, pointing in the direction the item frame is facing. If this is done in the Nether, the green cursor spins around similar to the white cursor (players). If the item in the item frame has been renamed using an anvil, it displays its custom name when the cursor is over the item frame. If the player places a block inside the frame, it is displayed in miniature half in, half out of the block. This can be most notably seen on stairs or slabs.

may be used on item frames by players in creative mode only, the control has no effect for players in survival or adventure mode. When the item frame is displaying an item, picks the displayed item instead of the item frame.

Item frames can be placed on the lid of a shulker box that is positioned horizontally, but it pops off when the lid is opened.

Rotation
The displayed item can then be rotated by right-clicking the frame. Items displayed in the item frame can turn 45° diagonally, with a total of 8 possibilities, and the frame outputs a redstone signal depending on the rotation phase which can be interpreted by a redstone comparator (note that this rotation value is separate from the clock or compass rotation). As long as the frame remains placed, it remembers the orientation of the last item it held, and uses it for the next item it holds. If a block exists within the same space as the frame that would not cause it to pop off, the next rotation causes the emitted power from the comparator to instantly become 0 until the block is removed.

Entity data
Item frames have entity data that define various properties of the entity.

Trivia

 * The item frame is based upon a suggestion on reddit, like the ender chest and flower pot.
 * Since players can't use commands to enchant in the Legacy Console Edition, item frames are an alternate way to copy enchanted items for custom maps.
 * In the Legacy Console Edition, item frames and paintings share the same spawn limit, which is 400. Note that if a chunk containing item frames is unloaded, the now unloaded item frames won't be taken into account.
 * The item frame is the only entity to reference a block model. Because of this, the texture of the frame border is the same as the birch planks texture.