Elementium Sign in
Contents

World & blocks · Value

Container slot

What is in one slot of a chest, barrel or other container.

Basic plan m.world.container_slot

In a flow

“When a player right-clicks → Container slot 0 of the chest → If it is a diamond → Show a message.”

When a player right-clicks → Container slot 0 of the chest → If it is a diamond → Show a message.

What it does

What is in one slot of a chest, barrel or other container. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 3 values later steps can use. Find it under World & blocks in the palette.

When to use it

Use it when the flow needs to: what is in one slot of a chest, barrel or other container.

When not to

For a value that never changes, type it into the setting instead of wiring a node.

Typical wiring

Sockets: settings you can wire

Container Location

Where: wire a location in, or type world x y z. It must be a container like a chest, barrel or hopper.

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.

Slot Number

Which slot, from 0. A chest has 27 (0 to 26).

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 0.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more

Values it gives

Item Item

The item, or nothing when the slot is empty. e.g. 3× Diamond

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

Type Text

The item's type, like minecraft:diamond. Empty when the slot is. e.g. minecraft:diamond

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 578 more

Is empty Yes / no

True when nothing is in the slot. e.g. false

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

Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more

Often next

Related in World & blocks

Wires and sockets · Data values · Plans