Minecraft:Item Frame: Difference between revisions
More actions
Sync: updated from Minecraft |
Sync: updated from Minecraft |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 19: | Line 19: | ||
{{infobox row|Catches fire from [[Minecraft:lava]]{{only|be|short=1}}|No}} | {{infobox row|Catches fire from [[Minecraft:lava]]{{only|be|short=1}}|No}} | ||
}} | }} | ||
An '''item frame''' is an [[Minecraft:entity]]{{only|java|short=y}} or [[Minecraft:block]]{{only|bedrock|short=y}} that displays the item or block that is inside it. | An '''item frame''' is an [[Minecraft:entity]]{{only|java|short=y}} or [[Minecraft:block]]{{only|bedrock|short=y}} that displays the item or block that is inside of it. | ||
== Obtaining == | == Obtaining == | ||
| Line 32: | Line 32: | ||
=== Natural generation === | === Natural generation === | ||
An item frame containing a pair of [[Minecraft:elytra]] generates in each [[Minecraft:End ship]]. | An item frame containing a pair of [[Minecraft:elytra]] generates in each [[Minecraft:End ship]] in the [[Minecraft:End]]. | ||
[[File:BoatElytra.png|thumb|An item frame naturally generating in an End ship.]] | [[File:BoatElytra.png|thumb|An item frame naturally generating in an End ship.]] | ||
| Line 171: | Line 171: | ||
<section begin="entity data" /><div class="treeview" style="margin-top: 0;"> | <section begin="entity data" /><div class="treeview" style="margin-top: 0;"> | ||
* {{nbt|compound}} Entity data | * {{nbt|compound}} Entity data | ||
** {{nbt inherit/hangable}} | ** {{nbt inherit/hangable}} | ||
** {{nbt|byte|Facing}}: The direction the item frame faces: 3 is south, 4 is west, 2 is north, 5 is east, 1 is top, and 0 is bottom. | |||
** {{Nbt|bool|Fixed}}: {{cd|1|0|d=or}} ({{cd|true|false|d=/}}) - If {{cd|true}}: the item frame does not drop when it has no support block, it can not be moved by pistons, and it won't take damage (except from creative players). An item cannot be placed in or removed from a fixed item frame. The item in a fixed item frame (if any) can not be rotated. | ** {{Nbt|bool|Fixed}}: {{cd|1|0|d=or}} ({{cd|true|false|d=/}}) - If {{cd|true}}: the item frame does not drop when it has no support block, it can not be moved by pistons, and it won't take damage (except from creative players). An item cannot be placed in or removed from a fixed item frame. The item in a fixed item frame (if any) can not be rotated. | ||
** {{Nbt|bool|Invisible}}: {{cd|1|0|d=or}} ({{cd|true|false|d=/}}) - Whether the item frame (background) is invisible. An item or map inside an invisible item frame is still visible. | ** {{Nbt|bool|Invisible}}: {{cd|1|0|d=or}} ({{cd|true|false|d=/}}) - Whether the item frame (background) is invisible. An item or map inside an invisible item frame is still visible. | ||
| Line 178: | Line 178: | ||
*** {{nbt inherit/itemnoslot|indent=***}} | *** {{nbt inherit/itemnoslot|indent=***}} | ||
** {{nbt|float|ItemDropChance}}: The chance for the item to drop when the item frame breaks. This is a 100% chance by default. | ** {{nbt|float|ItemDropChance}}: The chance for the item to drop when the item frame breaks. This is a 100% chance by default. | ||
** {{nbt|byte|ItemRotation}}: The current angle or rotation of the item, as a multiple of 45 degrees, going clockwise. <code>0</code> means the item is upright, <code>1</code> means the item is turned 45 degrees clockwise from the upright orientation. This value can only ever be between {{cd|0}} and {{cd|7}}, just like its redstone output when measured with a [[Minecraft:comparator]]. | ** {{nbt|byte|ItemRotation}}: The current angle or rotation of the item, as a multiple of 45 degrees, going clockwise. <code>0</code> means the item is upright, <code>1</code> means the item is turned 45 degrees clockwise from the upright orientation.{{info needed|How does this affect framed maps? I do not believe they can be rotated 45 degrees.}} This value can only ever be between {{cd|0}} and {{cd|7}}, just like its redstone output when measured with a [[Minecraft:comparator]]. | ||
</div><section end="entity data" /> | </div><section end="entity data" /> | ||
| Line 226: | Line 226: | ||
|{{HistoryLine|||dev=19w39a|Item frames are now colored correctly.}} | |{{HistoryLine|||dev=19w39a|Item frames are now colored correctly.}} | ||
|{{HistoryLine||1.16|dev=20w10a|The NBT <code>Invisible</code> and <code>Fixed</code> have been added to item frames.}} | |{{HistoryLine||1.16|dev=20w10a|The NBT <code>Invisible</code> and <code>Fixed</code> have been added to item frames.}} | ||
|{{HistoryLine||1.18|dev=21w41a|[[File:Item Frame (item) JE3.png|32px]] The textures of item frames as an item have been changed.<ref>{{bug|MC-118134}}</ref>}} | |{{HistoryLine||1.18|dev=21w41a|[[File:Item Frame (item) JE3.png|32px]] The textures of item frames as an item have been changed.<ref>{{bug|MC-118134||Item frame texture as an item uses texture of oak planks|Fixed}}</ref>}} | ||
|{{HistoryLine||1.19|dev=22w15a|Item frames now adjusts its hitbox to account for the larger size of a framed [[Minecraft:map]].}} | |{{HistoryLine||1.19|dev=22w15a|Item frames now adjusts its hitbox to account for the larger size of a framed [[Minecraft:map]].}} | ||
|{{HistoryLine|||dev=pre3|Reverted the change in 22w15a.}} | |{{HistoryLine|||dev=pre3|Reverted the change in 22w15a.}} | ||
|{{HistoryLine||1.21.2|dev=24w33a|Item frames are no longer destroyed by [[Minecraft:TNT]] that explodes in [[Minecraft:water]].<ref>{{bug|MC-3697}}</ref>}} | |{{HistoryLine||1.21.2|dev=24w33a|Item frames are no longer destroyed by [[Minecraft:TNT]] that explodes in [[Minecraft:water]].<ref>{{bug|MC-3697||TNT submerged in water can destroy item frames, paintings, armor stands, and other similar entities|Fixed}}</ref>}} | ||
|{{HistoryLine||1.21.4|dev=24w44a|Players in Survival or Adventure can now use {{control|pick block}} on item frames.<ref>{{bug|MC-65931||The pick block function doesn't work with entities while in survival or adventure mode|Fixed}}</ref>}} | |{{HistoryLine||1.21.4|dev=24w44a|Players in Survival or Adventure can now use {{control|pick block}} on item frames.<ref>{{bug|MC-65931||The pick block function doesn't work with entities while in survival or adventure mode|Fixed}}</ref>}} | ||
|{{HistoryLine|java upcoming}} | |||
|{{HistoryLine||26.3|dev=snap8|Breaking item frames can now trigger sculk shriekers.<ref>{{bug|MC-253023||Breaking paintings, item frames, glow item frames cannot trigger sculk shriekers|Fixed}}</ref>}} | |||
}} | }} | ||
=== ''Bedrock Edition'' === | === ''Bedrock Edition'' === | ||
| Line 278: | Line 279: | ||
== Trivia == | == Trivia == | ||
*The item frame is based upon a suggestion on [[Minecraft:wikipedia:Reddit|Reddit]], like the [[Minecraft:ender chest]] and [[Minecraft:flower pot]].<ref>{{tweet|dinnerbone|235747041286975488|My next task is going to be flower pots. Credit: http://www.reddit.com/r/Minecraft/comments/l6lih/suggestion_item_frames_for_holding_tools_and/}}</ref> | *The item frame is based upon a suggestion on [[Minecraft:wikipedia:Reddit|Reddit]], like the [[Minecraft:ender chest]] and [[Minecraft:flower pot]].<ref>{{tweet|dinnerbone|235747041286975488|My next task is going to be flower pots. Credit: http://www.reddit.com/r/Minecraft/comments/l6lih/suggestion_item_frames_for_holding_tools_and/}}</ref> | ||
== Gallery == | == Gallery == | ||
| Line 320: | Line 318: | ||
*{{ItemLink|Painting}} | *{{ItemLink|Painting}} | ||
*{{ItemLink|Shelf}} | *{{ItemLink|Shelf}} | ||
*{{ItemLink|Glow item frame}} | |||
== References == | == References == | ||
| Line 350: | Line 349: | ||
[[Minecraft:ja:額縁]] | [[Minecraft:ja:額縁]] | ||
[[Minecraft:ko:아이템 액자]] | [[Minecraft:ko:아이템 액자]] | ||
[[Minecraft:lzh:置具匡]] | |||
[[Minecraft:nl:Voorwerplijst]] | [[Minecraft:nl:Voorwerplijst]] | ||
[[Minecraft:pl:Ramka na przedmiot]] | [[Minecraft:pl:Ramka na przedmiot]] | ||
Latest revision as of 11:10, 31 August 2026
|
For the {{{Description}}} of the same name, see [[{{{Destination}}}]]. |
Template:Infobox An item frame is an Minecraft:entityTemplate:Only or Minecraft:blockTemplate:Only that displays the item or block that is inside of it.
Obtaining
Breaking
Template:IN, because the item frame is an Minecraft:entity, it can be broken by simply punching it, even in Minecraft:Adventure mode. It is also targeted by commands using the Template:Cd selector.
Template:IN, no tool can accelerate the breaking process of the item frame. Template:Breaking row An item frame drops itself when it's destroyed.
If the item frame contains an item, punching it drops the item, leaving the frame.
Natural generation
An item frame containing a pair of Minecraft:elytra generates in each Minecraft:End ship in the Minecraft:End.
Crafting
Trading
Usage
Placement
Item frames can be placed on the sides of most Minecraft:solid blocks (including Minecraft:slabs, Minecraft:stairs, Minecraft:fences, Minecraft:walls, Minecraft:doors, Minecraft:trapdoors, Minecraft:fence gates, Minecraft:glass panes, Minecraft:iron bars, Minecraft:chains, etc), Template:In as well as some non-solid blocks such as Minecraft:repeaters and Minecraft:comparators. They can also be placed on the top and bottom of the solid blocks. To place item frames on interactable blocks (such as Minecraft:chests and Minecraft:doors), the player needs to be Minecraft:sneaking. Item frames can also be placed on the lid of a Minecraft:shulker box, but, Template:In, they pop off when the lid is opened. In Java Edition, item frames cannot be placed on the top face of Minecraft:fences, Minecraft:walls, and Minecraft:fence gates.
As item frames are an entity in Java Edition, multiple item frames can occupy the same block, although on different faces. An item frame can occupy the same space as any non-solid block, or a solid block whose collision box does not intersect the item frame's hitbox. Template:IN, item frames behave like signs and thus cannot occupy the same space as other blocks or other item frames. They can, however, be Minecraft:waterlogged.
Item display
Players can place items in the frame by Template:Control the item. If a Minecraft: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 Minecraft:the Nether, the green cursor spins around similar to the white cursor (players).
If an item in an item frame has been renamed using an Minecraft: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.
When the item frame is displaying an item, pressing the Template:Control control picks the displayed item instead of the item frame.
Rotation
The displayed item can be rotated by right-clicking the frame. Items displayed in the item frame can turn 45° diagonally, with a total of 8 possibilities (90° and 4 possibilities if it is a map), and the frame outputs a redstone signal depending on the rotation phase that can be interpreted by a Minecraft: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.Template:Only
Crafting ingredient
Sounds
Generic
Template:Edition: Template:Sound table/Block/Item frame/BE
Unique
Achievements
Data values
ID
Template:Edition: Template:ID table Template:ID table
Template:Edition: Template:ID table Template:ID table Template:ID table
Block states
Template:El:
Despite being an Minecraft:entity in Java Edition, item frames utilize block states internally.
Template:Bst
Template:El: Template:Bst Template:Bst Template:Bst
Item data
Template:JE: Template:See also
- Template:Nbt: the item's components tag.
Data component format/entity data Unlike spawn eggs, cannot change the type of entity created using the id tag. Data that item frames do not normally use (see below) has no effect.
Entity data
Template:IN, item frames have entity data that define various properties of the entity.
<section begin="entity data" />
- Template:Nbt Entity data
- Template:Nbt inherit/hangable
- Template:Nbt: The direction the item frame faces: 3 is south, 4 is west, 2 is north, 5 is east, 1 is top, and 0 is bottom.
- Template:Nbt: Template:Cd (Template:Cd) - If Template:Cd: the item frame does not drop when it has no support block, it can not be moved by pistons, and it won't take damage (except from creative players). An item cannot be placed in or removed from a fixed item frame. The item in a fixed item frame (if any) can not be rotated.
- Template:Nbt: Template:Cd (Template:Cd) - Whether the item frame (background) is invisible. An item or map inside an invisible item frame is still visible.
- Template:Nbt: The item placed into the item frame. If the item frame is empty, this tag does not exist. Represents the entity's Template:Cd (Template:Cd) slot.
- Template:Nbt: The chance for the item to drop when the item frame breaks. This is a 100% chance by default.
- Template:Nbt: The current angle or rotation of the item, as a multiple of 45 degrees, going clockwise.
0means the item is upright,1means the item is turned 45 degrees clockwise from the upright orientation.Template:Info needed This value can only ever be between Template:Cd and Template:Cd, just like its redstone output when measured with a Minecraft:comparator.
<section end="entity data" />
Block data
Template:IN, an item frame has a block entity associated with it that holds additional data about the block.
See Minecraft:Bedrock Edition level format/Block entity format.
Videos
History
Reveal
Java Edition
Template:Info needed section Template:HistoryTable
Bedrock Edition
Legacy Console Edition
New Nintendo 3DS Edition
Issues
Trivia
- The item frame is based upon a suggestion on Reddit, like the Minecraft:ender chest and Minecraft:flower pot.<ref>Template:Tweet</ref>
Gallery
Renders
-
Item frame
-
Map item frame
-
With item
-
With rotated item
-
With block
-
With rotated block
Screenshots
-
An item frame on the side of a slab.
-
Four item frames in a one-block space.Template:Only
-
The frame itself uses the texture of birch planks.
-
The rotation of an item in an item frame.
-
The front and back of an item frame are the same.
-
An image of a fireplace retweeted by Dinnerbone.
-
Minecraft:11 in an item frame.
Development images
-
Original Reddit image suggesting item frames and flower pots.
-
Dinnerbone's first screenshot showing armor and weapons.
-
Dinnerbone's second screenshot showing a map, a compass, and two diamond swords.
-
Dinnerbone's third screenshot showing a golden sword in all directions, the item frame item itself, and a working clock.
-
Jeb's screenshot of the item frame.
-
Snapshot showing plant pots and item frames.
-
Snapshot image of an ender pearl in an item frame.
-
An image tweeted by Dinnerbone showing how hovering over an item frame containing a renamed item shows a name tag.
-
First image of item frames in Bedrock Edition.
See also
References
Template:Navbox blocks Template:Navbox items Template:Navbox entities
Minecraft:cs:Rámeček Minecraft:de:Rahmen Minecraft:es:Marco Minecraft:fr:Cadre Minecraft:hu:Eszköz keret Minecraft:it:Cornice Minecraft:ja:額縁 Minecraft:ko:아이템 액자 Minecraft:lzh:置具匡 Minecraft:nl:Voorwerplijst Minecraft:pl:Ramka na przedmiot Minecraft:pt:Moldura Minecraft:ru:Рамка Minecraft:th:กรอบไอเทม Minecraft:uk:Рамка для предметів Minecraft:zh:物品展示框