Skip to main content

đŸ–ŧī¸ Display Item Block

Block Entity

Display Item Block shows a single dropped item on the block. Right-click with an item in hand to place it; right-click with an empty hand to take it back. Only one item can be displayed at a time.

A comparator outputs signal 15 when an item is present and 0 when empty (if has_signal is enabled).

The optional facing property rotates the displayed item to face a specific direction.

Property NameProperty TypeRequiredUsed For
facingdirectionnoRotates the displayed item to face a side.

Example​

blocks:
default:display_item_block:
behavior:
type: display_item_block
position: "0.5,0.5,0.5" # display-item position offset (default 0.5,0.5,0.5)
has_signal: true # comparator signal: 15 if item present, 0 if empty (default true)
data_key: "craftengine:display_item" # NBT key for persistent data (default "craftengine:display_item")
tint_source: true # whether the stored item tints block render elements (default false)
sounds:
put: minecraft:block.decorated_pot.insert # sound played when placing an item (optional)
take: minecraft:block.decorated_pot.insert_fail # sound played when taking an item (optional)