Entities & mobs · Step
Launch towards an entity
Launch a projectile from a location straight at an entity, like a turret that aims.
m.entity.launch_at
In a flow
“Every second → Nearest entity → Launch towards an entity: minecraft:arrow at it.”
Every second → Nearest entity → Launch towards an entity: minecraft:arrow at it.
What it does
Launch a projectile from a location straight at an entity, like a turret that aims. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Entities & mobs in the palette.
When to use it
Use it when the flow needs to: launch a projectile from a location straight at an entity, like a turret that aims.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- From Location
-
Where it starts.
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.
- Entity Entity
-
What it flies towards: wire one in, like Entity from Nearest 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.
- Speed Number
-
How fast it flies, in blocks per tick. 1.5 is a bow-ish shot, 3 is a hard throw.
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 1.5.
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
- Entity Entity
-
What spawned. Wire it into any Entity pin. e.g. Zombie
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