Elementium Sign in
Contents

Entities & mobs · Step

Reserve a dropped item

Let only one player pick up a dropped item. Others walk over it.

Basic plan m.entity.set_item_owner

In a flow

“When a mob dies → Spawn a dropped item → Reserve a dropped item for the killer.”

When a mob dies → Spawn a dropped item → Reserve a dropped item for the killer.

What it does

Let only one player pick up a dropped item. Others walk over it. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Entities & mobs in the palette.

When to use it

Use it when the flow needs to: let only one player pick up a dropped item. Others walk over it.

When not to

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

Typical wiring

Sockets: settings you can wire

Entity Entity

The dropped item: wire one in, like Entity from Spawn a dropped item.

What goes there: Type it in the side panel, or wire in an entity. e.g. Zombie

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

Player Player

The only player who may pick it up.

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

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

Often next

Related in Entities & mobs

Wires and sockets · Data values · Plans