Entities & mobs · Step
Put a passenger on an entity
Put one entity on another's back. Most things carry one rider; boats and camels carry two.
m.entity.add_passenger
In a flow
“When a player uses a command → Put a passenger on an entity: the pig rides the cow.”
When a player uses a command → Put a passenger on an entity: the pig rides the cow.
What it does
Put one entity on another's back. Most things carry one rider; boats and camels carry two. 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: put one entity on another's back. Most things carry one rider; boats and camels carry two.
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
-
What carries the passenger.
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.
- Passenger Entity
-
Who climbs on: an entity or a player.
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.