Elementium Sign in
Contents

Entities & mobs · Step

Spawn an item frame

Hang an item frame on a wall, floor or ceiling, with an item in it if you like.

Basic plan m.entity.spawn_item_frame

In a flow

“When a player uses a command → Spawn an item frame facing north with a map in it.”

When a player uses a command → Spawn an item frame facing north with a map in it.

What it does

Hang an item frame on a wall, floor or ceiling, with an item in it if you like. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Entities & mobs in the palette.

When to use it

Use it when the flow needs to: hang an item frame on a wall, floor or ceiling, with an item in it if you like.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Block Location

The block the frame sits in: it hangs on the block behind it.

What goes there: Type it in the side panel, or wire in a location. e.g. world 10.5 64 -3.2

If it's empty: Optional. Left empty and unwired, the step runs without it.

Item Item

What is shown in it. Leave unwired for an empty frame.

What goes there: Type it in the side panel, or wire in an item. e.g. 3× Diamond

If it's empty: Optional. Left empty and unwired, the step runs without it.

Glow frame Yes / no

A glow item frame, lit in the dark.

What goes there: Type it in the side panel, or wire in true or false. e.g. true

If it's empty: Optional. Left alone, it's off.

Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more

Fixed Yes / no

Nobody can take the item or turn it.

What goes there: Type it in the side panel, or wire in true or false. e.g. true

If it's empty: Optional. Left alone, it's off.

Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more

Visible Yes / no

Off hides the frame itself.

What goes there: Type it in the side panel, or wire in true or false. e.g. true

If it's empty: Optional. Left alone, it's on.

Connects fromAdd a labelAdd to a leaderboardAge from birthdayAI check a messageAnagram checkAndAnswer a deadlineAnti-nuke guardand 270 more

Values it gives

Entity Entity

What spawned. Wire it into any Entity pin. e.g. Zombie

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more

Often next

Related in Entities & mobs

Wires and sockets · Data values · Plans