Elementium Sign in
Contents

Logic · Step

Player pick item: set source slot

Changes the player pick item's source slot before the server goes on with it. Paper: the source slot from which the item that will be put in the players hotbar will be taken. Only before any Wait.

Basic plan m.on.player_pick_item.set_source_slot

In a flow

“When a player middle-clicks a block → Player pick item: set source slot → Done”

When a player middle-clicks a block → Player pick item: set source slot → Done

What it does

Changes the player pick item's source slot before the server goes on with it. Paper: the source slot from which the item that will be put in the players hotbar will be taken. Only before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: changes the player pick item's source slot before the server goes on with it. Paper: the source slot from which the item that will be put in the players hotbar will be taken. Only before any Wait.

When not to

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

Typical wiring

Sockets: settings you can wire

Source slot Number

The player pick item's new source slot.

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

Often next

Related in Logic

Wires and sockets · Data values · Plans