Entities & mobs · Step
Spawn an entity
Spawn a mob, an animal or another entity at a location, with a name if you like. At most 50 a run.
m.entity.spawn
In a flow
“When a player uses a command → Spawn an entity: minecraft:zombie at Player location named Bob.”
When a player uses a command → Spawn an entity: minecraft:zombie at Player location named Bob.
What it does
Spawn a mob, an animal or another entity at a location, with a name if you like. At most 50 a run. 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: spawn a mob, an animal or another entity at a location, with a name if you like. At most 50 a run.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Where Location
-
Where: wire a location in, like Location from Player location, or type world x y z.
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.
- Name Text
-
A name shown over its head. Empty for none. Variables allowed; MiniMessage tags like <gold> work.
What goes there: Type it in the side panel, or wire in text. e.g. Hello there
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 845 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