Skip to main content

đŸ–ŧī¸ Item Frame Block

Item Frame Block is a high-performance replacement for vanilla item frames. It stores and displays a single item.

  • Right-click with an item in hand to place it.
  • Right-click with an empty main hand to take the item back.
  • Sneak + right-click to rotate the displayed item through 8 directions.

The comparator signal equals rotation + 1 when an item is present, and 0 when empty — so a freshly placed frame with no rotation emits signal 1.

Special Thanks: This feature was developed by jhqwqmc with sponsorship from the SIMMC server.

Property NameProperty TypeRequired
facingdirectionyes

Example​

blocks:
default:item_frame_block:
behavior:
type: item_frame_block
position: 0,0,0 # display-item position offset (default 0,0,0)
glow: false # whether the item glows
invisible: false # whether the frame border is invisible
render_map_item: true # render maps in the frame (default true, has performance cost)
data_key: "craftengine:item_frame" # NBT key for persistent data (default "craftengine:item_frame")
sounds:
put: entity.item_frame.add_item # sound when placing an item (optional)
take: entity.item_frame.remove_item # sound when taking an item (optional)
rotate: entity.item_frame.rotate_item # sound when rotating an item (optional)