Elementium Sign in
Contents

Players · Step

Teleport to an entity

Move a player to where a mob or another entity stands.

Basic plan m.player.tp_to_entity

In a flow

“When a player uses a command → Spawn an entity → Teleport to an entity: it.”

When a player uses a command → Spawn an entity → Teleport to an entity: it.

What it does

Move a player to where a mob or another entity stands. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Players in the palette.

When to use it

Use it when the flow needs to: move a player to where a mob or another entity stands.

When not to

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

Typical wiring

Sockets: settings you can wire

Player Player

Who moves. Leave unwired for whoever started the flow.

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.

Go to Entity

Where they go: wire a mob or another entity in, like Entity from Spawn an entity.

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.

Often next

Related in Players

Wires and sockets · Data values · Plans